agones.dev/agones@v1.54.0/sdks/cpp/src/protoc-gen-openapiv2/openapiv2.pb.cc (about) 1 // Copyright 2024 Google LLC All Rights Reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // This code was autogenerated. Do not edit directly. 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // NO CHECKED-IN PROTOBUF GENCODE 18 // source: protoc-gen-openapiv2/options/openapiv2.proto 19 // Protobuf C++ Version: 6.31.1 20 21 #include "protoc-gen-openapiv2/options/openapiv2.pb.h" 22 23 #include <algorithm> 24 #include <type_traits> 25 #include "google/protobuf/io/coded_stream.h" 26 #include "google/protobuf/generated_message_tctable_impl.h" 27 #include "google/protobuf/extension_set.h" 28 #include "google/protobuf/generated_message_util.h" 29 #include "google/protobuf/wire_format_lite.h" 30 #include "google/protobuf/descriptor.h" 31 #include "google/protobuf/generated_message_reflection.h" 32 #include "google/protobuf/reflection_ops.h" 33 #include "google/protobuf/wire_format.h" 34 // @@protoc_insertion_point(includes) 35 36 // Must be included last. 37 #include "google/protobuf/port_def.inc" 38 PROTOBUF_PRAGMA_INIT_SEG 39 namespace _pb = ::google::protobuf; 40 namespace _pbi = ::google::protobuf::internal; 41 namespace _fl = ::google::protobuf::internal::field_layout; 42 namespace grpc { 43 namespace gateway { 44 namespace protoc_gen_openapiv2 { 45 namespace options { 46 47 inline constexpr SecurityRequirement_SecurityRequirementValue::Impl_::Impl_( 48 ::_pbi::ConstantInitialized) noexcept 49 : scope_{}, 50 _cached_size_{0} {} 51 52 template <typename> 53 PROTOBUF_CONSTEXPR SecurityRequirement_SecurityRequirementValue::SecurityRequirement_SecurityRequirementValue(::_pbi::ConstantInitialized) 54 #if defined(PROTOBUF_CUSTOM_VTABLE) 55 : ::google::protobuf::Message(SecurityRequirement_SecurityRequirementValue_class_data_.base()), 56 #else // PROTOBUF_CUSTOM_VTABLE 57 : ::google::protobuf::Message(), 58 #endif // PROTOBUF_CUSTOM_VTABLE 59 _impl_(::_pbi::ConstantInitialized()) { 60 } 61 struct SecurityRequirement_SecurityRequirementValueDefaultTypeInternal { 62 PROTOBUF_CONSTEXPR SecurityRequirement_SecurityRequirementValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 63 ~SecurityRequirement_SecurityRequirementValueDefaultTypeInternal() {} 64 union { 65 SecurityRequirement_SecurityRequirementValue _instance; 66 }; 67 }; 68 69 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 70 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecurityRequirement_SecurityRequirementValueDefaultTypeInternal _SecurityRequirement_SecurityRequirementValue_default_instance_; 71 template <typename> 72 PROTOBUF_CONSTEXPR Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse(::_pbi::ConstantInitialized) 73 #if defined(PROTOBUF_CUSTOM_VTABLE) 74 : Scopes_ScopeEntry_DoNotUse::MapEntry(Scopes_ScopeEntry_DoNotUse_class_data_.base()){} 75 #else // PROTOBUF_CUSTOM_VTABLE 76 : Scopes_ScopeEntry_DoNotUse::MapEntry() { 77 } 78 #endif // PROTOBUF_CUSTOM_VTABLE 79 struct Scopes_ScopeEntry_DoNotUseDefaultTypeInternal { 80 PROTOBUF_CONSTEXPR Scopes_ScopeEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 81 ~Scopes_ScopeEntry_DoNotUseDefaultTypeInternal() {} 82 union { 83 Scopes_ScopeEntry_DoNotUse _instance; 84 }; 85 }; 86 87 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 88 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Scopes_ScopeEntry_DoNotUseDefaultTypeInternal _Scopes_ScopeEntry_DoNotUse_default_instance_; 89 template <typename> 90 PROTOBUF_CONSTEXPR Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse(::_pbi::ConstantInitialized) 91 #if defined(PROTOBUF_CUSTOM_VTABLE) 92 : Response_ExamplesEntry_DoNotUse::MapEntry(Response_ExamplesEntry_DoNotUse_class_data_.base()){} 93 #else // PROTOBUF_CUSTOM_VTABLE 94 : Response_ExamplesEntry_DoNotUse::MapEntry() { 95 } 96 #endif // PROTOBUF_CUSTOM_VTABLE 97 struct Response_ExamplesEntry_DoNotUseDefaultTypeInternal { 98 PROTOBUF_CONSTEXPR Response_ExamplesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 99 ~Response_ExamplesEntry_DoNotUseDefaultTypeInternal() {} 100 union { 101 Response_ExamplesEntry_DoNotUse _instance; 102 }; 103 }; 104 105 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 106 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Response_ExamplesEntry_DoNotUseDefaultTypeInternal _Response_ExamplesEntry_DoNotUse_default_instance_; 107 108 inline constexpr License::Impl_::Impl_( 109 ::_pbi::ConstantInitialized) noexcept 110 : _cached_size_{0}, 111 name_( 112 &::google::protobuf::internal::fixed_address_empty_string, 113 ::_pbi::ConstantInitialized()), 114 url_( 115 &::google::protobuf::internal::fixed_address_empty_string, 116 ::_pbi::ConstantInitialized()) {} 117 118 template <typename> 119 PROTOBUF_CONSTEXPR License::License(::_pbi::ConstantInitialized) 120 #if defined(PROTOBUF_CUSTOM_VTABLE) 121 : ::google::protobuf::Message(License_class_data_.base()), 122 #else // PROTOBUF_CUSTOM_VTABLE 123 : ::google::protobuf::Message(), 124 #endif // PROTOBUF_CUSTOM_VTABLE 125 _impl_(::_pbi::ConstantInitialized()) { 126 } 127 struct LicenseDefaultTypeInternal { 128 PROTOBUF_CONSTEXPR LicenseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 129 ~LicenseDefaultTypeInternal() {} 130 union { 131 License _instance; 132 }; 133 }; 134 135 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 136 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LicenseDefaultTypeInternal _License_default_instance_; 137 138 inline constexpr JSONSchema_FieldConfiguration::Impl_::Impl_( 139 ::_pbi::ConstantInitialized) noexcept 140 : _cached_size_{0}, 141 path_param_name_( 142 &::google::protobuf::internal::fixed_address_empty_string, 143 ::_pbi::ConstantInitialized()) {} 144 145 template <typename> 146 PROTOBUF_CONSTEXPR JSONSchema_FieldConfiguration::JSONSchema_FieldConfiguration(::_pbi::ConstantInitialized) 147 #if defined(PROTOBUF_CUSTOM_VTABLE) 148 : ::google::protobuf::Message(JSONSchema_FieldConfiguration_class_data_.base()), 149 #else // PROTOBUF_CUSTOM_VTABLE 150 : ::google::protobuf::Message(), 151 #endif // PROTOBUF_CUSTOM_VTABLE 152 _impl_(::_pbi::ConstantInitialized()) { 153 } 154 struct JSONSchema_FieldConfigurationDefaultTypeInternal { 155 PROTOBUF_CONSTEXPR JSONSchema_FieldConfigurationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 156 ~JSONSchema_FieldConfigurationDefaultTypeInternal() {} 157 union { 158 JSONSchema_FieldConfiguration _instance; 159 }; 160 }; 161 162 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 163 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JSONSchema_FieldConfigurationDefaultTypeInternal _JSONSchema_FieldConfiguration_default_instance_; 164 165 inline constexpr Header::Impl_::Impl_( 166 ::_pbi::ConstantInitialized) noexcept 167 : _cached_size_{0}, 168 description_( 169 &::google::protobuf::internal::fixed_address_empty_string, 170 ::_pbi::ConstantInitialized()), 171 type_( 172 &::google::protobuf::internal::fixed_address_empty_string, 173 ::_pbi::ConstantInitialized()), 174 format_( 175 &::google::protobuf::internal::fixed_address_empty_string, 176 ::_pbi::ConstantInitialized()), 177 default__( 178 &::google::protobuf::internal::fixed_address_empty_string, 179 ::_pbi::ConstantInitialized()), 180 pattern_( 181 &::google::protobuf::internal::fixed_address_empty_string, 182 ::_pbi::ConstantInitialized()) {} 183 184 template <typename> 185 PROTOBUF_CONSTEXPR Header::Header(::_pbi::ConstantInitialized) 186 #if defined(PROTOBUF_CUSTOM_VTABLE) 187 : ::google::protobuf::Message(Header_class_data_.base()), 188 #else // PROTOBUF_CUSTOM_VTABLE 189 : ::google::protobuf::Message(), 190 #endif // PROTOBUF_CUSTOM_VTABLE 191 _impl_(::_pbi::ConstantInitialized()) { 192 } 193 struct HeaderDefaultTypeInternal { 194 PROTOBUF_CONSTEXPR HeaderDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 195 ~HeaderDefaultTypeInternal() {} 196 union { 197 Header _instance; 198 }; 199 }; 200 201 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 202 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeaderDefaultTypeInternal _Header_default_instance_; 203 204 inline constexpr ExternalDocumentation::Impl_::Impl_( 205 ::_pbi::ConstantInitialized) noexcept 206 : _cached_size_{0}, 207 description_( 208 &::google::protobuf::internal::fixed_address_empty_string, 209 ::_pbi::ConstantInitialized()), 210 url_( 211 &::google::protobuf::internal::fixed_address_empty_string, 212 ::_pbi::ConstantInitialized()) {} 213 214 template <typename> 215 PROTOBUF_CONSTEXPR ExternalDocumentation::ExternalDocumentation(::_pbi::ConstantInitialized) 216 #if defined(PROTOBUF_CUSTOM_VTABLE) 217 : ::google::protobuf::Message(ExternalDocumentation_class_data_.base()), 218 #else // PROTOBUF_CUSTOM_VTABLE 219 : ::google::protobuf::Message(), 220 #endif // PROTOBUF_CUSTOM_VTABLE 221 _impl_(::_pbi::ConstantInitialized()) { 222 } 223 struct ExternalDocumentationDefaultTypeInternal { 224 PROTOBUF_CONSTEXPR ExternalDocumentationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 225 ~ExternalDocumentationDefaultTypeInternal() {} 226 union { 227 ExternalDocumentation _instance; 228 }; 229 }; 230 231 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 232 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExternalDocumentationDefaultTypeInternal _ExternalDocumentation_default_instance_; 233 234 inline constexpr Contact::Impl_::Impl_( 235 ::_pbi::ConstantInitialized) noexcept 236 : _cached_size_{0}, 237 name_( 238 &::google::protobuf::internal::fixed_address_empty_string, 239 ::_pbi::ConstantInitialized()), 240 url_( 241 &::google::protobuf::internal::fixed_address_empty_string, 242 ::_pbi::ConstantInitialized()), 243 email_( 244 &::google::protobuf::internal::fixed_address_empty_string, 245 ::_pbi::ConstantInitialized()) {} 246 247 template <typename> 248 PROTOBUF_CONSTEXPR Contact::Contact(::_pbi::ConstantInitialized) 249 #if defined(PROTOBUF_CUSTOM_VTABLE) 250 : ::google::protobuf::Message(Contact_class_data_.base()), 251 #else // PROTOBUF_CUSTOM_VTABLE 252 : ::google::protobuf::Message(), 253 #endif // PROTOBUF_CUSTOM_VTABLE 254 _impl_(::_pbi::ConstantInitialized()) { 255 } 256 struct ContactDefaultTypeInternal { 257 PROTOBUF_CONSTEXPR ContactDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 258 ~ContactDefaultTypeInternal() {} 259 union { 260 Contact _instance; 261 }; 262 }; 263 264 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 265 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContactDefaultTypeInternal _Contact_default_instance_; 266 267 inline constexpr Tag::Impl_::Impl_( 268 ::_pbi::ConstantInitialized) noexcept 269 : _cached_size_{0}, 270 description_( 271 &::google::protobuf::internal::fixed_address_empty_string, 272 ::_pbi::ConstantInitialized()), 273 external_docs_{nullptr} {} 274 275 template <typename> 276 PROTOBUF_CONSTEXPR Tag::Tag(::_pbi::ConstantInitialized) 277 #if defined(PROTOBUF_CUSTOM_VTABLE) 278 : ::google::protobuf::Message(Tag_class_data_.base()), 279 #else // PROTOBUF_CUSTOM_VTABLE 280 : ::google::protobuf::Message(), 281 #endif // PROTOBUF_CUSTOM_VTABLE 282 _impl_(::_pbi::ConstantInitialized()) { 283 } 284 struct TagDefaultTypeInternal { 285 PROTOBUF_CONSTEXPR TagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 286 ~TagDefaultTypeInternal() {} 287 union { 288 Tag _instance; 289 }; 290 }; 291 292 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 293 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TagDefaultTypeInternal _Tag_default_instance_; 294 template <typename> 295 PROTOBUF_CONSTEXPR Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse(::_pbi::ConstantInitialized) 296 #if defined(PROTOBUF_CUSTOM_VTABLE) 297 : Swagger_ExtensionsEntry_DoNotUse::MapEntry(Swagger_ExtensionsEntry_DoNotUse_class_data_.base()){} 298 #else // PROTOBUF_CUSTOM_VTABLE 299 : Swagger_ExtensionsEntry_DoNotUse::MapEntry() { 300 } 301 #endif // PROTOBUF_CUSTOM_VTABLE 302 struct Swagger_ExtensionsEntry_DoNotUseDefaultTypeInternal { 303 PROTOBUF_CONSTEXPR Swagger_ExtensionsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 304 ~Swagger_ExtensionsEntry_DoNotUseDefaultTypeInternal() {} 305 union { 306 Swagger_ExtensionsEntry_DoNotUse _instance; 307 }; 308 }; 309 310 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 311 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Swagger_ExtensionsEntry_DoNotUseDefaultTypeInternal _Swagger_ExtensionsEntry_DoNotUse_default_instance_; 312 template <typename> 313 PROTOBUF_CONSTEXPR SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse(::_pbi::ConstantInitialized) 314 #if defined(PROTOBUF_CUSTOM_VTABLE) 315 : SecurityScheme_ExtensionsEntry_DoNotUse::MapEntry(SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base()){} 316 #else // PROTOBUF_CUSTOM_VTABLE 317 : SecurityScheme_ExtensionsEntry_DoNotUse::MapEntry() { 318 } 319 #endif // PROTOBUF_CUSTOM_VTABLE 320 struct SecurityScheme_ExtensionsEntry_DoNotUseDefaultTypeInternal { 321 PROTOBUF_CONSTEXPR SecurityScheme_ExtensionsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 322 ~SecurityScheme_ExtensionsEntry_DoNotUseDefaultTypeInternal() {} 323 union { 324 SecurityScheme_ExtensionsEntry_DoNotUse _instance; 325 }; 326 }; 327 328 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 329 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecurityScheme_ExtensionsEntry_DoNotUseDefaultTypeInternal _SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_; 330 template <typename> 331 PROTOBUF_CONSTEXPR SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse(::_pbi::ConstantInitialized) 332 #if defined(PROTOBUF_CUSTOM_VTABLE) 333 : SecurityRequirement_SecurityRequirementEntry_DoNotUse::MapEntry(SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base()){} 334 #else // PROTOBUF_CUSTOM_VTABLE 335 : SecurityRequirement_SecurityRequirementEntry_DoNotUse::MapEntry() { 336 } 337 #endif // PROTOBUF_CUSTOM_VTABLE 338 struct SecurityRequirement_SecurityRequirementEntry_DoNotUseDefaultTypeInternal { 339 PROTOBUF_CONSTEXPR SecurityRequirement_SecurityRequirementEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 340 ~SecurityRequirement_SecurityRequirementEntry_DoNotUseDefaultTypeInternal() {} 341 union { 342 SecurityRequirement_SecurityRequirementEntry_DoNotUse _instance; 343 }; 344 }; 345 346 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 347 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecurityRequirement_SecurityRequirementEntry_DoNotUseDefaultTypeInternal _SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_; 348 349 inline constexpr Scopes::Impl_::Impl_( 350 ::_pbi::ConstantInitialized) noexcept 351 : scope_{}, 352 _cached_size_{0} {} 353 354 template <typename> 355 PROTOBUF_CONSTEXPR Scopes::Scopes(::_pbi::ConstantInitialized) 356 #if defined(PROTOBUF_CUSTOM_VTABLE) 357 : ::google::protobuf::Message(Scopes_class_data_.base()), 358 #else // PROTOBUF_CUSTOM_VTABLE 359 : ::google::protobuf::Message(), 360 #endif // PROTOBUF_CUSTOM_VTABLE 361 _impl_(::_pbi::ConstantInitialized()) { 362 } 363 struct ScopesDefaultTypeInternal { 364 PROTOBUF_CONSTEXPR ScopesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 365 ~ScopesDefaultTypeInternal() {} 366 union { 367 Scopes _instance; 368 }; 369 }; 370 371 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 372 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScopesDefaultTypeInternal _Scopes_default_instance_; 373 template <typename> 374 PROTOBUF_CONSTEXPR Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse(::_pbi::ConstantInitialized) 375 #if defined(PROTOBUF_CUSTOM_VTABLE) 376 : Response_HeadersEntry_DoNotUse::MapEntry(Response_HeadersEntry_DoNotUse_class_data_.base()){} 377 #else // PROTOBUF_CUSTOM_VTABLE 378 : Response_HeadersEntry_DoNotUse::MapEntry() { 379 } 380 #endif // PROTOBUF_CUSTOM_VTABLE 381 struct Response_HeadersEntry_DoNotUseDefaultTypeInternal { 382 PROTOBUF_CONSTEXPR Response_HeadersEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 383 ~Response_HeadersEntry_DoNotUseDefaultTypeInternal() {} 384 union { 385 Response_HeadersEntry_DoNotUse _instance; 386 }; 387 }; 388 389 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 390 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Response_HeadersEntry_DoNotUseDefaultTypeInternal _Response_HeadersEntry_DoNotUse_default_instance_; 391 template <typename> 392 PROTOBUF_CONSTEXPR Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse(::_pbi::ConstantInitialized) 393 #if defined(PROTOBUF_CUSTOM_VTABLE) 394 : Response_ExtensionsEntry_DoNotUse::MapEntry(Response_ExtensionsEntry_DoNotUse_class_data_.base()){} 395 #else // PROTOBUF_CUSTOM_VTABLE 396 : Response_ExtensionsEntry_DoNotUse::MapEntry() { 397 } 398 #endif // PROTOBUF_CUSTOM_VTABLE 399 struct Response_ExtensionsEntry_DoNotUseDefaultTypeInternal { 400 PROTOBUF_CONSTEXPR Response_ExtensionsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 401 ~Response_ExtensionsEntry_DoNotUseDefaultTypeInternal() {} 402 union { 403 Response_ExtensionsEntry_DoNotUse _instance; 404 }; 405 }; 406 407 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 408 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Response_ExtensionsEntry_DoNotUseDefaultTypeInternal _Response_ExtensionsEntry_DoNotUse_default_instance_; 409 template <typename> 410 PROTOBUF_CONSTEXPR Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse(::_pbi::ConstantInitialized) 411 #if defined(PROTOBUF_CUSTOM_VTABLE) 412 : Operation_ExtensionsEntry_DoNotUse::MapEntry(Operation_ExtensionsEntry_DoNotUse_class_data_.base()){} 413 #else // PROTOBUF_CUSTOM_VTABLE 414 : Operation_ExtensionsEntry_DoNotUse::MapEntry() { 415 } 416 #endif // PROTOBUF_CUSTOM_VTABLE 417 struct Operation_ExtensionsEntry_DoNotUseDefaultTypeInternal { 418 PROTOBUF_CONSTEXPR Operation_ExtensionsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 419 ~Operation_ExtensionsEntry_DoNotUseDefaultTypeInternal() {} 420 union { 421 Operation_ExtensionsEntry_DoNotUse _instance; 422 }; 423 }; 424 425 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 426 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Operation_ExtensionsEntry_DoNotUseDefaultTypeInternal _Operation_ExtensionsEntry_DoNotUse_default_instance_; 427 template <typename> 428 PROTOBUF_CONSTEXPR JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse(::_pbi::ConstantInitialized) 429 #if defined(PROTOBUF_CUSTOM_VTABLE) 430 : JSONSchema_ExtensionsEntry_DoNotUse::MapEntry(JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base()){} 431 #else // PROTOBUF_CUSTOM_VTABLE 432 : JSONSchema_ExtensionsEntry_DoNotUse::MapEntry() { 433 } 434 #endif // PROTOBUF_CUSTOM_VTABLE 435 struct JSONSchema_ExtensionsEntry_DoNotUseDefaultTypeInternal { 436 PROTOBUF_CONSTEXPR JSONSchema_ExtensionsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 437 ~JSONSchema_ExtensionsEntry_DoNotUseDefaultTypeInternal() {} 438 union { 439 JSONSchema_ExtensionsEntry_DoNotUse _instance; 440 }; 441 }; 442 443 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 444 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JSONSchema_ExtensionsEntry_DoNotUseDefaultTypeInternal _JSONSchema_ExtensionsEntry_DoNotUse_default_instance_; 445 template <typename> 446 PROTOBUF_CONSTEXPR Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse(::_pbi::ConstantInitialized) 447 #if defined(PROTOBUF_CUSTOM_VTABLE) 448 : Info_ExtensionsEntry_DoNotUse::MapEntry(Info_ExtensionsEntry_DoNotUse_class_data_.base()){} 449 #else // PROTOBUF_CUSTOM_VTABLE 450 : Info_ExtensionsEntry_DoNotUse::MapEntry() { 451 } 452 #endif // PROTOBUF_CUSTOM_VTABLE 453 struct Info_ExtensionsEntry_DoNotUseDefaultTypeInternal { 454 PROTOBUF_CONSTEXPR Info_ExtensionsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 455 ~Info_ExtensionsEntry_DoNotUseDefaultTypeInternal() {} 456 union { 457 Info_ExtensionsEntry_DoNotUse _instance; 458 }; 459 }; 460 461 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 462 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Info_ExtensionsEntry_DoNotUseDefaultTypeInternal _Info_ExtensionsEntry_DoNotUse_default_instance_; 463 464 inline constexpr SecurityScheme::Impl_::Impl_( 465 ::_pbi::ConstantInitialized) noexcept 466 : _cached_size_{0}, 467 extensions_{}, 468 description_( 469 &::google::protobuf::internal::fixed_address_empty_string, 470 ::_pbi::ConstantInitialized()), 471 name_( 472 &::google::protobuf::internal::fixed_address_empty_string, 473 ::_pbi::ConstantInitialized()), 474 authorization_url_( 475 &::google::protobuf::internal::fixed_address_empty_string, 476 ::_pbi::ConstantInitialized()), 477 token_url_( 478 &::google::protobuf::internal::fixed_address_empty_string, 479 ::_pbi::ConstantInitialized()), 480 scopes_{nullptr}, 481 type_{static_cast< ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Type >(0)}, 482 in_{static_cast< ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_In >(0)}, 483 flow_{static_cast< ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_Flow >(0)} {} 484 485 template <typename> 486 PROTOBUF_CONSTEXPR SecurityScheme::SecurityScheme(::_pbi::ConstantInitialized) 487 #if defined(PROTOBUF_CUSTOM_VTABLE) 488 : ::google::protobuf::Message(SecurityScheme_class_data_.base()), 489 #else // PROTOBUF_CUSTOM_VTABLE 490 : ::google::protobuf::Message(), 491 #endif // PROTOBUF_CUSTOM_VTABLE 492 _impl_(::_pbi::ConstantInitialized()) { 493 } 494 struct SecuritySchemeDefaultTypeInternal { 495 PROTOBUF_CONSTEXPR SecuritySchemeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 496 ~SecuritySchemeDefaultTypeInternal() {} 497 union { 498 SecurityScheme _instance; 499 }; 500 }; 501 502 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 503 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecuritySchemeDefaultTypeInternal _SecurityScheme_default_instance_; 504 505 inline constexpr SecurityRequirement::Impl_::Impl_( 506 ::_pbi::ConstantInitialized) noexcept 507 : security_requirement_{}, 508 _cached_size_{0} {} 509 510 template <typename> 511 PROTOBUF_CONSTEXPR SecurityRequirement::SecurityRequirement(::_pbi::ConstantInitialized) 512 #if defined(PROTOBUF_CUSTOM_VTABLE) 513 : ::google::protobuf::Message(SecurityRequirement_class_data_.base()), 514 #else // PROTOBUF_CUSTOM_VTABLE 515 : ::google::protobuf::Message(), 516 #endif // PROTOBUF_CUSTOM_VTABLE 517 _impl_(::_pbi::ConstantInitialized()) { 518 } 519 struct SecurityRequirementDefaultTypeInternal { 520 PROTOBUF_CONSTEXPR SecurityRequirementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 521 ~SecurityRequirementDefaultTypeInternal() {} 522 union { 523 SecurityRequirement _instance; 524 }; 525 }; 526 527 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 528 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecurityRequirementDefaultTypeInternal _SecurityRequirement_default_instance_; 529 530 inline constexpr JSONSchema::Impl_::Impl_( 531 ::_pbi::ConstantInitialized) noexcept 532 : _cached_size_{0}, 533 required_{}, 534 array_{}, 535 type_{}, 536 _type_cached_byte_size_{0}, 537 enum__{}, 538 extensions_{}, 539 ref_( 540 &::google::protobuf::internal::fixed_address_empty_string, 541 ::_pbi::ConstantInitialized()), 542 title_( 543 &::google::protobuf::internal::fixed_address_empty_string, 544 ::_pbi::ConstantInitialized()), 545 description_( 546 &::google::protobuf::internal::fixed_address_empty_string, 547 ::_pbi::ConstantInitialized()), 548 default__( 549 &::google::protobuf::internal::fixed_address_empty_string, 550 ::_pbi::ConstantInitialized()), 551 example_( 552 &::google::protobuf::internal::fixed_address_empty_string, 553 ::_pbi::ConstantInitialized()), 554 pattern_( 555 &::google::protobuf::internal::fixed_address_empty_string, 556 ::_pbi::ConstantInitialized()), 557 format_( 558 &::google::protobuf::internal::fixed_address_empty_string, 559 ::_pbi::ConstantInitialized()), 560 field_configuration_{nullptr}, 561 multiple_of_{0}, 562 maximum_{0}, 563 minimum_{0}, 564 max_length_{::uint64_t{0u}}, 565 min_length_{::uint64_t{0u}}, 566 max_items_{::uint64_t{0u}}, 567 min_items_{::uint64_t{0u}}, 568 max_properties_{::uint64_t{0u}}, 569 min_properties_{::uint64_t{0u}}, 570 read_only_{false}, 571 exclusive_maximum_{false}, 572 exclusive_minimum_{false}, 573 unique_items_{false} {} 574 575 template <typename> 576 PROTOBUF_CONSTEXPR JSONSchema::JSONSchema(::_pbi::ConstantInitialized) 577 #if defined(PROTOBUF_CUSTOM_VTABLE) 578 : ::google::protobuf::Message(JSONSchema_class_data_.base()), 579 #else // PROTOBUF_CUSTOM_VTABLE 580 : ::google::protobuf::Message(), 581 #endif // PROTOBUF_CUSTOM_VTABLE 582 _impl_(::_pbi::ConstantInitialized()) { 583 } 584 struct JSONSchemaDefaultTypeInternal { 585 PROTOBUF_CONSTEXPR JSONSchemaDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 586 ~JSONSchemaDefaultTypeInternal() {} 587 union { 588 JSONSchema _instance; 589 }; 590 }; 591 592 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 593 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JSONSchemaDefaultTypeInternal _JSONSchema_default_instance_; 594 595 inline constexpr Info::Impl_::Impl_( 596 ::_pbi::ConstantInitialized) noexcept 597 : _cached_size_{0}, 598 extensions_{}, 599 title_( 600 &::google::protobuf::internal::fixed_address_empty_string, 601 ::_pbi::ConstantInitialized()), 602 description_( 603 &::google::protobuf::internal::fixed_address_empty_string, 604 ::_pbi::ConstantInitialized()), 605 terms_of_service_( 606 &::google::protobuf::internal::fixed_address_empty_string, 607 ::_pbi::ConstantInitialized()), 608 version_( 609 &::google::protobuf::internal::fixed_address_empty_string, 610 ::_pbi::ConstantInitialized()), 611 contact_{nullptr}, 612 license_{nullptr} {} 613 614 template <typename> 615 PROTOBUF_CONSTEXPR Info::Info(::_pbi::ConstantInitialized) 616 #if defined(PROTOBUF_CUSTOM_VTABLE) 617 : ::google::protobuf::Message(Info_class_data_.base()), 618 #else // PROTOBUF_CUSTOM_VTABLE 619 : ::google::protobuf::Message(), 620 #endif // PROTOBUF_CUSTOM_VTABLE 621 _impl_(::_pbi::ConstantInitialized()) { 622 } 623 struct InfoDefaultTypeInternal { 624 PROTOBUF_CONSTEXPR InfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 625 ~InfoDefaultTypeInternal() {} 626 union { 627 Info _instance; 628 }; 629 }; 630 631 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 632 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InfoDefaultTypeInternal _Info_default_instance_; 633 template <typename> 634 PROTOBUF_CONSTEXPR SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse(::_pbi::ConstantInitialized) 635 #if defined(PROTOBUF_CUSTOM_VTABLE) 636 : SecurityDefinitions_SecurityEntry_DoNotUse::MapEntry(SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base()){} 637 #else // PROTOBUF_CUSTOM_VTABLE 638 : SecurityDefinitions_SecurityEntry_DoNotUse::MapEntry() { 639 } 640 #endif // PROTOBUF_CUSTOM_VTABLE 641 struct SecurityDefinitions_SecurityEntry_DoNotUseDefaultTypeInternal { 642 PROTOBUF_CONSTEXPR SecurityDefinitions_SecurityEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 643 ~SecurityDefinitions_SecurityEntry_DoNotUseDefaultTypeInternal() {} 644 union { 645 SecurityDefinitions_SecurityEntry_DoNotUse _instance; 646 }; 647 }; 648 649 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 650 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecurityDefinitions_SecurityEntry_DoNotUseDefaultTypeInternal _SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_; 651 652 inline constexpr Schema::Impl_::Impl_( 653 ::_pbi::ConstantInitialized) noexcept 654 : _cached_size_{0}, 655 discriminator_( 656 &::google::protobuf::internal::fixed_address_empty_string, 657 ::_pbi::ConstantInitialized()), 658 example_( 659 &::google::protobuf::internal::fixed_address_empty_string, 660 ::_pbi::ConstantInitialized()), 661 json_schema_{nullptr}, 662 external_docs_{nullptr}, 663 read_only_{false} {} 664 665 template <typename> 666 PROTOBUF_CONSTEXPR Schema::Schema(::_pbi::ConstantInitialized) 667 #if defined(PROTOBUF_CUSTOM_VTABLE) 668 : ::google::protobuf::Message(Schema_class_data_.base()), 669 #else // PROTOBUF_CUSTOM_VTABLE 670 : ::google::protobuf::Message(), 671 #endif // PROTOBUF_CUSTOM_VTABLE 672 _impl_(::_pbi::ConstantInitialized()) { 673 } 674 struct SchemaDefaultTypeInternal { 675 PROTOBUF_CONSTEXPR SchemaDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 676 ~SchemaDefaultTypeInternal() {} 677 union { 678 Schema _instance; 679 }; 680 }; 681 682 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 683 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SchemaDefaultTypeInternal _Schema_default_instance_; 684 685 inline constexpr SecurityDefinitions::Impl_::Impl_( 686 ::_pbi::ConstantInitialized) noexcept 687 : security_{}, 688 _cached_size_{0} {} 689 690 template <typename> 691 PROTOBUF_CONSTEXPR SecurityDefinitions::SecurityDefinitions(::_pbi::ConstantInitialized) 692 #if defined(PROTOBUF_CUSTOM_VTABLE) 693 : ::google::protobuf::Message(SecurityDefinitions_class_data_.base()), 694 #else // PROTOBUF_CUSTOM_VTABLE 695 : ::google::protobuf::Message(), 696 #endif // PROTOBUF_CUSTOM_VTABLE 697 _impl_(::_pbi::ConstantInitialized()) { 698 } 699 struct SecurityDefinitionsDefaultTypeInternal { 700 PROTOBUF_CONSTEXPR SecurityDefinitionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 701 ~SecurityDefinitionsDefaultTypeInternal() {} 702 union { 703 SecurityDefinitions _instance; 704 }; 705 }; 706 707 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 708 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecurityDefinitionsDefaultTypeInternal _SecurityDefinitions_default_instance_; 709 710 inline constexpr Response::Impl_::Impl_( 711 ::_pbi::ConstantInitialized) noexcept 712 : _cached_size_{0}, 713 headers_{}, 714 examples_{}, 715 extensions_{}, 716 description_( 717 &::google::protobuf::internal::fixed_address_empty_string, 718 ::_pbi::ConstantInitialized()), 719 schema_{nullptr} {} 720 721 template <typename> 722 PROTOBUF_CONSTEXPR Response::Response(::_pbi::ConstantInitialized) 723 #if defined(PROTOBUF_CUSTOM_VTABLE) 724 : ::google::protobuf::Message(Response_class_data_.base()), 725 #else // PROTOBUF_CUSTOM_VTABLE 726 : ::google::protobuf::Message(), 727 #endif // PROTOBUF_CUSTOM_VTABLE 728 _impl_(::_pbi::ConstantInitialized()) { 729 } 730 struct ResponseDefaultTypeInternal { 731 PROTOBUF_CONSTEXPR ResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 732 ~ResponseDefaultTypeInternal() {} 733 union { 734 Response _instance; 735 }; 736 }; 737 738 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 739 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResponseDefaultTypeInternal _Response_default_instance_; 740 template <typename> 741 PROTOBUF_CONSTEXPR Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse(::_pbi::ConstantInitialized) 742 #if defined(PROTOBUF_CUSTOM_VTABLE) 743 : Swagger_ResponsesEntry_DoNotUse::MapEntry(Swagger_ResponsesEntry_DoNotUse_class_data_.base()){} 744 #else // PROTOBUF_CUSTOM_VTABLE 745 : Swagger_ResponsesEntry_DoNotUse::MapEntry() { 746 } 747 #endif // PROTOBUF_CUSTOM_VTABLE 748 struct Swagger_ResponsesEntry_DoNotUseDefaultTypeInternal { 749 PROTOBUF_CONSTEXPR Swagger_ResponsesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 750 ~Swagger_ResponsesEntry_DoNotUseDefaultTypeInternal() {} 751 union { 752 Swagger_ResponsesEntry_DoNotUse _instance; 753 }; 754 }; 755 756 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 757 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Swagger_ResponsesEntry_DoNotUseDefaultTypeInternal _Swagger_ResponsesEntry_DoNotUse_default_instance_; 758 template <typename> 759 PROTOBUF_CONSTEXPR Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse(::_pbi::ConstantInitialized) 760 #if defined(PROTOBUF_CUSTOM_VTABLE) 761 : Operation_ResponsesEntry_DoNotUse::MapEntry(Operation_ResponsesEntry_DoNotUse_class_data_.base()){} 762 #else // PROTOBUF_CUSTOM_VTABLE 763 : Operation_ResponsesEntry_DoNotUse::MapEntry() { 764 } 765 #endif // PROTOBUF_CUSTOM_VTABLE 766 struct Operation_ResponsesEntry_DoNotUseDefaultTypeInternal { 767 PROTOBUF_CONSTEXPR Operation_ResponsesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 768 ~Operation_ResponsesEntry_DoNotUseDefaultTypeInternal() {} 769 union { 770 Operation_ResponsesEntry_DoNotUse _instance; 771 }; 772 }; 773 774 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 775 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Operation_ResponsesEntry_DoNotUseDefaultTypeInternal _Operation_ResponsesEntry_DoNotUse_default_instance_; 776 777 inline constexpr Swagger::Impl_::Impl_( 778 ::_pbi::ConstantInitialized) noexcept 779 : _cached_size_{0}, 780 schemes_{}, 781 _schemes_cached_byte_size_{0}, 782 consumes_{}, 783 produces_{}, 784 responses_{}, 785 security_{}, 786 extensions_{}, 787 swagger_( 788 &::google::protobuf::internal::fixed_address_empty_string, 789 ::_pbi::ConstantInitialized()), 790 host_( 791 &::google::protobuf::internal::fixed_address_empty_string, 792 ::_pbi::ConstantInitialized()), 793 base_path_( 794 &::google::protobuf::internal::fixed_address_empty_string, 795 ::_pbi::ConstantInitialized()), 796 info_{nullptr}, 797 security_definitions_{nullptr}, 798 external_docs_{nullptr} {} 799 800 template <typename> 801 PROTOBUF_CONSTEXPR Swagger::Swagger(::_pbi::ConstantInitialized) 802 #if defined(PROTOBUF_CUSTOM_VTABLE) 803 : ::google::protobuf::Message(Swagger_class_data_.base()), 804 #else // PROTOBUF_CUSTOM_VTABLE 805 : ::google::protobuf::Message(), 806 #endif // PROTOBUF_CUSTOM_VTABLE 807 _impl_(::_pbi::ConstantInitialized()) { 808 } 809 struct SwaggerDefaultTypeInternal { 810 PROTOBUF_CONSTEXPR SwaggerDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 811 ~SwaggerDefaultTypeInternal() {} 812 union { 813 Swagger _instance; 814 }; 815 }; 816 817 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 818 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SwaggerDefaultTypeInternal _Swagger_default_instance_; 819 820 inline constexpr Operation::Impl_::Impl_( 821 ::_pbi::ConstantInitialized) noexcept 822 : _cached_size_{0}, 823 tags_{}, 824 consumes_{}, 825 produces_{}, 826 responses_{}, 827 schemes_{}, 828 _schemes_cached_byte_size_{0}, 829 security_{}, 830 extensions_{}, 831 summary_( 832 &::google::protobuf::internal::fixed_address_empty_string, 833 ::_pbi::ConstantInitialized()), 834 description_( 835 &::google::protobuf::internal::fixed_address_empty_string, 836 ::_pbi::ConstantInitialized()), 837 operation_id_( 838 &::google::protobuf::internal::fixed_address_empty_string, 839 ::_pbi::ConstantInitialized()), 840 external_docs_{nullptr}, 841 deprecated_{false} {} 842 843 template <typename> 844 PROTOBUF_CONSTEXPR Operation::Operation(::_pbi::ConstantInitialized) 845 #if defined(PROTOBUF_CUSTOM_VTABLE) 846 : ::google::protobuf::Message(Operation_class_data_.base()), 847 #else // PROTOBUF_CUSTOM_VTABLE 848 : ::google::protobuf::Message(), 849 #endif // PROTOBUF_CUSTOM_VTABLE 850 _impl_(::_pbi::ConstantInitialized()) { 851 } 852 struct OperationDefaultTypeInternal { 853 PROTOBUF_CONSTEXPR OperationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 854 ~OperationDefaultTypeInternal() {} 855 union { 856 Operation _instance; 857 }; 858 }; 859 860 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 861 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationDefaultTypeInternal _Operation_default_instance_; 862 } // namespace options 863 } // namespace protoc_gen_openapiv2 864 } // namespace gateway 865 } // namespace grpc 866 static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL 867 file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[5]; 868 static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE 869 file_level_service_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto = nullptr; 870 const ::uint32_t 871 TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( 872 protodesc_cold) = { 873 0x081, // bitmap 874 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _impl_._has_bits_), 875 5, // hasbit index offset 876 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _impl_.key_), 877 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _impl_.value_), 878 0, 879 1, 880 0x081, // bitmap 881 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 882 5, // hasbit index offset 883 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _impl_.key_), 884 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _impl_.value_), 885 0, 886 1, 887 0x081, // bitmap 888 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_._has_bits_), 889 15, // hasbit index offset 890 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.swagger_), 891 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.info_), 892 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.host_), 893 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.base_path_), 894 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.schemes_), 895 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.consumes_), 896 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.produces_), 897 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.responses_), 898 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.security_definitions_), 899 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.security_), 900 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.external_docs_), 901 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.extensions_), 902 0, 903 3, 904 1, 905 2, 906 ~0u, 907 ~0u, 908 ~0u, 909 ~0u, 910 4, 911 ~0u, 912 5, 913 ~0u, 914 0x081, // bitmap 915 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _impl_._has_bits_), 916 5, // hasbit index offset 917 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _impl_.key_), 918 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _impl_.value_), 919 0, 920 1, 921 0x081, // bitmap 922 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 923 5, // hasbit index offset 924 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _impl_.key_), 925 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _impl_.value_), 926 0, 927 1, 928 0x081, // bitmap 929 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_._has_bits_), 930 15, // hasbit index offset 931 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.tags_), 932 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.summary_), 933 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.description_), 934 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.external_docs_), 935 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.operation_id_), 936 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.consumes_), 937 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.produces_), 938 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.responses_), 939 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.schemes_), 940 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.deprecated_), 941 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.security_), 942 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.extensions_), 943 ~0u, 944 0, 945 1, 946 3, 947 2, 948 ~0u, 949 ~0u, 950 ~0u, 951 ~0u, 952 4, 953 ~0u, 954 ~0u, 955 0x081, // bitmap 956 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_._has_bits_), 957 8, // hasbit index offset 958 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.description_), 959 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.type_), 960 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.format_), 961 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.default__), 962 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.pattern_), 963 0, 964 1, 965 2, 966 3, 967 4, 968 0x081, // bitmap 969 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _impl_._has_bits_), 970 5, // hasbit index offset 971 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _impl_.key_), 972 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _impl_.value_), 973 0, 974 1, 975 0x081, // bitmap 976 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _impl_._has_bits_), 977 5, // hasbit index offset 978 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _impl_.key_), 979 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _impl_.value_), 980 0, 981 1, 982 0x081, // bitmap 983 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 984 5, // hasbit index offset 985 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _impl_.key_), 986 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _impl_.value_), 987 0, 988 1, 989 0x081, // bitmap 990 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_._has_bits_), 991 8, // hasbit index offset 992 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.description_), 993 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.schema_), 994 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.headers_), 995 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.examples_), 996 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.extensions_), 997 0, 998 1, 999 ~0u, 1000 ~0u, 1001 ~0u, 1002 0x081, // bitmap 1003 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1004 5, // hasbit index offset 1005 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _impl_.key_), 1006 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _impl_.value_), 1007 0, 1008 1, 1009 0x081, // bitmap 1010 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_._has_bits_), 1011 10, // hasbit index offset 1012 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.title_), 1013 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.description_), 1014 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.terms_of_service_), 1015 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.contact_), 1016 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.license_), 1017 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.version_), 1018 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.extensions_), 1019 0, 1020 1, 1021 2, 1022 4, 1023 5, 1024 3, 1025 ~0u, 1026 0x081, // bitmap 1027 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_._has_bits_), 1028 6, // hasbit index offset 1029 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_.name_), 1030 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_.url_), 1031 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_.email_), 1032 0, 1033 1, 1034 2, 1035 0x081, // bitmap 1036 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _impl_._has_bits_), 1037 5, // hasbit index offset 1038 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _impl_.name_), 1039 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _impl_.url_), 1040 0, 1041 1, 1042 0x081, // bitmap 1043 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _impl_._has_bits_), 1044 5, // hasbit index offset 1045 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _impl_.description_), 1046 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _impl_.url_), 1047 0, 1048 1, 1049 0x081, // bitmap 1050 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_._has_bits_), 1051 8, // hasbit index offset 1052 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.json_schema_), 1053 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.discriminator_), 1054 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.read_only_), 1055 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.external_docs_), 1056 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.example_), 1057 2, 1058 0, 1059 4, 1060 3, 1061 1, 1062 0x081, // bitmap 1063 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration, _impl_._has_bits_), 1064 4, // hasbit index offset 1065 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration, _impl_.path_param_name_), 1066 0, 1067 0x081, // bitmap 1068 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1069 5, // hasbit index offset 1070 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _impl_.key_), 1071 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _impl_.value_), 1072 0, 1073 1, 1074 0x081, // bitmap 1075 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_._has_bits_), 1076 29, // hasbit index offset 1077 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.ref_), 1078 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.title_), 1079 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.description_), 1080 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.default__), 1081 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.read_only_), 1082 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.example_), 1083 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.multiple_of_), 1084 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.maximum_), 1085 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.exclusive_maximum_), 1086 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.minimum_), 1087 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.exclusive_minimum_), 1088 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.max_length_), 1089 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.min_length_), 1090 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.pattern_), 1091 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.max_items_), 1092 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.min_items_), 1093 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.unique_items_), 1094 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.max_properties_), 1095 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.min_properties_), 1096 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.required_), 1097 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.array_), 1098 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.type_), 1099 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.format_), 1100 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.enum__), 1101 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.field_configuration_), 1102 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.extensions_), 1103 0, 1104 1, 1105 2, 1106 3, 1107 17, 1108 4, 1109 8, 1110 9, 1111 18, 1112 10, 1113 19, 1114 11, 1115 12, 1116 5, 1117 13, 1118 14, 1119 20, 1120 15, 1121 16, 1122 ~0u, 1123 ~0u, 1124 ~0u, 1125 6, 1126 ~0u, 1127 7, 1128 ~0u, 1129 0x081, // bitmap 1130 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _impl_._has_bits_), 1131 5, // hasbit index offset 1132 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _impl_.description_), 1133 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _impl_.external_docs_), 1134 0, 1135 1, 1136 0x081, // bitmap 1137 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _impl_._has_bits_), 1138 5, // hasbit index offset 1139 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.key_), 1140 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.value_), 1141 0, 1142 1, 1143 0x000, // bitmap 1144 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions, _impl_.security_), 1145 0x081, // bitmap 1146 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1147 5, // hasbit index offset 1148 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.key_), 1149 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.value_), 1150 0, 1151 1, 1152 0x081, // bitmap 1153 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_._has_bits_), 1154 12, // hasbit index offset 1155 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.type_), 1156 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.description_), 1157 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.name_), 1158 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.in_), 1159 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.flow_), 1160 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.authorization_url_), 1161 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.token_url_), 1162 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.scopes_), 1163 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.extensions_), 1164 5, 1165 0, 1166 1, 1167 6, 1168 7, 1169 2, 1170 3, 1171 4, 1172 ~0u, 1173 0x000, // bitmap 1174 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, _impl_.scope_), 1175 0x081, // bitmap 1176 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_._has_bits_), 1177 5, // hasbit index offset 1178 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.key_), 1179 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.value_), 1180 0, 1181 1, 1182 0x000, // bitmap 1183 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement, _impl_.security_requirement_), 1184 0x081, // bitmap 1185 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _impl_._has_bits_), 1186 5, // hasbit index offset 1187 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _impl_.key_), 1188 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _impl_.value_), 1189 0, 1190 1, 1191 0x000, // bitmap 1192 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes, _impl_.scope_), 1193 }; 1194 1195 static const ::_pbi::MigrationSchema 1196 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { 1197 {0, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse)}, 1198 {7, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse)}, 1199 {14, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Swagger)}, 1200 {41, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse)}, 1201 {48, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse)}, 1202 {55, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Operation)}, 1203 {82, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Header)}, 1204 {95, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse)}, 1205 {102, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse)}, 1206 {109, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse)}, 1207 {116, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response)}, 1208 {129, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse)}, 1209 {136, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Info)}, 1210 {153, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Contact)}, 1211 {162, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::License)}, 1212 {169, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation)}, 1213 {176, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Schema)}, 1214 {189, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration)}, 1215 {194, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse)}, 1216 {201, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema)}, 1217 {256, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Tag)}, 1218 {263, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse)}, 1219 {270, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions)}, 1220 {272, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse)}, 1221 {279, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme)}, 1222 {300, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue)}, 1223 {302, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse)}, 1224 {309, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement)}, 1225 {311, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse)}, 1226 {318, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Scopes)}, 1227 }; 1228 static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { 1229 &::grpc::gateway::protoc_gen_openapiv2::options::_Swagger_ResponsesEntry_DoNotUse_default_instance_._instance, 1230 &::grpc::gateway::protoc_gen_openapiv2::options::_Swagger_ExtensionsEntry_DoNotUse_default_instance_._instance, 1231 &::grpc::gateway::protoc_gen_openapiv2::options::_Swagger_default_instance_._instance, 1232 &::grpc::gateway::protoc_gen_openapiv2::options::_Operation_ResponsesEntry_DoNotUse_default_instance_._instance, 1233 &::grpc::gateway::protoc_gen_openapiv2::options::_Operation_ExtensionsEntry_DoNotUse_default_instance_._instance, 1234 &::grpc::gateway::protoc_gen_openapiv2::options::_Operation_default_instance_._instance, 1235 &::grpc::gateway::protoc_gen_openapiv2::options::_Header_default_instance_._instance, 1236 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_HeadersEntry_DoNotUse_default_instance_._instance, 1237 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_ExamplesEntry_DoNotUse_default_instance_._instance, 1238 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_ExtensionsEntry_DoNotUse_default_instance_._instance, 1239 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_default_instance_._instance, 1240 &::grpc::gateway::protoc_gen_openapiv2::options::_Info_ExtensionsEntry_DoNotUse_default_instance_._instance, 1241 &::grpc::gateway::protoc_gen_openapiv2::options::_Info_default_instance_._instance, 1242 &::grpc::gateway::protoc_gen_openapiv2::options::_Contact_default_instance_._instance, 1243 &::grpc::gateway::protoc_gen_openapiv2::options::_License_default_instance_._instance, 1244 &::grpc::gateway::protoc_gen_openapiv2::options::_ExternalDocumentation_default_instance_._instance, 1245 &::grpc::gateway::protoc_gen_openapiv2::options::_Schema_default_instance_._instance, 1246 &::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_FieldConfiguration_default_instance_._instance, 1247 &::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_ExtensionsEntry_DoNotUse_default_instance_._instance, 1248 &::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_default_instance_._instance, 1249 &::grpc::gateway::protoc_gen_openapiv2::options::_Tag_default_instance_._instance, 1250 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_._instance, 1251 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityDefinitions_default_instance_._instance, 1252 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_._instance, 1253 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityScheme_default_instance_._instance, 1254 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityRequirement_SecurityRequirementValue_default_instance_._instance, 1255 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_._instance, 1256 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityRequirement_default_instance_._instance, 1257 &::grpc::gateway::protoc_gen_openapiv2::options::_Scopes_ScopeEntry_DoNotUse_default_instance_._instance, 1258 &::grpc::gateway::protoc_gen_openapiv2::options::_Scopes_default_instance_._instance, 1259 }; 1260 const char descriptor_table_protodef_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( 1261 protodesc_cold) = { 1262 "\n,protoc-gen-openapiv2/options/openapiv2" 1263 ".proto\022)grpc.gateway.protoc_gen_openapiv" 1264 "2.options\032\034google/protobuf/struct.proto\"" 1265 "\335\006\n\007Swagger\022\017\n\007swagger\030\001 \001(\t\022=\n\004info\030\002 \001" 1266 "(\0132/.grpc.gateway.protoc_gen_openapiv2.o" 1267 "ptions.Info\022\014\n\004host\030\003 \001(\t\022\021\n\tbase_path\030\004" 1268 " \001(\t\022B\n\007schemes\030\005 \003(\01621.grpc.gateway.pro" 1269 "toc_gen_openapiv2.options.Scheme\022\020\n\010cons" 1270 "umes\030\006 \003(\t\022\020\n\010produces\030\007 \003(\t\022T\n\tresponse" 1271 "s\030\n \003(\0132A.grpc.gateway.protoc_gen_openap" 1272 "iv2.options.Swagger.ResponsesEntry\022\\\n\024se" 1273 "curity_definitions\030\013 \001(\0132>.grpc.gateway." 1274 "protoc_gen_openapiv2.options.SecurityDef" 1275 "initions\022P\n\010security\030\014 \003(\0132>.grpc.gatewa" 1276 "y.protoc_gen_openapiv2.options.SecurityR" 1277 "equirement\022W\n\rexternal_docs\030\016 \001(\0132@.grpc" 1278 ".gateway.protoc_gen_openapiv2.options.Ex" 1279 "ternalDocumentation\022V\n\nextensions\030\017 \003(\0132" 1280 "B.grpc.gateway.protoc_gen_openapiv2.opti" 1281 "ons.Swagger.ExtensionsEntry\032e\n\016Responses" 1282 "Entry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.grpc" 1283 ".gateway.protoc_gen_openapiv2.options.Re" 1284 "sponse:\0028\001\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001" 1285 "(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Valu" 1286 "e:\0028\001J\004\010\010\020\tJ\004\010\t\020\nJ\004\010\r\020\016\"\346\005\n\tOperation\022\014\n" 1287 "\004tags\030\001 \003(\t\022\017\n\007summary\030\002 \001(\t\022\023\n\013descript" 1288 "ion\030\003 \001(\t\022W\n\rexternal_docs\030\004 \001(\0132@.grpc." 1289 "gateway.protoc_gen_openapiv2.options.Ext" 1290 "ernalDocumentation\022\024\n\014operation_id\030\005 \001(\t" 1291 "\022\020\n\010consumes\030\006 \003(\t\022\020\n\010produces\030\007 \003(\t\022V\n\t" 1292 "responses\030\t \003(\0132C.grpc.gateway.protoc_ge" 1293 "n_openapiv2.options.Operation.ResponsesE" 1294 "ntry\022B\n\007schemes\030\n \003(\01621.grpc.gateway.pro" 1295 "toc_gen_openapiv2.options.Scheme\022\022\n\ndepr" 1296 "ecated\030\013 \001(\010\022P\n\010security\030\014 \003(\0132>.grpc.ga" 1297 "teway.protoc_gen_openapiv2.options.Secur" 1298 "ityRequirement\022X\n\nextensions\030\r \003(\0132D.grp" 1299 "c.gateway.protoc_gen_openapiv2.options.O" 1300 "peration.ExtensionsEntry\032e\n\016ResponsesEnt" 1301 "ry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.grpc.ga" 1302 "teway.protoc_gen_openapiv2.options.Respo" 1303 "nse:\0028\001\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022" 1304 "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002" 1305 "8\001J\004\010\010\020\t\"\253\001\n\006Header\022\023\n\013description\030\001 \001(\t" 1306 "\022\014\n\004type\030\002 \001(\t\022\016\n\006format\030\003 \001(\t\022\017\n\007defaul" 1307 "t\030\006 \001(\t\022\017\n\007pattern\030\r \001(\tJ\004\010\004\020\005J\004\010\005\020\006J\004\010\007" 1308 "\020\010J\004\010\010\020\tJ\004\010\t\020\nJ\004\010\n\020\013J\004\010\013\020\014J\004\010\014\020\rJ\004\010\016\020\017J\004" 1309 "\010\017\020\020J\004\010\020\020\021J\004\010\021\020\022J\004\010\022\020\023\"\302\004\n\010Response\022\023\n\013d" 1310 "escription\030\001 \001(\t\022A\n\006schema\030\002 \001(\01321.grpc." 1311 "gateway.protoc_gen_openapiv2.options.Sch" 1312 "ema\022Q\n\007headers\030\003 \003(\0132@.grpc.gateway.prot" 1313 "oc_gen_openapiv2.options.Response.Header" 1314 "sEntry\022S\n\010examples\030\004 \003(\0132A.grpc.gateway." 1315 "protoc_gen_openapiv2.options.Response.Ex" 1316 "amplesEntry\022W\n\nextensions\030\005 \003(\0132C.grpc.g" 1317 "ateway.protoc_gen_openapiv2.options.Resp" 1318 "onse.ExtensionsEntry\032a\n\014HeadersEntry\022\013\n\003" 1319 "key\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.grpc.gateway." 1320 "protoc_gen_openapiv2.options.Header:\0028\001\032" 1321 "/\n\rExamplesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" 1322 " \001(\t:\0028\001\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t" 1323 "\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:" 1324 "\0028\001\"\377\002\n\004Info\022\r\n\005title\030\001 \001(\t\022\023\n\013descripti" 1325 "on\030\002 \001(\t\022\030\n\020terms_of_service\030\003 \001(\t\022C\n\007co" 1326 "ntact\030\004 \001(\01322.grpc.gateway.protoc_gen_op" 1327 "enapiv2.options.Contact\022C\n\007license\030\005 \001(\013" 1328 "22.grpc.gateway.protoc_gen_openapiv2.opt" 1329 "ions.License\022\017\n\007version\030\006 \001(\t\022S\n\nextensi" 1330 "ons\030\007 \003(\0132\?.grpc.gateway.protoc_gen_open" 1331 "apiv2.options.Info.ExtensionsEntry\032I\n\017Ex" 1332 "tensionsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(" 1333 "\0132\026.google.protobuf.Value:\0028\001\"3\n\007Contact" 1334 "\022\014\n\004name\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\r\n\005email\030\003 \001" 1335 "(\t\"$\n\007License\022\014\n\004name\030\001 \001(\t\022\013\n\003url\030\002 \001(\t" 1336 "\"9\n\025ExternalDocumentation\022\023\n\013description" 1337 "\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\"\356\001\n\006Schema\022J\n\013json_s" 1338 "chema\030\001 \001(\01325.grpc.gateway.protoc_gen_op" 1339 "enapiv2.options.JSONSchema\022\025\n\rdiscrimina" 1340 "tor\030\002 \001(\t\022\021\n\tread_only\030\003 \001(\010\022W\n\rexternal" 1341 "_docs\030\005 \001(\0132@.grpc.gateway.protoc_gen_op" 1342 "enapiv2.options.ExternalDocumentation\022\017\n" 1343 "\007example\030\006 \001(\tJ\004\010\004\020\005\"\242\010\n\nJSONSchema\022\013\n\003r" 1344 "ef\030\003 \001(\t\022\r\n\005title\030\005 \001(\t\022\023\n\013description\030\006" 1345 " \001(\t\022\017\n\007default\030\007 \001(\t\022\021\n\tread_only\030\010 \001(\010" 1346 "\022\017\n\007example\030\t \001(\t\022\023\n\013multiple_of\030\n \001(\001\022\017" 1347 "\n\007maximum\030\013 \001(\001\022\031\n\021exclusive_maximum\030\014 \001" 1348 "(\010\022\017\n\007minimum\030\r \001(\001\022\031\n\021exclusive_minimum" 1349 "\030\016 \001(\010\022\022\n\nmax_length\030\017 \001(\004\022\022\n\nmin_length" 1350 "\030\020 \001(\004\022\017\n\007pattern\030\021 \001(\t\022\021\n\tmax_items\030\024 \001" 1351 "(\004\022\021\n\tmin_items\030\025 \001(\004\022\024\n\014unique_items\030\026 " 1352 "\001(\010\022\026\n\016max_properties\030\030 \001(\004\022\026\n\016min_prope" 1353 "rties\030\031 \001(\004\022\020\n\010required\030\032 \003(\t\022\r\n\005array\030\"" 1354 " \003(\t\022Y\n\004type\030# \003(\0162K.grpc.gateway.protoc" 1355 "_gen_openapiv2.options.JSONSchema.JSONSc" 1356 "hemaSimpleTypes\022\016\n\006format\030$ \001(\t\022\014\n\004enum\030" 1357 ". \003(\t\022f\n\023field_configuration\030\351\007 \001(\0132H.gr" 1358 "pc.gateway.protoc_gen_openapiv2.options." 1359 "JSONSchema.FieldConfiguration\022Y\n\nextensi" 1360 "ons\0300 \003(\0132E.grpc.gateway.protoc_gen_open" 1361 "apiv2.options.JSONSchema.ExtensionsEntry" 1362 "\032-\n\022FieldConfiguration\022\027\n\017path_param_nam" 1363 "e\030/ \001(\t\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022" 1364 "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002" 1365 "8\001\"w\n\025JSONSchemaSimpleTypes\022\013\n\007UNKNOWN\020\000" 1366 "\022\t\n\005ARRAY\020\001\022\013\n\007BOOLEAN\020\002\022\013\n\007INTEGER\020\003\022\010\n" 1367 "\004NULL\020\004\022\n\n\006NUMBER\020\005\022\n\n\006OBJECT\020\006\022\n\n\006STRIN" 1368 "G\020\007J\004\010\001\020\002J\004\010\002\020\003J\004\010\004\020\005J\004\010\022\020\023J\004\010\023\020\024J\004\010\027\020\030J" 1369 "\004\010\033\020\034J\004\010\034\020\035J\004\010\035\020\036J\004\010\036\020\"J\004\010%\020*J\004\010*\020+J\004\010+\020" 1370 ".\"y\n\003Tag\022\023\n\013description\030\002 \001(\t\022W\n\rexterna" 1371 "l_docs\030\003 \001(\0132@.grpc.gateway.protoc_gen_o" 1372 "penapiv2.options.ExternalDocumentationJ\004" 1373 "\010\001\020\002\"\341\001\n\023SecurityDefinitions\022^\n\010security" 1374 "\030\001 \003(\0132L.grpc.gateway.protoc_gen_openapi" 1375 "v2.options.SecurityDefinitions.SecurityE" 1376 "ntry\032j\n\rSecurityEntry\022\013\n\003key\030\001 \001(\t\022H\n\005va" 1377 "lue\030\002 \001(\01329.grpc.gateway.protoc_gen_open" 1378 "apiv2.options.SecurityScheme:\0028\001\"\240\006\n\016Sec" 1379 "urityScheme\022L\n\004type\030\001 \001(\0162>.grpc.gateway" 1380 ".protoc_gen_openapiv2.options.SecuritySc" 1381 "heme.Type\022\023\n\013description\030\002 \001(\t\022\014\n\004name\030\003" 1382 " \001(\t\022H\n\002in\030\004 \001(\0162<.grpc.gateway.protoc_g" 1383 "en_openapiv2.options.SecurityScheme.In\022L" 1384 "\n\004flow\030\005 \001(\0162>.grpc.gateway.protoc_gen_o" 1385 "penapiv2.options.SecurityScheme.Flow\022\031\n\021" 1386 "authorization_url\030\006 \001(\t\022\021\n\ttoken_url\030\007 \001" 1387 "(\t\022A\n\006scopes\030\010 \001(\01321.grpc.gateway.protoc" 1388 "_gen_openapiv2.options.Scopes\022]\n\nextensi" 1389 "ons\030\t \003(\0132I.grpc.gateway.protoc_gen_open" 1390 "apiv2.options.SecurityScheme.ExtensionsE" 1391 "ntry\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005" 1392 "value\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\"" 1393 "K\n\004Type\022\020\n\014TYPE_INVALID\020\000\022\016\n\nTYPE_BASIC\020" 1394 "\001\022\020\n\014TYPE_API_KEY\020\002\022\017\n\013TYPE_OAUTH2\020\003\"1\n\002" 1395 "In\022\016\n\nIN_INVALID\020\000\022\014\n\010IN_QUERY\020\001\022\r\n\tIN_H" 1396 "EADER\020\002\"j\n\004Flow\022\020\n\014FLOW_INVALID\020\000\022\021\n\rFLO" 1397 "W_IMPLICIT\020\001\022\021\n\rFLOW_PASSWORD\020\002\022\024\n\020FLOW_" 1398 "APPLICATION\020\003\022\024\n\020FLOW_ACCESS_CODE\020\004\"\315\002\n\023" 1399 "SecurityRequirement\022u\n\024security_requirem" 1400 "ent\030\001 \003(\0132W.grpc.gateway.protoc_gen_open" 1401 "apiv2.options.SecurityRequirement.Securi" 1402 "tyRequirementEntry\032)\n\030SecurityRequiremen" 1403 "tValue\022\r\n\005scope\030\001 \003(\t\032\223\001\n\030SecurityRequir" 1404 "ementEntry\022\013\n\003key\030\001 \001(\t\022f\n\005value\030\002 \001(\0132W" 1405 ".grpc.gateway.protoc_gen_openapiv2.optio" 1406 "ns.SecurityRequirement.SecurityRequireme" 1407 "ntValue:\0028\001\"\203\001\n\006Scopes\022K\n\005scope\030\001 \003(\0132<." 1408 "grpc.gateway.protoc_gen_openapiv2.option" 1409 "s.Scopes.ScopeEntry\032,\n\nScopeEntry\022\013\n\003key" 1410 "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001*;\n\006Scheme\022\013\n\007U" 1411 "NKNOWN\020\000\022\010\n\004HTTP\020\001\022\t\n\005HTTPS\020\002\022\006\n\002WS\020\003\022\007\n" 1412 "\003WSS\020\004BHZFgithub.com/grpc-ecosystem/grpc" 1413 "-gateway/v2/protoc-gen-openapiv2/options" 1414 "b\006proto3" 1415 }; 1416 static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const 1417 descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_deps[1] = { 1418 &::descriptor_table_google_2fprotobuf_2fstruct_2eproto, 1419 }; 1420 static ::absl::once_flag descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_once; 1421 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto = { 1422 false, 1423 false, 1424 6088, 1425 descriptor_table_protodef_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1426 "protoc-gen-openapiv2/options/openapiv2.proto", 1427 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_once, 1428 descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_deps, 1429 1, 1430 30, 1431 schemas, 1432 file_default_instances, 1433 TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto::offsets, 1434 file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1435 file_level_service_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1436 }; 1437 namespace grpc { 1438 namespace gateway { 1439 namespace protoc_gen_openapiv2 { 1440 namespace options { 1441 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JSONSchema_JSONSchemaSimpleTypes_descriptor() { 1442 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1443 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[0]; 1444 } 1445 PROTOBUF_CONSTINIT const uint32_t JSONSchema_JSONSchemaSimpleTypes_internal_data_[] = { 1446 524288u, 0u, }; 1447 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_Type_descriptor() { 1448 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1449 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[1]; 1450 } 1451 PROTOBUF_CONSTINIT const uint32_t SecurityScheme_Type_internal_data_[] = { 1452 262144u, 0u, }; 1453 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_In_descriptor() { 1454 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1455 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[2]; 1456 } 1457 PROTOBUF_CONSTINIT const uint32_t SecurityScheme_In_internal_data_[] = { 1458 196608u, 0u, }; 1459 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_Flow_descriptor() { 1460 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1461 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[3]; 1462 } 1463 PROTOBUF_CONSTINIT const uint32_t SecurityScheme_Flow_internal_data_[] = { 1464 327680u, 0u, }; 1465 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Scheme_descriptor() { 1466 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1467 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[4]; 1468 } 1469 PROTOBUF_CONSTINIT const uint32_t Scheme_internal_data_[] = { 1470 327680u, 0u, }; 1471 // =================================================================== 1472 1473 #if defined(PROTOBUF_CUSTOM_VTABLE) 1474 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse() 1475 : SuperType(Swagger_ResponsesEntry_DoNotUse_class_data_.base()) {} 1476 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1477 : SuperType(arena, Swagger_ResponsesEntry_DoNotUse_class_data_.base()) {} 1478 #else // PROTOBUF_CUSTOM_VTABLE 1479 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse() : SuperType() {} 1480 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 1481 #endif // PROTOBUF_CUSTOM_VTABLE 1482 inline void* PROTOBUF_NONNULL Swagger_ResponsesEntry_DoNotUse::PlacementNew_( 1483 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1484 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1485 return ::new (mem) Swagger_ResponsesEntry_DoNotUse(arena); 1486 } 1487 constexpr auto Swagger_ResponsesEntry_DoNotUse::InternalNewImpl_() { 1488 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Swagger_ResponsesEntry_DoNotUse), 1489 alignof(Swagger_ResponsesEntry_DoNotUse)); 1490 } 1491 constexpr auto Swagger_ResponsesEntry_DoNotUse::InternalGenerateClassData_() { 1492 return ::google::protobuf::internal::ClassDataFull{ 1493 ::google::protobuf::internal::ClassData{ 1494 &_Swagger_ResponsesEntry_DoNotUse_default_instance_._instance, 1495 &_table_.header, 1496 nullptr, // OnDemandRegisterArenaDtor 1497 nullptr, // IsInitialized 1498 &Swagger_ResponsesEntry_DoNotUse::MergeImpl, 1499 ::google::protobuf::Message::GetNewImpl<Swagger_ResponsesEntry_DoNotUse>(), 1500 #if defined(PROTOBUF_CUSTOM_VTABLE) 1501 &Swagger_ResponsesEntry_DoNotUse::SharedDtor, 1502 static_cast<void (::google::protobuf::MessageLite::*)()>(&Swagger_ResponsesEntry_DoNotUse::ClearImpl), 1503 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 1504 , 1505 #endif // PROTOBUF_CUSTOM_VTABLE 1506 PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_._cached_size_), 1507 false, 1508 }, 1509 &Swagger_ResponsesEntry_DoNotUse::kDescriptorMethods, 1510 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1511 nullptr, // tracker 1512 }; 1513 } 1514 1515 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 1516 ::google::protobuf::internal::ClassDataFull Swagger_ResponsesEntry_DoNotUse_class_data_ = 1517 Swagger_ResponsesEntry_DoNotUse::InternalGenerateClassData_(); 1518 1519 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 1520 Swagger_ResponsesEntry_DoNotUse::GetClassData() const { 1521 ::google::protobuf::internal::PrefetchToLocalCache(&Swagger_ResponsesEntry_DoNotUse_class_data_); 1522 ::google::protobuf::internal::PrefetchToLocalCache(Swagger_ResponsesEntry_DoNotUse_class_data_.tc_table); 1523 return Swagger_ResponsesEntry_DoNotUse_class_data_.base(); 1524 } 1525 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1526 const ::_pbi::TcParseTable<1, 2, 1, 76, 2> 1527 Swagger_ResponsesEntry_DoNotUse::_table_ = { 1528 { 1529 PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_._has_bits_), 1530 0, // no _extensions_ 1531 2, 8, // max_field_number, fast_idx_mask 1532 offsetof(decltype(_table_), field_lookup_table), 1533 4294967292, // skipmap 1534 offsetof(decltype(_table_), field_entries), 1535 2, // num_field_entries 1536 1, // num_aux_entries 1537 offsetof(decltype(_table_), aux_entries), 1538 Swagger_ResponsesEntry_DoNotUse_class_data_.base(), 1539 nullptr, // post_loop_handler 1540 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 1541 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1542 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse>(), // to_prefetch 1543 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1544 }, {{ 1545 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 1546 {::_pbi::TcParser::FastMtS1, 1547 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.value_)}}, 1548 // string key = 1; 1549 {::_pbi::TcParser::FastUS1, 1550 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.key_)}}, 1551 }}, {{ 1552 65535, 65535 1553 }}, {{ 1554 // string key = 1; 1555 {PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1556 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1557 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 1558 {PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1559 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1560 }}, 1561 {{ 1562 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 1563 }}, 1564 {{ 1565 "\100\3\0\0\0\0\0\0" 1566 "grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry" 1567 "key" 1568 }}, 1569 }; 1570 // =================================================================== 1571 1572 #if defined(PROTOBUF_CUSTOM_VTABLE) 1573 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse() 1574 : SuperType(Swagger_ExtensionsEntry_DoNotUse_class_data_.base()) {} 1575 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1576 : SuperType(arena, Swagger_ExtensionsEntry_DoNotUse_class_data_.base()) {} 1577 #else // PROTOBUF_CUSTOM_VTABLE 1578 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse() : SuperType() {} 1579 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 1580 #endif // PROTOBUF_CUSTOM_VTABLE 1581 inline void* PROTOBUF_NONNULL Swagger_ExtensionsEntry_DoNotUse::PlacementNew_( 1582 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1583 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1584 return ::new (mem) Swagger_ExtensionsEntry_DoNotUse(arena); 1585 } 1586 constexpr auto Swagger_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 1587 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Swagger_ExtensionsEntry_DoNotUse), 1588 alignof(Swagger_ExtensionsEntry_DoNotUse)); 1589 } 1590 constexpr auto Swagger_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 1591 return ::google::protobuf::internal::ClassDataFull{ 1592 ::google::protobuf::internal::ClassData{ 1593 &_Swagger_ExtensionsEntry_DoNotUse_default_instance_._instance, 1594 &_table_.header, 1595 nullptr, // OnDemandRegisterArenaDtor 1596 nullptr, // IsInitialized 1597 &Swagger_ExtensionsEntry_DoNotUse::MergeImpl, 1598 ::google::protobuf::Message::GetNewImpl<Swagger_ExtensionsEntry_DoNotUse>(), 1599 #if defined(PROTOBUF_CUSTOM_VTABLE) 1600 &Swagger_ExtensionsEntry_DoNotUse::SharedDtor, 1601 static_cast<void (::google::protobuf::MessageLite::*)()>(&Swagger_ExtensionsEntry_DoNotUse::ClearImpl), 1602 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 1603 , 1604 #endif // PROTOBUF_CUSTOM_VTABLE 1605 PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 1606 false, 1607 }, 1608 &Swagger_ExtensionsEntry_DoNotUse::kDescriptorMethods, 1609 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1610 nullptr, // tracker 1611 }; 1612 } 1613 1614 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 1615 ::google::protobuf::internal::ClassDataFull Swagger_ExtensionsEntry_DoNotUse_class_data_ = 1616 Swagger_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 1617 1618 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 1619 Swagger_ExtensionsEntry_DoNotUse::GetClassData() const { 1620 ::google::protobuf::internal::PrefetchToLocalCache(&Swagger_ExtensionsEntry_DoNotUse_class_data_); 1621 ::google::protobuf::internal::PrefetchToLocalCache(Swagger_ExtensionsEntry_DoNotUse_class_data_.tc_table); 1622 return Swagger_ExtensionsEntry_DoNotUse_class_data_.base(); 1623 } 1624 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1625 const ::_pbi::TcParseTable<1, 2, 1, 77, 2> 1626 Swagger_ExtensionsEntry_DoNotUse::_table_ = { 1627 { 1628 PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1629 0, // no _extensions_ 1630 2, 8, // max_field_number, fast_idx_mask 1631 offsetof(decltype(_table_), field_lookup_table), 1632 4294967292, // skipmap 1633 offsetof(decltype(_table_), field_entries), 1634 2, // num_field_entries 1635 1, // num_aux_entries 1636 offsetof(decltype(_table_), aux_entries), 1637 Swagger_ExtensionsEntry_DoNotUse_class_data_.base(), 1638 nullptr, // post_loop_handler 1639 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 1640 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1641 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse>(), // to_prefetch 1642 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1643 }, {{ 1644 // .google.protobuf.Value value = 2; 1645 {::_pbi::TcParser::FastMtS1, 1646 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 1647 // string key = 1; 1648 {::_pbi::TcParser::FastUS1, 1649 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 1650 }}, {{ 1651 65535, 65535 1652 }}, {{ 1653 // string key = 1; 1654 {PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1655 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1656 // .google.protobuf.Value value = 2; 1657 {PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1658 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1659 }}, 1660 {{ 1661 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 1662 }}, 1663 {{ 1664 "\101\3\0\0\0\0\0\0" 1665 "grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry" 1666 "key" 1667 }}, 1668 }; 1669 // =================================================================== 1670 1671 class Swagger::_Internal { 1672 public: 1673 using HasBits = 1674 decltype(::std::declval<Swagger>()._impl_._has_bits_); 1675 static constexpr ::int32_t kHasBitsOffset = 1676 8 * PROTOBUF_FIELD_OFFSET(Swagger, _impl_._has_bits_); 1677 }; 1678 1679 void Swagger::clear_extensions() { 1680 ::google::protobuf::internal::TSanWrite(&_impl_); 1681 _impl_.extensions_.Clear(); 1682 } 1683 Swagger::Swagger(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1684 #if defined(PROTOBUF_CUSTOM_VTABLE) 1685 : ::google::protobuf::Message(arena, Swagger_class_data_.base()) { 1686 #else // PROTOBUF_CUSTOM_VTABLE 1687 : ::google::protobuf::Message(arena) { 1688 #endif // PROTOBUF_CUSTOM_VTABLE 1689 SharedCtor(arena); 1690 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1691 } 1692 PROTOBUF_NDEBUG_INLINE Swagger::Impl_::Impl_( 1693 ::google::protobuf::internal::InternalVisibility visibility, 1694 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1695 const ::grpc::gateway::protoc_gen_openapiv2::options::Swagger& from_msg) 1696 : _has_bits_{from._has_bits_}, 1697 _cached_size_{0}, 1698 schemes_{visibility, arena, from.schemes_}, 1699 _schemes_cached_byte_size_{0}, 1700 consumes_{visibility, arena, from.consumes_}, 1701 produces_{visibility, arena, from.produces_}, 1702 responses_{visibility, arena, from.responses_}, 1703 security_{visibility, arena, from.security_}, 1704 extensions_{visibility, arena, from.extensions_}, 1705 swagger_(arena, from.swagger_), 1706 host_(arena, from.host_), 1707 base_path_(arena, from.base_path_) {} 1708 1709 Swagger::Swagger( 1710 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 1711 const Swagger& from) 1712 #if defined(PROTOBUF_CUSTOM_VTABLE) 1713 : ::google::protobuf::Message(arena, Swagger_class_data_.base()) { 1714 #else // PROTOBUF_CUSTOM_VTABLE 1715 : ::google::protobuf::Message(arena) { 1716 #endif // PROTOBUF_CUSTOM_VTABLE 1717 Swagger* const _this = this; 1718 (void)_this; 1719 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 1720 from._internal_metadata_); 1721 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 1722 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 1723 _impl_.info_ = ((cached_has_bits & 0x00000008u) != 0) 1724 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.info_) 1725 : nullptr; 1726 _impl_.security_definitions_ = ((cached_has_bits & 0x00000010u) != 0) 1727 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.security_definitions_) 1728 : nullptr; 1729 _impl_.external_docs_ = ((cached_has_bits & 0x00000020u) != 0) 1730 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 1731 : nullptr; 1732 1733 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1734 } 1735 PROTOBUF_NDEBUG_INLINE Swagger::Impl_::Impl_( 1736 ::google::protobuf::internal::InternalVisibility visibility, 1737 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1738 : _cached_size_{0}, 1739 schemes_{visibility, arena}, 1740 _schemes_cached_byte_size_{0}, 1741 consumes_{visibility, arena}, 1742 produces_{visibility, arena}, 1743 responses_{visibility, arena}, 1744 security_{visibility, arena}, 1745 extensions_{visibility, arena}, 1746 swagger_(arena), 1747 host_(arena), 1748 base_path_(arena) {} 1749 1750 inline void Swagger::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 1751 new (&_impl_) Impl_(internal_visibility(), arena); 1752 ::memset(reinterpret_cast<char *>(&_impl_) + 1753 offsetof(Impl_, info_), 1754 0, 1755 offsetof(Impl_, external_docs_) - 1756 offsetof(Impl_, info_) + 1757 sizeof(Impl_::external_docs_)); 1758 } 1759 Swagger::~Swagger() { 1760 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1761 SharedDtor(*this); 1762 } 1763 inline void Swagger::SharedDtor(MessageLite& self) { 1764 Swagger& this_ = static_cast<Swagger&>(self); 1765 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 1766 ABSL_DCHECK(this_.GetArena() == nullptr); 1767 this_._impl_.swagger_.Destroy(); 1768 this_._impl_.host_.Destroy(); 1769 this_._impl_.base_path_.Destroy(); 1770 delete this_._impl_.info_; 1771 delete this_._impl_.security_definitions_; 1772 delete this_._impl_.external_docs_; 1773 this_._impl_.~Impl_(); 1774 } 1775 1776 inline void* PROTOBUF_NONNULL Swagger::PlacementNew_( 1777 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1778 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1779 return ::new (mem) Swagger(arena); 1780 } 1781 constexpr auto Swagger::InternalNewImpl_() { 1782 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 1783 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.schemes_) + 1784 decltype(Swagger::_impl_.schemes_):: 1785 InternalGetArenaOffset( 1786 ::google::protobuf::Message::internal_visibility()), 1787 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.consumes_) + 1788 decltype(Swagger::_impl_.consumes_):: 1789 InternalGetArenaOffset( 1790 ::google::protobuf::Message::internal_visibility()), 1791 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.produces_) + 1792 decltype(Swagger::_impl_.produces_):: 1793 InternalGetArenaOffset( 1794 ::google::protobuf::Message::internal_visibility()), 1795 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.responses_) + 1796 decltype(Swagger::_impl_.responses_):: 1797 InternalGetArenaOffset( 1798 ::google::protobuf::Message::internal_visibility()), 1799 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.responses_) + 1800 decltype(Swagger::_impl_.responses_):: 1801 InternalGetArenaOffsetAlt( 1802 ::google::protobuf::Message::internal_visibility()), 1803 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_) + 1804 decltype(Swagger::_impl_.security_):: 1805 InternalGetArenaOffset( 1806 ::google::protobuf::Message::internal_visibility()), 1807 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.extensions_) + 1808 decltype(Swagger::_impl_.extensions_):: 1809 InternalGetArenaOffset( 1810 ::google::protobuf::Message::internal_visibility()), 1811 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.extensions_) + 1812 decltype(Swagger::_impl_.extensions_):: 1813 InternalGetArenaOffsetAlt( 1814 ::google::protobuf::Message::internal_visibility()), 1815 }); 1816 if (arena_bits.has_value()) { 1817 return ::google::protobuf::internal::MessageCreator::CopyInit( 1818 sizeof(Swagger), alignof(Swagger), *arena_bits); 1819 } else { 1820 return ::google::protobuf::internal::MessageCreator(&Swagger::PlacementNew_, 1821 sizeof(Swagger), 1822 alignof(Swagger)); 1823 } 1824 } 1825 constexpr auto Swagger::InternalGenerateClassData_() { 1826 return ::google::protobuf::internal::ClassDataFull{ 1827 ::google::protobuf::internal::ClassData{ 1828 &_Swagger_default_instance_._instance, 1829 &_table_.header, 1830 nullptr, // OnDemandRegisterArenaDtor 1831 nullptr, // IsInitialized 1832 &Swagger::MergeImpl, 1833 ::google::protobuf::Message::GetNewImpl<Swagger>(), 1834 #if defined(PROTOBUF_CUSTOM_VTABLE) 1835 &Swagger::SharedDtor, 1836 ::google::protobuf::Message::GetClearImpl<Swagger>(), &Swagger::ByteSizeLong, 1837 &Swagger::_InternalSerialize, 1838 #endif // PROTOBUF_CUSTOM_VTABLE 1839 PROTOBUF_FIELD_OFFSET(Swagger, _impl_._cached_size_), 1840 false, 1841 }, 1842 &Swagger::kDescriptorMethods, 1843 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1844 nullptr, // tracker 1845 }; 1846 } 1847 1848 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 1849 ::google::protobuf::internal::ClassDataFull Swagger_class_data_ = 1850 Swagger::InternalGenerateClassData_(); 1851 1852 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 1853 Swagger::GetClassData() const { 1854 ::google::protobuf::internal::PrefetchToLocalCache(&Swagger_class_data_); 1855 ::google::protobuf::internal::PrefetchToLocalCache(Swagger_class_data_.tc_table); 1856 return Swagger_class_data_.base(); 1857 } 1858 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1859 const ::_pbi::TcParseTable<4, 12, 8, 121, 2> 1860 Swagger::_table_ = { 1861 { 1862 PROTOBUF_FIELD_OFFSET(Swagger, _impl_._has_bits_), 1863 0, // no _extensions_ 1864 15, 120, // max_field_number, fast_idx_mask 1865 offsetof(decltype(_table_), field_lookup_table), 1866 4294939008, // skipmap 1867 offsetof(decltype(_table_), field_entries), 1868 12, // num_field_entries 1869 8, // num_aux_entries 1870 offsetof(decltype(_table_), aux_entries), 1871 Swagger_class_data_.base(), 1872 nullptr, // post_loop_handler 1873 ::_pbi::TcParser::GenericFallback, // fallback 1874 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1875 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Swagger>(), // to_prefetch 1876 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1877 }, {{ 1878 {::_pbi::TcParser::MiniParse, {}}, 1879 // string swagger = 1; 1880 {::_pbi::TcParser::FastUS1, 1881 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.swagger_)}}, 1882 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 1883 {::_pbi::TcParser::FastMtS1, 1884 {18, 3, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.info_)}}, 1885 // string host = 3; 1886 {::_pbi::TcParser::FastUS1, 1887 {26, 1, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.host_)}}, 1888 // string base_path = 4; 1889 {::_pbi::TcParser::FastUS1, 1890 {34, 2, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.base_path_)}}, 1891 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 1892 {::_pbi::TcParser::FastV32P1, 1893 {42, 63, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.schemes_)}}, 1894 // repeated string consumes = 6; 1895 {::_pbi::TcParser::FastUR1, 1896 {50, 63, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.consumes_)}}, 1897 // repeated string produces = 7; 1898 {::_pbi::TcParser::FastUR1, 1899 {58, 63, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.produces_)}}, 1900 {::_pbi::TcParser::MiniParse, {}}, 1901 {::_pbi::TcParser::MiniParse, {}}, 1902 {::_pbi::TcParser::MiniParse, {}}, 1903 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 1904 {::_pbi::TcParser::FastMtS1, 1905 {90, 4, 1, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_definitions_)}}, 1906 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 1907 {::_pbi::TcParser::FastMtR1, 1908 {98, 63, 2, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_)}}, 1909 {::_pbi::TcParser::MiniParse, {}}, 1910 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 1911 {::_pbi::TcParser::FastMtS1, 1912 {114, 5, 3, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.external_docs_)}}, 1913 {::_pbi::TcParser::MiniParse, {}}, 1914 }}, {{ 1915 65535, 65535 1916 }}, {{ 1917 // string swagger = 1; 1918 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.swagger_), _Internal::kHasBitsOffset + 0, 0, 1919 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1920 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 1921 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.info_), _Internal::kHasBitsOffset + 3, 0, 1922 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1923 // string host = 3; 1924 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.host_), _Internal::kHasBitsOffset + 1, 0, 1925 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1926 // string base_path = 4; 1927 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.base_path_), _Internal::kHasBitsOffset + 2, 0, 1928 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1929 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 1930 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.schemes_), -1, 0, 1931 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, 1932 // repeated string consumes = 6; 1933 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.consumes_), -1, 0, 1934 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 1935 // repeated string produces = 7; 1936 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.produces_), -1, 0, 1937 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 1938 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 1939 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.responses_), -1, 4, 1940 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 1941 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 1942 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_definitions_), _Internal::kHasBitsOffset + 4, 1, 1943 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1944 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 1945 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_), -1, 2, 1946 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, 1947 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 1948 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.external_docs_), _Internal::kHasBitsOffset + 5, 3, 1949 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1950 // map<string, .google.protobuf.Value> extensions = 15; 1951 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.extensions_), -1, 6, 1952 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 1953 }}, 1954 {{ 1955 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Info>()}, 1956 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions>()}, 1957 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>()}, 1958 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 1959 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 1960 9, 11, 1961 0)}, 1962 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 1963 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 1964 9, 11, 1965 0)}, 1966 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 1967 }}, 1968 {{ 1969 "\61\7\0\4\11\0\10\10\11\0\0\0\12\0\0\0" 1970 "grpc.gateway.protoc_gen_openapiv2.options.Swagger" 1971 "swagger" 1972 "host" 1973 "base_path" 1974 "consumes" 1975 "produces" 1976 "responses" 1977 "extensions" 1978 }}, 1979 }; 1980 PROTOBUF_NOINLINE void Swagger::Clear() { 1981 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1982 ::google::protobuf::internal::TSanWrite(&_impl_); 1983 ::uint32_t cached_has_bits = 0; 1984 // Prevent compiler warnings about cached_has_bits being unused 1985 (void) cached_has_bits; 1986 1987 _impl_.schemes_.Clear(); 1988 _impl_.consumes_.Clear(); 1989 _impl_.produces_.Clear(); 1990 _impl_.responses_.Clear(); 1991 _impl_.security_.Clear(); 1992 _impl_.extensions_.Clear(); 1993 cached_has_bits = _impl_._has_bits_[0]; 1994 if ((cached_has_bits & 0x0000003fu) != 0) { 1995 if ((cached_has_bits & 0x00000001u) != 0) { 1996 _impl_.swagger_.ClearNonDefaultToEmpty(); 1997 } 1998 if ((cached_has_bits & 0x00000002u) != 0) { 1999 _impl_.host_.ClearNonDefaultToEmpty(); 2000 } 2001 if ((cached_has_bits & 0x00000004u) != 0) { 2002 _impl_.base_path_.ClearNonDefaultToEmpty(); 2003 } 2004 if ((cached_has_bits & 0x00000008u) != 0) { 2005 ABSL_DCHECK(_impl_.info_ != nullptr); 2006 _impl_.info_->Clear(); 2007 } 2008 if ((cached_has_bits & 0x00000010u) != 0) { 2009 ABSL_DCHECK(_impl_.security_definitions_ != nullptr); 2010 _impl_.security_definitions_->Clear(); 2011 } 2012 if ((cached_has_bits & 0x00000020u) != 0) { 2013 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 2014 _impl_.external_docs_->Clear(); 2015 } 2016 } 2017 _impl_._has_bits_.Clear(); 2018 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 2019 } 2020 2021 #if defined(PROTOBUF_CUSTOM_VTABLE) 2022 ::uint8_t* PROTOBUF_NONNULL Swagger::_InternalSerialize( 2023 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 2024 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 2025 const Swagger& this_ = static_cast<const Swagger&>(base); 2026 #else // PROTOBUF_CUSTOM_VTABLE 2027 ::uint8_t* PROTOBUF_NONNULL Swagger::_InternalSerialize( 2028 ::uint8_t* PROTOBUF_NONNULL target, 2029 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2030 const Swagger& this_ = *this; 2031 #endif // PROTOBUF_CUSTOM_VTABLE 2032 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2033 ::uint32_t cached_has_bits = 0; 2034 (void)cached_has_bits; 2035 2036 // string swagger = 1; 2037 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 2038 if (!this_._internal_swagger().empty()) { 2039 const ::std::string& _s = this_._internal_swagger(); 2040 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2041 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger"); 2042 target = stream->WriteStringMaybeAliased(1, _s, target); 2043 } 2044 } 2045 2046 cached_has_bits = this_._impl_._has_bits_[0]; 2047 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 2048 if ((cached_has_bits & 0x00000008u) != 0) { 2049 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2050 2, *this_._impl_.info_, this_._impl_.info_->GetCachedSize(), target, 2051 stream); 2052 } 2053 2054 // string host = 3; 2055 if ((cached_has_bits & 0x00000002u) != 0) { 2056 if (!this_._internal_host().empty()) { 2057 const ::std::string& _s = this_._internal_host(); 2058 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2059 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.host"); 2060 target = stream->WriteStringMaybeAliased(3, _s, target); 2061 } 2062 } 2063 2064 // string base_path = 4; 2065 if ((cached_has_bits & 0x00000004u) != 0) { 2066 if (!this_._internal_base_path().empty()) { 2067 const ::std::string& _s = this_._internal_base_path(); 2068 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2069 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path"); 2070 target = stream->WriteStringMaybeAliased(4, _s, target); 2071 } 2072 } 2073 2074 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 2075 { 2076 ::size_t byte_size = this_._impl_._schemes_cached_byte_size_.Get(); 2077 if (byte_size > 0) { 2078 target = stream->WriteEnumPacked( 2079 5, this_._internal_schemes(), byte_size, target); 2080 } 2081 } 2082 2083 // repeated string consumes = 6; 2084 for (int i = 0, n = this_._internal_consumes_size(); i < n; ++i) { 2085 const auto& s = this_._internal_consumes().Get(i); 2086 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2087 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes"); 2088 target = stream->WriteString(6, s, target); 2089 } 2090 2091 // repeated string produces = 7; 2092 for (int i = 0, n = this_._internal_produces_size(); i < n; ++i) { 2093 const auto& s = this_._internal_produces().Get(i); 2094 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2095 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces"); 2096 target = stream->WriteString(7, s, target); 2097 } 2098 2099 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 2100 if (!this_._internal_responses().empty()) { 2101 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>; 2102 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 2103 _pbi::WireFormatLite::TYPE_STRING, 2104 _pbi::WireFormatLite::TYPE_MESSAGE>; 2105 const auto& field = this_._internal_responses(); 2106 2107 if (stream->IsSerializationDeterministic() && field.size() > 1) { 2108 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 2109 target = WireHelper::InternalSerialize( 2110 10, entry.first, entry.second, target, stream); 2111 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2112 entry.first.data(), static_cast<int>(entry.first.length()), 2113 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses"); 2114 } 2115 } else { 2116 for (const auto& entry : field) { 2117 target = WireHelper::InternalSerialize( 2118 10, entry.first, entry.second, target, stream); 2119 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2120 entry.first.data(), static_cast<int>(entry.first.length()), 2121 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses"); 2122 } 2123 } 2124 } 2125 2126 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 2127 if ((cached_has_bits & 0x00000010u) != 0) { 2128 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2129 11, *this_._impl_.security_definitions_, this_._impl_.security_definitions_->GetCachedSize(), target, 2130 stream); 2131 } 2132 2133 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2134 for (unsigned i = 0, n = static_cast<unsigned>( 2135 this_._internal_security_size()); 2136 i < n; i++) { 2137 const auto& repfield = this_._internal_security().Get(i); 2138 target = 2139 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2140 12, repfield, repfield.GetCachedSize(), 2141 target, stream); 2142 } 2143 2144 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 2145 if ((cached_has_bits & 0x00000020u) != 0) { 2146 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2147 14, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 2148 stream); 2149 } 2150 2151 // map<string, .google.protobuf.Value> extensions = 15; 2152 if (!this_._internal_extensions().empty()) { 2153 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 2154 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 2155 _pbi::WireFormatLite::TYPE_STRING, 2156 _pbi::WireFormatLite::TYPE_MESSAGE>; 2157 const auto& field = this_._internal_extensions(); 2158 2159 if (stream->IsSerializationDeterministic() && field.size() > 1) { 2160 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 2161 target = WireHelper::InternalSerialize( 2162 15, entry.first, entry.second, target, stream); 2163 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2164 entry.first.data(), static_cast<int>(entry.first.length()), 2165 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions"); 2166 } 2167 } else { 2168 for (const auto& entry : field) { 2169 target = WireHelper::InternalSerialize( 2170 15, entry.first, entry.second, target, stream); 2171 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2172 entry.first.data(), static_cast<int>(entry.first.length()), 2173 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions"); 2174 } 2175 } 2176 } 2177 2178 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 2179 target = 2180 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 2181 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 2182 } 2183 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2184 return target; 2185 } 2186 2187 #if defined(PROTOBUF_CUSTOM_VTABLE) 2188 ::size_t Swagger::ByteSizeLong(const MessageLite& base) { 2189 const Swagger& this_ = static_cast<const Swagger&>(base); 2190 #else // PROTOBUF_CUSTOM_VTABLE 2191 ::size_t Swagger::ByteSizeLong() const { 2192 const Swagger& this_ = *this; 2193 #endif // PROTOBUF_CUSTOM_VTABLE 2194 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2195 ::size_t total_size = 0; 2196 2197 ::uint32_t cached_has_bits = 0; 2198 // Prevent compiler warnings about cached_has_bits being unused 2199 (void)cached_has_bits; 2200 2201 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 2202 { 2203 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 2204 { 2205 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( 2206 this_._internal_schemes(), 1, this_._impl_._schemes_cached_byte_size_); 2207 } 2208 // repeated string consumes = 6; 2209 { 2210 total_size += 2211 1 * ::google::protobuf::internal::FromIntSize(this_._internal_consumes().size()); 2212 for (int i = 0, n = this_._internal_consumes().size(); i < n; ++i) { 2213 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 2214 this_._internal_consumes().Get(i)); 2215 } 2216 } 2217 // repeated string produces = 7; 2218 { 2219 total_size += 2220 1 * ::google::protobuf::internal::FromIntSize(this_._internal_produces().size()); 2221 for (int i = 0, n = this_._internal_produces().size(); i < n; ++i) { 2222 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 2223 this_._internal_produces().Get(i)); 2224 } 2225 } 2226 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 2227 { 2228 total_size += 2229 1 * ::google::protobuf::internal::FromIntSize(this_._internal_responses_size()); 2230 for (const auto& entry : this_._internal_responses()) { 2231 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 2232 _pbi::WireFormatLite::TYPE_STRING, 2233 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 2234 } 2235 } 2236 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2237 { 2238 total_size += 1UL * this_._internal_security_size(); 2239 for (const auto& msg : this_._internal_security()) { 2240 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); 2241 } 2242 } 2243 // map<string, .google.protobuf.Value> extensions = 15; 2244 { 2245 total_size += 2246 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 2247 for (const auto& entry : this_._internal_extensions()) { 2248 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 2249 _pbi::WireFormatLite::TYPE_STRING, 2250 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 2251 } 2252 } 2253 } 2254 cached_has_bits = this_._impl_._has_bits_[0]; 2255 if ((cached_has_bits & 0x0000003fu) != 0) { 2256 // string swagger = 1; 2257 if ((cached_has_bits & 0x00000001u) != 0) { 2258 if (!this_._internal_swagger().empty()) { 2259 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2260 this_._internal_swagger()); 2261 } 2262 } 2263 // string host = 3; 2264 if ((cached_has_bits & 0x00000002u) != 0) { 2265 if (!this_._internal_host().empty()) { 2266 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2267 this_._internal_host()); 2268 } 2269 } 2270 // string base_path = 4; 2271 if ((cached_has_bits & 0x00000004u) != 0) { 2272 if (!this_._internal_base_path().empty()) { 2273 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2274 this_._internal_base_path()); 2275 } 2276 } 2277 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 2278 if ((cached_has_bits & 0x00000008u) != 0) { 2279 total_size += 1 + 2280 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.info_); 2281 } 2282 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 2283 if ((cached_has_bits & 0x00000010u) != 0) { 2284 total_size += 1 + 2285 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.security_definitions_); 2286 } 2287 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 2288 if ((cached_has_bits & 0x00000020u) != 0) { 2289 total_size += 1 + 2290 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 2291 } 2292 } 2293 return this_.MaybeComputeUnknownFieldsSize(total_size, 2294 &this_._impl_._cached_size_); 2295 } 2296 2297 void Swagger::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 2298 auto* const _this = static_cast<Swagger*>(&to_msg); 2299 auto& from = static_cast<const Swagger&>(from_msg); 2300 ::google::protobuf::Arena* arena = _this->GetArena(); 2301 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2302 ABSL_DCHECK_NE(&from, _this); 2303 ::uint32_t cached_has_bits = 0; 2304 (void) cached_has_bits; 2305 2306 _this->_internal_mutable_schemes()->MergeFrom(from._internal_schemes()); 2307 _this->_internal_mutable_consumes()->MergeFrom(from._internal_consumes()); 2308 _this->_internal_mutable_produces()->MergeFrom(from._internal_produces()); 2309 _this->_impl_.responses_.MergeFrom(from._impl_.responses_); 2310 _this->_internal_mutable_security()->MergeFrom( 2311 from._internal_security()); 2312 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 2313 cached_has_bits = from._impl_._has_bits_[0]; 2314 if ((cached_has_bits & 0x0000003fu) != 0) { 2315 if ((cached_has_bits & 0x00000001u) != 0) { 2316 if (!from._internal_swagger().empty()) { 2317 _this->_internal_set_swagger(from._internal_swagger()); 2318 } else { 2319 if (_this->_impl_.swagger_.IsDefault()) { 2320 _this->_internal_set_swagger(""); 2321 } 2322 } 2323 } 2324 if ((cached_has_bits & 0x00000002u) != 0) { 2325 if (!from._internal_host().empty()) { 2326 _this->_internal_set_host(from._internal_host()); 2327 } else { 2328 if (_this->_impl_.host_.IsDefault()) { 2329 _this->_internal_set_host(""); 2330 } 2331 } 2332 } 2333 if ((cached_has_bits & 0x00000004u) != 0) { 2334 if (!from._internal_base_path().empty()) { 2335 _this->_internal_set_base_path(from._internal_base_path()); 2336 } else { 2337 if (_this->_impl_.base_path_.IsDefault()) { 2338 _this->_internal_set_base_path(""); 2339 } 2340 } 2341 } 2342 if ((cached_has_bits & 0x00000008u) != 0) { 2343 ABSL_DCHECK(from._impl_.info_ != nullptr); 2344 if (_this->_impl_.info_ == nullptr) { 2345 _this->_impl_.info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.info_); 2346 } else { 2347 _this->_impl_.info_->MergeFrom(*from._impl_.info_); 2348 } 2349 } 2350 if ((cached_has_bits & 0x00000010u) != 0) { 2351 ABSL_DCHECK(from._impl_.security_definitions_ != nullptr); 2352 if (_this->_impl_.security_definitions_ == nullptr) { 2353 _this->_impl_.security_definitions_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.security_definitions_); 2354 } else { 2355 _this->_impl_.security_definitions_->MergeFrom(*from._impl_.security_definitions_); 2356 } 2357 } 2358 if ((cached_has_bits & 0x00000020u) != 0) { 2359 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 2360 if (_this->_impl_.external_docs_ == nullptr) { 2361 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 2362 } else { 2363 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 2364 } 2365 } 2366 } 2367 _this->_impl_._has_bits_[0] |= cached_has_bits; 2368 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 2369 } 2370 2371 void Swagger::CopyFrom(const Swagger& from) { 2372 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2373 if (&from == this) return; 2374 Clear(); 2375 MergeFrom(from); 2376 } 2377 2378 2379 void Swagger::InternalSwap(Swagger* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 2380 using ::std::swap; 2381 auto* arena = GetArena(); 2382 ABSL_DCHECK_EQ(arena, other->GetArena()); 2383 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 2384 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 2385 _impl_.schemes_.InternalSwap(&other->_impl_.schemes_); 2386 _impl_.consumes_.InternalSwap(&other->_impl_.consumes_); 2387 _impl_.produces_.InternalSwap(&other->_impl_.produces_); 2388 _impl_.responses_.InternalSwap(&other->_impl_.responses_); 2389 _impl_.security_.InternalSwap(&other->_impl_.security_); 2390 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 2391 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.swagger_, &other->_impl_.swagger_, arena); 2392 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.host_, &other->_impl_.host_, arena); 2393 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.base_path_, &other->_impl_.base_path_, arena); 2394 ::google::protobuf::internal::memswap< 2395 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.external_docs_) 2396 + sizeof(Swagger::_impl_.external_docs_) 2397 - PROTOBUF_FIELD_OFFSET(Swagger, _impl_.info_)>( 2398 reinterpret_cast<char*>(&_impl_.info_), 2399 reinterpret_cast<char*>(&other->_impl_.info_)); 2400 } 2401 2402 ::google::protobuf::Metadata Swagger::GetMetadata() const { 2403 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 2404 } 2405 // =================================================================== 2406 2407 #if defined(PROTOBUF_CUSTOM_VTABLE) 2408 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse() 2409 : SuperType(Operation_ResponsesEntry_DoNotUse_class_data_.base()) {} 2410 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2411 : SuperType(arena, Operation_ResponsesEntry_DoNotUse_class_data_.base()) {} 2412 #else // PROTOBUF_CUSTOM_VTABLE 2413 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse() : SuperType() {} 2414 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 2415 #endif // PROTOBUF_CUSTOM_VTABLE 2416 inline void* PROTOBUF_NONNULL Operation_ResponsesEntry_DoNotUse::PlacementNew_( 2417 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2418 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2419 return ::new (mem) Operation_ResponsesEntry_DoNotUse(arena); 2420 } 2421 constexpr auto Operation_ResponsesEntry_DoNotUse::InternalNewImpl_() { 2422 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Operation_ResponsesEntry_DoNotUse), 2423 alignof(Operation_ResponsesEntry_DoNotUse)); 2424 } 2425 constexpr auto Operation_ResponsesEntry_DoNotUse::InternalGenerateClassData_() { 2426 return ::google::protobuf::internal::ClassDataFull{ 2427 ::google::protobuf::internal::ClassData{ 2428 &_Operation_ResponsesEntry_DoNotUse_default_instance_._instance, 2429 &_table_.header, 2430 nullptr, // OnDemandRegisterArenaDtor 2431 nullptr, // IsInitialized 2432 &Operation_ResponsesEntry_DoNotUse::MergeImpl, 2433 ::google::protobuf::Message::GetNewImpl<Operation_ResponsesEntry_DoNotUse>(), 2434 #if defined(PROTOBUF_CUSTOM_VTABLE) 2435 &Operation_ResponsesEntry_DoNotUse::SharedDtor, 2436 static_cast<void (::google::protobuf::MessageLite::*)()>(&Operation_ResponsesEntry_DoNotUse::ClearImpl), 2437 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 2438 , 2439 #endif // PROTOBUF_CUSTOM_VTABLE 2440 PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_._cached_size_), 2441 false, 2442 }, 2443 &Operation_ResponsesEntry_DoNotUse::kDescriptorMethods, 2444 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2445 nullptr, // tracker 2446 }; 2447 } 2448 2449 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 2450 ::google::protobuf::internal::ClassDataFull Operation_ResponsesEntry_DoNotUse_class_data_ = 2451 Operation_ResponsesEntry_DoNotUse::InternalGenerateClassData_(); 2452 2453 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 2454 Operation_ResponsesEntry_DoNotUse::GetClassData() const { 2455 ::google::protobuf::internal::PrefetchToLocalCache(&Operation_ResponsesEntry_DoNotUse_class_data_); 2456 ::google::protobuf::internal::PrefetchToLocalCache(Operation_ResponsesEntry_DoNotUse_class_data_.tc_table); 2457 return Operation_ResponsesEntry_DoNotUse_class_data_.base(); 2458 } 2459 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2460 const ::_pbi::TcParseTable<1, 2, 1, 78, 2> 2461 Operation_ResponsesEntry_DoNotUse::_table_ = { 2462 { 2463 PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_._has_bits_), 2464 0, // no _extensions_ 2465 2, 8, // max_field_number, fast_idx_mask 2466 offsetof(decltype(_table_), field_lookup_table), 2467 4294967292, // skipmap 2468 offsetof(decltype(_table_), field_entries), 2469 2, // num_field_entries 2470 1, // num_aux_entries 2471 offsetof(decltype(_table_), aux_entries), 2472 Operation_ResponsesEntry_DoNotUse_class_data_.base(), 2473 nullptr, // post_loop_handler 2474 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 2475 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2476 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse>(), // to_prefetch 2477 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2478 }, {{ 2479 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 2480 {::_pbi::TcParser::FastMtS1, 2481 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.value_)}}, 2482 // string key = 1; 2483 {::_pbi::TcParser::FastUS1, 2484 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.key_)}}, 2485 }}, {{ 2486 65535, 65535 2487 }}, {{ 2488 // string key = 1; 2489 {PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 2490 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2491 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 2492 {PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 2493 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2494 }}, 2495 {{ 2496 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 2497 }}, 2498 {{ 2499 "\102\3\0\0\0\0\0\0" 2500 "grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry" 2501 "key" 2502 }}, 2503 }; 2504 // =================================================================== 2505 2506 #if defined(PROTOBUF_CUSTOM_VTABLE) 2507 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse() 2508 : SuperType(Operation_ExtensionsEntry_DoNotUse_class_data_.base()) {} 2509 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2510 : SuperType(arena, Operation_ExtensionsEntry_DoNotUse_class_data_.base()) {} 2511 #else // PROTOBUF_CUSTOM_VTABLE 2512 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse() : SuperType() {} 2513 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 2514 #endif // PROTOBUF_CUSTOM_VTABLE 2515 inline void* PROTOBUF_NONNULL Operation_ExtensionsEntry_DoNotUse::PlacementNew_( 2516 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2517 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2518 return ::new (mem) Operation_ExtensionsEntry_DoNotUse(arena); 2519 } 2520 constexpr auto Operation_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 2521 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Operation_ExtensionsEntry_DoNotUse), 2522 alignof(Operation_ExtensionsEntry_DoNotUse)); 2523 } 2524 constexpr auto Operation_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 2525 return ::google::protobuf::internal::ClassDataFull{ 2526 ::google::protobuf::internal::ClassData{ 2527 &_Operation_ExtensionsEntry_DoNotUse_default_instance_._instance, 2528 &_table_.header, 2529 nullptr, // OnDemandRegisterArenaDtor 2530 nullptr, // IsInitialized 2531 &Operation_ExtensionsEntry_DoNotUse::MergeImpl, 2532 ::google::protobuf::Message::GetNewImpl<Operation_ExtensionsEntry_DoNotUse>(), 2533 #if defined(PROTOBUF_CUSTOM_VTABLE) 2534 &Operation_ExtensionsEntry_DoNotUse::SharedDtor, 2535 static_cast<void (::google::protobuf::MessageLite::*)()>(&Operation_ExtensionsEntry_DoNotUse::ClearImpl), 2536 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 2537 , 2538 #endif // PROTOBUF_CUSTOM_VTABLE 2539 PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 2540 false, 2541 }, 2542 &Operation_ExtensionsEntry_DoNotUse::kDescriptorMethods, 2543 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2544 nullptr, // tracker 2545 }; 2546 } 2547 2548 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 2549 ::google::protobuf::internal::ClassDataFull Operation_ExtensionsEntry_DoNotUse_class_data_ = 2550 Operation_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 2551 2552 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 2553 Operation_ExtensionsEntry_DoNotUse::GetClassData() const { 2554 ::google::protobuf::internal::PrefetchToLocalCache(&Operation_ExtensionsEntry_DoNotUse_class_data_); 2555 ::google::protobuf::internal::PrefetchToLocalCache(Operation_ExtensionsEntry_DoNotUse_class_data_.tc_table); 2556 return Operation_ExtensionsEntry_DoNotUse_class_data_.base(); 2557 } 2558 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2559 const ::_pbi::TcParseTable<1, 2, 1, 79, 2> 2560 Operation_ExtensionsEntry_DoNotUse::_table_ = { 2561 { 2562 PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 2563 0, // no _extensions_ 2564 2, 8, // max_field_number, fast_idx_mask 2565 offsetof(decltype(_table_), field_lookup_table), 2566 4294967292, // skipmap 2567 offsetof(decltype(_table_), field_entries), 2568 2, // num_field_entries 2569 1, // num_aux_entries 2570 offsetof(decltype(_table_), aux_entries), 2571 Operation_ExtensionsEntry_DoNotUse_class_data_.base(), 2572 nullptr, // post_loop_handler 2573 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 2574 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2575 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse>(), // to_prefetch 2576 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2577 }, {{ 2578 // .google.protobuf.Value value = 2; 2579 {::_pbi::TcParser::FastMtS1, 2580 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 2581 // string key = 1; 2582 {::_pbi::TcParser::FastUS1, 2583 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 2584 }}, {{ 2585 65535, 65535 2586 }}, {{ 2587 // string key = 1; 2588 {PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 2589 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2590 // .google.protobuf.Value value = 2; 2591 {PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 2592 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2593 }}, 2594 {{ 2595 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 2596 }}, 2597 {{ 2598 "\103\3\0\0\0\0\0\0" 2599 "grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry" 2600 "key" 2601 }}, 2602 }; 2603 // =================================================================== 2604 2605 class Operation::_Internal { 2606 public: 2607 using HasBits = 2608 decltype(::std::declval<Operation>()._impl_._has_bits_); 2609 static constexpr ::int32_t kHasBitsOffset = 2610 8 * PROTOBUF_FIELD_OFFSET(Operation, _impl_._has_bits_); 2611 }; 2612 2613 void Operation::clear_extensions() { 2614 ::google::protobuf::internal::TSanWrite(&_impl_); 2615 _impl_.extensions_.Clear(); 2616 } 2617 Operation::Operation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2618 #if defined(PROTOBUF_CUSTOM_VTABLE) 2619 : ::google::protobuf::Message(arena, Operation_class_data_.base()) { 2620 #else // PROTOBUF_CUSTOM_VTABLE 2621 : ::google::protobuf::Message(arena) { 2622 #endif // PROTOBUF_CUSTOM_VTABLE 2623 SharedCtor(arena); 2624 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2625 } 2626 PROTOBUF_NDEBUG_INLINE Operation::Impl_::Impl_( 2627 ::google::protobuf::internal::InternalVisibility visibility, 2628 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2629 const ::grpc::gateway::protoc_gen_openapiv2::options::Operation& from_msg) 2630 : _has_bits_{from._has_bits_}, 2631 _cached_size_{0}, 2632 tags_{visibility, arena, from.tags_}, 2633 consumes_{visibility, arena, from.consumes_}, 2634 produces_{visibility, arena, from.produces_}, 2635 responses_{visibility, arena, from.responses_}, 2636 schemes_{visibility, arena, from.schemes_}, 2637 _schemes_cached_byte_size_{0}, 2638 security_{visibility, arena, from.security_}, 2639 extensions_{visibility, arena, from.extensions_}, 2640 summary_(arena, from.summary_), 2641 description_(arena, from.description_), 2642 operation_id_(arena, from.operation_id_) {} 2643 2644 Operation::Operation( 2645 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 2646 const Operation& from) 2647 #if defined(PROTOBUF_CUSTOM_VTABLE) 2648 : ::google::protobuf::Message(arena, Operation_class_data_.base()) { 2649 #else // PROTOBUF_CUSTOM_VTABLE 2650 : ::google::protobuf::Message(arena) { 2651 #endif // PROTOBUF_CUSTOM_VTABLE 2652 Operation* const _this = this; 2653 (void)_this; 2654 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 2655 from._internal_metadata_); 2656 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 2657 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 2658 _impl_.external_docs_ = ((cached_has_bits & 0x00000008u) != 0) 2659 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 2660 : nullptr; 2661 _impl_.deprecated_ = from._impl_.deprecated_; 2662 2663 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2664 } 2665 PROTOBUF_NDEBUG_INLINE Operation::Impl_::Impl_( 2666 ::google::protobuf::internal::InternalVisibility visibility, 2667 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2668 : _cached_size_{0}, 2669 tags_{visibility, arena}, 2670 consumes_{visibility, arena}, 2671 produces_{visibility, arena}, 2672 responses_{visibility, arena}, 2673 schemes_{visibility, arena}, 2674 _schemes_cached_byte_size_{0}, 2675 security_{visibility, arena}, 2676 extensions_{visibility, arena}, 2677 summary_(arena), 2678 description_(arena), 2679 operation_id_(arena) {} 2680 2681 inline void Operation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 2682 new (&_impl_) Impl_(internal_visibility(), arena); 2683 ::memset(reinterpret_cast<char *>(&_impl_) + 2684 offsetof(Impl_, external_docs_), 2685 0, 2686 offsetof(Impl_, deprecated_) - 2687 offsetof(Impl_, external_docs_) + 2688 sizeof(Impl_::deprecated_)); 2689 } 2690 Operation::~Operation() { 2691 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2692 SharedDtor(*this); 2693 } 2694 inline void Operation::SharedDtor(MessageLite& self) { 2695 Operation& this_ = static_cast<Operation&>(self); 2696 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 2697 ABSL_DCHECK(this_.GetArena() == nullptr); 2698 this_._impl_.summary_.Destroy(); 2699 this_._impl_.description_.Destroy(); 2700 this_._impl_.operation_id_.Destroy(); 2701 delete this_._impl_.external_docs_; 2702 this_._impl_.~Impl_(); 2703 } 2704 2705 inline void* PROTOBUF_NONNULL Operation::PlacementNew_( 2706 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2707 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2708 return ::new (mem) Operation(arena); 2709 } 2710 constexpr auto Operation::InternalNewImpl_() { 2711 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 2712 PROTOBUF_FIELD_OFFSET(Operation, _impl_.tags_) + 2713 decltype(Operation::_impl_.tags_):: 2714 InternalGetArenaOffset( 2715 ::google::protobuf::Message::internal_visibility()), 2716 PROTOBUF_FIELD_OFFSET(Operation, _impl_.consumes_) + 2717 decltype(Operation::_impl_.consumes_):: 2718 InternalGetArenaOffset( 2719 ::google::protobuf::Message::internal_visibility()), 2720 PROTOBUF_FIELD_OFFSET(Operation, _impl_.produces_) + 2721 decltype(Operation::_impl_.produces_):: 2722 InternalGetArenaOffset( 2723 ::google::protobuf::Message::internal_visibility()), 2724 PROTOBUF_FIELD_OFFSET(Operation, _impl_.responses_) + 2725 decltype(Operation::_impl_.responses_):: 2726 InternalGetArenaOffset( 2727 ::google::protobuf::Message::internal_visibility()), 2728 PROTOBUF_FIELD_OFFSET(Operation, _impl_.responses_) + 2729 decltype(Operation::_impl_.responses_):: 2730 InternalGetArenaOffsetAlt( 2731 ::google::protobuf::Message::internal_visibility()), 2732 PROTOBUF_FIELD_OFFSET(Operation, _impl_.schemes_) + 2733 decltype(Operation::_impl_.schemes_):: 2734 InternalGetArenaOffset( 2735 ::google::protobuf::Message::internal_visibility()), 2736 PROTOBUF_FIELD_OFFSET(Operation, _impl_.security_) + 2737 decltype(Operation::_impl_.security_):: 2738 InternalGetArenaOffset( 2739 ::google::protobuf::Message::internal_visibility()), 2740 PROTOBUF_FIELD_OFFSET(Operation, _impl_.extensions_) + 2741 decltype(Operation::_impl_.extensions_):: 2742 InternalGetArenaOffset( 2743 ::google::protobuf::Message::internal_visibility()), 2744 PROTOBUF_FIELD_OFFSET(Operation, _impl_.extensions_) + 2745 decltype(Operation::_impl_.extensions_):: 2746 InternalGetArenaOffsetAlt( 2747 ::google::protobuf::Message::internal_visibility()), 2748 }); 2749 if (arena_bits.has_value()) { 2750 return ::google::protobuf::internal::MessageCreator::CopyInit( 2751 sizeof(Operation), alignof(Operation), *arena_bits); 2752 } else { 2753 return ::google::protobuf::internal::MessageCreator(&Operation::PlacementNew_, 2754 sizeof(Operation), 2755 alignof(Operation)); 2756 } 2757 } 2758 constexpr auto Operation::InternalGenerateClassData_() { 2759 return ::google::protobuf::internal::ClassDataFull{ 2760 ::google::protobuf::internal::ClassData{ 2761 &_Operation_default_instance_._instance, 2762 &_table_.header, 2763 nullptr, // OnDemandRegisterArenaDtor 2764 nullptr, // IsInitialized 2765 &Operation::MergeImpl, 2766 ::google::protobuf::Message::GetNewImpl<Operation>(), 2767 #if defined(PROTOBUF_CUSTOM_VTABLE) 2768 &Operation::SharedDtor, 2769 ::google::protobuf::Message::GetClearImpl<Operation>(), &Operation::ByteSizeLong, 2770 &Operation::_InternalSerialize, 2771 #endif // PROTOBUF_CUSTOM_VTABLE 2772 PROTOBUF_FIELD_OFFSET(Operation, _impl_._cached_size_), 2773 false, 2774 }, 2775 &Operation::kDescriptorMethods, 2776 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2777 nullptr, // tracker 2778 }; 2779 } 2780 2781 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 2782 ::google::protobuf::internal::ClassDataFull Operation_class_data_ = 2783 Operation::InternalGenerateClassData_(); 2784 2785 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 2786 Operation::GetClassData() const { 2787 ::google::protobuf::internal::PrefetchToLocalCache(&Operation_class_data_); 2788 ::google::protobuf::internal::PrefetchToLocalCache(Operation_class_data_.tc_table); 2789 return Operation_class_data_.base(); 2790 } 2791 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2792 const ::_pbi::TcParseTable<4, 12, 6, 137, 2> 2793 Operation::_table_ = { 2794 { 2795 PROTOBUF_FIELD_OFFSET(Operation, _impl_._has_bits_), 2796 0, // no _extensions_ 2797 13, 120, // max_field_number, fast_idx_mask 2798 offsetof(decltype(_table_), field_lookup_table), 2799 4294959232, // skipmap 2800 offsetof(decltype(_table_), field_entries), 2801 12, // num_field_entries 2802 6, // num_aux_entries 2803 offsetof(decltype(_table_), aux_entries), 2804 Operation_class_data_.base(), 2805 nullptr, // post_loop_handler 2806 ::_pbi::TcParser::GenericFallback, // fallback 2807 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2808 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Operation>(), // to_prefetch 2809 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2810 }, {{ 2811 {::_pbi::TcParser::MiniParse, {}}, 2812 // repeated string tags = 1; 2813 {::_pbi::TcParser::FastUR1, 2814 {10, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.tags_)}}, 2815 // string summary = 2; 2816 {::_pbi::TcParser::FastUS1, 2817 {18, 0, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.summary_)}}, 2818 // string description = 3; 2819 {::_pbi::TcParser::FastUS1, 2820 {26, 1, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.description_)}}, 2821 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 2822 {::_pbi::TcParser::FastMtS1, 2823 {34, 3, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.external_docs_)}}, 2824 // string operation_id = 5; 2825 {::_pbi::TcParser::FastUS1, 2826 {42, 2, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.operation_id_)}}, 2827 // repeated string consumes = 6; 2828 {::_pbi::TcParser::FastUR1, 2829 {50, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.consumes_)}}, 2830 // repeated string produces = 7; 2831 {::_pbi::TcParser::FastUR1, 2832 {58, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.produces_)}}, 2833 {::_pbi::TcParser::MiniParse, {}}, 2834 {::_pbi::TcParser::MiniParse, {}}, 2835 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 2836 {::_pbi::TcParser::FastV32P1, 2837 {82, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.schemes_)}}, 2838 // bool deprecated = 11; 2839 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Operation, _impl_.deprecated_), 4>(), 2840 {88, 4, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.deprecated_)}}, 2841 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2842 {::_pbi::TcParser::FastMtR1, 2843 {98, 63, 1, PROTOBUF_FIELD_OFFSET(Operation, _impl_.security_)}}, 2844 {::_pbi::TcParser::MiniParse, {}}, 2845 {::_pbi::TcParser::MiniParse, {}}, 2846 {::_pbi::TcParser::MiniParse, {}}, 2847 }}, {{ 2848 65535, 65535 2849 }}, {{ 2850 // repeated string tags = 1; 2851 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.tags_), -1, 0, 2852 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 2853 // string summary = 2; 2854 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.summary_), _Internal::kHasBitsOffset + 0, 0, 2855 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2856 // string description = 3; 2857 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.description_), _Internal::kHasBitsOffset + 1, 0, 2858 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2859 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 2860 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.external_docs_), _Internal::kHasBitsOffset + 3, 0, 2861 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2862 // string operation_id = 5; 2863 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.operation_id_), _Internal::kHasBitsOffset + 2, 0, 2864 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2865 // repeated string consumes = 6; 2866 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.consumes_), -1, 0, 2867 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 2868 // repeated string produces = 7; 2869 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.produces_), -1, 0, 2870 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 2871 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 2872 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.responses_), -1, 2, 2873 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 2874 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 2875 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.schemes_), -1, 0, 2876 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, 2877 // bool deprecated = 11; 2878 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.deprecated_), _Internal::kHasBitsOffset + 4, 0, 2879 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 2880 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2881 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.security_), -1, 1, 2882 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, 2883 // map<string, .google.protobuf.Value> extensions = 13; 2884 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.extensions_), -1, 4, 2885 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 2886 }}, 2887 {{ 2888 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 2889 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>()}, 2890 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 2891 9, 11, 2892 0)}, 2893 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 2894 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 2895 9, 11, 2896 0)}, 2897 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 2898 }}, 2899 {{ 2900 "\63\4\7\13\0\14\10\10\11\0\0\0\12\0\0\0" 2901 "grpc.gateway.protoc_gen_openapiv2.options.Operation" 2902 "tags" 2903 "summary" 2904 "description" 2905 "operation_id" 2906 "consumes" 2907 "produces" 2908 "responses" 2909 "extensions" 2910 }}, 2911 }; 2912 PROTOBUF_NOINLINE void Operation::Clear() { 2913 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2914 ::google::protobuf::internal::TSanWrite(&_impl_); 2915 ::uint32_t cached_has_bits = 0; 2916 // Prevent compiler warnings about cached_has_bits being unused 2917 (void) cached_has_bits; 2918 2919 _impl_.tags_.Clear(); 2920 _impl_.consumes_.Clear(); 2921 _impl_.produces_.Clear(); 2922 _impl_.responses_.Clear(); 2923 _impl_.schemes_.Clear(); 2924 _impl_.security_.Clear(); 2925 _impl_.extensions_.Clear(); 2926 cached_has_bits = _impl_._has_bits_[0]; 2927 if ((cached_has_bits & 0x0000000fu) != 0) { 2928 if ((cached_has_bits & 0x00000001u) != 0) { 2929 _impl_.summary_.ClearNonDefaultToEmpty(); 2930 } 2931 if ((cached_has_bits & 0x00000002u) != 0) { 2932 _impl_.description_.ClearNonDefaultToEmpty(); 2933 } 2934 if ((cached_has_bits & 0x00000004u) != 0) { 2935 _impl_.operation_id_.ClearNonDefaultToEmpty(); 2936 } 2937 if ((cached_has_bits & 0x00000008u) != 0) { 2938 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 2939 _impl_.external_docs_->Clear(); 2940 } 2941 } 2942 _impl_.deprecated_ = false; 2943 _impl_._has_bits_.Clear(); 2944 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 2945 } 2946 2947 #if defined(PROTOBUF_CUSTOM_VTABLE) 2948 ::uint8_t* PROTOBUF_NONNULL Operation::_InternalSerialize( 2949 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 2950 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 2951 const Operation& this_ = static_cast<const Operation&>(base); 2952 #else // PROTOBUF_CUSTOM_VTABLE 2953 ::uint8_t* PROTOBUF_NONNULL Operation::_InternalSerialize( 2954 ::uint8_t* PROTOBUF_NONNULL target, 2955 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2956 const Operation& this_ = *this; 2957 #endif // PROTOBUF_CUSTOM_VTABLE 2958 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2959 ::uint32_t cached_has_bits = 0; 2960 (void)cached_has_bits; 2961 2962 // repeated string tags = 1; 2963 for (int i = 0, n = this_._internal_tags_size(); i < n; ++i) { 2964 const auto& s = this_._internal_tags().Get(i); 2965 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2966 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.tags"); 2967 target = stream->WriteString(1, s, target); 2968 } 2969 2970 // string summary = 2; 2971 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 2972 if (!this_._internal_summary().empty()) { 2973 const ::std::string& _s = this_._internal_summary(); 2974 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2975 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.summary"); 2976 target = stream->WriteStringMaybeAliased(2, _s, target); 2977 } 2978 } 2979 2980 // string description = 3; 2981 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 2982 if (!this_._internal_description().empty()) { 2983 const ::std::string& _s = this_._internal_description(); 2984 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2985 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.description"); 2986 target = stream->WriteStringMaybeAliased(3, _s, target); 2987 } 2988 } 2989 2990 cached_has_bits = this_._impl_._has_bits_[0]; 2991 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 2992 if ((cached_has_bits & 0x00000008u) != 0) { 2993 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2994 4, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 2995 stream); 2996 } 2997 2998 // string operation_id = 5; 2999 if ((cached_has_bits & 0x00000004u) != 0) { 3000 if (!this_._internal_operation_id().empty()) { 3001 const ::std::string& _s = this_._internal_operation_id(); 3002 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3003 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id"); 3004 target = stream->WriteStringMaybeAliased(5, _s, target); 3005 } 3006 } 3007 3008 // repeated string consumes = 6; 3009 for (int i = 0, n = this_._internal_consumes_size(); i < n; ++i) { 3010 const auto& s = this_._internal_consumes().Get(i); 3011 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3012 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes"); 3013 target = stream->WriteString(6, s, target); 3014 } 3015 3016 // repeated string produces = 7; 3017 for (int i = 0, n = this_._internal_produces_size(); i < n; ++i) { 3018 const auto& s = this_._internal_produces().Get(i); 3019 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3020 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.produces"); 3021 target = stream->WriteString(7, s, target); 3022 } 3023 3024 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 3025 if (!this_._internal_responses().empty()) { 3026 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>; 3027 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 3028 _pbi::WireFormatLite::TYPE_STRING, 3029 _pbi::WireFormatLite::TYPE_MESSAGE>; 3030 const auto& field = this_._internal_responses(); 3031 3032 if (stream->IsSerializationDeterministic() && field.size() > 1) { 3033 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 3034 target = WireHelper::InternalSerialize( 3035 9, entry.first, entry.second, target, stream); 3036 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3037 entry.first.data(), static_cast<int>(entry.first.length()), 3038 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.responses"); 3039 } 3040 } else { 3041 for (const auto& entry : field) { 3042 target = WireHelper::InternalSerialize( 3043 9, entry.first, entry.second, target, stream); 3044 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3045 entry.first.data(), static_cast<int>(entry.first.length()), 3046 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.responses"); 3047 } 3048 } 3049 } 3050 3051 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 3052 { 3053 ::size_t byte_size = this_._impl_._schemes_cached_byte_size_.Get(); 3054 if (byte_size > 0) { 3055 target = stream->WriteEnumPacked( 3056 10, this_._internal_schemes(), byte_size, target); 3057 } 3058 } 3059 3060 // bool deprecated = 11; 3061 if ((cached_has_bits & 0x00000010u) != 0) { 3062 if (this_._internal_deprecated() != 0) { 3063 target = stream->EnsureSpace(target); 3064 target = ::_pbi::WireFormatLite::WriteBoolToArray( 3065 11, this_._internal_deprecated(), target); 3066 } 3067 } 3068 3069 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 3070 for (unsigned i = 0, n = static_cast<unsigned>( 3071 this_._internal_security_size()); 3072 i < n; i++) { 3073 const auto& repfield = this_._internal_security().Get(i); 3074 target = 3075 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 3076 12, repfield, repfield.GetCachedSize(), 3077 target, stream); 3078 } 3079 3080 // map<string, .google.protobuf.Value> extensions = 13; 3081 if (!this_._internal_extensions().empty()) { 3082 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 3083 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 3084 _pbi::WireFormatLite::TYPE_STRING, 3085 _pbi::WireFormatLite::TYPE_MESSAGE>; 3086 const auto& field = this_._internal_extensions(); 3087 3088 if (stream->IsSerializationDeterministic() && field.size() > 1) { 3089 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 3090 target = WireHelper::InternalSerialize( 3091 13, entry.first, entry.second, target, stream); 3092 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3093 entry.first.data(), static_cast<int>(entry.first.length()), 3094 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions"); 3095 } 3096 } else { 3097 for (const auto& entry : field) { 3098 target = WireHelper::InternalSerialize( 3099 13, entry.first, entry.second, target, stream); 3100 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3101 entry.first.data(), static_cast<int>(entry.first.length()), 3102 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions"); 3103 } 3104 } 3105 } 3106 3107 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3108 target = 3109 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3110 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3111 } 3112 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3113 return target; 3114 } 3115 3116 #if defined(PROTOBUF_CUSTOM_VTABLE) 3117 ::size_t Operation::ByteSizeLong(const MessageLite& base) { 3118 const Operation& this_ = static_cast<const Operation&>(base); 3119 #else // PROTOBUF_CUSTOM_VTABLE 3120 ::size_t Operation::ByteSizeLong() const { 3121 const Operation& this_ = *this; 3122 #endif // PROTOBUF_CUSTOM_VTABLE 3123 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3124 ::size_t total_size = 0; 3125 3126 ::uint32_t cached_has_bits = 0; 3127 // Prevent compiler warnings about cached_has_bits being unused 3128 (void)cached_has_bits; 3129 3130 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3131 { 3132 // repeated string tags = 1; 3133 { 3134 total_size += 3135 1 * ::google::protobuf::internal::FromIntSize(this_._internal_tags().size()); 3136 for (int i = 0, n = this_._internal_tags().size(); i < n; ++i) { 3137 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3138 this_._internal_tags().Get(i)); 3139 } 3140 } 3141 // repeated string consumes = 6; 3142 { 3143 total_size += 3144 1 * ::google::protobuf::internal::FromIntSize(this_._internal_consumes().size()); 3145 for (int i = 0, n = this_._internal_consumes().size(); i < n; ++i) { 3146 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3147 this_._internal_consumes().Get(i)); 3148 } 3149 } 3150 // repeated string produces = 7; 3151 { 3152 total_size += 3153 1 * ::google::protobuf::internal::FromIntSize(this_._internal_produces().size()); 3154 for (int i = 0, n = this_._internal_produces().size(); i < n; ++i) { 3155 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3156 this_._internal_produces().Get(i)); 3157 } 3158 } 3159 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 3160 { 3161 total_size += 3162 1 * ::google::protobuf::internal::FromIntSize(this_._internal_responses_size()); 3163 for (const auto& entry : this_._internal_responses()) { 3164 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 3165 _pbi::WireFormatLite::TYPE_STRING, 3166 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 3167 } 3168 } 3169 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 3170 { 3171 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( 3172 this_._internal_schemes(), 1, this_._impl_._schemes_cached_byte_size_); 3173 } 3174 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 3175 { 3176 total_size += 1UL * this_._internal_security_size(); 3177 for (const auto& msg : this_._internal_security()) { 3178 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); 3179 } 3180 } 3181 // map<string, .google.protobuf.Value> extensions = 13; 3182 { 3183 total_size += 3184 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 3185 for (const auto& entry : this_._internal_extensions()) { 3186 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 3187 _pbi::WireFormatLite::TYPE_STRING, 3188 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 3189 } 3190 } 3191 } 3192 cached_has_bits = this_._impl_._has_bits_[0]; 3193 if ((cached_has_bits & 0x0000001fu) != 0) { 3194 // string summary = 2; 3195 if ((cached_has_bits & 0x00000001u) != 0) { 3196 if (!this_._internal_summary().empty()) { 3197 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3198 this_._internal_summary()); 3199 } 3200 } 3201 // string description = 3; 3202 if ((cached_has_bits & 0x00000002u) != 0) { 3203 if (!this_._internal_description().empty()) { 3204 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3205 this_._internal_description()); 3206 } 3207 } 3208 // string operation_id = 5; 3209 if ((cached_has_bits & 0x00000004u) != 0) { 3210 if (!this_._internal_operation_id().empty()) { 3211 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3212 this_._internal_operation_id()); 3213 } 3214 } 3215 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 3216 if ((cached_has_bits & 0x00000008u) != 0) { 3217 total_size += 1 + 3218 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 3219 } 3220 // bool deprecated = 11; 3221 if ((cached_has_bits & 0x00000010u) != 0) { 3222 if (this_._internal_deprecated() != 0) { 3223 total_size += 2; 3224 } 3225 } 3226 } 3227 return this_.MaybeComputeUnknownFieldsSize(total_size, 3228 &this_._impl_._cached_size_); 3229 } 3230 3231 void Operation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3232 auto* const _this = static_cast<Operation*>(&to_msg); 3233 auto& from = static_cast<const Operation&>(from_msg); 3234 ::google::protobuf::Arena* arena = _this->GetArena(); 3235 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3236 ABSL_DCHECK_NE(&from, _this); 3237 ::uint32_t cached_has_bits = 0; 3238 (void) cached_has_bits; 3239 3240 _this->_internal_mutable_tags()->MergeFrom(from._internal_tags()); 3241 _this->_internal_mutable_consumes()->MergeFrom(from._internal_consumes()); 3242 _this->_internal_mutable_produces()->MergeFrom(from._internal_produces()); 3243 _this->_impl_.responses_.MergeFrom(from._impl_.responses_); 3244 _this->_internal_mutable_schemes()->MergeFrom(from._internal_schemes()); 3245 _this->_internal_mutable_security()->MergeFrom( 3246 from._internal_security()); 3247 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 3248 cached_has_bits = from._impl_._has_bits_[0]; 3249 if ((cached_has_bits & 0x0000001fu) != 0) { 3250 if ((cached_has_bits & 0x00000001u) != 0) { 3251 if (!from._internal_summary().empty()) { 3252 _this->_internal_set_summary(from._internal_summary()); 3253 } else { 3254 if (_this->_impl_.summary_.IsDefault()) { 3255 _this->_internal_set_summary(""); 3256 } 3257 } 3258 } 3259 if ((cached_has_bits & 0x00000002u) != 0) { 3260 if (!from._internal_description().empty()) { 3261 _this->_internal_set_description(from._internal_description()); 3262 } else { 3263 if (_this->_impl_.description_.IsDefault()) { 3264 _this->_internal_set_description(""); 3265 } 3266 } 3267 } 3268 if ((cached_has_bits & 0x00000004u) != 0) { 3269 if (!from._internal_operation_id().empty()) { 3270 _this->_internal_set_operation_id(from._internal_operation_id()); 3271 } else { 3272 if (_this->_impl_.operation_id_.IsDefault()) { 3273 _this->_internal_set_operation_id(""); 3274 } 3275 } 3276 } 3277 if ((cached_has_bits & 0x00000008u) != 0) { 3278 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 3279 if (_this->_impl_.external_docs_ == nullptr) { 3280 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 3281 } else { 3282 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 3283 } 3284 } 3285 if ((cached_has_bits & 0x00000010u) != 0) { 3286 if (from._internal_deprecated() != 0) { 3287 _this->_impl_.deprecated_ = from._impl_.deprecated_; 3288 } 3289 } 3290 } 3291 _this->_impl_._has_bits_[0] |= cached_has_bits; 3292 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3293 } 3294 3295 void Operation::CopyFrom(const Operation& from) { 3296 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3297 if (&from == this) return; 3298 Clear(); 3299 MergeFrom(from); 3300 } 3301 3302 3303 void Operation::InternalSwap(Operation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3304 using ::std::swap; 3305 auto* arena = GetArena(); 3306 ABSL_DCHECK_EQ(arena, other->GetArena()); 3307 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3308 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3309 _impl_.tags_.InternalSwap(&other->_impl_.tags_); 3310 _impl_.consumes_.InternalSwap(&other->_impl_.consumes_); 3311 _impl_.produces_.InternalSwap(&other->_impl_.produces_); 3312 _impl_.responses_.InternalSwap(&other->_impl_.responses_); 3313 _impl_.schemes_.InternalSwap(&other->_impl_.schemes_); 3314 _impl_.security_.InternalSwap(&other->_impl_.security_); 3315 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 3316 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.summary_, &other->_impl_.summary_, arena); 3317 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 3318 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.operation_id_, &other->_impl_.operation_id_, arena); 3319 ::google::protobuf::internal::memswap< 3320 PROTOBUF_FIELD_OFFSET(Operation, _impl_.deprecated_) 3321 + sizeof(Operation::_impl_.deprecated_) 3322 - PROTOBUF_FIELD_OFFSET(Operation, _impl_.external_docs_)>( 3323 reinterpret_cast<char*>(&_impl_.external_docs_), 3324 reinterpret_cast<char*>(&other->_impl_.external_docs_)); 3325 } 3326 3327 ::google::protobuf::Metadata Operation::GetMetadata() const { 3328 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3329 } 3330 // =================================================================== 3331 3332 class Header::_Internal { 3333 public: 3334 using HasBits = 3335 decltype(::std::declval<Header>()._impl_._has_bits_); 3336 static constexpr ::int32_t kHasBitsOffset = 3337 8 * PROTOBUF_FIELD_OFFSET(Header, _impl_._has_bits_); 3338 }; 3339 3340 Header::Header(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3341 #if defined(PROTOBUF_CUSTOM_VTABLE) 3342 : ::google::protobuf::Message(arena, Header_class_data_.base()) { 3343 #else // PROTOBUF_CUSTOM_VTABLE 3344 : ::google::protobuf::Message(arena) { 3345 #endif // PROTOBUF_CUSTOM_VTABLE 3346 SharedCtor(arena); 3347 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Header) 3348 } 3349 PROTOBUF_NDEBUG_INLINE Header::Impl_::Impl_( 3350 ::google::protobuf::internal::InternalVisibility visibility, 3351 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 3352 const ::grpc::gateway::protoc_gen_openapiv2::options::Header& from_msg) 3353 : _has_bits_{from._has_bits_}, 3354 _cached_size_{0}, 3355 description_(arena, from.description_), 3356 type_(arena, from.type_), 3357 format_(arena, from.format_), 3358 default__(arena, from.default__), 3359 pattern_(arena, from.pattern_) {} 3360 3361 Header::Header( 3362 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 3363 const Header& from) 3364 #if defined(PROTOBUF_CUSTOM_VTABLE) 3365 : ::google::protobuf::Message(arena, Header_class_data_.base()) { 3366 #else // PROTOBUF_CUSTOM_VTABLE 3367 : ::google::protobuf::Message(arena) { 3368 #endif // PROTOBUF_CUSTOM_VTABLE 3369 Header* const _this = this; 3370 (void)_this; 3371 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 3372 from._internal_metadata_); 3373 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 3374 3375 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Header) 3376 } 3377 PROTOBUF_NDEBUG_INLINE Header::Impl_::Impl_( 3378 ::google::protobuf::internal::InternalVisibility visibility, 3379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3380 : _cached_size_{0}, 3381 description_(arena), 3382 type_(arena), 3383 format_(arena), 3384 default__(arena), 3385 pattern_(arena) {} 3386 3387 inline void Header::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 3388 new (&_impl_) Impl_(internal_visibility(), arena); 3389 } 3390 Header::~Header() { 3391 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Header) 3392 SharedDtor(*this); 3393 } 3394 inline void Header::SharedDtor(MessageLite& self) { 3395 Header& this_ = static_cast<Header&>(self); 3396 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 3397 ABSL_DCHECK(this_.GetArena() == nullptr); 3398 this_._impl_.description_.Destroy(); 3399 this_._impl_.type_.Destroy(); 3400 this_._impl_.format_.Destroy(); 3401 this_._impl_.default__.Destroy(); 3402 this_._impl_.pattern_.Destroy(); 3403 this_._impl_.~Impl_(); 3404 } 3405 3406 inline void* PROTOBUF_NONNULL Header::PlacementNew_( 3407 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3408 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3409 return ::new (mem) Header(arena); 3410 } 3411 constexpr auto Header::InternalNewImpl_() { 3412 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Header), 3413 alignof(Header)); 3414 } 3415 constexpr auto Header::InternalGenerateClassData_() { 3416 return ::google::protobuf::internal::ClassDataFull{ 3417 ::google::protobuf::internal::ClassData{ 3418 &_Header_default_instance_._instance, 3419 &_table_.header, 3420 nullptr, // OnDemandRegisterArenaDtor 3421 nullptr, // IsInitialized 3422 &Header::MergeImpl, 3423 ::google::protobuf::Message::GetNewImpl<Header>(), 3424 #if defined(PROTOBUF_CUSTOM_VTABLE) 3425 &Header::SharedDtor, 3426 ::google::protobuf::Message::GetClearImpl<Header>(), &Header::ByteSizeLong, 3427 &Header::_InternalSerialize, 3428 #endif // PROTOBUF_CUSTOM_VTABLE 3429 PROTOBUF_FIELD_OFFSET(Header, _impl_._cached_size_), 3430 false, 3431 }, 3432 &Header::kDescriptorMethods, 3433 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 3434 nullptr, // tracker 3435 }; 3436 } 3437 3438 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 3439 ::google::protobuf::internal::ClassDataFull Header_class_data_ = 3440 Header::InternalGenerateClassData_(); 3441 3442 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 3443 Header::GetClassData() const { 3444 ::google::protobuf::internal::PrefetchToLocalCache(&Header_class_data_); 3445 ::google::protobuf::internal::PrefetchToLocalCache(Header_class_data_.tc_table); 3446 return Header_class_data_.base(); 3447 } 3448 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3449 const ::_pbi::TcParseTable<3, 5, 0, 92, 2> 3450 Header::_table_ = { 3451 { 3452 PROTOBUF_FIELD_OFFSET(Header, _impl_._has_bits_), 3453 0, // no _extensions_ 3454 13, 56, // max_field_number, fast_idx_mask 3455 offsetof(decltype(_table_), field_lookup_table), 3456 4294963160, // skipmap 3457 offsetof(decltype(_table_), field_entries), 3458 5, // num_field_entries 3459 0, // num_aux_entries 3460 offsetof(decltype(_table_), field_names), // no aux_entries 3461 Header_class_data_.base(), 3462 nullptr, // post_loop_handler 3463 ::_pbi::TcParser::GenericFallback, // fallback 3464 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3465 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Header>(), // to_prefetch 3466 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3467 }, {{ 3468 {::_pbi::TcParser::MiniParse, {}}, 3469 // string description = 1; 3470 {::_pbi::TcParser::FastUS1, 3471 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.description_)}}, 3472 // string type = 2; 3473 {::_pbi::TcParser::FastUS1, 3474 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.type_)}}, 3475 // string format = 3; 3476 {::_pbi::TcParser::FastUS1, 3477 {26, 2, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.format_)}}, 3478 {::_pbi::TcParser::MiniParse, {}}, 3479 // string pattern = 13; 3480 {::_pbi::TcParser::FastUS1, 3481 {106, 4, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.pattern_)}}, 3482 // string default = 6; 3483 {::_pbi::TcParser::FastUS1, 3484 {50, 3, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.default__)}}, 3485 {::_pbi::TcParser::MiniParse, {}}, 3486 }}, {{ 3487 65535, 65535 3488 }}, {{ 3489 // string description = 1; 3490 {PROTOBUF_FIELD_OFFSET(Header, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 3491 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3492 // string type = 2; 3493 {PROTOBUF_FIELD_OFFSET(Header, _impl_.type_), _Internal::kHasBitsOffset + 1, 0, 3494 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3495 // string format = 3; 3496 {PROTOBUF_FIELD_OFFSET(Header, _impl_.format_), _Internal::kHasBitsOffset + 2, 0, 3497 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3498 // string default = 6; 3499 {PROTOBUF_FIELD_OFFSET(Header, _impl_.default__), _Internal::kHasBitsOffset + 3, 0, 3500 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3501 // string pattern = 13; 3502 {PROTOBUF_FIELD_OFFSET(Header, _impl_.pattern_), _Internal::kHasBitsOffset + 4, 0, 3503 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3504 }}, 3505 // no aux_entries 3506 {{ 3507 "\60\13\4\6\7\7\0\0" 3508 "grpc.gateway.protoc_gen_openapiv2.options.Header" 3509 "description" 3510 "type" 3511 "format" 3512 "default" 3513 "pattern" 3514 }}, 3515 }; 3516 PROTOBUF_NOINLINE void Header::Clear() { 3517 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3518 ::google::protobuf::internal::TSanWrite(&_impl_); 3519 ::uint32_t cached_has_bits = 0; 3520 // Prevent compiler warnings about cached_has_bits being unused 3521 (void) cached_has_bits; 3522 3523 cached_has_bits = _impl_._has_bits_[0]; 3524 if ((cached_has_bits & 0x0000001fu) != 0) { 3525 if ((cached_has_bits & 0x00000001u) != 0) { 3526 _impl_.description_.ClearNonDefaultToEmpty(); 3527 } 3528 if ((cached_has_bits & 0x00000002u) != 0) { 3529 _impl_.type_.ClearNonDefaultToEmpty(); 3530 } 3531 if ((cached_has_bits & 0x00000004u) != 0) { 3532 _impl_.format_.ClearNonDefaultToEmpty(); 3533 } 3534 if ((cached_has_bits & 0x00000008u) != 0) { 3535 _impl_.default__.ClearNonDefaultToEmpty(); 3536 } 3537 if ((cached_has_bits & 0x00000010u) != 0) { 3538 _impl_.pattern_.ClearNonDefaultToEmpty(); 3539 } 3540 } 3541 _impl_._has_bits_.Clear(); 3542 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 3543 } 3544 3545 #if defined(PROTOBUF_CUSTOM_VTABLE) 3546 ::uint8_t* PROTOBUF_NONNULL Header::_InternalSerialize( 3547 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 3548 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 3549 const Header& this_ = static_cast<const Header&>(base); 3550 #else // PROTOBUF_CUSTOM_VTABLE 3551 ::uint8_t* PROTOBUF_NONNULL Header::_InternalSerialize( 3552 ::uint8_t* PROTOBUF_NONNULL target, 3553 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3554 const Header& this_ = *this; 3555 #endif // PROTOBUF_CUSTOM_VTABLE 3556 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3557 ::uint32_t cached_has_bits = 0; 3558 (void)cached_has_bits; 3559 3560 // string description = 1; 3561 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 3562 if (!this_._internal_description().empty()) { 3563 const ::std::string& _s = this_._internal_description(); 3564 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3565 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.description"); 3566 target = stream->WriteStringMaybeAliased(1, _s, target); 3567 } 3568 } 3569 3570 // string type = 2; 3571 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 3572 if (!this_._internal_type().empty()) { 3573 const ::std::string& _s = this_._internal_type(); 3574 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3575 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.type"); 3576 target = stream->WriteStringMaybeAliased(2, _s, target); 3577 } 3578 } 3579 3580 // string format = 3; 3581 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 3582 if (!this_._internal_format().empty()) { 3583 const ::std::string& _s = this_._internal_format(); 3584 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3585 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.format"); 3586 target = stream->WriteStringMaybeAliased(3, _s, target); 3587 } 3588 } 3589 3590 // string default = 6; 3591 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 3592 if (!this_._internal_default_().empty()) { 3593 const ::std::string& _s = this_._internal_default_(); 3594 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3595 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.default"); 3596 target = stream->WriteStringMaybeAliased(6, _s, target); 3597 } 3598 } 3599 3600 // string pattern = 13; 3601 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { 3602 if (!this_._internal_pattern().empty()) { 3603 const ::std::string& _s = this_._internal_pattern(); 3604 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3605 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.pattern"); 3606 target = stream->WriteStringMaybeAliased(13, _s, target); 3607 } 3608 } 3609 3610 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3611 target = 3612 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3613 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3614 } 3615 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Header) 3616 return target; 3617 } 3618 3619 #if defined(PROTOBUF_CUSTOM_VTABLE) 3620 ::size_t Header::ByteSizeLong(const MessageLite& base) { 3621 const Header& this_ = static_cast<const Header&>(base); 3622 #else // PROTOBUF_CUSTOM_VTABLE 3623 ::size_t Header::ByteSizeLong() const { 3624 const Header& this_ = *this; 3625 #endif // PROTOBUF_CUSTOM_VTABLE 3626 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3627 ::size_t total_size = 0; 3628 3629 ::uint32_t cached_has_bits = 0; 3630 // Prevent compiler warnings about cached_has_bits being unused 3631 (void)cached_has_bits; 3632 3633 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3634 cached_has_bits = this_._impl_._has_bits_[0]; 3635 if ((cached_has_bits & 0x0000001fu) != 0) { 3636 // string description = 1; 3637 if ((cached_has_bits & 0x00000001u) != 0) { 3638 if (!this_._internal_description().empty()) { 3639 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3640 this_._internal_description()); 3641 } 3642 } 3643 // string type = 2; 3644 if ((cached_has_bits & 0x00000002u) != 0) { 3645 if (!this_._internal_type().empty()) { 3646 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3647 this_._internal_type()); 3648 } 3649 } 3650 // string format = 3; 3651 if ((cached_has_bits & 0x00000004u) != 0) { 3652 if (!this_._internal_format().empty()) { 3653 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3654 this_._internal_format()); 3655 } 3656 } 3657 // string default = 6; 3658 if ((cached_has_bits & 0x00000008u) != 0) { 3659 if (!this_._internal_default_().empty()) { 3660 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3661 this_._internal_default_()); 3662 } 3663 } 3664 // string pattern = 13; 3665 if ((cached_has_bits & 0x00000010u) != 0) { 3666 if (!this_._internal_pattern().empty()) { 3667 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3668 this_._internal_pattern()); 3669 } 3670 } 3671 } 3672 return this_.MaybeComputeUnknownFieldsSize(total_size, 3673 &this_._impl_._cached_size_); 3674 } 3675 3676 void Header::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3677 auto* const _this = static_cast<Header*>(&to_msg); 3678 auto& from = static_cast<const Header&>(from_msg); 3679 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3680 ABSL_DCHECK_NE(&from, _this); 3681 ::uint32_t cached_has_bits = 0; 3682 (void) cached_has_bits; 3683 3684 cached_has_bits = from._impl_._has_bits_[0]; 3685 if ((cached_has_bits & 0x0000001fu) != 0) { 3686 if ((cached_has_bits & 0x00000001u) != 0) { 3687 if (!from._internal_description().empty()) { 3688 _this->_internal_set_description(from._internal_description()); 3689 } else { 3690 if (_this->_impl_.description_.IsDefault()) { 3691 _this->_internal_set_description(""); 3692 } 3693 } 3694 } 3695 if ((cached_has_bits & 0x00000002u) != 0) { 3696 if (!from._internal_type().empty()) { 3697 _this->_internal_set_type(from._internal_type()); 3698 } else { 3699 if (_this->_impl_.type_.IsDefault()) { 3700 _this->_internal_set_type(""); 3701 } 3702 } 3703 } 3704 if ((cached_has_bits & 0x00000004u) != 0) { 3705 if (!from._internal_format().empty()) { 3706 _this->_internal_set_format(from._internal_format()); 3707 } else { 3708 if (_this->_impl_.format_.IsDefault()) { 3709 _this->_internal_set_format(""); 3710 } 3711 } 3712 } 3713 if ((cached_has_bits & 0x00000008u) != 0) { 3714 if (!from._internal_default_().empty()) { 3715 _this->_internal_set_default_(from._internal_default_()); 3716 } else { 3717 if (_this->_impl_.default__.IsDefault()) { 3718 _this->_internal_set_default_(""); 3719 } 3720 } 3721 } 3722 if ((cached_has_bits & 0x00000010u) != 0) { 3723 if (!from._internal_pattern().empty()) { 3724 _this->_internal_set_pattern(from._internal_pattern()); 3725 } else { 3726 if (_this->_impl_.pattern_.IsDefault()) { 3727 _this->_internal_set_pattern(""); 3728 } 3729 } 3730 } 3731 } 3732 _this->_impl_._has_bits_[0] |= cached_has_bits; 3733 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3734 } 3735 3736 void Header::CopyFrom(const Header& from) { 3737 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3738 if (&from == this) return; 3739 Clear(); 3740 MergeFrom(from); 3741 } 3742 3743 3744 void Header::InternalSwap(Header* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3745 using ::std::swap; 3746 auto* arena = GetArena(); 3747 ABSL_DCHECK_EQ(arena, other->GetArena()); 3748 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3749 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3750 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 3751 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, &other->_impl_.type_, arena); 3752 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.format_, &other->_impl_.format_, arena); 3753 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default__, &other->_impl_.default__, arena); 3754 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pattern_, &other->_impl_.pattern_, arena); 3755 } 3756 3757 ::google::protobuf::Metadata Header::GetMetadata() const { 3758 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3759 } 3760 // =================================================================== 3761 3762 #if defined(PROTOBUF_CUSTOM_VTABLE) 3763 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse() 3764 : SuperType(Response_HeadersEntry_DoNotUse_class_data_.base()) {} 3765 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3766 : SuperType(arena, Response_HeadersEntry_DoNotUse_class_data_.base()) {} 3767 #else // PROTOBUF_CUSTOM_VTABLE 3768 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse() : SuperType() {} 3769 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 3770 #endif // PROTOBUF_CUSTOM_VTABLE 3771 inline void* PROTOBUF_NONNULL Response_HeadersEntry_DoNotUse::PlacementNew_( 3772 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3773 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3774 return ::new (mem) Response_HeadersEntry_DoNotUse(arena); 3775 } 3776 constexpr auto Response_HeadersEntry_DoNotUse::InternalNewImpl_() { 3777 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Response_HeadersEntry_DoNotUse), 3778 alignof(Response_HeadersEntry_DoNotUse)); 3779 } 3780 constexpr auto Response_HeadersEntry_DoNotUse::InternalGenerateClassData_() { 3781 return ::google::protobuf::internal::ClassDataFull{ 3782 ::google::protobuf::internal::ClassData{ 3783 &_Response_HeadersEntry_DoNotUse_default_instance_._instance, 3784 &_table_.header, 3785 nullptr, // OnDemandRegisterArenaDtor 3786 nullptr, // IsInitialized 3787 &Response_HeadersEntry_DoNotUse::MergeImpl, 3788 ::google::protobuf::Message::GetNewImpl<Response_HeadersEntry_DoNotUse>(), 3789 #if defined(PROTOBUF_CUSTOM_VTABLE) 3790 &Response_HeadersEntry_DoNotUse::SharedDtor, 3791 static_cast<void (::google::protobuf::MessageLite::*)()>(&Response_HeadersEntry_DoNotUse::ClearImpl), 3792 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 3793 , 3794 #endif // PROTOBUF_CUSTOM_VTABLE 3795 PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_._cached_size_), 3796 false, 3797 }, 3798 &Response_HeadersEntry_DoNotUse::kDescriptorMethods, 3799 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 3800 nullptr, // tracker 3801 }; 3802 } 3803 3804 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 3805 ::google::protobuf::internal::ClassDataFull Response_HeadersEntry_DoNotUse_class_data_ = 3806 Response_HeadersEntry_DoNotUse::InternalGenerateClassData_(); 3807 3808 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 3809 Response_HeadersEntry_DoNotUse::GetClassData() const { 3810 ::google::protobuf::internal::PrefetchToLocalCache(&Response_HeadersEntry_DoNotUse_class_data_); 3811 ::google::protobuf::internal::PrefetchToLocalCache(Response_HeadersEntry_DoNotUse_class_data_.tc_table); 3812 return Response_HeadersEntry_DoNotUse_class_data_.base(); 3813 } 3814 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3815 const ::_pbi::TcParseTable<1, 2, 1, 75, 2> 3816 Response_HeadersEntry_DoNotUse::_table_ = { 3817 { 3818 PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_._has_bits_), 3819 0, // no _extensions_ 3820 2, 8, // max_field_number, fast_idx_mask 3821 offsetof(decltype(_table_), field_lookup_table), 3822 4294967292, // skipmap 3823 offsetof(decltype(_table_), field_entries), 3824 2, // num_field_entries 3825 1, // num_aux_entries 3826 offsetof(decltype(_table_), aux_entries), 3827 Response_HeadersEntry_DoNotUse_class_data_.base(), 3828 nullptr, // post_loop_handler 3829 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 3830 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3831 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse>(), // to_prefetch 3832 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3833 }, {{ 3834 // .grpc.gateway.protoc_gen_openapiv2.options.Header value = 2; 3835 {::_pbi::TcParser::FastMtS1, 3836 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.value_)}}, 3837 // string key = 1; 3838 {::_pbi::TcParser::FastUS1, 3839 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.key_)}}, 3840 }}, {{ 3841 65535, 65535 3842 }}, {{ 3843 // string key = 1; 3844 {PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 3845 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3846 // .grpc.gateway.protoc_gen_openapiv2.options.Header value = 2; 3847 {PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 3848 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 3849 }}, 3850 {{ 3851 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Header>()}, 3852 }}, 3853 {{ 3854 "\77\3\0\0\0\0\0\0" 3855 "grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry" 3856 "key" 3857 }}, 3858 }; 3859 // =================================================================== 3860 3861 #if defined(PROTOBUF_CUSTOM_VTABLE) 3862 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse() 3863 : SuperType(Response_ExamplesEntry_DoNotUse_class_data_.base()) {} 3864 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3865 : SuperType(arena, Response_ExamplesEntry_DoNotUse_class_data_.base()) {} 3866 #else // PROTOBUF_CUSTOM_VTABLE 3867 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse() : SuperType() {} 3868 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 3869 #endif // PROTOBUF_CUSTOM_VTABLE 3870 inline void* PROTOBUF_NONNULL Response_ExamplesEntry_DoNotUse::PlacementNew_( 3871 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3872 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3873 return ::new (mem) Response_ExamplesEntry_DoNotUse(arena); 3874 } 3875 constexpr auto Response_ExamplesEntry_DoNotUse::InternalNewImpl_() { 3876 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Response_ExamplesEntry_DoNotUse), 3877 alignof(Response_ExamplesEntry_DoNotUse)); 3878 } 3879 constexpr auto Response_ExamplesEntry_DoNotUse::InternalGenerateClassData_() { 3880 return ::google::protobuf::internal::ClassDataFull{ 3881 ::google::protobuf::internal::ClassData{ 3882 &_Response_ExamplesEntry_DoNotUse_default_instance_._instance, 3883 &_table_.header, 3884 nullptr, // OnDemandRegisterArenaDtor 3885 nullptr, // IsInitialized 3886 &Response_ExamplesEntry_DoNotUse::MergeImpl, 3887 ::google::protobuf::Message::GetNewImpl<Response_ExamplesEntry_DoNotUse>(), 3888 #if defined(PROTOBUF_CUSTOM_VTABLE) 3889 &Response_ExamplesEntry_DoNotUse::SharedDtor, 3890 static_cast<void (::google::protobuf::MessageLite::*)()>(&Response_ExamplesEntry_DoNotUse::ClearImpl), 3891 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 3892 , 3893 #endif // PROTOBUF_CUSTOM_VTABLE 3894 PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_._cached_size_), 3895 false, 3896 }, 3897 &Response_ExamplesEntry_DoNotUse::kDescriptorMethods, 3898 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 3899 nullptr, // tracker 3900 }; 3901 } 3902 3903 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 3904 ::google::protobuf::internal::ClassDataFull Response_ExamplesEntry_DoNotUse_class_data_ = 3905 Response_ExamplesEntry_DoNotUse::InternalGenerateClassData_(); 3906 3907 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 3908 Response_ExamplesEntry_DoNotUse::GetClassData() const { 3909 ::google::protobuf::internal::PrefetchToLocalCache(&Response_ExamplesEntry_DoNotUse_class_data_); 3910 ::google::protobuf::internal::PrefetchToLocalCache(Response_ExamplesEntry_DoNotUse_class_data_.tc_table); 3911 return Response_ExamplesEntry_DoNotUse_class_data_.base(); 3912 } 3913 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3914 const ::_pbi::TcParseTable<1, 2, 0, 81, 2> 3915 Response_ExamplesEntry_DoNotUse::_table_ = { 3916 { 3917 PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_._has_bits_), 3918 0, // no _extensions_ 3919 2, 8, // max_field_number, fast_idx_mask 3920 offsetof(decltype(_table_), field_lookup_table), 3921 4294967292, // skipmap 3922 offsetof(decltype(_table_), field_entries), 3923 2, // num_field_entries 3924 0, // num_aux_entries 3925 offsetof(decltype(_table_), field_names), // no aux_entries 3926 Response_ExamplesEntry_DoNotUse_class_data_.base(), 3927 nullptr, // post_loop_handler 3928 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 3929 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3930 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse>(), // to_prefetch 3931 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3932 }, {{ 3933 // string value = 2; 3934 {::_pbi::TcParser::FastUS1, 3935 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.value_)}}, 3936 // string key = 1; 3937 {::_pbi::TcParser::FastUS1, 3938 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.key_)}}, 3939 }}, {{ 3940 65535, 65535 3941 }}, {{ 3942 // string key = 1; 3943 {PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 3944 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3945 // string value = 2; 3946 {PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 3947 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3948 }}, 3949 // no aux_entries 3950 {{ 3951 "\100\3\5\0\0\0\0\0" 3952 "grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry" 3953 "key" 3954 "value" 3955 }}, 3956 }; 3957 // =================================================================== 3958 3959 #if defined(PROTOBUF_CUSTOM_VTABLE) 3960 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse() 3961 : SuperType(Response_ExtensionsEntry_DoNotUse_class_data_.base()) {} 3962 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3963 : SuperType(arena, Response_ExtensionsEntry_DoNotUse_class_data_.base()) {} 3964 #else // PROTOBUF_CUSTOM_VTABLE 3965 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse() : SuperType() {} 3966 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 3967 #endif // PROTOBUF_CUSTOM_VTABLE 3968 inline void* PROTOBUF_NONNULL Response_ExtensionsEntry_DoNotUse::PlacementNew_( 3969 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3970 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3971 return ::new (mem) Response_ExtensionsEntry_DoNotUse(arena); 3972 } 3973 constexpr auto Response_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 3974 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Response_ExtensionsEntry_DoNotUse), 3975 alignof(Response_ExtensionsEntry_DoNotUse)); 3976 } 3977 constexpr auto Response_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 3978 return ::google::protobuf::internal::ClassDataFull{ 3979 ::google::protobuf::internal::ClassData{ 3980 &_Response_ExtensionsEntry_DoNotUse_default_instance_._instance, 3981 &_table_.header, 3982 nullptr, // OnDemandRegisterArenaDtor 3983 nullptr, // IsInitialized 3984 &Response_ExtensionsEntry_DoNotUse::MergeImpl, 3985 ::google::protobuf::Message::GetNewImpl<Response_ExtensionsEntry_DoNotUse>(), 3986 #if defined(PROTOBUF_CUSTOM_VTABLE) 3987 &Response_ExtensionsEntry_DoNotUse::SharedDtor, 3988 static_cast<void (::google::protobuf::MessageLite::*)()>(&Response_ExtensionsEntry_DoNotUse::ClearImpl), 3989 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 3990 , 3991 #endif // PROTOBUF_CUSTOM_VTABLE 3992 PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 3993 false, 3994 }, 3995 &Response_ExtensionsEntry_DoNotUse::kDescriptorMethods, 3996 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 3997 nullptr, // tracker 3998 }; 3999 } 4000 4001 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 4002 ::google::protobuf::internal::ClassDataFull Response_ExtensionsEntry_DoNotUse_class_data_ = 4003 Response_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 4004 4005 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 4006 Response_ExtensionsEntry_DoNotUse::GetClassData() const { 4007 ::google::protobuf::internal::PrefetchToLocalCache(&Response_ExtensionsEntry_DoNotUse_class_data_); 4008 ::google::protobuf::internal::PrefetchToLocalCache(Response_ExtensionsEntry_DoNotUse_class_data_.tc_table); 4009 return Response_ExtensionsEntry_DoNotUse_class_data_.base(); 4010 } 4011 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4012 const ::_pbi::TcParseTable<1, 2, 1, 78, 2> 4013 Response_ExtensionsEntry_DoNotUse::_table_ = { 4014 { 4015 PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 4016 0, // no _extensions_ 4017 2, 8, // max_field_number, fast_idx_mask 4018 offsetof(decltype(_table_), field_lookup_table), 4019 4294967292, // skipmap 4020 offsetof(decltype(_table_), field_entries), 4021 2, // num_field_entries 4022 1, // num_aux_entries 4023 offsetof(decltype(_table_), aux_entries), 4024 Response_ExtensionsEntry_DoNotUse_class_data_.base(), 4025 nullptr, // post_loop_handler 4026 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4027 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4028 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse>(), // to_prefetch 4029 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4030 }, {{ 4031 // .google.protobuf.Value value = 2; 4032 {::_pbi::TcParser::FastMtS1, 4033 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 4034 // string key = 1; 4035 {::_pbi::TcParser::FastUS1, 4036 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 4037 }}, {{ 4038 65535, 65535 4039 }}, {{ 4040 // string key = 1; 4041 {PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4042 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4043 // .google.protobuf.Value value = 2; 4044 {PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4045 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4046 }}, 4047 {{ 4048 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4049 }}, 4050 {{ 4051 "\102\3\0\0\0\0\0\0" 4052 "grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry" 4053 "key" 4054 }}, 4055 }; 4056 // =================================================================== 4057 4058 class Response::_Internal { 4059 public: 4060 using HasBits = 4061 decltype(::std::declval<Response>()._impl_._has_bits_); 4062 static constexpr ::int32_t kHasBitsOffset = 4063 8 * PROTOBUF_FIELD_OFFSET(Response, _impl_._has_bits_); 4064 }; 4065 4066 void Response::clear_extensions() { 4067 ::google::protobuf::internal::TSanWrite(&_impl_); 4068 _impl_.extensions_.Clear(); 4069 } 4070 Response::Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4071 #if defined(PROTOBUF_CUSTOM_VTABLE) 4072 : ::google::protobuf::Message(arena, Response_class_data_.base()) { 4073 #else // PROTOBUF_CUSTOM_VTABLE 4074 : ::google::protobuf::Message(arena) { 4075 #endif // PROTOBUF_CUSTOM_VTABLE 4076 SharedCtor(arena); 4077 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Response) 4078 } 4079 PROTOBUF_NDEBUG_INLINE Response::Impl_::Impl_( 4080 ::google::protobuf::internal::InternalVisibility visibility, 4081 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4082 const ::grpc::gateway::protoc_gen_openapiv2::options::Response& from_msg) 4083 : _has_bits_{from._has_bits_}, 4084 _cached_size_{0}, 4085 headers_{visibility, arena, from.headers_}, 4086 examples_{visibility, arena, from.examples_}, 4087 extensions_{visibility, arena, from.extensions_}, 4088 description_(arena, from.description_) {} 4089 4090 Response::Response( 4091 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 4092 const Response& from) 4093 #if defined(PROTOBUF_CUSTOM_VTABLE) 4094 : ::google::protobuf::Message(arena, Response_class_data_.base()) { 4095 #else // PROTOBUF_CUSTOM_VTABLE 4096 : ::google::protobuf::Message(arena) { 4097 #endif // PROTOBUF_CUSTOM_VTABLE 4098 Response* const _this = this; 4099 (void)_this; 4100 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 4101 from._internal_metadata_); 4102 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 4103 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 4104 _impl_.schema_ = ((cached_has_bits & 0x00000002u) != 0) 4105 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.schema_) 4106 : nullptr; 4107 4108 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Response) 4109 } 4110 PROTOBUF_NDEBUG_INLINE Response::Impl_::Impl_( 4111 ::google::protobuf::internal::InternalVisibility visibility, 4112 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4113 : _cached_size_{0}, 4114 headers_{visibility, arena}, 4115 examples_{visibility, arena}, 4116 extensions_{visibility, arena}, 4117 description_(arena) {} 4118 4119 inline void Response::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 4120 new (&_impl_) Impl_(internal_visibility(), arena); 4121 _impl_.schema_ = {}; 4122 } 4123 Response::~Response() { 4124 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Response) 4125 SharedDtor(*this); 4126 } 4127 inline void Response::SharedDtor(MessageLite& self) { 4128 Response& this_ = static_cast<Response&>(self); 4129 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 4130 ABSL_DCHECK(this_.GetArena() == nullptr); 4131 this_._impl_.description_.Destroy(); 4132 delete this_._impl_.schema_; 4133 this_._impl_.~Impl_(); 4134 } 4135 4136 inline void* PROTOBUF_NONNULL Response::PlacementNew_( 4137 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4138 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4139 return ::new (mem) Response(arena); 4140 } 4141 constexpr auto Response::InternalNewImpl_() { 4142 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 4143 PROTOBUF_FIELD_OFFSET(Response, _impl_.headers_) + 4144 decltype(Response::_impl_.headers_):: 4145 InternalGetArenaOffset( 4146 ::google::protobuf::Message::internal_visibility()), 4147 PROTOBUF_FIELD_OFFSET(Response, _impl_.headers_) + 4148 decltype(Response::_impl_.headers_):: 4149 InternalGetArenaOffsetAlt( 4150 ::google::protobuf::Message::internal_visibility()), 4151 PROTOBUF_FIELD_OFFSET(Response, _impl_.examples_) + 4152 decltype(Response::_impl_.examples_):: 4153 InternalGetArenaOffset( 4154 ::google::protobuf::Message::internal_visibility()), 4155 PROTOBUF_FIELD_OFFSET(Response, _impl_.examples_) + 4156 decltype(Response::_impl_.examples_):: 4157 InternalGetArenaOffsetAlt( 4158 ::google::protobuf::Message::internal_visibility()), 4159 PROTOBUF_FIELD_OFFSET(Response, _impl_.extensions_) + 4160 decltype(Response::_impl_.extensions_):: 4161 InternalGetArenaOffset( 4162 ::google::protobuf::Message::internal_visibility()), 4163 PROTOBUF_FIELD_OFFSET(Response, _impl_.extensions_) + 4164 decltype(Response::_impl_.extensions_):: 4165 InternalGetArenaOffsetAlt( 4166 ::google::protobuf::Message::internal_visibility()), 4167 }); 4168 if (arena_bits.has_value()) { 4169 return ::google::protobuf::internal::MessageCreator::CopyInit( 4170 sizeof(Response), alignof(Response), *arena_bits); 4171 } else { 4172 return ::google::protobuf::internal::MessageCreator(&Response::PlacementNew_, 4173 sizeof(Response), 4174 alignof(Response)); 4175 } 4176 } 4177 constexpr auto Response::InternalGenerateClassData_() { 4178 return ::google::protobuf::internal::ClassDataFull{ 4179 ::google::protobuf::internal::ClassData{ 4180 &_Response_default_instance_._instance, 4181 &_table_.header, 4182 nullptr, // OnDemandRegisterArenaDtor 4183 nullptr, // IsInitialized 4184 &Response::MergeImpl, 4185 ::google::protobuf::Message::GetNewImpl<Response>(), 4186 #if defined(PROTOBUF_CUSTOM_VTABLE) 4187 &Response::SharedDtor, 4188 ::google::protobuf::Message::GetClearImpl<Response>(), &Response::ByteSizeLong, 4189 &Response::_InternalSerialize, 4190 #endif // PROTOBUF_CUSTOM_VTABLE 4191 PROTOBUF_FIELD_OFFSET(Response, _impl_._cached_size_), 4192 false, 4193 }, 4194 &Response::kDescriptorMethods, 4195 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4196 nullptr, // tracker 4197 }; 4198 } 4199 4200 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 4201 ::google::protobuf::internal::ClassDataFull Response_class_data_ = 4202 Response::InternalGenerateClassData_(); 4203 4204 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 4205 Response::GetClassData() const { 4206 ::google::protobuf::internal::PrefetchToLocalCache(&Response_class_data_); 4207 ::google::protobuf::internal::PrefetchToLocalCache(Response_class_data_.tc_table); 4208 return Response_class_data_.base(); 4209 } 4210 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4211 const ::_pbi::TcParseTable<1, 5, 6, 95, 2> 4212 Response::_table_ = { 4213 { 4214 PROTOBUF_FIELD_OFFSET(Response, _impl_._has_bits_), 4215 0, // no _extensions_ 4216 5, 8, // max_field_number, fast_idx_mask 4217 offsetof(decltype(_table_), field_lookup_table), 4218 4294967264, // skipmap 4219 offsetof(decltype(_table_), field_entries), 4220 5, // num_field_entries 4221 6, // num_aux_entries 4222 offsetof(decltype(_table_), aux_entries), 4223 Response_class_data_.base(), 4224 nullptr, // post_loop_handler 4225 ::_pbi::TcParser::GenericFallback, // fallback 4226 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4227 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>(), // to_prefetch 4228 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4229 }, {{ 4230 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4231 {::_pbi::TcParser::FastMtS1, 4232 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.schema_)}}, 4233 // string description = 1; 4234 {::_pbi::TcParser::FastUS1, 4235 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.description_)}}, 4236 }}, {{ 4237 65535, 65535 4238 }}, {{ 4239 // string description = 1; 4240 {PROTOBUF_FIELD_OFFSET(Response, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 4241 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4242 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4243 {PROTOBUF_FIELD_OFFSET(Response, _impl_.schema_), _Internal::kHasBitsOffset + 1, 0, 4244 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4245 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4246 {PROTOBUF_FIELD_OFFSET(Response, _impl_.headers_), -1, 1, 4247 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4248 // map<string, string> examples = 4; 4249 {PROTOBUF_FIELD_OFFSET(Response, _impl_.examples_), -1, 3, 4250 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4251 // map<string, .google.protobuf.Value> extensions = 5; 4252 {PROTOBUF_FIELD_OFFSET(Response, _impl_.extensions_), -1, 4, 4253 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4254 }}, 4255 {{ 4256 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Schema>()}, 4257 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4258 9, 11, 4259 0)}, 4260 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Header>()}, 4261 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4262 9, 9, 4263 0)}, 4264 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4265 9, 11, 4266 0)}, 4267 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4268 }}, 4269 {{ 4270 "\62\13\0\7\10\12\0\0" 4271 "grpc.gateway.protoc_gen_openapiv2.options.Response" 4272 "description" 4273 "headers" 4274 "examples" 4275 "extensions" 4276 }}, 4277 }; 4278 PROTOBUF_NOINLINE void Response::Clear() { 4279 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4280 ::google::protobuf::internal::TSanWrite(&_impl_); 4281 ::uint32_t cached_has_bits = 0; 4282 // Prevent compiler warnings about cached_has_bits being unused 4283 (void) cached_has_bits; 4284 4285 _impl_.headers_.Clear(); 4286 _impl_.examples_.Clear(); 4287 _impl_.extensions_.Clear(); 4288 cached_has_bits = _impl_._has_bits_[0]; 4289 if ((cached_has_bits & 0x00000003u) != 0) { 4290 if ((cached_has_bits & 0x00000001u) != 0) { 4291 _impl_.description_.ClearNonDefaultToEmpty(); 4292 } 4293 if ((cached_has_bits & 0x00000002u) != 0) { 4294 ABSL_DCHECK(_impl_.schema_ != nullptr); 4295 _impl_.schema_->Clear(); 4296 } 4297 } 4298 _impl_._has_bits_.Clear(); 4299 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 4300 } 4301 4302 #if defined(PROTOBUF_CUSTOM_VTABLE) 4303 ::uint8_t* PROTOBUF_NONNULL Response::_InternalSerialize( 4304 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 4305 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 4306 const Response& this_ = static_cast<const Response&>(base); 4307 #else // PROTOBUF_CUSTOM_VTABLE 4308 ::uint8_t* PROTOBUF_NONNULL Response::_InternalSerialize( 4309 ::uint8_t* PROTOBUF_NONNULL target, 4310 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4311 const Response& this_ = *this; 4312 #endif // PROTOBUF_CUSTOM_VTABLE 4313 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4314 ::uint32_t cached_has_bits = 0; 4315 (void)cached_has_bits; 4316 4317 // string description = 1; 4318 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 4319 if (!this_._internal_description().empty()) { 4320 const ::std::string& _s = this_._internal_description(); 4321 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4322 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.description"); 4323 target = stream->WriteStringMaybeAliased(1, _s, target); 4324 } 4325 } 4326 4327 cached_has_bits = this_._impl_._has_bits_[0]; 4328 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4329 if ((cached_has_bits & 0x00000002u) != 0) { 4330 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4331 2, *this_._impl_.schema_, this_._impl_.schema_->GetCachedSize(), target, 4332 stream); 4333 } 4334 4335 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4336 if (!this_._internal_headers().empty()) { 4337 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>; 4338 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header, 4339 _pbi::WireFormatLite::TYPE_STRING, 4340 _pbi::WireFormatLite::TYPE_MESSAGE>; 4341 const auto& field = this_._internal_headers(); 4342 4343 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4344 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4345 target = WireHelper::InternalSerialize( 4346 3, entry.first, entry.second, target, stream); 4347 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4348 entry.first.data(), static_cast<int>(entry.first.length()), 4349 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.headers"); 4350 } 4351 } else { 4352 for (const auto& entry : field) { 4353 target = WireHelper::InternalSerialize( 4354 3, entry.first, entry.second, target, stream); 4355 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4356 entry.first.data(), static_cast<int>(entry.first.length()), 4357 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.headers"); 4358 } 4359 } 4360 } 4361 4362 // map<string, string> examples = 4; 4363 if (!this_._internal_examples().empty()) { 4364 using MapType = ::google::protobuf::Map<std::string, std::string>; 4365 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string, 4366 _pbi::WireFormatLite::TYPE_STRING, 4367 _pbi::WireFormatLite::TYPE_STRING>; 4368 const auto& field = this_._internal_examples(); 4369 4370 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4371 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4372 target = WireHelper::InternalSerialize( 4373 4, entry.first, entry.second, target, stream); 4374 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4375 entry.first.data(), static_cast<int>(entry.first.length()), 4376 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4377 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4378 entry.second.data(), static_cast<int>(entry.second.length()), 4379 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4380 } 4381 } else { 4382 for (const auto& entry : field) { 4383 target = WireHelper::InternalSerialize( 4384 4, entry.first, entry.second, target, stream); 4385 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4386 entry.first.data(), static_cast<int>(entry.first.length()), 4387 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4388 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4389 entry.second.data(), static_cast<int>(entry.second.length()), 4390 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4391 } 4392 } 4393 } 4394 4395 // map<string, .google.protobuf.Value> extensions = 5; 4396 if (!this_._internal_extensions().empty()) { 4397 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 4398 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 4399 _pbi::WireFormatLite::TYPE_STRING, 4400 _pbi::WireFormatLite::TYPE_MESSAGE>; 4401 const auto& field = this_._internal_extensions(); 4402 4403 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4404 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4405 target = WireHelper::InternalSerialize( 4406 5, entry.first, entry.second, target, stream); 4407 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4408 entry.first.data(), static_cast<int>(entry.first.length()), 4409 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.extensions"); 4410 } 4411 } else { 4412 for (const auto& entry : field) { 4413 target = WireHelper::InternalSerialize( 4414 5, entry.first, entry.second, target, stream); 4415 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4416 entry.first.data(), static_cast<int>(entry.first.length()), 4417 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.extensions"); 4418 } 4419 } 4420 } 4421 4422 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 4423 target = 4424 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 4425 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 4426 } 4427 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Response) 4428 return target; 4429 } 4430 4431 #if defined(PROTOBUF_CUSTOM_VTABLE) 4432 ::size_t Response::ByteSizeLong(const MessageLite& base) { 4433 const Response& this_ = static_cast<const Response&>(base); 4434 #else // PROTOBUF_CUSTOM_VTABLE 4435 ::size_t Response::ByteSizeLong() const { 4436 const Response& this_ = *this; 4437 #endif // PROTOBUF_CUSTOM_VTABLE 4438 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4439 ::size_t total_size = 0; 4440 4441 ::uint32_t cached_has_bits = 0; 4442 // Prevent compiler warnings about cached_has_bits being unused 4443 (void)cached_has_bits; 4444 4445 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 4446 { 4447 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4448 { 4449 total_size += 4450 1 * ::google::protobuf::internal::FromIntSize(this_._internal_headers_size()); 4451 for (const auto& entry : this_._internal_headers()) { 4452 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header, 4453 _pbi::WireFormatLite::TYPE_STRING, 4454 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 4455 } 4456 } 4457 // map<string, string> examples = 4; 4458 { 4459 total_size += 4460 1 * ::google::protobuf::internal::FromIntSize(this_._internal_examples_size()); 4461 for (const auto& entry : this_._internal_examples()) { 4462 total_size += _pbi::MapEntryFuncs<std::string, std::string, 4463 _pbi::WireFormatLite::TYPE_STRING, 4464 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second); 4465 } 4466 } 4467 // map<string, .google.protobuf.Value> extensions = 5; 4468 { 4469 total_size += 4470 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 4471 for (const auto& entry : this_._internal_extensions()) { 4472 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 4473 _pbi::WireFormatLite::TYPE_STRING, 4474 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 4475 } 4476 } 4477 } 4478 cached_has_bits = this_._impl_._has_bits_[0]; 4479 if ((cached_has_bits & 0x00000003u) != 0) { 4480 // string description = 1; 4481 if ((cached_has_bits & 0x00000001u) != 0) { 4482 if (!this_._internal_description().empty()) { 4483 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 4484 this_._internal_description()); 4485 } 4486 } 4487 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4488 if ((cached_has_bits & 0x00000002u) != 0) { 4489 total_size += 1 + 4490 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.schema_); 4491 } 4492 } 4493 return this_.MaybeComputeUnknownFieldsSize(total_size, 4494 &this_._impl_._cached_size_); 4495 } 4496 4497 void Response::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 4498 auto* const _this = static_cast<Response*>(&to_msg); 4499 auto& from = static_cast<const Response&>(from_msg); 4500 ::google::protobuf::Arena* arena = _this->GetArena(); 4501 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4502 ABSL_DCHECK_NE(&from, _this); 4503 ::uint32_t cached_has_bits = 0; 4504 (void) cached_has_bits; 4505 4506 _this->_impl_.headers_.MergeFrom(from._impl_.headers_); 4507 _this->_impl_.examples_.MergeFrom(from._impl_.examples_); 4508 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 4509 cached_has_bits = from._impl_._has_bits_[0]; 4510 if ((cached_has_bits & 0x00000003u) != 0) { 4511 if ((cached_has_bits & 0x00000001u) != 0) { 4512 if (!from._internal_description().empty()) { 4513 _this->_internal_set_description(from._internal_description()); 4514 } else { 4515 if (_this->_impl_.description_.IsDefault()) { 4516 _this->_internal_set_description(""); 4517 } 4518 } 4519 } 4520 if ((cached_has_bits & 0x00000002u) != 0) { 4521 ABSL_DCHECK(from._impl_.schema_ != nullptr); 4522 if (_this->_impl_.schema_ == nullptr) { 4523 _this->_impl_.schema_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.schema_); 4524 } else { 4525 _this->_impl_.schema_->MergeFrom(*from._impl_.schema_); 4526 } 4527 } 4528 } 4529 _this->_impl_._has_bits_[0] |= cached_has_bits; 4530 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 4531 } 4532 4533 void Response::CopyFrom(const Response& from) { 4534 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4535 if (&from == this) return; 4536 Clear(); 4537 MergeFrom(from); 4538 } 4539 4540 4541 void Response::InternalSwap(Response* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 4542 using ::std::swap; 4543 auto* arena = GetArena(); 4544 ABSL_DCHECK_EQ(arena, other->GetArena()); 4545 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 4546 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 4547 _impl_.headers_.InternalSwap(&other->_impl_.headers_); 4548 _impl_.examples_.InternalSwap(&other->_impl_.examples_); 4549 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 4550 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 4551 swap(_impl_.schema_, other->_impl_.schema_); 4552 } 4553 4554 ::google::protobuf::Metadata Response::GetMetadata() const { 4555 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 4556 } 4557 // =================================================================== 4558 4559 #if defined(PROTOBUF_CUSTOM_VTABLE) 4560 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse() 4561 : SuperType(Info_ExtensionsEntry_DoNotUse_class_data_.base()) {} 4562 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4563 : SuperType(arena, Info_ExtensionsEntry_DoNotUse_class_data_.base()) {} 4564 #else // PROTOBUF_CUSTOM_VTABLE 4565 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse() : SuperType() {} 4566 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 4567 #endif // PROTOBUF_CUSTOM_VTABLE 4568 inline void* PROTOBUF_NONNULL Info_ExtensionsEntry_DoNotUse::PlacementNew_( 4569 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4570 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4571 return ::new (mem) Info_ExtensionsEntry_DoNotUse(arena); 4572 } 4573 constexpr auto Info_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 4574 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Info_ExtensionsEntry_DoNotUse), 4575 alignof(Info_ExtensionsEntry_DoNotUse)); 4576 } 4577 constexpr auto Info_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 4578 return ::google::protobuf::internal::ClassDataFull{ 4579 ::google::protobuf::internal::ClassData{ 4580 &_Info_ExtensionsEntry_DoNotUse_default_instance_._instance, 4581 &_table_.header, 4582 nullptr, // OnDemandRegisterArenaDtor 4583 nullptr, // IsInitialized 4584 &Info_ExtensionsEntry_DoNotUse::MergeImpl, 4585 ::google::protobuf::Message::GetNewImpl<Info_ExtensionsEntry_DoNotUse>(), 4586 #if defined(PROTOBUF_CUSTOM_VTABLE) 4587 &Info_ExtensionsEntry_DoNotUse::SharedDtor, 4588 static_cast<void (::google::protobuf::MessageLite::*)()>(&Info_ExtensionsEntry_DoNotUse::ClearImpl), 4589 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 4590 , 4591 #endif // PROTOBUF_CUSTOM_VTABLE 4592 PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 4593 false, 4594 }, 4595 &Info_ExtensionsEntry_DoNotUse::kDescriptorMethods, 4596 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4597 nullptr, // tracker 4598 }; 4599 } 4600 4601 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 4602 ::google::protobuf::internal::ClassDataFull Info_ExtensionsEntry_DoNotUse_class_data_ = 4603 Info_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 4604 4605 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 4606 Info_ExtensionsEntry_DoNotUse::GetClassData() const { 4607 ::google::protobuf::internal::PrefetchToLocalCache(&Info_ExtensionsEntry_DoNotUse_class_data_); 4608 ::google::protobuf::internal::PrefetchToLocalCache(Info_ExtensionsEntry_DoNotUse_class_data_.tc_table); 4609 return Info_ExtensionsEntry_DoNotUse_class_data_.base(); 4610 } 4611 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4612 const ::_pbi::TcParseTable<1, 2, 1, 74, 2> 4613 Info_ExtensionsEntry_DoNotUse::_table_ = { 4614 { 4615 PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 4616 0, // no _extensions_ 4617 2, 8, // max_field_number, fast_idx_mask 4618 offsetof(decltype(_table_), field_lookup_table), 4619 4294967292, // skipmap 4620 offsetof(decltype(_table_), field_entries), 4621 2, // num_field_entries 4622 1, // num_aux_entries 4623 offsetof(decltype(_table_), aux_entries), 4624 Info_ExtensionsEntry_DoNotUse_class_data_.base(), 4625 nullptr, // post_loop_handler 4626 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4627 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4628 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse>(), // to_prefetch 4629 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4630 }, {{ 4631 // .google.protobuf.Value value = 2; 4632 {::_pbi::TcParser::FastMtS1, 4633 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 4634 // string key = 1; 4635 {::_pbi::TcParser::FastUS1, 4636 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 4637 }}, {{ 4638 65535, 65535 4639 }}, {{ 4640 // string key = 1; 4641 {PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4642 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4643 // .google.protobuf.Value value = 2; 4644 {PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4645 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4646 }}, 4647 {{ 4648 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4649 }}, 4650 {{ 4651 "\76\3\0\0\0\0\0\0" 4652 "grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry" 4653 "key" 4654 }}, 4655 }; 4656 // =================================================================== 4657 4658 class Info::_Internal { 4659 public: 4660 using HasBits = 4661 decltype(::std::declval<Info>()._impl_._has_bits_); 4662 static constexpr ::int32_t kHasBitsOffset = 4663 8 * PROTOBUF_FIELD_OFFSET(Info, _impl_._has_bits_); 4664 }; 4665 4666 void Info::clear_extensions() { 4667 ::google::protobuf::internal::TSanWrite(&_impl_); 4668 _impl_.extensions_.Clear(); 4669 } 4670 Info::Info(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4671 #if defined(PROTOBUF_CUSTOM_VTABLE) 4672 : ::google::protobuf::Message(arena, Info_class_data_.base()) { 4673 #else // PROTOBUF_CUSTOM_VTABLE 4674 : ::google::protobuf::Message(arena) { 4675 #endif // PROTOBUF_CUSTOM_VTABLE 4676 SharedCtor(arena); 4677 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Info) 4678 } 4679 PROTOBUF_NDEBUG_INLINE Info::Impl_::Impl_( 4680 ::google::protobuf::internal::InternalVisibility visibility, 4681 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4682 const ::grpc::gateway::protoc_gen_openapiv2::options::Info& from_msg) 4683 : _has_bits_{from._has_bits_}, 4684 _cached_size_{0}, 4685 extensions_{visibility, arena, from.extensions_}, 4686 title_(arena, from.title_), 4687 description_(arena, from.description_), 4688 terms_of_service_(arena, from.terms_of_service_), 4689 version_(arena, from.version_) {} 4690 4691 Info::Info( 4692 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 4693 const Info& from) 4694 #if defined(PROTOBUF_CUSTOM_VTABLE) 4695 : ::google::protobuf::Message(arena, Info_class_data_.base()) { 4696 #else // PROTOBUF_CUSTOM_VTABLE 4697 : ::google::protobuf::Message(arena) { 4698 #endif // PROTOBUF_CUSTOM_VTABLE 4699 Info* const _this = this; 4700 (void)_this; 4701 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 4702 from._internal_metadata_); 4703 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 4704 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 4705 _impl_.contact_ = ((cached_has_bits & 0x00000010u) != 0) 4706 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.contact_) 4707 : nullptr; 4708 _impl_.license_ = ((cached_has_bits & 0x00000020u) != 0) 4709 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.license_) 4710 : nullptr; 4711 4712 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Info) 4713 } 4714 PROTOBUF_NDEBUG_INLINE Info::Impl_::Impl_( 4715 ::google::protobuf::internal::InternalVisibility visibility, 4716 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4717 : _cached_size_{0}, 4718 extensions_{visibility, arena}, 4719 title_(arena), 4720 description_(arena), 4721 terms_of_service_(arena), 4722 version_(arena) {} 4723 4724 inline void Info::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 4725 new (&_impl_) Impl_(internal_visibility(), arena); 4726 ::memset(reinterpret_cast<char *>(&_impl_) + 4727 offsetof(Impl_, contact_), 4728 0, 4729 offsetof(Impl_, license_) - 4730 offsetof(Impl_, contact_) + 4731 sizeof(Impl_::license_)); 4732 } 4733 Info::~Info() { 4734 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Info) 4735 SharedDtor(*this); 4736 } 4737 inline void Info::SharedDtor(MessageLite& self) { 4738 Info& this_ = static_cast<Info&>(self); 4739 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 4740 ABSL_DCHECK(this_.GetArena() == nullptr); 4741 this_._impl_.title_.Destroy(); 4742 this_._impl_.description_.Destroy(); 4743 this_._impl_.terms_of_service_.Destroy(); 4744 this_._impl_.version_.Destroy(); 4745 delete this_._impl_.contact_; 4746 delete this_._impl_.license_; 4747 this_._impl_.~Impl_(); 4748 } 4749 4750 inline void* PROTOBUF_NONNULL Info::PlacementNew_( 4751 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4752 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4753 return ::new (mem) Info(arena); 4754 } 4755 constexpr auto Info::InternalNewImpl_() { 4756 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 4757 PROTOBUF_FIELD_OFFSET(Info, _impl_.extensions_) + 4758 decltype(Info::_impl_.extensions_):: 4759 InternalGetArenaOffset( 4760 ::google::protobuf::Message::internal_visibility()), 4761 PROTOBUF_FIELD_OFFSET(Info, _impl_.extensions_) + 4762 decltype(Info::_impl_.extensions_):: 4763 InternalGetArenaOffsetAlt( 4764 ::google::protobuf::Message::internal_visibility()), 4765 }); 4766 if (arena_bits.has_value()) { 4767 return ::google::protobuf::internal::MessageCreator::CopyInit( 4768 sizeof(Info), alignof(Info), *arena_bits); 4769 } else { 4770 return ::google::protobuf::internal::MessageCreator(&Info::PlacementNew_, 4771 sizeof(Info), 4772 alignof(Info)); 4773 } 4774 } 4775 constexpr auto Info::InternalGenerateClassData_() { 4776 return ::google::protobuf::internal::ClassDataFull{ 4777 ::google::protobuf::internal::ClassData{ 4778 &_Info_default_instance_._instance, 4779 &_table_.header, 4780 nullptr, // OnDemandRegisterArenaDtor 4781 nullptr, // IsInitialized 4782 &Info::MergeImpl, 4783 ::google::protobuf::Message::GetNewImpl<Info>(), 4784 #if defined(PROTOBUF_CUSTOM_VTABLE) 4785 &Info::SharedDtor, 4786 ::google::protobuf::Message::GetClearImpl<Info>(), &Info::ByteSizeLong, 4787 &Info::_InternalSerialize, 4788 #endif // PROTOBUF_CUSTOM_VTABLE 4789 PROTOBUF_FIELD_OFFSET(Info, _impl_._cached_size_), 4790 false, 4791 }, 4792 &Info::kDescriptorMethods, 4793 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4794 nullptr, // tracker 4795 }; 4796 } 4797 4798 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 4799 ::google::protobuf::internal::ClassDataFull Info_class_data_ = 4800 Info::InternalGenerateClassData_(); 4801 4802 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 4803 Info::GetClassData() const { 4804 ::google::protobuf::internal::PrefetchToLocalCache(&Info_class_data_); 4805 ::google::protobuf::internal::PrefetchToLocalCache(Info_class_data_.tc_table); 4806 return Info_class_data_.base(); 4807 } 4808 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4809 const ::_pbi::TcParseTable<3, 7, 4, 104, 2> 4810 Info::_table_ = { 4811 { 4812 PROTOBUF_FIELD_OFFSET(Info, _impl_._has_bits_), 4813 0, // no _extensions_ 4814 7, 56, // max_field_number, fast_idx_mask 4815 offsetof(decltype(_table_), field_lookup_table), 4816 4294967168, // skipmap 4817 offsetof(decltype(_table_), field_entries), 4818 7, // num_field_entries 4819 4, // num_aux_entries 4820 offsetof(decltype(_table_), aux_entries), 4821 Info_class_data_.base(), 4822 nullptr, // post_loop_handler 4823 ::_pbi::TcParser::GenericFallback, // fallback 4824 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4825 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Info>(), // to_prefetch 4826 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4827 }, {{ 4828 {::_pbi::TcParser::MiniParse, {}}, 4829 // string title = 1; 4830 {::_pbi::TcParser::FastUS1, 4831 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.title_)}}, 4832 // string description = 2; 4833 {::_pbi::TcParser::FastUS1, 4834 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.description_)}}, 4835 // string terms_of_service = 3; 4836 {::_pbi::TcParser::FastUS1, 4837 {26, 2, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.terms_of_service_)}}, 4838 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 4839 {::_pbi::TcParser::FastMtS1, 4840 {34, 4, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.contact_)}}, 4841 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 4842 {::_pbi::TcParser::FastMtS1, 4843 {42, 5, 1, PROTOBUF_FIELD_OFFSET(Info, _impl_.license_)}}, 4844 // string version = 6; 4845 {::_pbi::TcParser::FastUS1, 4846 {50, 3, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.version_)}}, 4847 {::_pbi::TcParser::MiniParse, {}}, 4848 }}, {{ 4849 65535, 65535 4850 }}, {{ 4851 // string title = 1; 4852 {PROTOBUF_FIELD_OFFSET(Info, _impl_.title_), _Internal::kHasBitsOffset + 0, 0, 4853 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4854 // string description = 2; 4855 {PROTOBUF_FIELD_OFFSET(Info, _impl_.description_), _Internal::kHasBitsOffset + 1, 0, 4856 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4857 // string terms_of_service = 3; 4858 {PROTOBUF_FIELD_OFFSET(Info, _impl_.terms_of_service_), _Internal::kHasBitsOffset + 2, 0, 4859 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4860 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 4861 {PROTOBUF_FIELD_OFFSET(Info, _impl_.contact_), _Internal::kHasBitsOffset + 4, 0, 4862 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4863 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 4864 {PROTOBUF_FIELD_OFFSET(Info, _impl_.license_), _Internal::kHasBitsOffset + 5, 1, 4865 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4866 // string version = 6; 4867 {PROTOBUF_FIELD_OFFSET(Info, _impl_.version_), _Internal::kHasBitsOffset + 3, 0, 4868 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4869 // map<string, .google.protobuf.Value> extensions = 7; 4870 {PROTOBUF_FIELD_OFFSET(Info, _impl_.extensions_), -1, 2, 4871 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4872 }}, 4873 {{ 4874 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Contact>()}, 4875 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::License>()}, 4876 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4877 9, 11, 4878 0)}, 4879 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4880 }}, 4881 {{ 4882 "\56\5\13\20\0\0\7\12" 4883 "grpc.gateway.protoc_gen_openapiv2.options.Info" 4884 "title" 4885 "description" 4886 "terms_of_service" 4887 "version" 4888 "extensions" 4889 }}, 4890 }; 4891 PROTOBUF_NOINLINE void Info::Clear() { 4892 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 4893 ::google::protobuf::internal::TSanWrite(&_impl_); 4894 ::uint32_t cached_has_bits = 0; 4895 // Prevent compiler warnings about cached_has_bits being unused 4896 (void) cached_has_bits; 4897 4898 _impl_.extensions_.Clear(); 4899 cached_has_bits = _impl_._has_bits_[0]; 4900 if ((cached_has_bits & 0x0000003fu) != 0) { 4901 if ((cached_has_bits & 0x00000001u) != 0) { 4902 _impl_.title_.ClearNonDefaultToEmpty(); 4903 } 4904 if ((cached_has_bits & 0x00000002u) != 0) { 4905 _impl_.description_.ClearNonDefaultToEmpty(); 4906 } 4907 if ((cached_has_bits & 0x00000004u) != 0) { 4908 _impl_.terms_of_service_.ClearNonDefaultToEmpty(); 4909 } 4910 if ((cached_has_bits & 0x00000008u) != 0) { 4911 _impl_.version_.ClearNonDefaultToEmpty(); 4912 } 4913 if ((cached_has_bits & 0x00000010u) != 0) { 4914 ABSL_DCHECK(_impl_.contact_ != nullptr); 4915 _impl_.contact_->Clear(); 4916 } 4917 if ((cached_has_bits & 0x00000020u) != 0) { 4918 ABSL_DCHECK(_impl_.license_ != nullptr); 4919 _impl_.license_->Clear(); 4920 } 4921 } 4922 _impl_._has_bits_.Clear(); 4923 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 4924 } 4925 4926 #if defined(PROTOBUF_CUSTOM_VTABLE) 4927 ::uint8_t* PROTOBUF_NONNULL Info::_InternalSerialize( 4928 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 4929 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 4930 const Info& this_ = static_cast<const Info&>(base); 4931 #else // PROTOBUF_CUSTOM_VTABLE 4932 ::uint8_t* PROTOBUF_NONNULL Info::_InternalSerialize( 4933 ::uint8_t* PROTOBUF_NONNULL target, 4934 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4935 const Info& this_ = *this; 4936 #endif // PROTOBUF_CUSTOM_VTABLE 4937 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 4938 ::uint32_t cached_has_bits = 0; 4939 (void)cached_has_bits; 4940 4941 // string title = 1; 4942 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 4943 if (!this_._internal_title().empty()) { 4944 const ::std::string& _s = this_._internal_title(); 4945 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4946 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.title"); 4947 target = stream->WriteStringMaybeAliased(1, _s, target); 4948 } 4949 } 4950 4951 // string description = 2; 4952 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 4953 if (!this_._internal_description().empty()) { 4954 const ::std::string& _s = this_._internal_description(); 4955 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4956 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.description"); 4957 target = stream->WriteStringMaybeAliased(2, _s, target); 4958 } 4959 } 4960 4961 // string terms_of_service = 3; 4962 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 4963 if (!this_._internal_terms_of_service().empty()) { 4964 const ::std::string& _s = this_._internal_terms_of_service(); 4965 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4966 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service"); 4967 target = stream->WriteStringMaybeAliased(3, _s, target); 4968 } 4969 } 4970 4971 cached_has_bits = this_._impl_._has_bits_[0]; 4972 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 4973 if ((cached_has_bits & 0x00000010u) != 0) { 4974 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4975 4, *this_._impl_.contact_, this_._impl_.contact_->GetCachedSize(), target, 4976 stream); 4977 } 4978 4979 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 4980 if ((cached_has_bits & 0x00000020u) != 0) { 4981 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4982 5, *this_._impl_.license_, this_._impl_.license_->GetCachedSize(), target, 4983 stream); 4984 } 4985 4986 // string version = 6; 4987 if ((cached_has_bits & 0x00000008u) != 0) { 4988 if (!this_._internal_version().empty()) { 4989 const ::std::string& _s = this_._internal_version(); 4990 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4991 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.version"); 4992 target = stream->WriteStringMaybeAliased(6, _s, target); 4993 } 4994 } 4995 4996 // map<string, .google.protobuf.Value> extensions = 7; 4997 if (!this_._internal_extensions().empty()) { 4998 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 4999 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 5000 _pbi::WireFormatLite::TYPE_STRING, 5001 _pbi::WireFormatLite::TYPE_MESSAGE>; 5002 const auto& field = this_._internal_extensions(); 5003 5004 if (stream->IsSerializationDeterministic() && field.size() > 1) { 5005 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 5006 target = WireHelper::InternalSerialize( 5007 7, entry.first, entry.second, target, stream); 5008 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5009 entry.first.data(), static_cast<int>(entry.first.length()), 5010 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.extensions"); 5011 } 5012 } else { 5013 for (const auto& entry : field) { 5014 target = WireHelper::InternalSerialize( 5015 7, entry.first, entry.second, target, stream); 5016 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5017 entry.first.data(), static_cast<int>(entry.first.length()), 5018 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.extensions"); 5019 } 5020 } 5021 } 5022 5023 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5024 target = 5025 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5026 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5027 } 5028 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Info) 5029 return target; 5030 } 5031 5032 #if defined(PROTOBUF_CUSTOM_VTABLE) 5033 ::size_t Info::ByteSizeLong(const MessageLite& base) { 5034 const Info& this_ = static_cast<const Info&>(base); 5035 #else // PROTOBUF_CUSTOM_VTABLE 5036 ::size_t Info::ByteSizeLong() const { 5037 const Info& this_ = *this; 5038 #endif // PROTOBUF_CUSTOM_VTABLE 5039 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5040 ::size_t total_size = 0; 5041 5042 ::uint32_t cached_has_bits = 0; 5043 // Prevent compiler warnings about cached_has_bits being unused 5044 (void)cached_has_bits; 5045 5046 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5047 { 5048 // map<string, .google.protobuf.Value> extensions = 7; 5049 { 5050 total_size += 5051 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 5052 for (const auto& entry : this_._internal_extensions()) { 5053 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 5054 _pbi::WireFormatLite::TYPE_STRING, 5055 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 5056 } 5057 } 5058 } 5059 cached_has_bits = this_._impl_._has_bits_[0]; 5060 if ((cached_has_bits & 0x0000003fu) != 0) { 5061 // string title = 1; 5062 if ((cached_has_bits & 0x00000001u) != 0) { 5063 if (!this_._internal_title().empty()) { 5064 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5065 this_._internal_title()); 5066 } 5067 } 5068 // string description = 2; 5069 if ((cached_has_bits & 0x00000002u) != 0) { 5070 if (!this_._internal_description().empty()) { 5071 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5072 this_._internal_description()); 5073 } 5074 } 5075 // string terms_of_service = 3; 5076 if ((cached_has_bits & 0x00000004u) != 0) { 5077 if (!this_._internal_terms_of_service().empty()) { 5078 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5079 this_._internal_terms_of_service()); 5080 } 5081 } 5082 // string version = 6; 5083 if ((cached_has_bits & 0x00000008u) != 0) { 5084 if (!this_._internal_version().empty()) { 5085 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5086 this_._internal_version()); 5087 } 5088 } 5089 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 5090 if ((cached_has_bits & 0x00000010u) != 0) { 5091 total_size += 1 + 5092 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.contact_); 5093 } 5094 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 5095 if ((cached_has_bits & 0x00000020u) != 0) { 5096 total_size += 1 + 5097 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.license_); 5098 } 5099 } 5100 return this_.MaybeComputeUnknownFieldsSize(total_size, 5101 &this_._impl_._cached_size_); 5102 } 5103 5104 void Info::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5105 auto* const _this = static_cast<Info*>(&to_msg); 5106 auto& from = static_cast<const Info&>(from_msg); 5107 ::google::protobuf::Arena* arena = _this->GetArena(); 5108 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5109 ABSL_DCHECK_NE(&from, _this); 5110 ::uint32_t cached_has_bits = 0; 5111 (void) cached_has_bits; 5112 5113 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 5114 cached_has_bits = from._impl_._has_bits_[0]; 5115 if ((cached_has_bits & 0x0000003fu) != 0) { 5116 if ((cached_has_bits & 0x00000001u) != 0) { 5117 if (!from._internal_title().empty()) { 5118 _this->_internal_set_title(from._internal_title()); 5119 } else { 5120 if (_this->_impl_.title_.IsDefault()) { 5121 _this->_internal_set_title(""); 5122 } 5123 } 5124 } 5125 if ((cached_has_bits & 0x00000002u) != 0) { 5126 if (!from._internal_description().empty()) { 5127 _this->_internal_set_description(from._internal_description()); 5128 } else { 5129 if (_this->_impl_.description_.IsDefault()) { 5130 _this->_internal_set_description(""); 5131 } 5132 } 5133 } 5134 if ((cached_has_bits & 0x00000004u) != 0) { 5135 if (!from._internal_terms_of_service().empty()) { 5136 _this->_internal_set_terms_of_service(from._internal_terms_of_service()); 5137 } else { 5138 if (_this->_impl_.terms_of_service_.IsDefault()) { 5139 _this->_internal_set_terms_of_service(""); 5140 } 5141 } 5142 } 5143 if ((cached_has_bits & 0x00000008u) != 0) { 5144 if (!from._internal_version().empty()) { 5145 _this->_internal_set_version(from._internal_version()); 5146 } else { 5147 if (_this->_impl_.version_.IsDefault()) { 5148 _this->_internal_set_version(""); 5149 } 5150 } 5151 } 5152 if ((cached_has_bits & 0x00000010u) != 0) { 5153 ABSL_DCHECK(from._impl_.contact_ != nullptr); 5154 if (_this->_impl_.contact_ == nullptr) { 5155 _this->_impl_.contact_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.contact_); 5156 } else { 5157 _this->_impl_.contact_->MergeFrom(*from._impl_.contact_); 5158 } 5159 } 5160 if ((cached_has_bits & 0x00000020u) != 0) { 5161 ABSL_DCHECK(from._impl_.license_ != nullptr); 5162 if (_this->_impl_.license_ == nullptr) { 5163 _this->_impl_.license_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.license_); 5164 } else { 5165 _this->_impl_.license_->MergeFrom(*from._impl_.license_); 5166 } 5167 } 5168 } 5169 _this->_impl_._has_bits_[0] |= cached_has_bits; 5170 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5171 } 5172 5173 void Info::CopyFrom(const Info& from) { 5174 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5175 if (&from == this) return; 5176 Clear(); 5177 MergeFrom(from); 5178 } 5179 5180 5181 void Info::InternalSwap(Info* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5182 using ::std::swap; 5183 auto* arena = GetArena(); 5184 ABSL_DCHECK_EQ(arena, other->GetArena()); 5185 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5186 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5187 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 5188 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena); 5189 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 5190 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.terms_of_service_, &other->_impl_.terms_of_service_, arena); 5191 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, &other->_impl_.version_, arena); 5192 ::google::protobuf::internal::memswap< 5193 PROTOBUF_FIELD_OFFSET(Info, _impl_.license_) 5194 + sizeof(Info::_impl_.license_) 5195 - PROTOBUF_FIELD_OFFSET(Info, _impl_.contact_)>( 5196 reinterpret_cast<char*>(&_impl_.contact_), 5197 reinterpret_cast<char*>(&other->_impl_.contact_)); 5198 } 5199 5200 ::google::protobuf::Metadata Info::GetMetadata() const { 5201 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5202 } 5203 // =================================================================== 5204 5205 class Contact::_Internal { 5206 public: 5207 using HasBits = 5208 decltype(::std::declval<Contact>()._impl_._has_bits_); 5209 static constexpr ::int32_t kHasBitsOffset = 5210 8 * PROTOBUF_FIELD_OFFSET(Contact, _impl_._has_bits_); 5211 }; 5212 5213 Contact::Contact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5214 #if defined(PROTOBUF_CUSTOM_VTABLE) 5215 : ::google::protobuf::Message(arena, Contact_class_data_.base()) { 5216 #else // PROTOBUF_CUSTOM_VTABLE 5217 : ::google::protobuf::Message(arena) { 5218 #endif // PROTOBUF_CUSTOM_VTABLE 5219 SharedCtor(arena); 5220 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5221 } 5222 PROTOBUF_NDEBUG_INLINE Contact::Impl_::Impl_( 5223 ::google::protobuf::internal::InternalVisibility visibility, 5224 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5225 const ::grpc::gateway::protoc_gen_openapiv2::options::Contact& from_msg) 5226 : _has_bits_{from._has_bits_}, 5227 _cached_size_{0}, 5228 name_(arena, from.name_), 5229 url_(arena, from.url_), 5230 email_(arena, from.email_) {} 5231 5232 Contact::Contact( 5233 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 5234 const Contact& from) 5235 #if defined(PROTOBUF_CUSTOM_VTABLE) 5236 : ::google::protobuf::Message(arena, Contact_class_data_.base()) { 5237 #else // PROTOBUF_CUSTOM_VTABLE 5238 : ::google::protobuf::Message(arena) { 5239 #endif // PROTOBUF_CUSTOM_VTABLE 5240 Contact* const _this = this; 5241 (void)_this; 5242 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 5243 from._internal_metadata_); 5244 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 5245 5246 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5247 } 5248 PROTOBUF_NDEBUG_INLINE Contact::Impl_::Impl_( 5249 ::google::protobuf::internal::InternalVisibility visibility, 5250 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5251 : _cached_size_{0}, 5252 name_(arena), 5253 url_(arena), 5254 email_(arena) {} 5255 5256 inline void Contact::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 5257 new (&_impl_) Impl_(internal_visibility(), arena); 5258 } 5259 Contact::~Contact() { 5260 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5261 SharedDtor(*this); 5262 } 5263 inline void Contact::SharedDtor(MessageLite& self) { 5264 Contact& this_ = static_cast<Contact&>(self); 5265 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 5266 ABSL_DCHECK(this_.GetArena() == nullptr); 5267 this_._impl_.name_.Destroy(); 5268 this_._impl_.url_.Destroy(); 5269 this_._impl_.email_.Destroy(); 5270 this_._impl_.~Impl_(); 5271 } 5272 5273 inline void* PROTOBUF_NONNULL Contact::PlacementNew_( 5274 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5275 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 5276 return ::new (mem) Contact(arena); 5277 } 5278 constexpr auto Contact::InternalNewImpl_() { 5279 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Contact), 5280 alignof(Contact)); 5281 } 5282 constexpr auto Contact::InternalGenerateClassData_() { 5283 return ::google::protobuf::internal::ClassDataFull{ 5284 ::google::protobuf::internal::ClassData{ 5285 &_Contact_default_instance_._instance, 5286 &_table_.header, 5287 nullptr, // OnDemandRegisterArenaDtor 5288 nullptr, // IsInitialized 5289 &Contact::MergeImpl, 5290 ::google::protobuf::Message::GetNewImpl<Contact>(), 5291 #if defined(PROTOBUF_CUSTOM_VTABLE) 5292 &Contact::SharedDtor, 5293 ::google::protobuf::Message::GetClearImpl<Contact>(), &Contact::ByteSizeLong, 5294 &Contact::_InternalSerialize, 5295 #endif // PROTOBUF_CUSTOM_VTABLE 5296 PROTOBUF_FIELD_OFFSET(Contact, _impl_._cached_size_), 5297 false, 5298 }, 5299 &Contact::kDescriptorMethods, 5300 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 5301 nullptr, // tracker 5302 }; 5303 } 5304 5305 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 5306 ::google::protobuf::internal::ClassDataFull Contact_class_data_ = 5307 Contact::InternalGenerateClassData_(); 5308 5309 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 5310 Contact::GetClassData() const { 5311 ::google::protobuf::internal::PrefetchToLocalCache(&Contact_class_data_); 5312 ::google::protobuf::internal::PrefetchToLocalCache(Contact_class_data_.tc_table); 5313 return Contact_class_data_.base(); 5314 } 5315 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 5316 const ::_pbi::TcParseTable<2, 3, 0, 70, 2> 5317 Contact::_table_ = { 5318 { 5319 PROTOBUF_FIELD_OFFSET(Contact, _impl_._has_bits_), 5320 0, // no _extensions_ 5321 3, 24, // max_field_number, fast_idx_mask 5322 offsetof(decltype(_table_), field_lookup_table), 5323 4294967288, // skipmap 5324 offsetof(decltype(_table_), field_entries), 5325 3, // num_field_entries 5326 0, // num_aux_entries 5327 offsetof(decltype(_table_), field_names), // no aux_entries 5328 Contact_class_data_.base(), 5329 nullptr, // post_loop_handler 5330 ::_pbi::TcParser::GenericFallback, // fallback 5331 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 5332 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Contact>(), // to_prefetch 5333 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 5334 }, {{ 5335 {::_pbi::TcParser::MiniParse, {}}, 5336 // string name = 1; 5337 {::_pbi::TcParser::FastUS1, 5338 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Contact, _impl_.name_)}}, 5339 // string url = 2; 5340 {::_pbi::TcParser::FastUS1, 5341 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Contact, _impl_.url_)}}, 5342 // string email = 3; 5343 {::_pbi::TcParser::FastUS1, 5344 {26, 2, 0, PROTOBUF_FIELD_OFFSET(Contact, _impl_.email_)}}, 5345 }}, {{ 5346 65535, 65535 5347 }}, {{ 5348 // string name = 1; 5349 {PROTOBUF_FIELD_OFFSET(Contact, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, 5350 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5351 // string url = 2; 5352 {PROTOBUF_FIELD_OFFSET(Contact, _impl_.url_), _Internal::kHasBitsOffset + 1, 0, 5353 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5354 // string email = 3; 5355 {PROTOBUF_FIELD_OFFSET(Contact, _impl_.email_), _Internal::kHasBitsOffset + 2, 0, 5356 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5357 }}, 5358 // no aux_entries 5359 {{ 5360 "\61\4\3\5\0\0\0\0" 5361 "grpc.gateway.protoc_gen_openapiv2.options.Contact" 5362 "name" 5363 "url" 5364 "email" 5365 }}, 5366 }; 5367 PROTOBUF_NOINLINE void Contact::Clear() { 5368 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5369 ::google::protobuf::internal::TSanWrite(&_impl_); 5370 ::uint32_t cached_has_bits = 0; 5371 // Prevent compiler warnings about cached_has_bits being unused 5372 (void) cached_has_bits; 5373 5374 cached_has_bits = _impl_._has_bits_[0]; 5375 if ((cached_has_bits & 0x00000007u) != 0) { 5376 if ((cached_has_bits & 0x00000001u) != 0) { 5377 _impl_.name_.ClearNonDefaultToEmpty(); 5378 } 5379 if ((cached_has_bits & 0x00000002u) != 0) { 5380 _impl_.url_.ClearNonDefaultToEmpty(); 5381 } 5382 if ((cached_has_bits & 0x00000004u) != 0) { 5383 _impl_.email_.ClearNonDefaultToEmpty(); 5384 } 5385 } 5386 _impl_._has_bits_.Clear(); 5387 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 5388 } 5389 5390 #if defined(PROTOBUF_CUSTOM_VTABLE) 5391 ::uint8_t* PROTOBUF_NONNULL Contact::_InternalSerialize( 5392 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 5393 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 5394 const Contact& this_ = static_cast<const Contact&>(base); 5395 #else // PROTOBUF_CUSTOM_VTABLE 5396 ::uint8_t* PROTOBUF_NONNULL Contact::_InternalSerialize( 5397 ::uint8_t* PROTOBUF_NONNULL target, 5398 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5399 const Contact& this_ = *this; 5400 #endif // PROTOBUF_CUSTOM_VTABLE 5401 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5402 ::uint32_t cached_has_bits = 0; 5403 (void)cached_has_bits; 5404 5405 // string name = 1; 5406 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 5407 if (!this_._internal_name().empty()) { 5408 const ::std::string& _s = this_._internal_name(); 5409 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5410 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Contact.name"); 5411 target = stream->WriteStringMaybeAliased(1, _s, target); 5412 } 5413 } 5414 5415 // string url = 2; 5416 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 5417 if (!this_._internal_url().empty()) { 5418 const ::std::string& _s = this_._internal_url(); 5419 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5420 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Contact.url"); 5421 target = stream->WriteStringMaybeAliased(2, _s, target); 5422 } 5423 } 5424 5425 // string email = 3; 5426 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 5427 if (!this_._internal_email().empty()) { 5428 const ::std::string& _s = this_._internal_email(); 5429 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5430 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Contact.email"); 5431 target = stream->WriteStringMaybeAliased(3, _s, target); 5432 } 5433 } 5434 5435 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5436 target = 5437 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5438 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5439 } 5440 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5441 return target; 5442 } 5443 5444 #if defined(PROTOBUF_CUSTOM_VTABLE) 5445 ::size_t Contact::ByteSizeLong(const MessageLite& base) { 5446 const Contact& this_ = static_cast<const Contact&>(base); 5447 #else // PROTOBUF_CUSTOM_VTABLE 5448 ::size_t Contact::ByteSizeLong() const { 5449 const Contact& this_ = *this; 5450 #endif // PROTOBUF_CUSTOM_VTABLE 5451 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5452 ::size_t total_size = 0; 5453 5454 ::uint32_t cached_has_bits = 0; 5455 // Prevent compiler warnings about cached_has_bits being unused 5456 (void)cached_has_bits; 5457 5458 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5459 cached_has_bits = this_._impl_._has_bits_[0]; 5460 if ((cached_has_bits & 0x00000007u) != 0) { 5461 // string name = 1; 5462 if ((cached_has_bits & 0x00000001u) != 0) { 5463 if (!this_._internal_name().empty()) { 5464 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5465 this_._internal_name()); 5466 } 5467 } 5468 // string url = 2; 5469 if ((cached_has_bits & 0x00000002u) != 0) { 5470 if (!this_._internal_url().empty()) { 5471 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5472 this_._internal_url()); 5473 } 5474 } 5475 // string email = 3; 5476 if ((cached_has_bits & 0x00000004u) != 0) { 5477 if (!this_._internal_email().empty()) { 5478 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5479 this_._internal_email()); 5480 } 5481 } 5482 } 5483 return this_.MaybeComputeUnknownFieldsSize(total_size, 5484 &this_._impl_._cached_size_); 5485 } 5486 5487 void Contact::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5488 auto* const _this = static_cast<Contact*>(&to_msg); 5489 auto& from = static_cast<const Contact&>(from_msg); 5490 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5491 ABSL_DCHECK_NE(&from, _this); 5492 ::uint32_t cached_has_bits = 0; 5493 (void) cached_has_bits; 5494 5495 cached_has_bits = from._impl_._has_bits_[0]; 5496 if ((cached_has_bits & 0x00000007u) != 0) { 5497 if ((cached_has_bits & 0x00000001u) != 0) { 5498 if (!from._internal_name().empty()) { 5499 _this->_internal_set_name(from._internal_name()); 5500 } else { 5501 if (_this->_impl_.name_.IsDefault()) { 5502 _this->_internal_set_name(""); 5503 } 5504 } 5505 } 5506 if ((cached_has_bits & 0x00000002u) != 0) { 5507 if (!from._internal_url().empty()) { 5508 _this->_internal_set_url(from._internal_url()); 5509 } else { 5510 if (_this->_impl_.url_.IsDefault()) { 5511 _this->_internal_set_url(""); 5512 } 5513 } 5514 } 5515 if ((cached_has_bits & 0x00000004u) != 0) { 5516 if (!from._internal_email().empty()) { 5517 _this->_internal_set_email(from._internal_email()); 5518 } else { 5519 if (_this->_impl_.email_.IsDefault()) { 5520 _this->_internal_set_email(""); 5521 } 5522 } 5523 } 5524 } 5525 _this->_impl_._has_bits_[0] |= cached_has_bits; 5526 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5527 } 5528 5529 void Contact::CopyFrom(const Contact& from) { 5530 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5531 if (&from == this) return; 5532 Clear(); 5533 MergeFrom(from); 5534 } 5535 5536 5537 void Contact::InternalSwap(Contact* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5538 using ::std::swap; 5539 auto* arena = GetArena(); 5540 ABSL_DCHECK_EQ(arena, other->GetArena()); 5541 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5542 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5543 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 5544 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); 5545 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.email_, &other->_impl_.email_, arena); 5546 } 5547 5548 ::google::protobuf::Metadata Contact::GetMetadata() const { 5549 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5550 } 5551 // =================================================================== 5552 5553 class License::_Internal { 5554 public: 5555 using HasBits = 5556 decltype(::std::declval<License>()._impl_._has_bits_); 5557 static constexpr ::int32_t kHasBitsOffset = 5558 8 * PROTOBUF_FIELD_OFFSET(License, _impl_._has_bits_); 5559 }; 5560 5561 License::License(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5562 #if defined(PROTOBUF_CUSTOM_VTABLE) 5563 : ::google::protobuf::Message(arena, License_class_data_.base()) { 5564 #else // PROTOBUF_CUSTOM_VTABLE 5565 : ::google::protobuf::Message(arena) { 5566 #endif // PROTOBUF_CUSTOM_VTABLE 5567 SharedCtor(arena); 5568 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.License) 5569 } 5570 PROTOBUF_NDEBUG_INLINE License::Impl_::Impl_( 5571 ::google::protobuf::internal::InternalVisibility visibility, 5572 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5573 const ::grpc::gateway::protoc_gen_openapiv2::options::License& from_msg) 5574 : _has_bits_{from._has_bits_}, 5575 _cached_size_{0}, 5576 name_(arena, from.name_), 5577 url_(arena, from.url_) {} 5578 5579 License::License( 5580 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 5581 const License& from) 5582 #if defined(PROTOBUF_CUSTOM_VTABLE) 5583 : ::google::protobuf::Message(arena, License_class_data_.base()) { 5584 #else // PROTOBUF_CUSTOM_VTABLE 5585 : ::google::protobuf::Message(arena) { 5586 #endif // PROTOBUF_CUSTOM_VTABLE 5587 License* const _this = this; 5588 (void)_this; 5589 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 5590 from._internal_metadata_); 5591 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 5592 5593 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.License) 5594 } 5595 PROTOBUF_NDEBUG_INLINE License::Impl_::Impl_( 5596 ::google::protobuf::internal::InternalVisibility visibility, 5597 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5598 : _cached_size_{0}, 5599 name_(arena), 5600 url_(arena) {} 5601 5602 inline void License::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 5603 new (&_impl_) Impl_(internal_visibility(), arena); 5604 } 5605 License::~License() { 5606 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.License) 5607 SharedDtor(*this); 5608 } 5609 inline void License::SharedDtor(MessageLite& self) { 5610 License& this_ = static_cast<License&>(self); 5611 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 5612 ABSL_DCHECK(this_.GetArena() == nullptr); 5613 this_._impl_.name_.Destroy(); 5614 this_._impl_.url_.Destroy(); 5615 this_._impl_.~Impl_(); 5616 } 5617 5618 inline void* PROTOBUF_NONNULL License::PlacementNew_( 5619 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 5621 return ::new (mem) License(arena); 5622 } 5623 constexpr auto License::InternalNewImpl_() { 5624 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(License), 5625 alignof(License)); 5626 } 5627 constexpr auto License::InternalGenerateClassData_() { 5628 return ::google::protobuf::internal::ClassDataFull{ 5629 ::google::protobuf::internal::ClassData{ 5630 &_License_default_instance_._instance, 5631 &_table_.header, 5632 nullptr, // OnDemandRegisterArenaDtor 5633 nullptr, // IsInitialized 5634 &License::MergeImpl, 5635 ::google::protobuf::Message::GetNewImpl<License>(), 5636 #if defined(PROTOBUF_CUSTOM_VTABLE) 5637 &License::SharedDtor, 5638 ::google::protobuf::Message::GetClearImpl<License>(), &License::ByteSizeLong, 5639 &License::_InternalSerialize, 5640 #endif // PROTOBUF_CUSTOM_VTABLE 5641 PROTOBUF_FIELD_OFFSET(License, _impl_._cached_size_), 5642 false, 5643 }, 5644 &License::kDescriptorMethods, 5645 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 5646 nullptr, // tracker 5647 }; 5648 } 5649 5650 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 5651 ::google::protobuf::internal::ClassDataFull License_class_data_ = 5652 License::InternalGenerateClassData_(); 5653 5654 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 5655 License::GetClassData() const { 5656 ::google::protobuf::internal::PrefetchToLocalCache(&License_class_data_); 5657 ::google::protobuf::internal::PrefetchToLocalCache(License_class_data_.tc_table); 5658 return License_class_data_.base(); 5659 } 5660 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 5661 const ::_pbi::TcParseTable<1, 2, 0, 65, 2> 5662 License::_table_ = { 5663 { 5664 PROTOBUF_FIELD_OFFSET(License, _impl_._has_bits_), 5665 0, // no _extensions_ 5666 2, 8, // max_field_number, fast_idx_mask 5667 offsetof(decltype(_table_), field_lookup_table), 5668 4294967292, // skipmap 5669 offsetof(decltype(_table_), field_entries), 5670 2, // num_field_entries 5671 0, // num_aux_entries 5672 offsetof(decltype(_table_), field_names), // no aux_entries 5673 License_class_data_.base(), 5674 nullptr, // post_loop_handler 5675 ::_pbi::TcParser::GenericFallback, // fallback 5676 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 5677 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::License>(), // to_prefetch 5678 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 5679 }, {{ 5680 // string url = 2; 5681 {::_pbi::TcParser::FastUS1, 5682 {18, 1, 0, PROTOBUF_FIELD_OFFSET(License, _impl_.url_)}}, 5683 // string name = 1; 5684 {::_pbi::TcParser::FastUS1, 5685 {10, 0, 0, PROTOBUF_FIELD_OFFSET(License, _impl_.name_)}}, 5686 }}, {{ 5687 65535, 65535 5688 }}, {{ 5689 // string name = 1; 5690 {PROTOBUF_FIELD_OFFSET(License, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, 5691 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5692 // string url = 2; 5693 {PROTOBUF_FIELD_OFFSET(License, _impl_.url_), _Internal::kHasBitsOffset + 1, 0, 5694 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5695 }}, 5696 // no aux_entries 5697 {{ 5698 "\61\4\3\0\0\0\0\0" 5699 "grpc.gateway.protoc_gen_openapiv2.options.License" 5700 "name" 5701 "url" 5702 }}, 5703 }; 5704 PROTOBUF_NOINLINE void License::Clear() { 5705 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5706 ::google::protobuf::internal::TSanWrite(&_impl_); 5707 ::uint32_t cached_has_bits = 0; 5708 // Prevent compiler warnings about cached_has_bits being unused 5709 (void) cached_has_bits; 5710 5711 cached_has_bits = _impl_._has_bits_[0]; 5712 if ((cached_has_bits & 0x00000003u) != 0) { 5713 if ((cached_has_bits & 0x00000001u) != 0) { 5714 _impl_.name_.ClearNonDefaultToEmpty(); 5715 } 5716 if ((cached_has_bits & 0x00000002u) != 0) { 5717 _impl_.url_.ClearNonDefaultToEmpty(); 5718 } 5719 } 5720 _impl_._has_bits_.Clear(); 5721 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 5722 } 5723 5724 #if defined(PROTOBUF_CUSTOM_VTABLE) 5725 ::uint8_t* PROTOBUF_NONNULL License::_InternalSerialize( 5726 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 5727 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 5728 const License& this_ = static_cast<const License&>(base); 5729 #else // PROTOBUF_CUSTOM_VTABLE 5730 ::uint8_t* PROTOBUF_NONNULL License::_InternalSerialize( 5731 ::uint8_t* PROTOBUF_NONNULL target, 5732 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5733 const License& this_ = *this; 5734 #endif // PROTOBUF_CUSTOM_VTABLE 5735 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5736 ::uint32_t cached_has_bits = 0; 5737 (void)cached_has_bits; 5738 5739 // string name = 1; 5740 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 5741 if (!this_._internal_name().empty()) { 5742 const ::std::string& _s = this_._internal_name(); 5743 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5744 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.License.name"); 5745 target = stream->WriteStringMaybeAliased(1, _s, target); 5746 } 5747 } 5748 5749 // string url = 2; 5750 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 5751 if (!this_._internal_url().empty()) { 5752 const ::std::string& _s = this_._internal_url(); 5753 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5754 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.License.url"); 5755 target = stream->WriteStringMaybeAliased(2, _s, target); 5756 } 5757 } 5758 5759 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5760 target = 5761 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5762 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5763 } 5764 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.License) 5765 return target; 5766 } 5767 5768 #if defined(PROTOBUF_CUSTOM_VTABLE) 5769 ::size_t License::ByteSizeLong(const MessageLite& base) { 5770 const License& this_ = static_cast<const License&>(base); 5771 #else // PROTOBUF_CUSTOM_VTABLE 5772 ::size_t License::ByteSizeLong() const { 5773 const License& this_ = *this; 5774 #endif // PROTOBUF_CUSTOM_VTABLE 5775 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5776 ::size_t total_size = 0; 5777 5778 ::uint32_t cached_has_bits = 0; 5779 // Prevent compiler warnings about cached_has_bits being unused 5780 (void)cached_has_bits; 5781 5782 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5783 cached_has_bits = this_._impl_._has_bits_[0]; 5784 if ((cached_has_bits & 0x00000003u) != 0) { 5785 // string name = 1; 5786 if ((cached_has_bits & 0x00000001u) != 0) { 5787 if (!this_._internal_name().empty()) { 5788 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5789 this_._internal_name()); 5790 } 5791 } 5792 // string url = 2; 5793 if ((cached_has_bits & 0x00000002u) != 0) { 5794 if (!this_._internal_url().empty()) { 5795 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5796 this_._internal_url()); 5797 } 5798 } 5799 } 5800 return this_.MaybeComputeUnknownFieldsSize(total_size, 5801 &this_._impl_._cached_size_); 5802 } 5803 5804 void License::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5805 auto* const _this = static_cast<License*>(&to_msg); 5806 auto& from = static_cast<const License&>(from_msg); 5807 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5808 ABSL_DCHECK_NE(&from, _this); 5809 ::uint32_t cached_has_bits = 0; 5810 (void) cached_has_bits; 5811 5812 cached_has_bits = from._impl_._has_bits_[0]; 5813 if ((cached_has_bits & 0x00000003u) != 0) { 5814 if ((cached_has_bits & 0x00000001u) != 0) { 5815 if (!from._internal_name().empty()) { 5816 _this->_internal_set_name(from._internal_name()); 5817 } else { 5818 if (_this->_impl_.name_.IsDefault()) { 5819 _this->_internal_set_name(""); 5820 } 5821 } 5822 } 5823 if ((cached_has_bits & 0x00000002u) != 0) { 5824 if (!from._internal_url().empty()) { 5825 _this->_internal_set_url(from._internal_url()); 5826 } else { 5827 if (_this->_impl_.url_.IsDefault()) { 5828 _this->_internal_set_url(""); 5829 } 5830 } 5831 } 5832 } 5833 _this->_impl_._has_bits_[0] |= cached_has_bits; 5834 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5835 } 5836 5837 void License::CopyFrom(const License& from) { 5838 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5839 if (&from == this) return; 5840 Clear(); 5841 MergeFrom(from); 5842 } 5843 5844 5845 void License::InternalSwap(License* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5846 using ::std::swap; 5847 auto* arena = GetArena(); 5848 ABSL_DCHECK_EQ(arena, other->GetArena()); 5849 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5850 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5851 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 5852 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); 5853 } 5854 5855 ::google::protobuf::Metadata License::GetMetadata() const { 5856 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5857 } 5858 // =================================================================== 5859 5860 class ExternalDocumentation::_Internal { 5861 public: 5862 using HasBits = 5863 decltype(::std::declval<ExternalDocumentation>()._impl_._has_bits_); 5864 static constexpr ::int32_t kHasBitsOffset = 5865 8 * PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_._has_bits_); 5866 }; 5867 5868 ExternalDocumentation::ExternalDocumentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5869 #if defined(PROTOBUF_CUSTOM_VTABLE) 5870 : ::google::protobuf::Message(arena, ExternalDocumentation_class_data_.base()) { 5871 #else // PROTOBUF_CUSTOM_VTABLE 5872 : ::google::protobuf::Message(arena) { 5873 #endif // PROTOBUF_CUSTOM_VTABLE 5874 SharedCtor(arena); 5875 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 5876 } 5877 PROTOBUF_NDEBUG_INLINE ExternalDocumentation::Impl_::Impl_( 5878 ::google::protobuf::internal::InternalVisibility visibility, 5879 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5880 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& from_msg) 5881 : _has_bits_{from._has_bits_}, 5882 _cached_size_{0}, 5883 description_(arena, from.description_), 5884 url_(arena, from.url_) {} 5885 5886 ExternalDocumentation::ExternalDocumentation( 5887 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 5888 const ExternalDocumentation& from) 5889 #if defined(PROTOBUF_CUSTOM_VTABLE) 5890 : ::google::protobuf::Message(arena, ExternalDocumentation_class_data_.base()) { 5891 #else // PROTOBUF_CUSTOM_VTABLE 5892 : ::google::protobuf::Message(arena) { 5893 #endif // PROTOBUF_CUSTOM_VTABLE 5894 ExternalDocumentation* const _this = this; 5895 (void)_this; 5896 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 5897 from._internal_metadata_); 5898 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 5899 5900 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 5901 } 5902 PROTOBUF_NDEBUG_INLINE ExternalDocumentation::Impl_::Impl_( 5903 ::google::protobuf::internal::InternalVisibility visibility, 5904 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5905 : _cached_size_{0}, 5906 description_(arena), 5907 url_(arena) {} 5908 5909 inline void ExternalDocumentation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 5910 new (&_impl_) Impl_(internal_visibility(), arena); 5911 } 5912 ExternalDocumentation::~ExternalDocumentation() { 5913 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 5914 SharedDtor(*this); 5915 } 5916 inline void ExternalDocumentation::SharedDtor(MessageLite& self) { 5917 ExternalDocumentation& this_ = static_cast<ExternalDocumentation&>(self); 5918 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 5919 ABSL_DCHECK(this_.GetArena() == nullptr); 5920 this_._impl_.description_.Destroy(); 5921 this_._impl_.url_.Destroy(); 5922 this_._impl_.~Impl_(); 5923 } 5924 5925 inline void* PROTOBUF_NONNULL ExternalDocumentation::PlacementNew_( 5926 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5927 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 5928 return ::new (mem) ExternalDocumentation(arena); 5929 } 5930 constexpr auto ExternalDocumentation::InternalNewImpl_() { 5931 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExternalDocumentation), 5932 alignof(ExternalDocumentation)); 5933 } 5934 constexpr auto ExternalDocumentation::InternalGenerateClassData_() { 5935 return ::google::protobuf::internal::ClassDataFull{ 5936 ::google::protobuf::internal::ClassData{ 5937 &_ExternalDocumentation_default_instance_._instance, 5938 &_table_.header, 5939 nullptr, // OnDemandRegisterArenaDtor 5940 nullptr, // IsInitialized 5941 &ExternalDocumentation::MergeImpl, 5942 ::google::protobuf::Message::GetNewImpl<ExternalDocumentation>(), 5943 #if defined(PROTOBUF_CUSTOM_VTABLE) 5944 &ExternalDocumentation::SharedDtor, 5945 ::google::protobuf::Message::GetClearImpl<ExternalDocumentation>(), &ExternalDocumentation::ByteSizeLong, 5946 &ExternalDocumentation::_InternalSerialize, 5947 #endif // PROTOBUF_CUSTOM_VTABLE 5948 PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_._cached_size_), 5949 false, 5950 }, 5951 &ExternalDocumentation::kDescriptorMethods, 5952 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 5953 nullptr, // tracker 5954 }; 5955 } 5956 5957 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 5958 ::google::protobuf::internal::ClassDataFull ExternalDocumentation_class_data_ = 5959 ExternalDocumentation::InternalGenerateClassData_(); 5960 5961 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 5962 ExternalDocumentation::GetClassData() const { 5963 ::google::protobuf::internal::PrefetchToLocalCache(&ExternalDocumentation_class_data_); 5964 ::google::protobuf::internal::PrefetchToLocalCache(ExternalDocumentation_class_data_.tc_table); 5965 return ExternalDocumentation_class_data_.base(); 5966 } 5967 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 5968 const ::_pbi::TcParseTable<1, 2, 0, 86, 2> 5969 ExternalDocumentation::_table_ = { 5970 { 5971 PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_._has_bits_), 5972 0, // no _extensions_ 5973 2, 8, // max_field_number, fast_idx_mask 5974 offsetof(decltype(_table_), field_lookup_table), 5975 4294967292, // skipmap 5976 offsetof(decltype(_table_), field_entries), 5977 2, // num_field_entries 5978 0, // num_aux_entries 5979 offsetof(decltype(_table_), field_names), // no aux_entries 5980 ExternalDocumentation_class_data_.base(), 5981 nullptr, // post_loop_handler 5982 ::_pbi::TcParser::GenericFallback, // fallback 5983 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 5984 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>(), // to_prefetch 5985 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 5986 }, {{ 5987 // string url = 2; 5988 {::_pbi::TcParser::FastUS1, 5989 {18, 1, 0, PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.url_)}}, 5990 // string description = 1; 5991 {::_pbi::TcParser::FastUS1, 5992 {10, 0, 0, PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.description_)}}, 5993 }}, {{ 5994 65535, 65535 5995 }}, {{ 5996 // string description = 1; 5997 {PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 5998 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5999 // string url = 2; 6000 {PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.url_), _Internal::kHasBitsOffset + 1, 0, 6001 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6002 }}, 6003 // no aux_entries 6004 {{ 6005 "\77\13\3\0\0\0\0\0" 6006 "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation" 6007 "description" 6008 "url" 6009 }}, 6010 }; 6011 PROTOBUF_NOINLINE void ExternalDocumentation::Clear() { 6012 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6013 ::google::protobuf::internal::TSanWrite(&_impl_); 6014 ::uint32_t cached_has_bits = 0; 6015 // Prevent compiler warnings about cached_has_bits being unused 6016 (void) cached_has_bits; 6017 6018 cached_has_bits = _impl_._has_bits_[0]; 6019 if ((cached_has_bits & 0x00000003u) != 0) { 6020 if ((cached_has_bits & 0x00000001u) != 0) { 6021 _impl_.description_.ClearNonDefaultToEmpty(); 6022 } 6023 if ((cached_has_bits & 0x00000002u) != 0) { 6024 _impl_.url_.ClearNonDefaultToEmpty(); 6025 } 6026 } 6027 _impl_._has_bits_.Clear(); 6028 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 6029 } 6030 6031 #if defined(PROTOBUF_CUSTOM_VTABLE) 6032 ::uint8_t* PROTOBUF_NONNULL ExternalDocumentation::_InternalSerialize( 6033 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 6034 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 6035 const ExternalDocumentation& this_ = static_cast<const ExternalDocumentation&>(base); 6036 #else // PROTOBUF_CUSTOM_VTABLE 6037 ::uint8_t* PROTOBUF_NONNULL ExternalDocumentation::_InternalSerialize( 6038 ::uint8_t* PROTOBUF_NONNULL target, 6039 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 6040 const ExternalDocumentation& this_ = *this; 6041 #endif // PROTOBUF_CUSTOM_VTABLE 6042 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6043 ::uint32_t cached_has_bits = 0; 6044 (void)cached_has_bits; 6045 6046 // string description = 1; 6047 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 6048 if (!this_._internal_description().empty()) { 6049 const ::std::string& _s = this_._internal_description(); 6050 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6051 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description"); 6052 target = stream->WriteStringMaybeAliased(1, _s, target); 6053 } 6054 } 6055 6056 // string url = 2; 6057 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 6058 if (!this_._internal_url().empty()) { 6059 const ::std::string& _s = this_._internal_url(); 6060 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6061 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url"); 6062 target = stream->WriteStringMaybeAliased(2, _s, target); 6063 } 6064 } 6065 6066 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 6067 target = 6068 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 6069 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 6070 } 6071 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6072 return target; 6073 } 6074 6075 #if defined(PROTOBUF_CUSTOM_VTABLE) 6076 ::size_t ExternalDocumentation::ByteSizeLong(const MessageLite& base) { 6077 const ExternalDocumentation& this_ = static_cast<const ExternalDocumentation&>(base); 6078 #else // PROTOBUF_CUSTOM_VTABLE 6079 ::size_t ExternalDocumentation::ByteSizeLong() const { 6080 const ExternalDocumentation& this_ = *this; 6081 #endif // PROTOBUF_CUSTOM_VTABLE 6082 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6083 ::size_t total_size = 0; 6084 6085 ::uint32_t cached_has_bits = 0; 6086 // Prevent compiler warnings about cached_has_bits being unused 6087 (void)cached_has_bits; 6088 6089 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 6090 cached_has_bits = this_._impl_._has_bits_[0]; 6091 if ((cached_has_bits & 0x00000003u) != 0) { 6092 // string description = 1; 6093 if ((cached_has_bits & 0x00000001u) != 0) { 6094 if (!this_._internal_description().empty()) { 6095 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6096 this_._internal_description()); 6097 } 6098 } 6099 // string url = 2; 6100 if ((cached_has_bits & 0x00000002u) != 0) { 6101 if (!this_._internal_url().empty()) { 6102 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6103 this_._internal_url()); 6104 } 6105 } 6106 } 6107 return this_.MaybeComputeUnknownFieldsSize(total_size, 6108 &this_._impl_._cached_size_); 6109 } 6110 6111 void ExternalDocumentation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 6112 auto* const _this = static_cast<ExternalDocumentation*>(&to_msg); 6113 auto& from = static_cast<const ExternalDocumentation&>(from_msg); 6114 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6115 ABSL_DCHECK_NE(&from, _this); 6116 ::uint32_t cached_has_bits = 0; 6117 (void) cached_has_bits; 6118 6119 cached_has_bits = from._impl_._has_bits_[0]; 6120 if ((cached_has_bits & 0x00000003u) != 0) { 6121 if ((cached_has_bits & 0x00000001u) != 0) { 6122 if (!from._internal_description().empty()) { 6123 _this->_internal_set_description(from._internal_description()); 6124 } else { 6125 if (_this->_impl_.description_.IsDefault()) { 6126 _this->_internal_set_description(""); 6127 } 6128 } 6129 } 6130 if ((cached_has_bits & 0x00000002u) != 0) { 6131 if (!from._internal_url().empty()) { 6132 _this->_internal_set_url(from._internal_url()); 6133 } else { 6134 if (_this->_impl_.url_.IsDefault()) { 6135 _this->_internal_set_url(""); 6136 } 6137 } 6138 } 6139 } 6140 _this->_impl_._has_bits_[0] |= cached_has_bits; 6141 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 6142 } 6143 6144 void ExternalDocumentation::CopyFrom(const ExternalDocumentation& from) { 6145 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6146 if (&from == this) return; 6147 Clear(); 6148 MergeFrom(from); 6149 } 6150 6151 6152 void ExternalDocumentation::InternalSwap(ExternalDocumentation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 6153 using ::std::swap; 6154 auto* arena = GetArena(); 6155 ABSL_DCHECK_EQ(arena, other->GetArena()); 6156 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 6157 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 6158 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 6159 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); 6160 } 6161 6162 ::google::protobuf::Metadata ExternalDocumentation::GetMetadata() const { 6163 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 6164 } 6165 // =================================================================== 6166 6167 class Schema::_Internal { 6168 public: 6169 using HasBits = 6170 decltype(::std::declval<Schema>()._impl_._has_bits_); 6171 static constexpr ::int32_t kHasBitsOffset = 6172 8 * PROTOBUF_FIELD_OFFSET(Schema, _impl_._has_bits_); 6173 }; 6174 6175 Schema::Schema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6176 #if defined(PROTOBUF_CUSTOM_VTABLE) 6177 : ::google::protobuf::Message(arena, Schema_class_data_.base()) { 6178 #else // PROTOBUF_CUSTOM_VTABLE 6179 : ::google::protobuf::Message(arena) { 6180 #endif // PROTOBUF_CUSTOM_VTABLE 6181 SharedCtor(arena); 6182 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6183 } 6184 PROTOBUF_NDEBUG_INLINE Schema::Impl_::Impl_( 6185 ::google::protobuf::internal::InternalVisibility visibility, 6186 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 6187 const ::grpc::gateway::protoc_gen_openapiv2::options::Schema& from_msg) 6188 : _has_bits_{from._has_bits_}, 6189 _cached_size_{0}, 6190 discriminator_(arena, from.discriminator_), 6191 example_(arena, from.example_) {} 6192 6193 Schema::Schema( 6194 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 6195 const Schema& from) 6196 #if defined(PROTOBUF_CUSTOM_VTABLE) 6197 : ::google::protobuf::Message(arena, Schema_class_data_.base()) { 6198 #else // PROTOBUF_CUSTOM_VTABLE 6199 : ::google::protobuf::Message(arena) { 6200 #endif // PROTOBUF_CUSTOM_VTABLE 6201 Schema* const _this = this; 6202 (void)_this; 6203 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 6204 from._internal_metadata_); 6205 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 6206 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 6207 _impl_.json_schema_ = ((cached_has_bits & 0x00000004u) != 0) 6208 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.json_schema_) 6209 : nullptr; 6210 _impl_.external_docs_ = ((cached_has_bits & 0x00000008u) != 0) 6211 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 6212 : nullptr; 6213 _impl_.read_only_ = from._impl_.read_only_; 6214 6215 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6216 } 6217 PROTOBUF_NDEBUG_INLINE Schema::Impl_::Impl_( 6218 ::google::protobuf::internal::InternalVisibility visibility, 6219 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6220 : _cached_size_{0}, 6221 discriminator_(arena), 6222 example_(arena) {} 6223 6224 inline void Schema::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 6225 new (&_impl_) Impl_(internal_visibility(), arena); 6226 ::memset(reinterpret_cast<char *>(&_impl_) + 6227 offsetof(Impl_, json_schema_), 6228 0, 6229 offsetof(Impl_, read_only_) - 6230 offsetof(Impl_, json_schema_) + 6231 sizeof(Impl_::read_only_)); 6232 } 6233 Schema::~Schema() { 6234 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6235 SharedDtor(*this); 6236 } 6237 inline void Schema::SharedDtor(MessageLite& self) { 6238 Schema& this_ = static_cast<Schema&>(self); 6239 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 6240 ABSL_DCHECK(this_.GetArena() == nullptr); 6241 this_._impl_.discriminator_.Destroy(); 6242 this_._impl_.example_.Destroy(); 6243 delete this_._impl_.json_schema_; 6244 delete this_._impl_.external_docs_; 6245 this_._impl_.~Impl_(); 6246 } 6247 6248 inline void* PROTOBUF_NONNULL Schema::PlacementNew_( 6249 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 6250 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 6251 return ::new (mem) Schema(arena); 6252 } 6253 constexpr auto Schema::InternalNewImpl_() { 6254 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Schema), 6255 alignof(Schema)); 6256 } 6257 constexpr auto Schema::InternalGenerateClassData_() { 6258 return ::google::protobuf::internal::ClassDataFull{ 6259 ::google::protobuf::internal::ClassData{ 6260 &_Schema_default_instance_._instance, 6261 &_table_.header, 6262 nullptr, // OnDemandRegisterArenaDtor 6263 nullptr, // IsInitialized 6264 &Schema::MergeImpl, 6265 ::google::protobuf::Message::GetNewImpl<Schema>(), 6266 #if defined(PROTOBUF_CUSTOM_VTABLE) 6267 &Schema::SharedDtor, 6268 ::google::protobuf::Message::GetClearImpl<Schema>(), &Schema::ByteSizeLong, 6269 &Schema::_InternalSerialize, 6270 #endif // PROTOBUF_CUSTOM_VTABLE 6271 PROTOBUF_FIELD_OFFSET(Schema, _impl_._cached_size_), 6272 false, 6273 }, 6274 &Schema::kDescriptorMethods, 6275 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 6276 nullptr, // tracker 6277 }; 6278 } 6279 6280 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 6281 ::google::protobuf::internal::ClassDataFull Schema_class_data_ = 6282 Schema::InternalGenerateClassData_(); 6283 6284 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 6285 Schema::GetClassData() const { 6286 ::google::protobuf::internal::PrefetchToLocalCache(&Schema_class_data_); 6287 ::google::protobuf::internal::PrefetchToLocalCache(Schema_class_data_.tc_table); 6288 return Schema_class_data_.base(); 6289 } 6290 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 6291 const ::_pbi::TcParseTable<3, 5, 2, 77, 2> 6292 Schema::_table_ = { 6293 { 6294 PROTOBUF_FIELD_OFFSET(Schema, _impl_._has_bits_), 6295 0, // no _extensions_ 6296 6, 56, // max_field_number, fast_idx_mask 6297 offsetof(decltype(_table_), field_lookup_table), 6298 4294967240, // skipmap 6299 offsetof(decltype(_table_), field_entries), 6300 5, // num_field_entries 6301 2, // num_aux_entries 6302 offsetof(decltype(_table_), aux_entries), 6303 Schema_class_data_.base(), 6304 nullptr, // post_loop_handler 6305 ::_pbi::TcParser::GenericFallback, // fallback 6306 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 6307 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Schema>(), // to_prefetch 6308 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 6309 }, {{ 6310 {::_pbi::TcParser::MiniParse, {}}, 6311 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6312 {::_pbi::TcParser::FastMtS1, 6313 {10, 2, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.json_schema_)}}, 6314 // string discriminator = 2; 6315 {::_pbi::TcParser::FastUS1, 6316 {18, 0, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.discriminator_)}}, 6317 // bool read_only = 3; 6318 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Schema, _impl_.read_only_), 4>(), 6319 {24, 4, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.read_only_)}}, 6320 {::_pbi::TcParser::MiniParse, {}}, 6321 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6322 {::_pbi::TcParser::FastMtS1, 6323 {42, 3, 1, PROTOBUF_FIELD_OFFSET(Schema, _impl_.external_docs_)}}, 6324 // string example = 6; 6325 {::_pbi::TcParser::FastUS1, 6326 {50, 1, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.example_)}}, 6327 {::_pbi::TcParser::MiniParse, {}}, 6328 }}, {{ 6329 65535, 65535 6330 }}, {{ 6331 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6332 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.json_schema_), _Internal::kHasBitsOffset + 2, 0, 6333 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 6334 // string discriminator = 2; 6335 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.discriminator_), _Internal::kHasBitsOffset + 0, 0, 6336 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6337 // bool read_only = 3; 6338 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.read_only_), _Internal::kHasBitsOffset + 4, 0, 6339 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 6340 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6341 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.external_docs_), _Internal::kHasBitsOffset + 3, 1, 6342 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 6343 // string example = 6; 6344 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.example_), _Internal::kHasBitsOffset + 1, 0, 6345 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6346 }}, 6347 {{ 6348 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema>()}, 6349 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 6350 }}, 6351 {{ 6352 "\60\0\15\0\0\7\0\0" 6353 "grpc.gateway.protoc_gen_openapiv2.options.Schema" 6354 "discriminator" 6355 "example" 6356 }}, 6357 }; 6358 PROTOBUF_NOINLINE void Schema::Clear() { 6359 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6360 ::google::protobuf::internal::TSanWrite(&_impl_); 6361 ::uint32_t cached_has_bits = 0; 6362 // Prevent compiler warnings about cached_has_bits being unused 6363 (void) cached_has_bits; 6364 6365 cached_has_bits = _impl_._has_bits_[0]; 6366 if ((cached_has_bits & 0x0000000fu) != 0) { 6367 if ((cached_has_bits & 0x00000001u) != 0) { 6368 _impl_.discriminator_.ClearNonDefaultToEmpty(); 6369 } 6370 if ((cached_has_bits & 0x00000002u) != 0) { 6371 _impl_.example_.ClearNonDefaultToEmpty(); 6372 } 6373 if ((cached_has_bits & 0x00000004u) != 0) { 6374 ABSL_DCHECK(_impl_.json_schema_ != nullptr); 6375 _impl_.json_schema_->Clear(); 6376 } 6377 if ((cached_has_bits & 0x00000008u) != 0) { 6378 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 6379 _impl_.external_docs_->Clear(); 6380 } 6381 } 6382 _impl_.read_only_ = false; 6383 _impl_._has_bits_.Clear(); 6384 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 6385 } 6386 6387 #if defined(PROTOBUF_CUSTOM_VTABLE) 6388 ::uint8_t* PROTOBUF_NONNULL Schema::_InternalSerialize( 6389 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 6390 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 6391 const Schema& this_ = static_cast<const Schema&>(base); 6392 #else // PROTOBUF_CUSTOM_VTABLE 6393 ::uint8_t* PROTOBUF_NONNULL Schema::_InternalSerialize( 6394 ::uint8_t* PROTOBUF_NONNULL target, 6395 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 6396 const Schema& this_ = *this; 6397 #endif // PROTOBUF_CUSTOM_VTABLE 6398 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6399 ::uint32_t cached_has_bits = 0; 6400 (void)cached_has_bits; 6401 6402 cached_has_bits = this_._impl_._has_bits_[0]; 6403 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6404 if ((cached_has_bits & 0x00000004u) != 0) { 6405 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 6406 1, *this_._impl_.json_schema_, this_._impl_.json_schema_->GetCachedSize(), target, 6407 stream); 6408 } 6409 6410 // string discriminator = 2; 6411 if ((cached_has_bits & 0x00000001u) != 0) { 6412 if (!this_._internal_discriminator().empty()) { 6413 const ::std::string& _s = this_._internal_discriminator(); 6414 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6415 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator"); 6416 target = stream->WriteStringMaybeAliased(2, _s, target); 6417 } 6418 } 6419 6420 // bool read_only = 3; 6421 if ((cached_has_bits & 0x00000010u) != 0) { 6422 if (this_._internal_read_only() != 0) { 6423 target = stream->EnsureSpace(target); 6424 target = ::_pbi::WireFormatLite::WriteBoolToArray( 6425 3, this_._internal_read_only(), target); 6426 } 6427 } 6428 6429 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6430 if ((cached_has_bits & 0x00000008u) != 0) { 6431 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 6432 5, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 6433 stream); 6434 } 6435 6436 // string example = 6; 6437 if ((cached_has_bits & 0x00000002u) != 0) { 6438 if (!this_._internal_example().empty()) { 6439 const ::std::string& _s = this_._internal_example(); 6440 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6441 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Schema.example"); 6442 target = stream->WriteStringMaybeAliased(6, _s, target); 6443 } 6444 } 6445 6446 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 6447 target = 6448 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 6449 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 6450 } 6451 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6452 return target; 6453 } 6454 6455 #if defined(PROTOBUF_CUSTOM_VTABLE) 6456 ::size_t Schema::ByteSizeLong(const MessageLite& base) { 6457 const Schema& this_ = static_cast<const Schema&>(base); 6458 #else // PROTOBUF_CUSTOM_VTABLE 6459 ::size_t Schema::ByteSizeLong() const { 6460 const Schema& this_ = *this; 6461 #endif // PROTOBUF_CUSTOM_VTABLE 6462 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6463 ::size_t total_size = 0; 6464 6465 ::uint32_t cached_has_bits = 0; 6466 // Prevent compiler warnings about cached_has_bits being unused 6467 (void)cached_has_bits; 6468 6469 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 6470 cached_has_bits = this_._impl_._has_bits_[0]; 6471 if ((cached_has_bits & 0x0000001fu) != 0) { 6472 // string discriminator = 2; 6473 if ((cached_has_bits & 0x00000001u) != 0) { 6474 if (!this_._internal_discriminator().empty()) { 6475 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6476 this_._internal_discriminator()); 6477 } 6478 } 6479 // string example = 6; 6480 if ((cached_has_bits & 0x00000002u) != 0) { 6481 if (!this_._internal_example().empty()) { 6482 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6483 this_._internal_example()); 6484 } 6485 } 6486 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6487 if ((cached_has_bits & 0x00000004u) != 0) { 6488 total_size += 1 + 6489 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.json_schema_); 6490 } 6491 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6492 if ((cached_has_bits & 0x00000008u) != 0) { 6493 total_size += 1 + 6494 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 6495 } 6496 // bool read_only = 3; 6497 if ((cached_has_bits & 0x00000010u) != 0) { 6498 if (this_._internal_read_only() != 0) { 6499 total_size += 2; 6500 } 6501 } 6502 } 6503 return this_.MaybeComputeUnknownFieldsSize(total_size, 6504 &this_._impl_._cached_size_); 6505 } 6506 6507 void Schema::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 6508 auto* const _this = static_cast<Schema*>(&to_msg); 6509 auto& from = static_cast<const Schema&>(from_msg); 6510 ::google::protobuf::Arena* arena = _this->GetArena(); 6511 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6512 ABSL_DCHECK_NE(&from, _this); 6513 ::uint32_t cached_has_bits = 0; 6514 (void) cached_has_bits; 6515 6516 cached_has_bits = from._impl_._has_bits_[0]; 6517 if ((cached_has_bits & 0x0000001fu) != 0) { 6518 if ((cached_has_bits & 0x00000001u) != 0) { 6519 if (!from._internal_discriminator().empty()) { 6520 _this->_internal_set_discriminator(from._internal_discriminator()); 6521 } else { 6522 if (_this->_impl_.discriminator_.IsDefault()) { 6523 _this->_internal_set_discriminator(""); 6524 } 6525 } 6526 } 6527 if ((cached_has_bits & 0x00000002u) != 0) { 6528 if (!from._internal_example().empty()) { 6529 _this->_internal_set_example(from._internal_example()); 6530 } else { 6531 if (_this->_impl_.example_.IsDefault()) { 6532 _this->_internal_set_example(""); 6533 } 6534 } 6535 } 6536 if ((cached_has_bits & 0x00000004u) != 0) { 6537 ABSL_DCHECK(from._impl_.json_schema_ != nullptr); 6538 if (_this->_impl_.json_schema_ == nullptr) { 6539 _this->_impl_.json_schema_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.json_schema_); 6540 } else { 6541 _this->_impl_.json_schema_->MergeFrom(*from._impl_.json_schema_); 6542 } 6543 } 6544 if ((cached_has_bits & 0x00000008u) != 0) { 6545 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 6546 if (_this->_impl_.external_docs_ == nullptr) { 6547 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 6548 } else { 6549 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 6550 } 6551 } 6552 if ((cached_has_bits & 0x00000010u) != 0) { 6553 if (from._internal_read_only() != 0) { 6554 _this->_impl_.read_only_ = from._impl_.read_only_; 6555 } 6556 } 6557 } 6558 _this->_impl_._has_bits_[0] |= cached_has_bits; 6559 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 6560 } 6561 6562 void Schema::CopyFrom(const Schema& from) { 6563 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6564 if (&from == this) return; 6565 Clear(); 6566 MergeFrom(from); 6567 } 6568 6569 6570 void Schema::InternalSwap(Schema* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 6571 using ::std::swap; 6572 auto* arena = GetArena(); 6573 ABSL_DCHECK_EQ(arena, other->GetArena()); 6574 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 6575 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 6576 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.discriminator_, &other->_impl_.discriminator_, arena); 6577 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.example_, &other->_impl_.example_, arena); 6578 ::google::protobuf::internal::memswap< 6579 PROTOBUF_FIELD_OFFSET(Schema, _impl_.read_only_) 6580 + sizeof(Schema::_impl_.read_only_) 6581 - PROTOBUF_FIELD_OFFSET(Schema, _impl_.json_schema_)>( 6582 reinterpret_cast<char*>(&_impl_.json_schema_), 6583 reinterpret_cast<char*>(&other->_impl_.json_schema_)); 6584 } 6585 6586 ::google::protobuf::Metadata Schema::GetMetadata() const { 6587 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 6588 } 6589 // =================================================================== 6590 6591 class JSONSchema_FieldConfiguration::_Internal { 6592 public: 6593 using HasBits = 6594 decltype(::std::declval<JSONSchema_FieldConfiguration>()._impl_._has_bits_); 6595 static constexpr ::int32_t kHasBitsOffset = 6596 8 * PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_._has_bits_); 6597 }; 6598 6599 JSONSchema_FieldConfiguration::JSONSchema_FieldConfiguration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6600 #if defined(PROTOBUF_CUSTOM_VTABLE) 6601 : ::google::protobuf::Message(arena, JSONSchema_FieldConfiguration_class_data_.base()) { 6602 #else // PROTOBUF_CUSTOM_VTABLE 6603 : ::google::protobuf::Message(arena) { 6604 #endif // PROTOBUF_CUSTOM_VTABLE 6605 SharedCtor(arena); 6606 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6607 } 6608 PROTOBUF_NDEBUG_INLINE JSONSchema_FieldConfiguration::Impl_::Impl_( 6609 ::google::protobuf::internal::InternalVisibility visibility, 6610 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 6611 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration& from_msg) 6612 : _has_bits_{from._has_bits_}, 6613 _cached_size_{0}, 6614 path_param_name_(arena, from.path_param_name_) {} 6615 6616 JSONSchema_FieldConfiguration::JSONSchema_FieldConfiguration( 6617 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 6618 const JSONSchema_FieldConfiguration& from) 6619 #if defined(PROTOBUF_CUSTOM_VTABLE) 6620 : ::google::protobuf::Message(arena, JSONSchema_FieldConfiguration_class_data_.base()) { 6621 #else // PROTOBUF_CUSTOM_VTABLE 6622 : ::google::protobuf::Message(arena) { 6623 #endif // PROTOBUF_CUSTOM_VTABLE 6624 JSONSchema_FieldConfiguration* const _this = this; 6625 (void)_this; 6626 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 6627 from._internal_metadata_); 6628 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 6629 6630 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6631 } 6632 PROTOBUF_NDEBUG_INLINE JSONSchema_FieldConfiguration::Impl_::Impl_( 6633 ::google::protobuf::internal::InternalVisibility visibility, 6634 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6635 : _cached_size_{0}, 6636 path_param_name_(arena) {} 6637 6638 inline void JSONSchema_FieldConfiguration::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 6639 new (&_impl_) Impl_(internal_visibility(), arena); 6640 } 6641 JSONSchema_FieldConfiguration::~JSONSchema_FieldConfiguration() { 6642 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6643 SharedDtor(*this); 6644 } 6645 inline void JSONSchema_FieldConfiguration::SharedDtor(MessageLite& self) { 6646 JSONSchema_FieldConfiguration& this_ = static_cast<JSONSchema_FieldConfiguration&>(self); 6647 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 6648 ABSL_DCHECK(this_.GetArena() == nullptr); 6649 this_._impl_.path_param_name_.Destroy(); 6650 this_._impl_.~Impl_(); 6651 } 6652 6653 inline void* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::PlacementNew_( 6654 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 6655 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 6656 return ::new (mem) JSONSchema_FieldConfiguration(arena); 6657 } 6658 constexpr auto JSONSchema_FieldConfiguration::InternalNewImpl_() { 6659 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JSONSchema_FieldConfiguration), 6660 alignof(JSONSchema_FieldConfiguration)); 6661 } 6662 constexpr auto JSONSchema_FieldConfiguration::InternalGenerateClassData_() { 6663 return ::google::protobuf::internal::ClassDataFull{ 6664 ::google::protobuf::internal::ClassData{ 6665 &_JSONSchema_FieldConfiguration_default_instance_._instance, 6666 &_table_.header, 6667 nullptr, // OnDemandRegisterArenaDtor 6668 nullptr, // IsInitialized 6669 &JSONSchema_FieldConfiguration::MergeImpl, 6670 ::google::protobuf::Message::GetNewImpl<JSONSchema_FieldConfiguration>(), 6671 #if defined(PROTOBUF_CUSTOM_VTABLE) 6672 &JSONSchema_FieldConfiguration::SharedDtor, 6673 ::google::protobuf::Message::GetClearImpl<JSONSchema_FieldConfiguration>(), &JSONSchema_FieldConfiguration::ByteSizeLong, 6674 &JSONSchema_FieldConfiguration::_InternalSerialize, 6675 #endif // PROTOBUF_CUSTOM_VTABLE 6676 PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_._cached_size_), 6677 false, 6678 }, 6679 &JSONSchema_FieldConfiguration::kDescriptorMethods, 6680 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 6681 nullptr, // tracker 6682 }; 6683 } 6684 6685 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 6686 ::google::protobuf::internal::ClassDataFull JSONSchema_FieldConfiguration_class_data_ = 6687 JSONSchema_FieldConfiguration::InternalGenerateClassData_(); 6688 6689 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 6690 JSONSchema_FieldConfiguration::GetClassData() const { 6691 ::google::protobuf::internal::PrefetchToLocalCache(&JSONSchema_FieldConfiguration_class_data_); 6692 ::google::protobuf::internal::PrefetchToLocalCache(JSONSchema_FieldConfiguration_class_data_.tc_table); 6693 return JSONSchema_FieldConfiguration_class_data_.base(); 6694 } 6695 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 6696 const ::_pbi::TcParseTable<0, 1, 0, 95, 7> 6697 JSONSchema_FieldConfiguration::_table_ = { 6698 { 6699 PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_._has_bits_), 6700 0, // no _extensions_ 6701 47, 0, // max_field_number, fast_idx_mask 6702 offsetof(decltype(_table_), field_lookup_table), 6703 4294967295, // skipmap 6704 offsetof(decltype(_table_), field_entries), 6705 1, // num_field_entries 6706 0, // num_aux_entries 6707 offsetof(decltype(_table_), field_names), // no aux_entries 6708 JSONSchema_FieldConfiguration_class_data_.base(), 6709 nullptr, // post_loop_handler 6710 ::_pbi::TcParser::GenericFallback, // fallback 6711 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 6712 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration>(), // to_prefetch 6713 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 6714 }, {{ 6715 // string path_param_name = 47; 6716 {::_pbi::TcParser::FastUS2, 6717 {762, 0, 0, PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_.path_param_name_)}}, 6718 }}, {{ 6719 47, 0, 1, 6720 65534, 0, 6721 65535, 65535 6722 }}, {{ 6723 // string path_param_name = 47; 6724 {PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_.path_param_name_), _Internal::kHasBitsOffset + 0, 0, 6725 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6726 }}, 6727 // no aux_entries 6728 {{ 6729 "\107\17\0\0\0\0\0\0" 6730 "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration" 6731 "path_param_name" 6732 }}, 6733 }; 6734 PROTOBUF_NOINLINE void JSONSchema_FieldConfiguration::Clear() { 6735 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6736 ::google::protobuf::internal::TSanWrite(&_impl_); 6737 ::uint32_t cached_has_bits = 0; 6738 // Prevent compiler warnings about cached_has_bits being unused 6739 (void) cached_has_bits; 6740 6741 cached_has_bits = _impl_._has_bits_[0]; 6742 if ((cached_has_bits & 0x00000001u) != 0) { 6743 _impl_.path_param_name_.ClearNonDefaultToEmpty(); 6744 } 6745 _impl_._has_bits_.Clear(); 6746 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 6747 } 6748 6749 #if defined(PROTOBUF_CUSTOM_VTABLE) 6750 ::uint8_t* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::_InternalSerialize( 6751 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 6752 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 6753 const JSONSchema_FieldConfiguration& this_ = static_cast<const JSONSchema_FieldConfiguration&>(base); 6754 #else // PROTOBUF_CUSTOM_VTABLE 6755 ::uint8_t* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::_InternalSerialize( 6756 ::uint8_t* PROTOBUF_NONNULL target, 6757 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 6758 const JSONSchema_FieldConfiguration& this_ = *this; 6759 #endif // PROTOBUF_CUSTOM_VTABLE 6760 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6761 ::uint32_t cached_has_bits = 0; 6762 (void)cached_has_bits; 6763 6764 // string path_param_name = 47; 6765 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 6766 if (!this_._internal_path_param_name().empty()) { 6767 const ::std::string& _s = this_._internal_path_param_name(); 6768 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6769 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name"); 6770 target = stream->WriteStringMaybeAliased(47, _s, target); 6771 } 6772 } 6773 6774 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 6775 target = 6776 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 6777 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 6778 } 6779 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6780 return target; 6781 } 6782 6783 #if defined(PROTOBUF_CUSTOM_VTABLE) 6784 ::size_t JSONSchema_FieldConfiguration::ByteSizeLong(const MessageLite& base) { 6785 const JSONSchema_FieldConfiguration& this_ = static_cast<const JSONSchema_FieldConfiguration&>(base); 6786 #else // PROTOBUF_CUSTOM_VTABLE 6787 ::size_t JSONSchema_FieldConfiguration::ByteSizeLong() const { 6788 const JSONSchema_FieldConfiguration& this_ = *this; 6789 #endif // PROTOBUF_CUSTOM_VTABLE 6790 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6791 ::size_t total_size = 0; 6792 6793 ::uint32_t cached_has_bits = 0; 6794 // Prevent compiler warnings about cached_has_bits being unused 6795 (void)cached_has_bits; 6796 6797 { 6798 // string path_param_name = 47; 6799 cached_has_bits = this_._impl_._has_bits_[0]; 6800 if ((cached_has_bits & 0x00000001u) != 0) { 6801 if (!this_._internal_path_param_name().empty()) { 6802 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( 6803 this_._internal_path_param_name()); 6804 } 6805 } 6806 } 6807 return this_.MaybeComputeUnknownFieldsSize(total_size, 6808 &this_._impl_._cached_size_); 6809 } 6810 6811 void JSONSchema_FieldConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 6812 auto* const _this = static_cast<JSONSchema_FieldConfiguration*>(&to_msg); 6813 auto& from = static_cast<const JSONSchema_FieldConfiguration&>(from_msg); 6814 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6815 ABSL_DCHECK_NE(&from, _this); 6816 ::uint32_t cached_has_bits = 0; 6817 (void) cached_has_bits; 6818 6819 cached_has_bits = from._impl_._has_bits_[0]; 6820 if ((cached_has_bits & 0x00000001u) != 0) { 6821 if (!from._internal_path_param_name().empty()) { 6822 _this->_internal_set_path_param_name(from._internal_path_param_name()); 6823 } else { 6824 if (_this->_impl_.path_param_name_.IsDefault()) { 6825 _this->_internal_set_path_param_name(""); 6826 } 6827 } 6828 } 6829 _this->_impl_._has_bits_[0] |= cached_has_bits; 6830 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 6831 } 6832 6833 void JSONSchema_FieldConfiguration::CopyFrom(const JSONSchema_FieldConfiguration& from) { 6834 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6835 if (&from == this) return; 6836 Clear(); 6837 MergeFrom(from); 6838 } 6839 6840 6841 void JSONSchema_FieldConfiguration::InternalSwap(JSONSchema_FieldConfiguration* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 6842 using ::std::swap; 6843 auto* arena = GetArena(); 6844 ABSL_DCHECK_EQ(arena, other->GetArena()); 6845 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 6846 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 6847 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_param_name_, &other->_impl_.path_param_name_, arena); 6848 } 6849 6850 ::google::protobuf::Metadata JSONSchema_FieldConfiguration::GetMetadata() const { 6851 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 6852 } 6853 // =================================================================== 6854 6855 #if defined(PROTOBUF_CUSTOM_VTABLE) 6856 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse() 6857 : SuperType(JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base()) {} 6858 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6859 : SuperType(arena, JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base()) {} 6860 #else // PROTOBUF_CUSTOM_VTABLE 6861 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse() : SuperType() {} 6862 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 6863 #endif // PROTOBUF_CUSTOM_VTABLE 6864 inline void* PROTOBUF_NONNULL JSONSchema_ExtensionsEntry_DoNotUse::PlacementNew_( 6865 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 6866 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 6867 return ::new (mem) JSONSchema_ExtensionsEntry_DoNotUse(arena); 6868 } 6869 constexpr auto JSONSchema_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 6870 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JSONSchema_ExtensionsEntry_DoNotUse), 6871 alignof(JSONSchema_ExtensionsEntry_DoNotUse)); 6872 } 6873 constexpr auto JSONSchema_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 6874 return ::google::protobuf::internal::ClassDataFull{ 6875 ::google::protobuf::internal::ClassData{ 6876 &_JSONSchema_ExtensionsEntry_DoNotUse_default_instance_._instance, 6877 &_table_.header, 6878 nullptr, // OnDemandRegisterArenaDtor 6879 nullptr, // IsInitialized 6880 &JSONSchema_ExtensionsEntry_DoNotUse::MergeImpl, 6881 ::google::protobuf::Message::GetNewImpl<JSONSchema_ExtensionsEntry_DoNotUse>(), 6882 #if defined(PROTOBUF_CUSTOM_VTABLE) 6883 &JSONSchema_ExtensionsEntry_DoNotUse::SharedDtor, 6884 static_cast<void (::google::protobuf::MessageLite::*)()>(&JSONSchema_ExtensionsEntry_DoNotUse::ClearImpl), 6885 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 6886 , 6887 #endif // PROTOBUF_CUSTOM_VTABLE 6888 PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 6889 false, 6890 }, 6891 &JSONSchema_ExtensionsEntry_DoNotUse::kDescriptorMethods, 6892 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 6893 nullptr, // tracker 6894 }; 6895 } 6896 6897 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 6898 ::google::protobuf::internal::ClassDataFull JSONSchema_ExtensionsEntry_DoNotUse_class_data_ = 6899 JSONSchema_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 6900 6901 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 6902 JSONSchema_ExtensionsEntry_DoNotUse::GetClassData() const { 6903 ::google::protobuf::internal::PrefetchToLocalCache(&JSONSchema_ExtensionsEntry_DoNotUse_class_data_); 6904 ::google::protobuf::internal::PrefetchToLocalCache(JSONSchema_ExtensionsEntry_DoNotUse_class_data_.tc_table); 6905 return JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base(); 6906 } 6907 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 6908 const ::_pbi::TcParseTable<1, 2, 1, 80, 2> 6909 JSONSchema_ExtensionsEntry_DoNotUse::_table_ = { 6910 { 6911 PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 6912 0, // no _extensions_ 6913 2, 8, // max_field_number, fast_idx_mask 6914 offsetof(decltype(_table_), field_lookup_table), 6915 4294967292, // skipmap 6916 offsetof(decltype(_table_), field_entries), 6917 2, // num_field_entries 6918 1, // num_aux_entries 6919 offsetof(decltype(_table_), aux_entries), 6920 JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base(), 6921 nullptr, // post_loop_handler 6922 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 6923 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 6924 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse>(), // to_prefetch 6925 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 6926 }, {{ 6927 // .google.protobuf.Value value = 2; 6928 {::_pbi::TcParser::FastMtS1, 6929 {18, 1, 0, PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 6930 // string key = 1; 6931 {::_pbi::TcParser::FastUS1, 6932 {10, 0, 0, PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 6933 }}, {{ 6934 65535, 65535 6935 }}, {{ 6936 // string key = 1; 6937 {PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 6938 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6939 // .google.protobuf.Value value = 2; 6940 {PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 6941 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 6942 }}, 6943 {{ 6944 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 6945 }}, 6946 {{ 6947 "\104\3\0\0\0\0\0\0" 6948 "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry" 6949 "key" 6950 }}, 6951 }; 6952 // =================================================================== 6953 6954 class JSONSchema::_Internal { 6955 public: 6956 using HasBits = 6957 decltype(::std::declval<JSONSchema>()._impl_._has_bits_); 6958 static constexpr ::int32_t kHasBitsOffset = 6959 8 * PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_._has_bits_); 6960 }; 6961 6962 void JSONSchema::clear_extensions() { 6963 ::google::protobuf::internal::TSanWrite(&_impl_); 6964 _impl_.extensions_.Clear(); 6965 } 6966 JSONSchema::JSONSchema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6967 #if defined(PROTOBUF_CUSTOM_VTABLE) 6968 : ::google::protobuf::Message(arena, JSONSchema_class_data_.base()) { 6969 #else // PROTOBUF_CUSTOM_VTABLE 6970 : ::google::protobuf::Message(arena) { 6971 #endif // PROTOBUF_CUSTOM_VTABLE 6972 SharedCtor(arena); 6973 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 6974 } 6975 PROTOBUF_NDEBUG_INLINE JSONSchema::Impl_::Impl_( 6976 ::google::protobuf::internal::InternalVisibility visibility, 6977 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 6978 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema& from_msg) 6979 : _has_bits_{from._has_bits_}, 6980 _cached_size_{0}, 6981 required_{visibility, arena, from.required_}, 6982 array_{visibility, arena, from.array_}, 6983 type_{visibility, arena, from.type_}, 6984 _type_cached_byte_size_{0}, 6985 enum__{visibility, arena, from.enum__}, 6986 extensions_{visibility, arena, from.extensions_}, 6987 ref_(arena, from.ref_), 6988 title_(arena, from.title_), 6989 description_(arena, from.description_), 6990 default__(arena, from.default__), 6991 example_(arena, from.example_), 6992 pattern_(arena, from.pattern_), 6993 format_(arena, from.format_) {} 6994 6995 JSONSchema::JSONSchema( 6996 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 6997 const JSONSchema& from) 6998 #if defined(PROTOBUF_CUSTOM_VTABLE) 6999 : ::google::protobuf::Message(arena, JSONSchema_class_data_.base()) { 7000 #else // PROTOBUF_CUSTOM_VTABLE 7001 : ::google::protobuf::Message(arena) { 7002 #endif // PROTOBUF_CUSTOM_VTABLE 7003 JSONSchema* const _this = this; 7004 (void)_this; 7005 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 7006 from._internal_metadata_); 7007 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 7008 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 7009 _impl_.field_configuration_ = ((cached_has_bits & 0x00000080u) != 0) 7010 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.field_configuration_) 7011 : nullptr; 7012 ::memcpy(reinterpret_cast<char *>(&_impl_) + 7013 offsetof(Impl_, multiple_of_), 7014 reinterpret_cast<const char *>(&from._impl_) + 7015 offsetof(Impl_, multiple_of_), 7016 offsetof(Impl_, unique_items_) - 7017 offsetof(Impl_, multiple_of_) + 7018 sizeof(Impl_::unique_items_)); 7019 7020 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7021 } 7022 PROTOBUF_NDEBUG_INLINE JSONSchema::Impl_::Impl_( 7023 ::google::protobuf::internal::InternalVisibility visibility, 7024 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 7025 : _cached_size_{0}, 7026 required_{visibility, arena}, 7027 array_{visibility, arena}, 7028 type_{visibility, arena}, 7029 _type_cached_byte_size_{0}, 7030 enum__{visibility, arena}, 7031 extensions_{visibility, arena}, 7032 ref_(arena), 7033 title_(arena), 7034 description_(arena), 7035 default__(arena), 7036 example_(arena), 7037 pattern_(arena), 7038 format_(arena) {} 7039 7040 inline void JSONSchema::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 7041 new (&_impl_) Impl_(internal_visibility(), arena); 7042 ::memset(reinterpret_cast<char *>(&_impl_) + 7043 offsetof(Impl_, field_configuration_), 7044 0, 7045 offsetof(Impl_, unique_items_) - 7046 offsetof(Impl_, field_configuration_) + 7047 sizeof(Impl_::unique_items_)); 7048 } 7049 JSONSchema::~JSONSchema() { 7050 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7051 SharedDtor(*this); 7052 } 7053 inline void JSONSchema::SharedDtor(MessageLite& self) { 7054 JSONSchema& this_ = static_cast<JSONSchema&>(self); 7055 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 7056 ABSL_DCHECK(this_.GetArena() == nullptr); 7057 this_._impl_.ref_.Destroy(); 7058 this_._impl_.title_.Destroy(); 7059 this_._impl_.description_.Destroy(); 7060 this_._impl_.default__.Destroy(); 7061 this_._impl_.example_.Destroy(); 7062 this_._impl_.pattern_.Destroy(); 7063 this_._impl_.format_.Destroy(); 7064 delete this_._impl_.field_configuration_; 7065 this_._impl_.~Impl_(); 7066 } 7067 7068 inline void* PROTOBUF_NONNULL JSONSchema::PlacementNew_( 7069 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 7070 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 7071 return ::new (mem) JSONSchema(arena); 7072 } 7073 constexpr auto JSONSchema::InternalNewImpl_() { 7074 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 7075 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.required_) + 7076 decltype(JSONSchema::_impl_.required_):: 7077 InternalGetArenaOffset( 7078 ::google::protobuf::Message::internal_visibility()), 7079 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.array_) + 7080 decltype(JSONSchema::_impl_.array_):: 7081 InternalGetArenaOffset( 7082 ::google::protobuf::Message::internal_visibility()), 7083 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.type_) + 7084 decltype(JSONSchema::_impl_.type_):: 7085 InternalGetArenaOffset( 7086 ::google::protobuf::Message::internal_visibility()), 7087 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.enum__) + 7088 decltype(JSONSchema::_impl_.enum__):: 7089 InternalGetArenaOffset( 7090 ::google::protobuf::Message::internal_visibility()), 7091 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.extensions_) + 7092 decltype(JSONSchema::_impl_.extensions_):: 7093 InternalGetArenaOffset( 7094 ::google::protobuf::Message::internal_visibility()), 7095 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.extensions_) + 7096 decltype(JSONSchema::_impl_.extensions_):: 7097 InternalGetArenaOffsetAlt( 7098 ::google::protobuf::Message::internal_visibility()), 7099 }); 7100 if (arena_bits.has_value()) { 7101 return ::google::protobuf::internal::MessageCreator::CopyInit( 7102 sizeof(JSONSchema), alignof(JSONSchema), *arena_bits); 7103 } else { 7104 return ::google::protobuf::internal::MessageCreator(&JSONSchema::PlacementNew_, 7105 sizeof(JSONSchema), 7106 alignof(JSONSchema)); 7107 } 7108 } 7109 constexpr auto JSONSchema::InternalGenerateClassData_() { 7110 return ::google::protobuf::internal::ClassDataFull{ 7111 ::google::protobuf::internal::ClassData{ 7112 &_JSONSchema_default_instance_._instance, 7113 &_table_.header, 7114 nullptr, // OnDemandRegisterArenaDtor 7115 nullptr, // IsInitialized 7116 &JSONSchema::MergeImpl, 7117 ::google::protobuf::Message::GetNewImpl<JSONSchema>(), 7118 #if defined(PROTOBUF_CUSTOM_VTABLE) 7119 &JSONSchema::SharedDtor, 7120 ::google::protobuf::Message::GetClearImpl<JSONSchema>(), &JSONSchema::ByteSizeLong, 7121 &JSONSchema::_InternalSerialize, 7122 #endif // PROTOBUF_CUSTOM_VTABLE 7123 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_._cached_size_), 7124 false, 7125 }, 7126 &JSONSchema::kDescriptorMethods, 7127 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 7128 nullptr, // tracker 7129 }; 7130 } 7131 7132 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 7133 ::google::protobuf::internal::ClassDataFull JSONSchema_class_data_ = 7134 JSONSchema::InternalGenerateClassData_(); 7135 7136 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 7137 JSONSchema::GetClassData() const { 7138 ::google::protobuf::internal::PrefetchToLocalCache(&JSONSchema_class_data_); 7139 ::google::protobuf::internal::PrefetchToLocalCache(JSONSchema_class_data_.tc_table); 7140 return JSONSchema_class_data_.base(); 7141 } 7142 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 7143 const ::_pbi::TcParseTable<5, 26, 3, 158, 12> 7144 JSONSchema::_table_ = { 7145 { 7146 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_._has_bits_), 7147 0, // no _extensions_ 7148 1001, 248, // max_field_number, fast_idx_mask 7149 offsetof(decltype(_table_), field_lookup_table), 7150 4232445963, // skipmap 7151 offsetof(decltype(_table_), field_entries), 7152 26, // num_field_entries 7153 3, // num_aux_entries 7154 offsetof(decltype(_table_), aux_entries), 7155 JSONSchema_class_data_.base(), 7156 nullptr, // post_loop_handler 7157 ::_pbi::TcParser::GenericFallback, // fallback 7158 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 7159 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema>(), // to_prefetch 7160 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 7161 }, {{ 7162 {::_pbi::TcParser::MiniParse, {}}, 7163 {::_pbi::TcParser::MiniParse, {}}, 7164 {::_pbi::TcParser::MiniParse, {}}, 7165 // string ref = 3; 7166 {::_pbi::TcParser::FastUS1, 7167 {26, 0, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.ref_)}}, 7168 {::_pbi::TcParser::MiniParse, {}}, 7169 // string title = 5; 7170 {::_pbi::TcParser::FastUS1, 7171 {42, 1, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.title_)}}, 7172 // string description = 6; 7173 {::_pbi::TcParser::FastUS1, 7174 {50, 2, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.description_)}}, 7175 // string default = 7; 7176 {::_pbi::TcParser::FastUS1, 7177 {58, 3, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.default__)}}, 7178 // bool read_only = 8; 7179 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JSONSchema, _impl_.read_only_), 17>(), 7180 {64, 17, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.read_only_)}}, 7181 // string example = 9; 7182 {::_pbi::TcParser::FastUS1, 7183 {74, 4, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.example_)}}, 7184 // double multiple_of = 10; 7185 {::_pbi::TcParser::FastF64S1, 7186 {81, 8, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.multiple_of_)}}, 7187 // double maximum = 11; 7188 {::_pbi::TcParser::FastF64S1, 7189 {89, 9, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.maximum_)}}, 7190 // bool exclusive_maximum = 12; 7191 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JSONSchema, _impl_.exclusive_maximum_), 18>(), 7192 {96, 18, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_maximum_)}}, 7193 // double minimum = 13; 7194 {::_pbi::TcParser::FastF64S1, 7195 {105, 10, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.minimum_)}}, 7196 // bool exclusive_minimum = 14; 7197 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JSONSchema, _impl_.exclusive_minimum_), 19>(), 7198 {112, 19, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_minimum_)}}, 7199 // uint64 max_length = 15; 7200 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JSONSchema, _impl_.max_length_), 11>(), 7201 {120, 11, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_length_)}}, 7202 // uint64 min_length = 16; 7203 {::_pbi::TcParser::FastV64S2, 7204 {384, 12, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_length_)}}, 7205 // string pattern = 17; 7206 {::_pbi::TcParser::FastUS2, 7207 {394, 5, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.pattern_)}}, 7208 // repeated string array = 34; 7209 {::_pbi::TcParser::FastUR2, 7210 {658, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.array_)}}, 7211 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7212 {::_pbi::TcParser::FastV32P2, 7213 {666, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.type_)}}, 7214 // uint64 max_items = 20; 7215 {::_pbi::TcParser::FastV64S2, 7216 {416, 13, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_items_)}}, 7217 // uint64 min_items = 21; 7218 {::_pbi::TcParser::FastV64S2, 7219 {424, 14, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_items_)}}, 7220 // bool unique_items = 22; 7221 {::_pbi::TcParser::FastV8S2, 7222 {432, 20, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.unique_items_)}}, 7223 {::_pbi::TcParser::MiniParse, {}}, 7224 // uint64 max_properties = 24; 7225 {::_pbi::TcParser::FastV64S2, 7226 {448, 15, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_properties_)}}, 7227 // uint64 min_properties = 25; 7228 {::_pbi::TcParser::FastV64S2, 7229 {456, 16, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_properties_)}}, 7230 // repeated string required = 26; 7231 {::_pbi::TcParser::FastUR2, 7232 {466, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.required_)}}, 7233 {::_pbi::TcParser::MiniParse, {}}, 7234 {::_pbi::TcParser::MiniParse, {}}, 7235 {::_pbi::TcParser::MiniParse, {}}, 7236 // repeated string enum = 46; 7237 {::_pbi::TcParser::FastUR2, 7238 {754, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.enum__)}}, 7239 {::_pbi::TcParser::MiniParse, {}}, 7240 }}, {{ 7241 34, 0, 1, 7242 45048, 20, 7243 1001, 0, 1, 7244 65534, 25, 7245 65535, 65535 7246 }}, {{ 7247 // string ref = 3; 7248 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.ref_), _Internal::kHasBitsOffset + 0, 0, 7249 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7250 // string title = 5; 7251 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, 7252 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7253 // string description = 6; 7254 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.description_), _Internal::kHasBitsOffset + 2, 0, 7255 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7256 // string default = 7; 7257 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.default__), _Internal::kHasBitsOffset + 3, 0, 7258 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7259 // bool read_only = 8; 7260 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.read_only_), _Internal::kHasBitsOffset + 17, 0, 7261 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7262 // string example = 9; 7263 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.example_), _Internal::kHasBitsOffset + 4, 0, 7264 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7265 // double multiple_of = 10; 7266 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.multiple_of_), _Internal::kHasBitsOffset + 8, 0, 7267 (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, 7268 // double maximum = 11; 7269 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.maximum_), _Internal::kHasBitsOffset + 9, 0, 7270 (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, 7271 // bool exclusive_maximum = 12; 7272 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_maximum_), _Internal::kHasBitsOffset + 18, 0, 7273 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7274 // double minimum = 13; 7275 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.minimum_), _Internal::kHasBitsOffset + 10, 0, 7276 (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, 7277 // bool exclusive_minimum = 14; 7278 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_minimum_), _Internal::kHasBitsOffset + 19, 0, 7279 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7280 // uint64 max_length = 15; 7281 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_length_), _Internal::kHasBitsOffset + 11, 0, 7282 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7283 // uint64 min_length = 16; 7284 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_length_), _Internal::kHasBitsOffset + 12, 0, 7285 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7286 // string pattern = 17; 7287 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.pattern_), _Internal::kHasBitsOffset + 5, 0, 7288 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7289 // uint64 max_items = 20; 7290 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_items_), _Internal::kHasBitsOffset + 13, 0, 7291 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7292 // uint64 min_items = 21; 7293 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_items_), _Internal::kHasBitsOffset + 14, 0, 7294 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7295 // bool unique_items = 22; 7296 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.unique_items_), _Internal::kHasBitsOffset + 20, 0, 7297 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7298 // uint64 max_properties = 24; 7299 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_properties_), _Internal::kHasBitsOffset + 15, 0, 7300 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7301 // uint64 min_properties = 25; 7302 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_properties_), _Internal::kHasBitsOffset + 16, 0, 7303 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7304 // repeated string required = 26; 7305 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.required_), -1, 0, 7306 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 7307 // repeated string array = 34; 7308 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.array_), -1, 0, 7309 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 7310 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7311 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.type_), -1, 0, 7312 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, 7313 // string format = 36; 7314 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.format_), _Internal::kHasBitsOffset + 6, 0, 7315 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7316 // repeated string enum = 46; 7317 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.enum__), -1, 0, 7318 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 7319 // map<string, .google.protobuf.Value> extensions = 48; 7320 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.extensions_), -1, 1, 7321 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 7322 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 7323 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.field_configuration_), _Internal::kHasBitsOffset + 7, 0, 7324 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 7325 }}, 7326 {{ 7327 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration>()}, 7328 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 7329 9, 11, 7330 0)}, 7331 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 7332 }}, 7333 {{ 7334 "\64\3\5\13\7\0\7\0\0\0\0\0\0\0\7\0\0\0\0\0\10\5\0\6\4\12\0\0\0\0\0\0" 7335 "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema" 7336 "ref" 7337 "title" 7338 "description" 7339 "default" 7340 "example" 7341 "pattern" 7342 "required" 7343 "array" 7344 "format" 7345 "enum" 7346 "extensions" 7347 }}, 7348 }; 7349 PROTOBUF_NOINLINE void JSONSchema::Clear() { 7350 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7351 ::google::protobuf::internal::TSanWrite(&_impl_); 7352 ::uint32_t cached_has_bits = 0; 7353 // Prevent compiler warnings about cached_has_bits being unused 7354 (void) cached_has_bits; 7355 7356 _impl_.required_.Clear(); 7357 _impl_.array_.Clear(); 7358 _impl_.type_.Clear(); 7359 _impl_.enum__.Clear(); 7360 _impl_.extensions_.Clear(); 7361 cached_has_bits = _impl_._has_bits_[0]; 7362 if ((cached_has_bits & 0x000000ffu) != 0) { 7363 if ((cached_has_bits & 0x00000001u) != 0) { 7364 _impl_.ref_.ClearNonDefaultToEmpty(); 7365 } 7366 if ((cached_has_bits & 0x00000002u) != 0) { 7367 _impl_.title_.ClearNonDefaultToEmpty(); 7368 } 7369 if ((cached_has_bits & 0x00000004u) != 0) { 7370 _impl_.description_.ClearNonDefaultToEmpty(); 7371 } 7372 if ((cached_has_bits & 0x00000008u) != 0) { 7373 _impl_.default__.ClearNonDefaultToEmpty(); 7374 } 7375 if ((cached_has_bits & 0x00000010u) != 0) { 7376 _impl_.example_.ClearNonDefaultToEmpty(); 7377 } 7378 if ((cached_has_bits & 0x00000020u) != 0) { 7379 _impl_.pattern_.ClearNonDefaultToEmpty(); 7380 } 7381 if ((cached_has_bits & 0x00000040u) != 0) { 7382 _impl_.format_.ClearNonDefaultToEmpty(); 7383 } 7384 if ((cached_has_bits & 0x00000080u) != 0) { 7385 ABSL_DCHECK(_impl_.field_configuration_ != nullptr); 7386 _impl_.field_configuration_->Clear(); 7387 } 7388 } 7389 if ((cached_has_bits & 0x0000ff00u) != 0) { 7390 ::memset(&_impl_.multiple_of_, 0, static_cast<::size_t>( 7391 reinterpret_cast<char*>(&_impl_.max_properties_) - 7392 reinterpret_cast<char*>(&_impl_.multiple_of_)) + sizeof(_impl_.max_properties_)); 7393 } 7394 if ((cached_has_bits & 0x001f0000u) != 0) { 7395 ::memset(&_impl_.min_properties_, 0, static_cast<::size_t>( 7396 reinterpret_cast<char*>(&_impl_.unique_items_) - 7397 reinterpret_cast<char*>(&_impl_.min_properties_)) + sizeof(_impl_.unique_items_)); 7398 } 7399 _impl_._has_bits_.Clear(); 7400 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 7401 } 7402 7403 #if defined(PROTOBUF_CUSTOM_VTABLE) 7404 ::uint8_t* PROTOBUF_NONNULL JSONSchema::_InternalSerialize( 7405 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 7406 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 7407 const JSONSchema& this_ = static_cast<const JSONSchema&>(base); 7408 #else // PROTOBUF_CUSTOM_VTABLE 7409 ::uint8_t* PROTOBUF_NONNULL JSONSchema::_InternalSerialize( 7410 ::uint8_t* PROTOBUF_NONNULL target, 7411 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 7412 const JSONSchema& this_ = *this; 7413 #endif // PROTOBUF_CUSTOM_VTABLE 7414 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7415 ::uint32_t cached_has_bits = 0; 7416 (void)cached_has_bits; 7417 7418 // string ref = 3; 7419 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 7420 if (!this_._internal_ref().empty()) { 7421 const ::std::string& _s = this_._internal_ref(); 7422 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7423 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref"); 7424 target = stream->WriteStringMaybeAliased(3, _s, target); 7425 } 7426 } 7427 7428 // string title = 5; 7429 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 7430 if (!this_._internal_title().empty()) { 7431 const ::std::string& _s = this_._internal_title(); 7432 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7433 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title"); 7434 target = stream->WriteStringMaybeAliased(5, _s, target); 7435 } 7436 } 7437 7438 // string description = 6; 7439 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 7440 if (!this_._internal_description().empty()) { 7441 const ::std::string& _s = this_._internal_description(); 7442 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7443 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description"); 7444 target = stream->WriteStringMaybeAliased(6, _s, target); 7445 } 7446 } 7447 7448 // string default = 7; 7449 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 7450 if (!this_._internal_default_().empty()) { 7451 const ::std::string& _s = this_._internal_default_(); 7452 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7453 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default"); 7454 target = stream->WriteStringMaybeAliased(7, _s, target); 7455 } 7456 } 7457 7458 // bool read_only = 8; 7459 if ((this_._impl_._has_bits_[0] & 0x00020000u) != 0) { 7460 if (this_._internal_read_only() != 0) { 7461 target = stream->EnsureSpace(target); 7462 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7463 8, this_._internal_read_only(), target); 7464 } 7465 } 7466 7467 // string example = 9; 7468 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { 7469 if (!this_._internal_example().empty()) { 7470 const ::std::string& _s = this_._internal_example(); 7471 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7472 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example"); 7473 target = stream->WriteStringMaybeAliased(9, _s, target); 7474 } 7475 } 7476 7477 // double multiple_of = 10; 7478 if ((this_._impl_._has_bits_[0] & 0x00000100u) != 0) { 7479 if (::absl::bit_cast<::uint64_t>(this_._internal_multiple_of()) != 0) { 7480 target = stream->EnsureSpace(target); 7481 target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7482 10, this_._internal_multiple_of(), target); 7483 } 7484 } 7485 7486 // double maximum = 11; 7487 if ((this_._impl_._has_bits_[0] & 0x00000200u) != 0) { 7488 if (::absl::bit_cast<::uint64_t>(this_._internal_maximum()) != 0) { 7489 target = stream->EnsureSpace(target); 7490 target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7491 11, this_._internal_maximum(), target); 7492 } 7493 } 7494 7495 // bool exclusive_maximum = 12; 7496 if ((this_._impl_._has_bits_[0] & 0x00040000u) != 0) { 7497 if (this_._internal_exclusive_maximum() != 0) { 7498 target = stream->EnsureSpace(target); 7499 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7500 12, this_._internal_exclusive_maximum(), target); 7501 } 7502 } 7503 7504 // double minimum = 13; 7505 if ((this_._impl_._has_bits_[0] & 0x00000400u) != 0) { 7506 if (::absl::bit_cast<::uint64_t>(this_._internal_minimum()) != 0) { 7507 target = stream->EnsureSpace(target); 7508 target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7509 13, this_._internal_minimum(), target); 7510 } 7511 } 7512 7513 // bool exclusive_minimum = 14; 7514 if ((this_._impl_._has_bits_[0] & 0x00080000u) != 0) { 7515 if (this_._internal_exclusive_minimum() != 0) { 7516 target = stream->EnsureSpace(target); 7517 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7518 14, this_._internal_exclusive_minimum(), target); 7519 } 7520 } 7521 7522 // uint64 max_length = 15; 7523 if ((this_._impl_._has_bits_[0] & 0x00000800u) != 0) { 7524 if (this_._internal_max_length() != 0) { 7525 target = stream->EnsureSpace(target); 7526 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7527 15, this_._internal_max_length(), target); 7528 } 7529 } 7530 7531 // uint64 min_length = 16; 7532 if ((this_._impl_._has_bits_[0] & 0x00001000u) != 0) { 7533 if (this_._internal_min_length() != 0) { 7534 target = stream->EnsureSpace(target); 7535 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7536 16, this_._internal_min_length(), target); 7537 } 7538 } 7539 7540 // string pattern = 17; 7541 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { 7542 if (!this_._internal_pattern().empty()) { 7543 const ::std::string& _s = this_._internal_pattern(); 7544 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7545 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern"); 7546 target = stream->WriteStringMaybeAliased(17, _s, target); 7547 } 7548 } 7549 7550 // uint64 max_items = 20; 7551 if ((this_._impl_._has_bits_[0] & 0x00002000u) != 0) { 7552 if (this_._internal_max_items() != 0) { 7553 target = stream->EnsureSpace(target); 7554 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7555 20, this_._internal_max_items(), target); 7556 } 7557 } 7558 7559 // uint64 min_items = 21; 7560 if ((this_._impl_._has_bits_[0] & 0x00004000u) != 0) { 7561 if (this_._internal_min_items() != 0) { 7562 target = stream->EnsureSpace(target); 7563 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7564 21, this_._internal_min_items(), target); 7565 } 7566 } 7567 7568 // bool unique_items = 22; 7569 if ((this_._impl_._has_bits_[0] & 0x00100000u) != 0) { 7570 if (this_._internal_unique_items() != 0) { 7571 target = stream->EnsureSpace(target); 7572 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7573 22, this_._internal_unique_items(), target); 7574 } 7575 } 7576 7577 // uint64 max_properties = 24; 7578 if ((this_._impl_._has_bits_[0] & 0x00008000u) != 0) { 7579 if (this_._internal_max_properties() != 0) { 7580 target = stream->EnsureSpace(target); 7581 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7582 24, this_._internal_max_properties(), target); 7583 } 7584 } 7585 7586 // uint64 min_properties = 25; 7587 if ((this_._impl_._has_bits_[0] & 0x00010000u) != 0) { 7588 if (this_._internal_min_properties() != 0) { 7589 target = stream->EnsureSpace(target); 7590 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7591 25, this_._internal_min_properties(), target); 7592 } 7593 } 7594 7595 // repeated string required = 26; 7596 for (int i = 0, n = this_._internal_required_size(); i < n; ++i) { 7597 const auto& s = this_._internal_required().Get(i); 7598 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7599 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required"); 7600 target = stream->WriteString(26, s, target); 7601 } 7602 7603 // repeated string array = 34; 7604 for (int i = 0, n = this_._internal_array_size(); i < n; ++i) { 7605 const auto& s = this_._internal_array().Get(i); 7606 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7607 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array"); 7608 target = stream->WriteString(34, s, target); 7609 } 7610 7611 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7612 { 7613 ::size_t byte_size = this_._impl_._type_cached_byte_size_.Get(); 7614 if (byte_size > 0) { 7615 target = stream->WriteEnumPacked( 7616 35, this_._internal_type(), byte_size, target); 7617 } 7618 } 7619 7620 // string format = 36; 7621 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) { 7622 if (!this_._internal_format().empty()) { 7623 const ::std::string& _s = this_._internal_format(); 7624 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7625 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format"); 7626 target = stream->WriteStringMaybeAliased(36, _s, target); 7627 } 7628 } 7629 7630 // repeated string enum = 46; 7631 for (int i = 0, n = this_._internal_enum__size(); i < n; ++i) { 7632 const auto& s = this_._internal_enum_().Get(i); 7633 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7634 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum"); 7635 target = stream->WriteString(46, s, target); 7636 } 7637 7638 // map<string, .google.protobuf.Value> extensions = 48; 7639 if (!this_._internal_extensions().empty()) { 7640 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 7641 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 7642 _pbi::WireFormatLite::TYPE_STRING, 7643 _pbi::WireFormatLite::TYPE_MESSAGE>; 7644 const auto& field = this_._internal_extensions(); 7645 7646 if (stream->IsSerializationDeterministic() && field.size() > 1) { 7647 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 7648 target = WireHelper::InternalSerialize( 7649 48, entry.first, entry.second, target, stream); 7650 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7651 entry.first.data(), static_cast<int>(entry.first.length()), 7652 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions"); 7653 } 7654 } else { 7655 for (const auto& entry : field) { 7656 target = WireHelper::InternalSerialize( 7657 48, entry.first, entry.second, target, stream); 7658 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7659 entry.first.data(), static_cast<int>(entry.first.length()), 7660 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions"); 7661 } 7662 } 7663 } 7664 7665 cached_has_bits = this_._impl_._has_bits_[0]; 7666 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 7667 if ((cached_has_bits & 0x00000080u) != 0) { 7668 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 7669 1001, *this_._impl_.field_configuration_, this_._impl_.field_configuration_->GetCachedSize(), target, 7670 stream); 7671 } 7672 7673 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 7674 target = 7675 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 7676 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 7677 } 7678 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7679 return target; 7680 } 7681 7682 #if defined(PROTOBUF_CUSTOM_VTABLE) 7683 ::size_t JSONSchema::ByteSizeLong(const MessageLite& base) { 7684 const JSONSchema& this_ = static_cast<const JSONSchema&>(base); 7685 #else // PROTOBUF_CUSTOM_VTABLE 7686 ::size_t JSONSchema::ByteSizeLong() const { 7687 const JSONSchema& this_ = *this; 7688 #endif // PROTOBUF_CUSTOM_VTABLE 7689 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7690 ::size_t total_size = 0; 7691 7692 ::uint32_t cached_has_bits = 0; 7693 // Prevent compiler warnings about cached_has_bits being unused 7694 (void)cached_has_bits; 7695 7696 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 7697 { 7698 // repeated string required = 26; 7699 { 7700 total_size += 7701 2 * ::google::protobuf::internal::FromIntSize(this_._internal_required().size()); 7702 for (int i = 0, n = this_._internal_required().size(); i < n; ++i) { 7703 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 7704 this_._internal_required().Get(i)); 7705 } 7706 } 7707 // repeated string array = 34; 7708 { 7709 total_size += 7710 2 * ::google::protobuf::internal::FromIntSize(this_._internal_array().size()); 7711 for (int i = 0, n = this_._internal_array().size(); i < n; ++i) { 7712 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 7713 this_._internal_array().Get(i)); 7714 } 7715 } 7716 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7717 { 7718 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( 7719 this_._internal_type(), 2, this_._impl_._type_cached_byte_size_); 7720 } 7721 // repeated string enum = 46; 7722 { 7723 total_size += 7724 2 * ::google::protobuf::internal::FromIntSize(this_._internal_enum_().size()); 7725 for (int i = 0, n = this_._internal_enum_().size(); i < n; ++i) { 7726 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 7727 this_._internal_enum_().Get(i)); 7728 } 7729 } 7730 // map<string, .google.protobuf.Value> extensions = 48; 7731 { 7732 total_size += 7733 2 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 7734 for (const auto& entry : this_._internal_extensions()) { 7735 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 7736 _pbi::WireFormatLite::TYPE_STRING, 7737 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 7738 } 7739 } 7740 } 7741 cached_has_bits = this_._impl_._has_bits_[0]; 7742 if ((cached_has_bits & 0x000000ffu) != 0) { 7743 // string ref = 3; 7744 if ((cached_has_bits & 0x00000001u) != 0) { 7745 if (!this_._internal_ref().empty()) { 7746 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7747 this_._internal_ref()); 7748 } 7749 } 7750 // string title = 5; 7751 if ((cached_has_bits & 0x00000002u) != 0) { 7752 if (!this_._internal_title().empty()) { 7753 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7754 this_._internal_title()); 7755 } 7756 } 7757 // string description = 6; 7758 if ((cached_has_bits & 0x00000004u) != 0) { 7759 if (!this_._internal_description().empty()) { 7760 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7761 this_._internal_description()); 7762 } 7763 } 7764 // string default = 7; 7765 if ((cached_has_bits & 0x00000008u) != 0) { 7766 if (!this_._internal_default_().empty()) { 7767 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7768 this_._internal_default_()); 7769 } 7770 } 7771 // string example = 9; 7772 if ((cached_has_bits & 0x00000010u) != 0) { 7773 if (!this_._internal_example().empty()) { 7774 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7775 this_._internal_example()); 7776 } 7777 } 7778 // string pattern = 17; 7779 if ((cached_has_bits & 0x00000020u) != 0) { 7780 if (!this_._internal_pattern().empty()) { 7781 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( 7782 this_._internal_pattern()); 7783 } 7784 } 7785 // string format = 36; 7786 if ((cached_has_bits & 0x00000040u) != 0) { 7787 if (!this_._internal_format().empty()) { 7788 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( 7789 this_._internal_format()); 7790 } 7791 } 7792 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 7793 if ((cached_has_bits & 0x00000080u) != 0) { 7794 total_size += 2 + 7795 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.field_configuration_); 7796 } 7797 } 7798 if ((cached_has_bits & 0x0000ff00u) != 0) { 7799 // double multiple_of = 10; 7800 if ((cached_has_bits & 0x00000100u) != 0) { 7801 if (::absl::bit_cast<::uint64_t>(this_._internal_multiple_of()) != 0) { 7802 total_size += 9; 7803 } 7804 } 7805 // double maximum = 11; 7806 if ((cached_has_bits & 0x00000200u) != 0) { 7807 if (::absl::bit_cast<::uint64_t>(this_._internal_maximum()) != 0) { 7808 total_size += 9; 7809 } 7810 } 7811 // double minimum = 13; 7812 if ((cached_has_bits & 0x00000400u) != 0) { 7813 if (::absl::bit_cast<::uint64_t>(this_._internal_minimum()) != 0) { 7814 total_size += 9; 7815 } 7816 } 7817 // uint64 max_length = 15; 7818 if ((cached_has_bits & 0x00000800u) != 0) { 7819 if (this_._internal_max_length() != 0) { 7820 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( 7821 this_._internal_max_length()); 7822 } 7823 } 7824 // uint64 min_length = 16; 7825 if ((cached_has_bits & 0x00001000u) != 0) { 7826 if (this_._internal_min_length() != 0) { 7827 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7828 this_._internal_min_length()); 7829 } 7830 } 7831 // uint64 max_items = 20; 7832 if ((cached_has_bits & 0x00002000u) != 0) { 7833 if (this_._internal_max_items() != 0) { 7834 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7835 this_._internal_max_items()); 7836 } 7837 } 7838 // uint64 min_items = 21; 7839 if ((cached_has_bits & 0x00004000u) != 0) { 7840 if (this_._internal_min_items() != 0) { 7841 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7842 this_._internal_min_items()); 7843 } 7844 } 7845 // uint64 max_properties = 24; 7846 if ((cached_has_bits & 0x00008000u) != 0) { 7847 if (this_._internal_max_properties() != 0) { 7848 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7849 this_._internal_max_properties()); 7850 } 7851 } 7852 } 7853 if ((cached_has_bits & 0x001f0000u) != 0) { 7854 // uint64 min_properties = 25; 7855 if ((cached_has_bits & 0x00010000u) != 0) { 7856 if (this_._internal_min_properties() != 0) { 7857 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7858 this_._internal_min_properties()); 7859 } 7860 } 7861 // bool read_only = 8; 7862 if ((cached_has_bits & 0x00020000u) != 0) { 7863 if (this_._internal_read_only() != 0) { 7864 total_size += 2; 7865 } 7866 } 7867 // bool exclusive_maximum = 12; 7868 if ((cached_has_bits & 0x00040000u) != 0) { 7869 if (this_._internal_exclusive_maximum() != 0) { 7870 total_size += 2; 7871 } 7872 } 7873 // bool exclusive_minimum = 14; 7874 if ((cached_has_bits & 0x00080000u) != 0) { 7875 if (this_._internal_exclusive_minimum() != 0) { 7876 total_size += 2; 7877 } 7878 } 7879 // bool unique_items = 22; 7880 if ((cached_has_bits & 0x00100000u) != 0) { 7881 if (this_._internal_unique_items() != 0) { 7882 total_size += 3; 7883 } 7884 } 7885 } 7886 return this_.MaybeComputeUnknownFieldsSize(total_size, 7887 &this_._impl_._cached_size_); 7888 } 7889 7890 void JSONSchema::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 7891 auto* const _this = static_cast<JSONSchema*>(&to_msg); 7892 auto& from = static_cast<const JSONSchema&>(from_msg); 7893 ::google::protobuf::Arena* arena = _this->GetArena(); 7894 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7895 ABSL_DCHECK_NE(&from, _this); 7896 ::uint32_t cached_has_bits = 0; 7897 (void) cached_has_bits; 7898 7899 _this->_internal_mutable_required()->MergeFrom(from._internal_required()); 7900 _this->_internal_mutable_array()->MergeFrom(from._internal_array()); 7901 _this->_internal_mutable_type()->MergeFrom(from._internal_type()); 7902 _this->_internal_mutable_enum_()->MergeFrom(from._internal_enum_()); 7903 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 7904 cached_has_bits = from._impl_._has_bits_[0]; 7905 if ((cached_has_bits & 0x000000ffu) != 0) { 7906 if ((cached_has_bits & 0x00000001u) != 0) { 7907 if (!from._internal_ref().empty()) { 7908 _this->_internal_set_ref(from._internal_ref()); 7909 } else { 7910 if (_this->_impl_.ref_.IsDefault()) { 7911 _this->_internal_set_ref(""); 7912 } 7913 } 7914 } 7915 if ((cached_has_bits & 0x00000002u) != 0) { 7916 if (!from._internal_title().empty()) { 7917 _this->_internal_set_title(from._internal_title()); 7918 } else { 7919 if (_this->_impl_.title_.IsDefault()) { 7920 _this->_internal_set_title(""); 7921 } 7922 } 7923 } 7924 if ((cached_has_bits & 0x00000004u) != 0) { 7925 if (!from._internal_description().empty()) { 7926 _this->_internal_set_description(from._internal_description()); 7927 } else { 7928 if (_this->_impl_.description_.IsDefault()) { 7929 _this->_internal_set_description(""); 7930 } 7931 } 7932 } 7933 if ((cached_has_bits & 0x00000008u) != 0) { 7934 if (!from._internal_default_().empty()) { 7935 _this->_internal_set_default_(from._internal_default_()); 7936 } else { 7937 if (_this->_impl_.default__.IsDefault()) { 7938 _this->_internal_set_default_(""); 7939 } 7940 } 7941 } 7942 if ((cached_has_bits & 0x00000010u) != 0) { 7943 if (!from._internal_example().empty()) { 7944 _this->_internal_set_example(from._internal_example()); 7945 } else { 7946 if (_this->_impl_.example_.IsDefault()) { 7947 _this->_internal_set_example(""); 7948 } 7949 } 7950 } 7951 if ((cached_has_bits & 0x00000020u) != 0) { 7952 if (!from._internal_pattern().empty()) { 7953 _this->_internal_set_pattern(from._internal_pattern()); 7954 } else { 7955 if (_this->_impl_.pattern_.IsDefault()) { 7956 _this->_internal_set_pattern(""); 7957 } 7958 } 7959 } 7960 if ((cached_has_bits & 0x00000040u) != 0) { 7961 if (!from._internal_format().empty()) { 7962 _this->_internal_set_format(from._internal_format()); 7963 } else { 7964 if (_this->_impl_.format_.IsDefault()) { 7965 _this->_internal_set_format(""); 7966 } 7967 } 7968 } 7969 if ((cached_has_bits & 0x00000080u) != 0) { 7970 ABSL_DCHECK(from._impl_.field_configuration_ != nullptr); 7971 if (_this->_impl_.field_configuration_ == nullptr) { 7972 _this->_impl_.field_configuration_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.field_configuration_); 7973 } else { 7974 _this->_impl_.field_configuration_->MergeFrom(*from._impl_.field_configuration_); 7975 } 7976 } 7977 } 7978 if ((cached_has_bits & 0x0000ff00u) != 0) { 7979 if ((cached_has_bits & 0x00000100u) != 0) { 7980 if (::absl::bit_cast<::uint64_t>(from._internal_multiple_of()) != 0) { 7981 _this->_impl_.multiple_of_ = from._impl_.multiple_of_; 7982 } 7983 } 7984 if ((cached_has_bits & 0x00000200u) != 0) { 7985 if (::absl::bit_cast<::uint64_t>(from._internal_maximum()) != 0) { 7986 _this->_impl_.maximum_ = from._impl_.maximum_; 7987 } 7988 } 7989 if ((cached_has_bits & 0x00000400u) != 0) { 7990 if (::absl::bit_cast<::uint64_t>(from._internal_minimum()) != 0) { 7991 _this->_impl_.minimum_ = from._impl_.minimum_; 7992 } 7993 } 7994 if ((cached_has_bits & 0x00000800u) != 0) { 7995 if (from._internal_max_length() != 0) { 7996 _this->_impl_.max_length_ = from._impl_.max_length_; 7997 } 7998 } 7999 if ((cached_has_bits & 0x00001000u) != 0) { 8000 if (from._internal_min_length() != 0) { 8001 _this->_impl_.min_length_ = from._impl_.min_length_; 8002 } 8003 } 8004 if ((cached_has_bits & 0x00002000u) != 0) { 8005 if (from._internal_max_items() != 0) { 8006 _this->_impl_.max_items_ = from._impl_.max_items_; 8007 } 8008 } 8009 if ((cached_has_bits & 0x00004000u) != 0) { 8010 if (from._internal_min_items() != 0) { 8011 _this->_impl_.min_items_ = from._impl_.min_items_; 8012 } 8013 } 8014 if ((cached_has_bits & 0x00008000u) != 0) { 8015 if (from._internal_max_properties() != 0) { 8016 _this->_impl_.max_properties_ = from._impl_.max_properties_; 8017 } 8018 } 8019 } 8020 if ((cached_has_bits & 0x001f0000u) != 0) { 8021 if ((cached_has_bits & 0x00010000u) != 0) { 8022 if (from._internal_min_properties() != 0) { 8023 _this->_impl_.min_properties_ = from._impl_.min_properties_; 8024 } 8025 } 8026 if ((cached_has_bits & 0x00020000u) != 0) { 8027 if (from._internal_read_only() != 0) { 8028 _this->_impl_.read_only_ = from._impl_.read_only_; 8029 } 8030 } 8031 if ((cached_has_bits & 0x00040000u) != 0) { 8032 if (from._internal_exclusive_maximum() != 0) { 8033 _this->_impl_.exclusive_maximum_ = from._impl_.exclusive_maximum_; 8034 } 8035 } 8036 if ((cached_has_bits & 0x00080000u) != 0) { 8037 if (from._internal_exclusive_minimum() != 0) { 8038 _this->_impl_.exclusive_minimum_ = from._impl_.exclusive_minimum_; 8039 } 8040 } 8041 if ((cached_has_bits & 0x00100000u) != 0) { 8042 if (from._internal_unique_items() != 0) { 8043 _this->_impl_.unique_items_ = from._impl_.unique_items_; 8044 } 8045 } 8046 } 8047 _this->_impl_._has_bits_[0] |= cached_has_bits; 8048 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 8049 } 8050 8051 void JSONSchema::CopyFrom(const JSONSchema& from) { 8052 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 8053 if (&from == this) return; 8054 Clear(); 8055 MergeFrom(from); 8056 } 8057 8058 8059 void JSONSchema::InternalSwap(JSONSchema* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 8060 using ::std::swap; 8061 auto* arena = GetArena(); 8062 ABSL_DCHECK_EQ(arena, other->GetArena()); 8063 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 8064 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 8065 _impl_.required_.InternalSwap(&other->_impl_.required_); 8066 _impl_.array_.InternalSwap(&other->_impl_.array_); 8067 _impl_.type_.InternalSwap(&other->_impl_.type_); 8068 _impl_.enum__.InternalSwap(&other->_impl_.enum__); 8069 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 8070 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ref_, &other->_impl_.ref_, arena); 8071 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena); 8072 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 8073 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default__, &other->_impl_.default__, arena); 8074 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.example_, &other->_impl_.example_, arena); 8075 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pattern_, &other->_impl_.pattern_, arena); 8076 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.format_, &other->_impl_.format_, arena); 8077 ::google::protobuf::internal::memswap< 8078 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.unique_items_) 8079 + sizeof(JSONSchema::_impl_.unique_items_) 8080 - PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.field_configuration_)>( 8081 reinterpret_cast<char*>(&_impl_.field_configuration_), 8082 reinterpret_cast<char*>(&other->_impl_.field_configuration_)); 8083 } 8084 8085 ::google::protobuf::Metadata JSONSchema::GetMetadata() const { 8086 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 8087 } 8088 // =================================================================== 8089 8090 class Tag::_Internal { 8091 public: 8092 using HasBits = 8093 decltype(::std::declval<Tag>()._impl_._has_bits_); 8094 static constexpr ::int32_t kHasBitsOffset = 8095 8 * PROTOBUF_FIELD_OFFSET(Tag, _impl_._has_bits_); 8096 }; 8097 8098 Tag::Tag(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8099 #if defined(PROTOBUF_CUSTOM_VTABLE) 8100 : ::google::protobuf::Message(arena, Tag_class_data_.base()) { 8101 #else // PROTOBUF_CUSTOM_VTABLE 8102 : ::google::protobuf::Message(arena) { 8103 #endif // PROTOBUF_CUSTOM_VTABLE 8104 SharedCtor(arena); 8105 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8106 } 8107 PROTOBUF_NDEBUG_INLINE Tag::Impl_::Impl_( 8108 ::google::protobuf::internal::InternalVisibility visibility, 8109 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 8110 const ::grpc::gateway::protoc_gen_openapiv2::options::Tag& from_msg) 8111 : _has_bits_{from._has_bits_}, 8112 _cached_size_{0}, 8113 description_(arena, from.description_) {} 8114 8115 Tag::Tag( 8116 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 8117 const Tag& from) 8118 #if defined(PROTOBUF_CUSTOM_VTABLE) 8119 : ::google::protobuf::Message(arena, Tag_class_data_.base()) { 8120 #else // PROTOBUF_CUSTOM_VTABLE 8121 : ::google::protobuf::Message(arena) { 8122 #endif // PROTOBUF_CUSTOM_VTABLE 8123 Tag* const _this = this; 8124 (void)_this; 8125 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 8126 from._internal_metadata_); 8127 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 8128 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 8129 _impl_.external_docs_ = ((cached_has_bits & 0x00000002u) != 0) 8130 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 8131 : nullptr; 8132 8133 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8134 } 8135 PROTOBUF_NDEBUG_INLINE Tag::Impl_::Impl_( 8136 ::google::protobuf::internal::InternalVisibility visibility, 8137 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8138 : _cached_size_{0}, 8139 description_(arena) {} 8140 8141 inline void Tag::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 8142 new (&_impl_) Impl_(internal_visibility(), arena); 8143 _impl_.external_docs_ = {}; 8144 } 8145 Tag::~Tag() { 8146 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8147 SharedDtor(*this); 8148 } 8149 inline void Tag::SharedDtor(MessageLite& self) { 8150 Tag& this_ = static_cast<Tag&>(self); 8151 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 8152 ABSL_DCHECK(this_.GetArena() == nullptr); 8153 this_._impl_.description_.Destroy(); 8154 delete this_._impl_.external_docs_; 8155 this_._impl_.~Impl_(); 8156 } 8157 8158 inline void* PROTOBUF_NONNULL Tag::PlacementNew_( 8159 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8160 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8161 return ::new (mem) Tag(arena); 8162 } 8163 constexpr auto Tag::InternalNewImpl_() { 8164 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Tag), 8165 alignof(Tag)); 8166 } 8167 constexpr auto Tag::InternalGenerateClassData_() { 8168 return ::google::protobuf::internal::ClassDataFull{ 8169 ::google::protobuf::internal::ClassData{ 8170 &_Tag_default_instance_._instance, 8171 &_table_.header, 8172 nullptr, // OnDemandRegisterArenaDtor 8173 nullptr, // IsInitialized 8174 &Tag::MergeImpl, 8175 ::google::protobuf::Message::GetNewImpl<Tag>(), 8176 #if defined(PROTOBUF_CUSTOM_VTABLE) 8177 &Tag::SharedDtor, 8178 ::google::protobuf::Message::GetClearImpl<Tag>(), &Tag::ByteSizeLong, 8179 &Tag::_InternalSerialize, 8180 #endif // PROTOBUF_CUSTOM_VTABLE 8181 PROTOBUF_FIELD_OFFSET(Tag, _impl_._cached_size_), 8182 false, 8183 }, 8184 &Tag::kDescriptorMethods, 8185 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8186 nullptr, // tracker 8187 }; 8188 } 8189 8190 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 8191 ::google::protobuf::internal::ClassDataFull Tag_class_data_ = 8192 Tag::InternalGenerateClassData_(); 8193 8194 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 8195 Tag::GetClassData() const { 8196 ::google::protobuf::internal::PrefetchToLocalCache(&Tag_class_data_); 8197 ::google::protobuf::internal::PrefetchToLocalCache(Tag_class_data_.tc_table); 8198 return Tag_class_data_.base(); 8199 } 8200 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8201 const ::_pbi::TcParseTable<1, 2, 1, 65, 2> 8202 Tag::_table_ = { 8203 { 8204 PROTOBUF_FIELD_OFFSET(Tag, _impl_._has_bits_), 8205 0, // no _extensions_ 8206 3, 8, // max_field_number, fast_idx_mask 8207 offsetof(decltype(_table_), field_lookup_table), 8208 4294967289, // skipmap 8209 offsetof(decltype(_table_), field_entries), 8210 2, // num_field_entries 8211 1, // num_aux_entries 8212 offsetof(decltype(_table_), aux_entries), 8213 Tag_class_data_.base(), 8214 nullptr, // post_loop_handler 8215 ::_pbi::TcParser::GenericFallback, // fallback 8216 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8217 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Tag>(), // to_prefetch 8218 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8219 }, {{ 8220 // string description = 2; 8221 {::_pbi::TcParser::FastUS1, 8222 {18, 0, 0, PROTOBUF_FIELD_OFFSET(Tag, _impl_.description_)}}, 8223 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8224 {::_pbi::TcParser::FastMtS1, 8225 {26, 1, 0, PROTOBUF_FIELD_OFFSET(Tag, _impl_.external_docs_)}}, 8226 }}, {{ 8227 65535, 65535 8228 }}, {{ 8229 // string description = 2; 8230 {PROTOBUF_FIELD_OFFSET(Tag, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 8231 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 8232 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8233 {PROTOBUF_FIELD_OFFSET(Tag, _impl_.external_docs_), _Internal::kHasBitsOffset + 1, 0, 8234 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 8235 }}, 8236 {{ 8237 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 8238 }}, 8239 {{ 8240 "\55\13\0\0\0\0\0\0" 8241 "grpc.gateway.protoc_gen_openapiv2.options.Tag" 8242 "description" 8243 }}, 8244 }; 8245 PROTOBUF_NOINLINE void Tag::Clear() { 8246 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8247 ::google::protobuf::internal::TSanWrite(&_impl_); 8248 ::uint32_t cached_has_bits = 0; 8249 // Prevent compiler warnings about cached_has_bits being unused 8250 (void) cached_has_bits; 8251 8252 cached_has_bits = _impl_._has_bits_[0]; 8253 if ((cached_has_bits & 0x00000003u) != 0) { 8254 if ((cached_has_bits & 0x00000001u) != 0) { 8255 _impl_.description_.ClearNonDefaultToEmpty(); 8256 } 8257 if ((cached_has_bits & 0x00000002u) != 0) { 8258 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 8259 _impl_.external_docs_->Clear(); 8260 } 8261 } 8262 _impl_._has_bits_.Clear(); 8263 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 8264 } 8265 8266 #if defined(PROTOBUF_CUSTOM_VTABLE) 8267 ::uint8_t* PROTOBUF_NONNULL Tag::_InternalSerialize( 8268 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 8269 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 8270 const Tag& this_ = static_cast<const Tag&>(base); 8271 #else // PROTOBUF_CUSTOM_VTABLE 8272 ::uint8_t* PROTOBUF_NONNULL Tag::_InternalSerialize( 8273 ::uint8_t* PROTOBUF_NONNULL target, 8274 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 8275 const Tag& this_ = *this; 8276 #endif // PROTOBUF_CUSTOM_VTABLE 8277 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8278 ::uint32_t cached_has_bits = 0; 8279 (void)cached_has_bits; 8280 8281 // string description = 2; 8282 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 8283 if (!this_._internal_description().empty()) { 8284 const ::std::string& _s = this_._internal_description(); 8285 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 8286 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Tag.description"); 8287 target = stream->WriteStringMaybeAliased(2, _s, target); 8288 } 8289 } 8290 8291 cached_has_bits = this_._impl_._has_bits_[0]; 8292 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8293 if ((cached_has_bits & 0x00000002u) != 0) { 8294 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 8295 3, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 8296 stream); 8297 } 8298 8299 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 8300 target = 8301 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 8302 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 8303 } 8304 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8305 return target; 8306 } 8307 8308 #if defined(PROTOBUF_CUSTOM_VTABLE) 8309 ::size_t Tag::ByteSizeLong(const MessageLite& base) { 8310 const Tag& this_ = static_cast<const Tag&>(base); 8311 #else // PROTOBUF_CUSTOM_VTABLE 8312 ::size_t Tag::ByteSizeLong() const { 8313 const Tag& this_ = *this; 8314 #endif // PROTOBUF_CUSTOM_VTABLE 8315 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8316 ::size_t total_size = 0; 8317 8318 ::uint32_t cached_has_bits = 0; 8319 // Prevent compiler warnings about cached_has_bits being unused 8320 (void)cached_has_bits; 8321 8322 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 8323 cached_has_bits = this_._impl_._has_bits_[0]; 8324 if ((cached_has_bits & 0x00000003u) != 0) { 8325 // string description = 2; 8326 if ((cached_has_bits & 0x00000001u) != 0) { 8327 if (!this_._internal_description().empty()) { 8328 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 8329 this_._internal_description()); 8330 } 8331 } 8332 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8333 if ((cached_has_bits & 0x00000002u) != 0) { 8334 total_size += 1 + 8335 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 8336 } 8337 } 8338 return this_.MaybeComputeUnknownFieldsSize(total_size, 8339 &this_._impl_._cached_size_); 8340 } 8341 8342 void Tag::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 8343 auto* const _this = static_cast<Tag*>(&to_msg); 8344 auto& from = static_cast<const Tag&>(from_msg); 8345 ::google::protobuf::Arena* arena = _this->GetArena(); 8346 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8347 ABSL_DCHECK_NE(&from, _this); 8348 ::uint32_t cached_has_bits = 0; 8349 (void) cached_has_bits; 8350 8351 cached_has_bits = from._impl_._has_bits_[0]; 8352 if ((cached_has_bits & 0x00000003u) != 0) { 8353 if ((cached_has_bits & 0x00000001u) != 0) { 8354 if (!from._internal_description().empty()) { 8355 _this->_internal_set_description(from._internal_description()); 8356 } else { 8357 if (_this->_impl_.description_.IsDefault()) { 8358 _this->_internal_set_description(""); 8359 } 8360 } 8361 } 8362 if ((cached_has_bits & 0x00000002u) != 0) { 8363 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 8364 if (_this->_impl_.external_docs_ == nullptr) { 8365 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 8366 } else { 8367 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 8368 } 8369 } 8370 } 8371 _this->_impl_._has_bits_[0] |= cached_has_bits; 8372 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 8373 } 8374 8375 void Tag::CopyFrom(const Tag& from) { 8376 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8377 if (&from == this) return; 8378 Clear(); 8379 MergeFrom(from); 8380 } 8381 8382 8383 void Tag::InternalSwap(Tag* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 8384 using ::std::swap; 8385 auto* arena = GetArena(); 8386 ABSL_DCHECK_EQ(arena, other->GetArena()); 8387 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 8388 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 8389 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 8390 swap(_impl_.external_docs_, other->_impl_.external_docs_); 8391 } 8392 8393 ::google::protobuf::Metadata Tag::GetMetadata() const { 8394 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 8395 } 8396 // =================================================================== 8397 8398 #if defined(PROTOBUF_CUSTOM_VTABLE) 8399 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse() 8400 : SuperType(SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base()) {} 8401 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8402 : SuperType(arena, SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base()) {} 8403 #else // PROTOBUF_CUSTOM_VTABLE 8404 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse() : SuperType() {} 8405 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 8406 #endif // PROTOBUF_CUSTOM_VTABLE 8407 inline void* PROTOBUF_NONNULL SecurityDefinitions_SecurityEntry_DoNotUse::PlacementNew_( 8408 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8410 return ::new (mem) SecurityDefinitions_SecurityEntry_DoNotUse(arena); 8411 } 8412 constexpr auto SecurityDefinitions_SecurityEntry_DoNotUse::InternalNewImpl_() { 8413 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecurityDefinitions_SecurityEntry_DoNotUse), 8414 alignof(SecurityDefinitions_SecurityEntry_DoNotUse)); 8415 } 8416 constexpr auto SecurityDefinitions_SecurityEntry_DoNotUse::InternalGenerateClassData_() { 8417 return ::google::protobuf::internal::ClassDataFull{ 8418 ::google::protobuf::internal::ClassData{ 8419 &_SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_._instance, 8420 &_table_.header, 8421 nullptr, // OnDemandRegisterArenaDtor 8422 nullptr, // IsInitialized 8423 &SecurityDefinitions_SecurityEntry_DoNotUse::MergeImpl, 8424 ::google::protobuf::Message::GetNewImpl<SecurityDefinitions_SecurityEntry_DoNotUse>(), 8425 #if defined(PROTOBUF_CUSTOM_VTABLE) 8426 &SecurityDefinitions_SecurityEntry_DoNotUse::SharedDtor, 8427 static_cast<void (::google::protobuf::MessageLite::*)()>(&SecurityDefinitions_SecurityEntry_DoNotUse::ClearImpl), 8428 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 8429 , 8430 #endif // PROTOBUF_CUSTOM_VTABLE 8431 PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_._cached_size_), 8432 false, 8433 }, 8434 &SecurityDefinitions_SecurityEntry_DoNotUse::kDescriptorMethods, 8435 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8436 nullptr, // tracker 8437 }; 8438 } 8439 8440 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 8441 ::google::protobuf::internal::ClassDataFull SecurityDefinitions_SecurityEntry_DoNotUse_class_data_ = 8442 SecurityDefinitions_SecurityEntry_DoNotUse::InternalGenerateClassData_(); 8443 8444 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 8445 SecurityDefinitions_SecurityEntry_DoNotUse::GetClassData() const { 8446 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityDefinitions_SecurityEntry_DoNotUse_class_data_); 8447 ::google::protobuf::internal::PrefetchToLocalCache(SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.tc_table); 8448 return SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base(); 8449 } 8450 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8451 const ::_pbi::TcParseTable<1, 2, 1, 87, 2> 8452 SecurityDefinitions_SecurityEntry_DoNotUse::_table_ = { 8453 { 8454 PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_._has_bits_), 8455 0, // no _extensions_ 8456 2, 8, // max_field_number, fast_idx_mask 8457 offsetof(decltype(_table_), field_lookup_table), 8458 4294967292, // skipmap 8459 offsetof(decltype(_table_), field_entries), 8460 2, // num_field_entries 8461 1, // num_aux_entries 8462 offsetof(decltype(_table_), aux_entries), 8463 SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base(), 8464 nullptr, // post_loop_handler 8465 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 8466 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8467 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse>(), // to_prefetch 8468 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8469 }, {{ 8470 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme value = 2; 8471 {::_pbi::TcParser::FastMtS1, 8472 {18, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.value_)}}, 8473 // string key = 1; 8474 {::_pbi::TcParser::FastUS1, 8475 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.key_)}}, 8476 }}, {{ 8477 65535, 65535 8478 }}, {{ 8479 // string key = 1; 8480 {PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 8481 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 8482 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme value = 2; 8483 {PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 8484 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 8485 }}, 8486 {{ 8487 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>()}, 8488 }}, 8489 {{ 8490 "\113\3\0\0\0\0\0\0" 8491 "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry" 8492 "key" 8493 }}, 8494 }; 8495 // =================================================================== 8496 8497 class SecurityDefinitions::_Internal { 8498 public: 8499 }; 8500 8501 SecurityDefinitions::SecurityDefinitions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8502 #if defined(PROTOBUF_CUSTOM_VTABLE) 8503 : ::google::protobuf::Message(arena, SecurityDefinitions_class_data_.base()) { 8504 #else // PROTOBUF_CUSTOM_VTABLE 8505 : ::google::protobuf::Message(arena) { 8506 #endif // PROTOBUF_CUSTOM_VTABLE 8507 SharedCtor(arena); 8508 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8509 } 8510 PROTOBUF_NDEBUG_INLINE SecurityDefinitions::Impl_::Impl_( 8511 ::google::protobuf::internal::InternalVisibility visibility, 8512 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 8513 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions& from_msg) 8514 : security_{visibility, arena, from.security_}, 8515 _cached_size_{0} {} 8516 8517 SecurityDefinitions::SecurityDefinitions( 8518 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 8519 const SecurityDefinitions& from) 8520 #if defined(PROTOBUF_CUSTOM_VTABLE) 8521 : ::google::protobuf::Message(arena, SecurityDefinitions_class_data_.base()) { 8522 #else // PROTOBUF_CUSTOM_VTABLE 8523 : ::google::protobuf::Message(arena) { 8524 #endif // PROTOBUF_CUSTOM_VTABLE 8525 SecurityDefinitions* const _this = this; 8526 (void)_this; 8527 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 8528 from._internal_metadata_); 8529 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 8530 8531 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8532 } 8533 PROTOBUF_NDEBUG_INLINE SecurityDefinitions::Impl_::Impl_( 8534 ::google::protobuf::internal::InternalVisibility visibility, 8535 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8536 : security_{visibility, arena}, 8537 _cached_size_{0} {} 8538 8539 inline void SecurityDefinitions::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 8540 new (&_impl_) Impl_(internal_visibility(), arena); 8541 } 8542 SecurityDefinitions::~SecurityDefinitions() { 8543 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8544 SharedDtor(*this); 8545 } 8546 inline void SecurityDefinitions::SharedDtor(MessageLite& self) { 8547 SecurityDefinitions& this_ = static_cast<SecurityDefinitions&>(self); 8548 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 8549 ABSL_DCHECK(this_.GetArena() == nullptr); 8550 this_._impl_.~Impl_(); 8551 } 8552 8553 inline void* PROTOBUF_NONNULL SecurityDefinitions::PlacementNew_( 8554 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8555 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8556 return ::new (mem) SecurityDefinitions(arena); 8557 } 8558 constexpr auto SecurityDefinitions::InternalNewImpl_() { 8559 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 8560 PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_.security_) + 8561 decltype(SecurityDefinitions::_impl_.security_):: 8562 InternalGetArenaOffset( 8563 ::google::protobuf::Message::internal_visibility()), 8564 PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_.security_) + 8565 decltype(SecurityDefinitions::_impl_.security_):: 8566 InternalGetArenaOffsetAlt( 8567 ::google::protobuf::Message::internal_visibility()), 8568 }); 8569 if (arena_bits.has_value()) { 8570 return ::google::protobuf::internal::MessageCreator::CopyInit( 8571 sizeof(SecurityDefinitions), alignof(SecurityDefinitions), *arena_bits); 8572 } else { 8573 return ::google::protobuf::internal::MessageCreator(&SecurityDefinitions::PlacementNew_, 8574 sizeof(SecurityDefinitions), 8575 alignof(SecurityDefinitions)); 8576 } 8577 } 8578 constexpr auto SecurityDefinitions::InternalGenerateClassData_() { 8579 return ::google::protobuf::internal::ClassDataFull{ 8580 ::google::protobuf::internal::ClassData{ 8581 &_SecurityDefinitions_default_instance_._instance, 8582 &_table_.header, 8583 nullptr, // OnDemandRegisterArenaDtor 8584 nullptr, // IsInitialized 8585 &SecurityDefinitions::MergeImpl, 8586 ::google::protobuf::Message::GetNewImpl<SecurityDefinitions>(), 8587 #if defined(PROTOBUF_CUSTOM_VTABLE) 8588 &SecurityDefinitions::SharedDtor, 8589 ::google::protobuf::Message::GetClearImpl<SecurityDefinitions>(), &SecurityDefinitions::ByteSizeLong, 8590 &SecurityDefinitions::_InternalSerialize, 8591 #endif // PROTOBUF_CUSTOM_VTABLE 8592 PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_._cached_size_), 8593 false, 8594 }, 8595 &SecurityDefinitions::kDescriptorMethods, 8596 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8597 nullptr, // tracker 8598 }; 8599 } 8600 8601 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 8602 ::google::protobuf::internal::ClassDataFull SecurityDefinitions_class_data_ = 8603 SecurityDefinitions::InternalGenerateClassData_(); 8604 8605 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 8606 SecurityDefinitions::GetClassData() const { 8607 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityDefinitions_class_data_); 8608 ::google::protobuf::internal::PrefetchToLocalCache(SecurityDefinitions_class_data_.tc_table); 8609 return SecurityDefinitions_class_data_.base(); 8610 } 8611 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8612 const ::_pbi::TcParseTable<0, 1, 2, 78, 2> 8613 SecurityDefinitions::_table_ = { 8614 { 8615 0, // no _has_bits_ 8616 0, // no _extensions_ 8617 1, 0, // max_field_number, fast_idx_mask 8618 offsetof(decltype(_table_), field_lookup_table), 8619 4294967294, // skipmap 8620 offsetof(decltype(_table_), field_entries), 8621 1, // num_field_entries 8622 2, // num_aux_entries 8623 offsetof(decltype(_table_), aux_entries), 8624 SecurityDefinitions_class_data_.base(), 8625 nullptr, // post_loop_handler 8626 ::_pbi::TcParser::GenericFallback, // fallback 8627 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8628 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions>(), // to_prefetch 8629 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8630 }, {{ 8631 {::_pbi::TcParser::MiniParse, {}}, 8632 }}, {{ 8633 65535, 65535 8634 }}, {{ 8635 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 8636 {PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_.security_), 0, 0, 8637 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 8638 }}, 8639 {{ 8640 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 8641 9, 11, 8642 0)}, 8643 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>()}, 8644 }}, 8645 {{ 8646 "\75\10\0\0\0\0\0\0" 8647 "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions" 8648 "security" 8649 }}, 8650 }; 8651 PROTOBUF_NOINLINE void SecurityDefinitions::Clear() { 8652 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8653 ::google::protobuf::internal::TSanWrite(&_impl_); 8654 ::uint32_t cached_has_bits = 0; 8655 // Prevent compiler warnings about cached_has_bits being unused 8656 (void) cached_has_bits; 8657 8658 _impl_.security_.Clear(); 8659 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 8660 } 8661 8662 #if defined(PROTOBUF_CUSTOM_VTABLE) 8663 ::uint8_t* PROTOBUF_NONNULL SecurityDefinitions::_InternalSerialize( 8664 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 8665 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 8666 const SecurityDefinitions& this_ = static_cast<const SecurityDefinitions&>(base); 8667 #else // PROTOBUF_CUSTOM_VTABLE 8668 ::uint8_t* PROTOBUF_NONNULL SecurityDefinitions::_InternalSerialize( 8669 ::uint8_t* PROTOBUF_NONNULL target, 8670 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 8671 const SecurityDefinitions& this_ = *this; 8672 #endif // PROTOBUF_CUSTOM_VTABLE 8673 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8674 ::uint32_t cached_has_bits = 0; 8675 (void)cached_has_bits; 8676 8677 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 8678 if (!this_._internal_security().empty()) { 8679 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>; 8680 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, 8681 _pbi::WireFormatLite::TYPE_STRING, 8682 _pbi::WireFormatLite::TYPE_MESSAGE>; 8683 const auto& field = this_._internal_security(); 8684 8685 if (stream->IsSerializationDeterministic() && field.size() > 1) { 8686 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 8687 target = WireHelper::InternalSerialize( 8688 1, entry.first, entry.second, target, stream); 8689 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 8690 entry.first.data(), static_cast<int>(entry.first.length()), 8691 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security"); 8692 } 8693 } else { 8694 for (const auto& entry : field) { 8695 target = WireHelper::InternalSerialize( 8696 1, entry.first, entry.second, target, stream); 8697 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 8698 entry.first.data(), static_cast<int>(entry.first.length()), 8699 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security"); 8700 } 8701 } 8702 } 8703 8704 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 8705 target = 8706 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 8707 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 8708 } 8709 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8710 return target; 8711 } 8712 8713 #if defined(PROTOBUF_CUSTOM_VTABLE) 8714 ::size_t SecurityDefinitions::ByteSizeLong(const MessageLite& base) { 8715 const SecurityDefinitions& this_ = static_cast<const SecurityDefinitions&>(base); 8716 #else // PROTOBUF_CUSTOM_VTABLE 8717 ::size_t SecurityDefinitions::ByteSizeLong() const { 8718 const SecurityDefinitions& this_ = *this; 8719 #endif // PROTOBUF_CUSTOM_VTABLE 8720 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8721 ::size_t total_size = 0; 8722 8723 ::uint32_t cached_has_bits = 0; 8724 // Prevent compiler warnings about cached_has_bits being unused 8725 (void)cached_has_bits; 8726 8727 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 8728 { 8729 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 8730 { 8731 total_size += 8732 1 * ::google::protobuf::internal::FromIntSize(this_._internal_security_size()); 8733 for (const auto& entry : this_._internal_security()) { 8734 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, 8735 _pbi::WireFormatLite::TYPE_STRING, 8736 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 8737 } 8738 } 8739 } 8740 return this_.MaybeComputeUnknownFieldsSize(total_size, 8741 &this_._impl_._cached_size_); 8742 } 8743 8744 void SecurityDefinitions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 8745 auto* const _this = static_cast<SecurityDefinitions*>(&to_msg); 8746 auto& from = static_cast<const SecurityDefinitions&>(from_msg); 8747 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8748 ABSL_DCHECK_NE(&from, _this); 8749 ::uint32_t cached_has_bits = 0; 8750 (void) cached_has_bits; 8751 8752 _this->_impl_.security_.MergeFrom(from._impl_.security_); 8753 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 8754 } 8755 8756 void SecurityDefinitions::CopyFrom(const SecurityDefinitions& from) { 8757 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8758 if (&from == this) return; 8759 Clear(); 8760 MergeFrom(from); 8761 } 8762 8763 8764 void SecurityDefinitions::InternalSwap(SecurityDefinitions* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 8765 using ::std::swap; 8766 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 8767 _impl_.security_.InternalSwap(&other->_impl_.security_); 8768 } 8769 8770 ::google::protobuf::Metadata SecurityDefinitions::GetMetadata() const { 8771 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 8772 } 8773 // =================================================================== 8774 8775 #if defined(PROTOBUF_CUSTOM_VTABLE) 8776 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse() 8777 : SuperType(SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base()) {} 8778 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8779 : SuperType(arena, SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base()) {} 8780 #else // PROTOBUF_CUSTOM_VTABLE 8781 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse() : SuperType() {} 8782 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 8783 #endif // PROTOBUF_CUSTOM_VTABLE 8784 inline void* PROTOBUF_NONNULL SecurityScheme_ExtensionsEntry_DoNotUse::PlacementNew_( 8785 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8787 return ::new (mem) SecurityScheme_ExtensionsEntry_DoNotUse(arena); 8788 } 8789 constexpr auto SecurityScheme_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 8790 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecurityScheme_ExtensionsEntry_DoNotUse), 8791 alignof(SecurityScheme_ExtensionsEntry_DoNotUse)); 8792 } 8793 constexpr auto SecurityScheme_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 8794 return ::google::protobuf::internal::ClassDataFull{ 8795 ::google::protobuf::internal::ClassData{ 8796 &_SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_._instance, 8797 &_table_.header, 8798 nullptr, // OnDemandRegisterArenaDtor 8799 nullptr, // IsInitialized 8800 &SecurityScheme_ExtensionsEntry_DoNotUse::MergeImpl, 8801 ::google::protobuf::Message::GetNewImpl<SecurityScheme_ExtensionsEntry_DoNotUse>(), 8802 #if defined(PROTOBUF_CUSTOM_VTABLE) 8803 &SecurityScheme_ExtensionsEntry_DoNotUse::SharedDtor, 8804 static_cast<void (::google::protobuf::MessageLite::*)()>(&SecurityScheme_ExtensionsEntry_DoNotUse::ClearImpl), 8805 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 8806 , 8807 #endif // PROTOBUF_CUSTOM_VTABLE 8808 PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 8809 false, 8810 }, 8811 &SecurityScheme_ExtensionsEntry_DoNotUse::kDescriptorMethods, 8812 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8813 nullptr, // tracker 8814 }; 8815 } 8816 8817 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 8818 ::google::protobuf::internal::ClassDataFull SecurityScheme_ExtensionsEntry_DoNotUse_class_data_ = 8819 SecurityScheme_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 8820 8821 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 8822 SecurityScheme_ExtensionsEntry_DoNotUse::GetClassData() const { 8823 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityScheme_ExtensionsEntry_DoNotUse_class_data_); 8824 ::google::protobuf::internal::PrefetchToLocalCache(SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.tc_table); 8825 return SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base(); 8826 } 8827 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8828 const ::_pbi::TcParseTable<1, 2, 1, 84, 2> 8829 SecurityScheme_ExtensionsEntry_DoNotUse::_table_ = { 8830 { 8831 PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 8832 0, // no _extensions_ 8833 2, 8, // max_field_number, fast_idx_mask 8834 offsetof(decltype(_table_), field_lookup_table), 8835 4294967292, // skipmap 8836 offsetof(decltype(_table_), field_entries), 8837 2, // num_field_entries 8838 1, // num_aux_entries 8839 offsetof(decltype(_table_), aux_entries), 8840 SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base(), 8841 nullptr, // post_loop_handler 8842 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 8843 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8844 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse>(), // to_prefetch 8845 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8846 }, {{ 8847 // .google.protobuf.Value value = 2; 8848 {::_pbi::TcParser::FastMtS1, 8849 {18, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 8850 // string key = 1; 8851 {::_pbi::TcParser::FastUS1, 8852 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 8853 }}, {{ 8854 65535, 65535 8855 }}, {{ 8856 // string key = 1; 8857 {PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 8858 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 8859 // .google.protobuf.Value value = 2; 8860 {PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 8861 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 8862 }}, 8863 {{ 8864 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 8865 }}, 8866 {{ 8867 "\110\3\0\0\0\0\0\0" 8868 "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry" 8869 "key" 8870 }}, 8871 }; 8872 // =================================================================== 8873 8874 class SecurityScheme::_Internal { 8875 public: 8876 using HasBits = 8877 decltype(::std::declval<SecurityScheme>()._impl_._has_bits_); 8878 static constexpr ::int32_t kHasBitsOffset = 8879 8 * PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_._has_bits_); 8880 }; 8881 8882 void SecurityScheme::clear_extensions() { 8883 ::google::protobuf::internal::TSanWrite(&_impl_); 8884 _impl_.extensions_.Clear(); 8885 } 8886 SecurityScheme::SecurityScheme(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8887 #if defined(PROTOBUF_CUSTOM_VTABLE) 8888 : ::google::protobuf::Message(arena, SecurityScheme_class_data_.base()) { 8889 #else // PROTOBUF_CUSTOM_VTABLE 8890 : ::google::protobuf::Message(arena) { 8891 #endif // PROTOBUF_CUSTOM_VTABLE 8892 SharedCtor(arena); 8893 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 8894 } 8895 PROTOBUF_NDEBUG_INLINE SecurityScheme::Impl_::Impl_( 8896 ::google::protobuf::internal::InternalVisibility visibility, 8897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 8898 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme& from_msg) 8899 : _has_bits_{from._has_bits_}, 8900 _cached_size_{0}, 8901 extensions_{visibility, arena, from.extensions_}, 8902 description_(arena, from.description_), 8903 name_(arena, from.name_), 8904 authorization_url_(arena, from.authorization_url_), 8905 token_url_(arena, from.token_url_) {} 8906 8907 SecurityScheme::SecurityScheme( 8908 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 8909 const SecurityScheme& from) 8910 #if defined(PROTOBUF_CUSTOM_VTABLE) 8911 : ::google::protobuf::Message(arena, SecurityScheme_class_data_.base()) { 8912 #else // PROTOBUF_CUSTOM_VTABLE 8913 : ::google::protobuf::Message(arena) { 8914 #endif // PROTOBUF_CUSTOM_VTABLE 8915 SecurityScheme* const _this = this; 8916 (void)_this; 8917 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 8918 from._internal_metadata_); 8919 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 8920 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 8921 _impl_.scopes_ = ((cached_has_bits & 0x00000010u) != 0) 8922 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.scopes_) 8923 : nullptr; 8924 ::memcpy(reinterpret_cast<char *>(&_impl_) + 8925 offsetof(Impl_, type_), 8926 reinterpret_cast<const char *>(&from._impl_) + 8927 offsetof(Impl_, type_), 8928 offsetof(Impl_, flow_) - 8929 offsetof(Impl_, type_) + 8930 sizeof(Impl_::flow_)); 8931 8932 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 8933 } 8934 PROTOBUF_NDEBUG_INLINE SecurityScheme::Impl_::Impl_( 8935 ::google::protobuf::internal::InternalVisibility visibility, 8936 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8937 : _cached_size_{0}, 8938 extensions_{visibility, arena}, 8939 description_(arena), 8940 name_(arena), 8941 authorization_url_(arena), 8942 token_url_(arena) {} 8943 8944 inline void SecurityScheme::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 8945 new (&_impl_) Impl_(internal_visibility(), arena); 8946 ::memset(reinterpret_cast<char *>(&_impl_) + 8947 offsetof(Impl_, scopes_), 8948 0, 8949 offsetof(Impl_, flow_) - 8950 offsetof(Impl_, scopes_) + 8951 sizeof(Impl_::flow_)); 8952 } 8953 SecurityScheme::~SecurityScheme() { 8954 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 8955 SharedDtor(*this); 8956 } 8957 inline void SecurityScheme::SharedDtor(MessageLite& self) { 8958 SecurityScheme& this_ = static_cast<SecurityScheme&>(self); 8959 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 8960 ABSL_DCHECK(this_.GetArena() == nullptr); 8961 this_._impl_.description_.Destroy(); 8962 this_._impl_.name_.Destroy(); 8963 this_._impl_.authorization_url_.Destroy(); 8964 this_._impl_.token_url_.Destroy(); 8965 delete this_._impl_.scopes_; 8966 this_._impl_.~Impl_(); 8967 } 8968 8969 inline void* PROTOBUF_NONNULL SecurityScheme::PlacementNew_( 8970 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8971 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8972 return ::new (mem) SecurityScheme(arena); 8973 } 8974 constexpr auto SecurityScheme::InternalNewImpl_() { 8975 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 8976 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.extensions_) + 8977 decltype(SecurityScheme::_impl_.extensions_):: 8978 InternalGetArenaOffset( 8979 ::google::protobuf::Message::internal_visibility()), 8980 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.extensions_) + 8981 decltype(SecurityScheme::_impl_.extensions_):: 8982 InternalGetArenaOffsetAlt( 8983 ::google::protobuf::Message::internal_visibility()), 8984 }); 8985 if (arena_bits.has_value()) { 8986 return ::google::protobuf::internal::MessageCreator::CopyInit( 8987 sizeof(SecurityScheme), alignof(SecurityScheme), *arena_bits); 8988 } else { 8989 return ::google::protobuf::internal::MessageCreator(&SecurityScheme::PlacementNew_, 8990 sizeof(SecurityScheme), 8991 alignof(SecurityScheme)); 8992 } 8993 } 8994 constexpr auto SecurityScheme::InternalGenerateClassData_() { 8995 return ::google::protobuf::internal::ClassDataFull{ 8996 ::google::protobuf::internal::ClassData{ 8997 &_SecurityScheme_default_instance_._instance, 8998 &_table_.header, 8999 nullptr, // OnDemandRegisterArenaDtor 9000 nullptr, // IsInitialized 9001 &SecurityScheme::MergeImpl, 9002 ::google::protobuf::Message::GetNewImpl<SecurityScheme>(), 9003 #if defined(PROTOBUF_CUSTOM_VTABLE) 9004 &SecurityScheme::SharedDtor, 9005 ::google::protobuf::Message::GetClearImpl<SecurityScheme>(), &SecurityScheme::ByteSizeLong, 9006 &SecurityScheme::_InternalSerialize, 9007 #endif // PROTOBUF_CUSTOM_VTABLE 9008 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_._cached_size_), 9009 false, 9010 }, 9011 &SecurityScheme::kDescriptorMethods, 9012 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9013 nullptr, // tracker 9014 }; 9015 } 9016 9017 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 9018 ::google::protobuf::internal::ClassDataFull SecurityScheme_class_data_ = 9019 SecurityScheme::InternalGenerateClassData_(); 9020 9021 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 9022 SecurityScheme::GetClassData() const { 9023 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityScheme_class_data_); 9024 ::google::protobuf::internal::PrefetchToLocalCache(SecurityScheme_class_data_.tc_table); 9025 return SecurityScheme_class_data_.base(); 9026 } 9027 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9028 const ::_pbi::TcParseTable<3, 9, 3, 124, 2> 9029 SecurityScheme::_table_ = { 9030 { 9031 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_._has_bits_), 9032 0, // no _extensions_ 9033 9, 56, // max_field_number, fast_idx_mask 9034 offsetof(decltype(_table_), field_lookup_table), 9035 4294966784, // skipmap 9036 offsetof(decltype(_table_), field_entries), 9037 9, // num_field_entries 9038 3, // num_aux_entries 9039 offsetof(decltype(_table_), aux_entries), 9040 SecurityScheme_class_data_.base(), 9041 nullptr, // post_loop_handler 9042 ::_pbi::TcParser::GenericFallback, // fallback 9043 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9044 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>(), // to_prefetch 9045 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9046 }, {{ 9047 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9048 {::_pbi::TcParser::FastMtS1, 9049 {66, 4, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.scopes_)}}, 9050 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9051 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SecurityScheme, _impl_.type_), 5>(), 9052 {8, 5, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.type_)}}, 9053 // string description = 2; 9054 {::_pbi::TcParser::FastUS1, 9055 {18, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.description_)}}, 9056 // string name = 3; 9057 {::_pbi::TcParser::FastUS1, 9058 {26, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.name_)}}, 9059 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9060 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SecurityScheme, _impl_.in_), 6>(), 9061 {32, 6, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.in_)}}, 9062 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9063 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SecurityScheme, _impl_.flow_), 7>(), 9064 {40, 7, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.flow_)}}, 9065 // string authorization_url = 6; 9066 {::_pbi::TcParser::FastUS1, 9067 {50, 2, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.authorization_url_)}}, 9068 // string token_url = 7; 9069 {::_pbi::TcParser::FastUS1, 9070 {58, 3, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.token_url_)}}, 9071 }}, {{ 9072 65535, 65535 9073 }}, {{ 9074 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9075 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.type_), _Internal::kHasBitsOffset + 5, 0, 9076 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, 9077 // string description = 2; 9078 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 9079 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9080 // string name = 3; 9081 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, 9082 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9083 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9084 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.in_), _Internal::kHasBitsOffset + 6, 0, 9085 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, 9086 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9087 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.flow_), _Internal::kHasBitsOffset + 7, 0, 9088 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, 9089 // string authorization_url = 6; 9090 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.authorization_url_), _Internal::kHasBitsOffset + 2, 0, 9091 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9092 // string token_url = 7; 9093 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.token_url_), _Internal::kHasBitsOffset + 3, 0, 9094 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9095 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9096 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.scopes_), _Internal::kHasBitsOffset + 4, 0, 9097 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 9098 // map<string, .google.protobuf.Value> extensions = 9; 9099 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.extensions_), -1, 1, 9100 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 9101 }}, 9102 {{ 9103 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Scopes>()}, 9104 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 9105 9, 11, 9106 0)}, 9107 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 9108 }}, 9109 {{ 9110 "\70\0\13\4\0\0\21\11\0\12\0\0\0\0\0\0" 9111 "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme" 9112 "description" 9113 "name" 9114 "authorization_url" 9115 "token_url" 9116 "extensions" 9117 }}, 9118 }; 9119 PROTOBUF_NOINLINE void SecurityScheme::Clear() { 9120 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9121 ::google::protobuf::internal::TSanWrite(&_impl_); 9122 ::uint32_t cached_has_bits = 0; 9123 // Prevent compiler warnings about cached_has_bits being unused 9124 (void) cached_has_bits; 9125 9126 _impl_.extensions_.Clear(); 9127 cached_has_bits = _impl_._has_bits_[0]; 9128 if ((cached_has_bits & 0x0000001fu) != 0) { 9129 if ((cached_has_bits & 0x00000001u) != 0) { 9130 _impl_.description_.ClearNonDefaultToEmpty(); 9131 } 9132 if ((cached_has_bits & 0x00000002u) != 0) { 9133 _impl_.name_.ClearNonDefaultToEmpty(); 9134 } 9135 if ((cached_has_bits & 0x00000004u) != 0) { 9136 _impl_.authorization_url_.ClearNonDefaultToEmpty(); 9137 } 9138 if ((cached_has_bits & 0x00000008u) != 0) { 9139 _impl_.token_url_.ClearNonDefaultToEmpty(); 9140 } 9141 if ((cached_has_bits & 0x00000010u) != 0) { 9142 ABSL_DCHECK(_impl_.scopes_ != nullptr); 9143 _impl_.scopes_->Clear(); 9144 } 9145 } 9146 if ((cached_has_bits & 0x000000e0u) != 0) { 9147 ::memset(&_impl_.type_, 0, static_cast<::size_t>( 9148 reinterpret_cast<char*>(&_impl_.flow_) - 9149 reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.flow_)); 9150 } 9151 _impl_._has_bits_.Clear(); 9152 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 9153 } 9154 9155 #if defined(PROTOBUF_CUSTOM_VTABLE) 9156 ::uint8_t* PROTOBUF_NONNULL SecurityScheme::_InternalSerialize( 9157 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 9158 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 9159 const SecurityScheme& this_ = static_cast<const SecurityScheme&>(base); 9160 #else // PROTOBUF_CUSTOM_VTABLE 9161 ::uint8_t* PROTOBUF_NONNULL SecurityScheme::_InternalSerialize( 9162 ::uint8_t* PROTOBUF_NONNULL target, 9163 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 9164 const SecurityScheme& this_ = *this; 9165 #endif // PROTOBUF_CUSTOM_VTABLE 9166 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9167 ::uint32_t cached_has_bits = 0; 9168 (void)cached_has_bits; 9169 9170 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9171 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { 9172 if (this_._internal_type() != 0) { 9173 target = stream->EnsureSpace(target); 9174 target = ::_pbi::WireFormatLite::WriteEnumToArray( 9175 1, this_._internal_type(), target); 9176 } 9177 } 9178 9179 // string description = 2; 9180 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 9181 if (!this_._internal_description().empty()) { 9182 const ::std::string& _s = this_._internal_description(); 9183 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9184 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description"); 9185 target = stream->WriteStringMaybeAliased(2, _s, target); 9186 } 9187 } 9188 9189 // string name = 3; 9190 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 9191 if (!this_._internal_name().empty()) { 9192 const ::std::string& _s = this_._internal_name(); 9193 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9194 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name"); 9195 target = stream->WriteStringMaybeAliased(3, _s, target); 9196 } 9197 } 9198 9199 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9200 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) { 9201 if (this_._internal_in() != 0) { 9202 target = stream->EnsureSpace(target); 9203 target = ::_pbi::WireFormatLite::WriteEnumToArray( 9204 4, this_._internal_in(), target); 9205 } 9206 } 9207 9208 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9209 if ((this_._impl_._has_bits_[0] & 0x00000080u) != 0) { 9210 if (this_._internal_flow() != 0) { 9211 target = stream->EnsureSpace(target); 9212 target = ::_pbi::WireFormatLite::WriteEnumToArray( 9213 5, this_._internal_flow(), target); 9214 } 9215 } 9216 9217 // string authorization_url = 6; 9218 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 9219 if (!this_._internal_authorization_url().empty()) { 9220 const ::std::string& _s = this_._internal_authorization_url(); 9221 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9222 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url"); 9223 target = stream->WriteStringMaybeAliased(6, _s, target); 9224 } 9225 } 9226 9227 // string token_url = 7; 9228 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 9229 if (!this_._internal_token_url().empty()) { 9230 const ::std::string& _s = this_._internal_token_url(); 9231 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9232 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url"); 9233 target = stream->WriteStringMaybeAliased(7, _s, target); 9234 } 9235 } 9236 9237 cached_has_bits = this_._impl_._has_bits_[0]; 9238 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9239 if ((cached_has_bits & 0x00000010u) != 0) { 9240 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 9241 8, *this_._impl_.scopes_, this_._impl_.scopes_->GetCachedSize(), target, 9242 stream); 9243 } 9244 9245 // map<string, .google.protobuf.Value> extensions = 9; 9246 if (!this_._internal_extensions().empty()) { 9247 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 9248 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 9249 _pbi::WireFormatLite::TYPE_STRING, 9250 _pbi::WireFormatLite::TYPE_MESSAGE>; 9251 const auto& field = this_._internal_extensions(); 9252 9253 if (stream->IsSerializationDeterministic() && field.size() > 1) { 9254 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 9255 target = WireHelper::InternalSerialize( 9256 9, entry.first, entry.second, target, stream); 9257 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9258 entry.first.data(), static_cast<int>(entry.first.length()), 9259 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions"); 9260 } 9261 } else { 9262 for (const auto& entry : field) { 9263 target = WireHelper::InternalSerialize( 9264 9, entry.first, entry.second, target, stream); 9265 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9266 entry.first.data(), static_cast<int>(entry.first.length()), 9267 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions"); 9268 } 9269 } 9270 } 9271 9272 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 9273 target = 9274 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 9275 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 9276 } 9277 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9278 return target; 9279 } 9280 9281 #if defined(PROTOBUF_CUSTOM_VTABLE) 9282 ::size_t SecurityScheme::ByteSizeLong(const MessageLite& base) { 9283 const SecurityScheme& this_ = static_cast<const SecurityScheme&>(base); 9284 #else // PROTOBUF_CUSTOM_VTABLE 9285 ::size_t SecurityScheme::ByteSizeLong() const { 9286 const SecurityScheme& this_ = *this; 9287 #endif // PROTOBUF_CUSTOM_VTABLE 9288 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9289 ::size_t total_size = 0; 9290 9291 ::uint32_t cached_has_bits = 0; 9292 // Prevent compiler warnings about cached_has_bits being unused 9293 (void)cached_has_bits; 9294 9295 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 9296 { 9297 // map<string, .google.protobuf.Value> extensions = 9; 9298 { 9299 total_size += 9300 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 9301 for (const auto& entry : this_._internal_extensions()) { 9302 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 9303 _pbi::WireFormatLite::TYPE_STRING, 9304 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 9305 } 9306 } 9307 } 9308 cached_has_bits = this_._impl_._has_bits_[0]; 9309 if ((cached_has_bits & 0x000000ffu) != 0) { 9310 // string description = 2; 9311 if ((cached_has_bits & 0x00000001u) != 0) { 9312 if (!this_._internal_description().empty()) { 9313 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9314 this_._internal_description()); 9315 } 9316 } 9317 // string name = 3; 9318 if ((cached_has_bits & 0x00000002u) != 0) { 9319 if (!this_._internal_name().empty()) { 9320 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9321 this_._internal_name()); 9322 } 9323 } 9324 // string authorization_url = 6; 9325 if ((cached_has_bits & 0x00000004u) != 0) { 9326 if (!this_._internal_authorization_url().empty()) { 9327 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9328 this_._internal_authorization_url()); 9329 } 9330 } 9331 // string token_url = 7; 9332 if ((cached_has_bits & 0x00000008u) != 0) { 9333 if (!this_._internal_token_url().empty()) { 9334 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9335 this_._internal_token_url()); 9336 } 9337 } 9338 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9339 if ((cached_has_bits & 0x00000010u) != 0) { 9340 total_size += 1 + 9341 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.scopes_); 9342 } 9343 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9344 if ((cached_has_bits & 0x00000020u) != 0) { 9345 if (this_._internal_type() != 0) { 9346 total_size += 1 + 9347 ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); 9348 } 9349 } 9350 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9351 if ((cached_has_bits & 0x00000040u) != 0) { 9352 if (this_._internal_in() != 0) { 9353 total_size += 1 + 9354 ::_pbi::WireFormatLite::EnumSize(this_._internal_in()); 9355 } 9356 } 9357 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9358 if ((cached_has_bits & 0x00000080u) != 0) { 9359 if (this_._internal_flow() != 0) { 9360 total_size += 1 + 9361 ::_pbi::WireFormatLite::EnumSize(this_._internal_flow()); 9362 } 9363 } 9364 } 9365 return this_.MaybeComputeUnknownFieldsSize(total_size, 9366 &this_._impl_._cached_size_); 9367 } 9368 9369 void SecurityScheme::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 9370 auto* const _this = static_cast<SecurityScheme*>(&to_msg); 9371 auto& from = static_cast<const SecurityScheme&>(from_msg); 9372 ::google::protobuf::Arena* arena = _this->GetArena(); 9373 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9374 ABSL_DCHECK_NE(&from, _this); 9375 ::uint32_t cached_has_bits = 0; 9376 (void) cached_has_bits; 9377 9378 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 9379 cached_has_bits = from._impl_._has_bits_[0]; 9380 if ((cached_has_bits & 0x000000ffu) != 0) { 9381 if ((cached_has_bits & 0x00000001u) != 0) { 9382 if (!from._internal_description().empty()) { 9383 _this->_internal_set_description(from._internal_description()); 9384 } else { 9385 if (_this->_impl_.description_.IsDefault()) { 9386 _this->_internal_set_description(""); 9387 } 9388 } 9389 } 9390 if ((cached_has_bits & 0x00000002u) != 0) { 9391 if (!from._internal_name().empty()) { 9392 _this->_internal_set_name(from._internal_name()); 9393 } else { 9394 if (_this->_impl_.name_.IsDefault()) { 9395 _this->_internal_set_name(""); 9396 } 9397 } 9398 } 9399 if ((cached_has_bits & 0x00000004u) != 0) { 9400 if (!from._internal_authorization_url().empty()) { 9401 _this->_internal_set_authorization_url(from._internal_authorization_url()); 9402 } else { 9403 if (_this->_impl_.authorization_url_.IsDefault()) { 9404 _this->_internal_set_authorization_url(""); 9405 } 9406 } 9407 } 9408 if ((cached_has_bits & 0x00000008u) != 0) { 9409 if (!from._internal_token_url().empty()) { 9410 _this->_internal_set_token_url(from._internal_token_url()); 9411 } else { 9412 if (_this->_impl_.token_url_.IsDefault()) { 9413 _this->_internal_set_token_url(""); 9414 } 9415 } 9416 } 9417 if ((cached_has_bits & 0x00000010u) != 0) { 9418 ABSL_DCHECK(from._impl_.scopes_ != nullptr); 9419 if (_this->_impl_.scopes_ == nullptr) { 9420 _this->_impl_.scopes_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.scopes_); 9421 } else { 9422 _this->_impl_.scopes_->MergeFrom(*from._impl_.scopes_); 9423 } 9424 } 9425 if ((cached_has_bits & 0x00000020u) != 0) { 9426 if (from._internal_type() != 0) { 9427 _this->_impl_.type_ = from._impl_.type_; 9428 } 9429 } 9430 if ((cached_has_bits & 0x00000040u) != 0) { 9431 if (from._internal_in() != 0) { 9432 _this->_impl_.in_ = from._impl_.in_; 9433 } 9434 } 9435 if ((cached_has_bits & 0x00000080u) != 0) { 9436 if (from._internal_flow() != 0) { 9437 _this->_impl_.flow_ = from._impl_.flow_; 9438 } 9439 } 9440 } 9441 _this->_impl_._has_bits_[0] |= cached_has_bits; 9442 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 9443 } 9444 9445 void SecurityScheme::CopyFrom(const SecurityScheme& from) { 9446 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9447 if (&from == this) return; 9448 Clear(); 9449 MergeFrom(from); 9450 } 9451 9452 9453 void SecurityScheme::InternalSwap(SecurityScheme* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 9454 using ::std::swap; 9455 auto* arena = GetArena(); 9456 ABSL_DCHECK_EQ(arena, other->GetArena()); 9457 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 9458 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 9459 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 9460 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 9461 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 9462 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.authorization_url_, &other->_impl_.authorization_url_, arena); 9463 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.token_url_, &other->_impl_.token_url_, arena); 9464 ::google::protobuf::internal::memswap< 9465 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.flow_) 9466 + sizeof(SecurityScheme::_impl_.flow_) 9467 - PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.scopes_)>( 9468 reinterpret_cast<char*>(&_impl_.scopes_), 9469 reinterpret_cast<char*>(&other->_impl_.scopes_)); 9470 } 9471 9472 ::google::protobuf::Metadata SecurityScheme::GetMetadata() const { 9473 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 9474 } 9475 // =================================================================== 9476 9477 class SecurityRequirement_SecurityRequirementValue::_Internal { 9478 public: 9479 }; 9480 9481 SecurityRequirement_SecurityRequirementValue::SecurityRequirement_SecurityRequirementValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9482 #if defined(PROTOBUF_CUSTOM_VTABLE) 9483 : ::google::protobuf::Message(arena, SecurityRequirement_SecurityRequirementValue_class_data_.base()) { 9484 #else // PROTOBUF_CUSTOM_VTABLE 9485 : ::google::protobuf::Message(arena) { 9486 #endif // PROTOBUF_CUSTOM_VTABLE 9487 SharedCtor(arena); 9488 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9489 } 9490 PROTOBUF_NDEBUG_INLINE SecurityRequirement_SecurityRequirementValue::Impl_::Impl_( 9491 ::google::protobuf::internal::InternalVisibility visibility, 9492 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 9493 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue& from_msg) 9494 : scope_{visibility, arena, from.scope_}, 9495 _cached_size_{0} {} 9496 9497 SecurityRequirement_SecurityRequirementValue::SecurityRequirement_SecurityRequirementValue( 9498 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 9499 const SecurityRequirement_SecurityRequirementValue& from) 9500 #if defined(PROTOBUF_CUSTOM_VTABLE) 9501 : ::google::protobuf::Message(arena, SecurityRequirement_SecurityRequirementValue_class_data_.base()) { 9502 #else // PROTOBUF_CUSTOM_VTABLE 9503 : ::google::protobuf::Message(arena) { 9504 #endif // PROTOBUF_CUSTOM_VTABLE 9505 SecurityRequirement_SecurityRequirementValue* const _this = this; 9506 (void)_this; 9507 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 9508 from._internal_metadata_); 9509 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 9510 9511 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9512 } 9513 PROTOBUF_NDEBUG_INLINE SecurityRequirement_SecurityRequirementValue::Impl_::Impl_( 9514 ::google::protobuf::internal::InternalVisibility visibility, 9515 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9516 : scope_{visibility, arena}, 9517 _cached_size_{0} {} 9518 9519 inline void SecurityRequirement_SecurityRequirementValue::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 9520 new (&_impl_) Impl_(internal_visibility(), arena); 9521 } 9522 SecurityRequirement_SecurityRequirementValue::~SecurityRequirement_SecurityRequirementValue() { 9523 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9524 SharedDtor(*this); 9525 } 9526 inline void SecurityRequirement_SecurityRequirementValue::SharedDtor(MessageLite& self) { 9527 SecurityRequirement_SecurityRequirementValue& this_ = static_cast<SecurityRequirement_SecurityRequirementValue&>(self); 9528 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 9529 ABSL_DCHECK(this_.GetArena() == nullptr); 9530 this_._impl_.~Impl_(); 9531 } 9532 9533 inline void* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::PlacementNew_( 9534 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 9535 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 9536 return ::new (mem) SecurityRequirement_SecurityRequirementValue(arena); 9537 } 9538 constexpr auto SecurityRequirement_SecurityRequirementValue::InternalNewImpl_() { 9539 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 9540 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_.scope_) + 9541 decltype(SecurityRequirement_SecurityRequirementValue::_impl_.scope_):: 9542 InternalGetArenaOffset( 9543 ::google::protobuf::Message::internal_visibility()), 9544 }); 9545 if (arena_bits.has_value()) { 9546 return ::google::protobuf::internal::MessageCreator::ZeroInit( 9547 sizeof(SecurityRequirement_SecurityRequirementValue), alignof(SecurityRequirement_SecurityRequirementValue), *arena_bits); 9548 } else { 9549 return ::google::protobuf::internal::MessageCreator(&SecurityRequirement_SecurityRequirementValue::PlacementNew_, 9550 sizeof(SecurityRequirement_SecurityRequirementValue), 9551 alignof(SecurityRequirement_SecurityRequirementValue)); 9552 } 9553 } 9554 constexpr auto SecurityRequirement_SecurityRequirementValue::InternalGenerateClassData_() { 9555 return ::google::protobuf::internal::ClassDataFull{ 9556 ::google::protobuf::internal::ClassData{ 9557 &_SecurityRequirement_SecurityRequirementValue_default_instance_._instance, 9558 &_table_.header, 9559 nullptr, // OnDemandRegisterArenaDtor 9560 nullptr, // IsInitialized 9561 &SecurityRequirement_SecurityRequirementValue::MergeImpl, 9562 ::google::protobuf::Message::GetNewImpl<SecurityRequirement_SecurityRequirementValue>(), 9563 #if defined(PROTOBUF_CUSTOM_VTABLE) 9564 &SecurityRequirement_SecurityRequirementValue::SharedDtor, 9565 ::google::protobuf::Message::GetClearImpl<SecurityRequirement_SecurityRequirementValue>(), &SecurityRequirement_SecurityRequirementValue::ByteSizeLong, 9566 &SecurityRequirement_SecurityRequirementValue::_InternalSerialize, 9567 #endif // PROTOBUF_CUSTOM_VTABLE 9568 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_._cached_size_), 9569 false, 9570 }, 9571 &SecurityRequirement_SecurityRequirementValue::kDescriptorMethods, 9572 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9573 nullptr, // tracker 9574 }; 9575 } 9576 9577 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 9578 ::google::protobuf::internal::ClassDataFull SecurityRequirement_SecurityRequirementValue_class_data_ = 9579 SecurityRequirement_SecurityRequirementValue::InternalGenerateClassData_(); 9580 9581 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 9582 SecurityRequirement_SecurityRequirementValue::GetClassData() const { 9583 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityRequirement_SecurityRequirementValue_class_data_); 9584 ::google::protobuf::internal::PrefetchToLocalCache(SecurityRequirement_SecurityRequirementValue_class_data_.tc_table); 9585 return SecurityRequirement_SecurityRequirementValue_class_data_.base(); 9586 } 9587 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9588 const ::_pbi::TcParseTable<0, 1, 0, 100, 2> 9589 SecurityRequirement_SecurityRequirementValue::_table_ = { 9590 { 9591 0, // no _has_bits_ 9592 0, // no _extensions_ 9593 1, 0, // max_field_number, fast_idx_mask 9594 offsetof(decltype(_table_), field_lookup_table), 9595 4294967294, // skipmap 9596 offsetof(decltype(_table_), field_entries), 9597 1, // num_field_entries 9598 0, // num_aux_entries 9599 offsetof(decltype(_table_), field_names), // no aux_entries 9600 SecurityRequirement_SecurityRequirementValue_class_data_.base(), 9601 nullptr, // post_loop_handler 9602 ::_pbi::TcParser::GenericFallback, // fallback 9603 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9604 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>(), // to_prefetch 9605 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9606 }, {{ 9607 // repeated string scope = 1; 9608 {::_pbi::TcParser::FastUR1, 9609 {10, 63, 0, PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_.scope_)}}, 9610 }}, {{ 9611 65535, 65535 9612 }}, {{ 9613 // repeated string scope = 1; 9614 {PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_.scope_), 0, 0, 9615 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 9616 }}, 9617 // no aux_entries 9618 {{ 9619 "\126\5\0\0\0\0\0\0" 9620 "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue" 9621 "scope" 9622 }}, 9623 }; 9624 PROTOBUF_NOINLINE void SecurityRequirement_SecurityRequirementValue::Clear() { 9625 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9626 ::google::protobuf::internal::TSanWrite(&_impl_); 9627 ::uint32_t cached_has_bits = 0; 9628 // Prevent compiler warnings about cached_has_bits being unused 9629 (void) cached_has_bits; 9630 9631 _impl_.scope_.Clear(); 9632 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 9633 } 9634 9635 #if defined(PROTOBUF_CUSTOM_VTABLE) 9636 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::_InternalSerialize( 9637 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 9638 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 9639 const SecurityRequirement_SecurityRequirementValue& this_ = static_cast<const SecurityRequirement_SecurityRequirementValue&>(base); 9640 #else // PROTOBUF_CUSTOM_VTABLE 9641 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::_InternalSerialize( 9642 ::uint8_t* PROTOBUF_NONNULL target, 9643 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 9644 const SecurityRequirement_SecurityRequirementValue& this_ = *this; 9645 #endif // PROTOBUF_CUSTOM_VTABLE 9646 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9647 ::uint32_t cached_has_bits = 0; 9648 (void)cached_has_bits; 9649 9650 // repeated string scope = 1; 9651 for (int i = 0, n = this_._internal_scope_size(); i < n; ++i) { 9652 const auto& s = this_._internal_scope().Get(i); 9653 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9654 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope"); 9655 target = stream->WriteString(1, s, target); 9656 } 9657 9658 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 9659 target = 9660 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 9661 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 9662 } 9663 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9664 return target; 9665 } 9666 9667 #if defined(PROTOBUF_CUSTOM_VTABLE) 9668 ::size_t SecurityRequirement_SecurityRequirementValue::ByteSizeLong(const MessageLite& base) { 9669 const SecurityRequirement_SecurityRequirementValue& this_ = static_cast<const SecurityRequirement_SecurityRequirementValue&>(base); 9670 #else // PROTOBUF_CUSTOM_VTABLE 9671 ::size_t SecurityRequirement_SecurityRequirementValue::ByteSizeLong() const { 9672 const SecurityRequirement_SecurityRequirementValue& this_ = *this; 9673 #endif // PROTOBUF_CUSTOM_VTABLE 9674 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9675 ::size_t total_size = 0; 9676 9677 ::uint32_t cached_has_bits = 0; 9678 // Prevent compiler warnings about cached_has_bits being unused 9679 (void)cached_has_bits; 9680 9681 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 9682 { 9683 // repeated string scope = 1; 9684 { 9685 total_size += 9686 1 * ::google::protobuf::internal::FromIntSize(this_._internal_scope().size()); 9687 for (int i = 0, n = this_._internal_scope().size(); i < n; ++i) { 9688 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 9689 this_._internal_scope().Get(i)); 9690 } 9691 } 9692 } 9693 return this_.MaybeComputeUnknownFieldsSize(total_size, 9694 &this_._impl_._cached_size_); 9695 } 9696 9697 void SecurityRequirement_SecurityRequirementValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 9698 auto* const _this = static_cast<SecurityRequirement_SecurityRequirementValue*>(&to_msg); 9699 auto& from = static_cast<const SecurityRequirement_SecurityRequirementValue&>(from_msg); 9700 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9701 ABSL_DCHECK_NE(&from, _this); 9702 ::uint32_t cached_has_bits = 0; 9703 (void) cached_has_bits; 9704 9705 _this->_internal_mutable_scope()->MergeFrom(from._internal_scope()); 9706 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 9707 } 9708 9709 void SecurityRequirement_SecurityRequirementValue::CopyFrom(const SecurityRequirement_SecurityRequirementValue& from) { 9710 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9711 if (&from == this) return; 9712 Clear(); 9713 MergeFrom(from); 9714 } 9715 9716 9717 void SecurityRequirement_SecurityRequirementValue::InternalSwap(SecurityRequirement_SecurityRequirementValue* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 9718 using ::std::swap; 9719 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 9720 _impl_.scope_.InternalSwap(&other->_impl_.scope_); 9721 } 9722 9723 ::google::protobuf::Metadata SecurityRequirement_SecurityRequirementValue::GetMetadata() const { 9724 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 9725 } 9726 // =================================================================== 9727 9728 #if defined(PROTOBUF_CUSTOM_VTABLE) 9729 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse() 9730 : SuperType(SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base()) {} 9731 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9732 : SuperType(arena, SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base()) {} 9733 #else // PROTOBUF_CUSTOM_VTABLE 9734 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse() : SuperType() {} 9735 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 9736 #endif // PROTOBUF_CUSTOM_VTABLE 9737 inline void* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementEntry_DoNotUse::PlacementNew_( 9738 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 9739 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 9740 return ::new (mem) SecurityRequirement_SecurityRequirementEntry_DoNotUse(arena); 9741 } 9742 constexpr auto SecurityRequirement_SecurityRequirementEntry_DoNotUse::InternalNewImpl_() { 9743 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecurityRequirement_SecurityRequirementEntry_DoNotUse), 9744 alignof(SecurityRequirement_SecurityRequirementEntry_DoNotUse)); 9745 } 9746 constexpr auto SecurityRequirement_SecurityRequirementEntry_DoNotUse::InternalGenerateClassData_() { 9747 return ::google::protobuf::internal::ClassDataFull{ 9748 ::google::protobuf::internal::ClassData{ 9749 &_SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_._instance, 9750 &_table_.header, 9751 nullptr, // OnDemandRegisterArenaDtor 9752 nullptr, // IsInitialized 9753 &SecurityRequirement_SecurityRequirementEntry_DoNotUse::MergeImpl, 9754 ::google::protobuf::Message::GetNewImpl<SecurityRequirement_SecurityRequirementEntry_DoNotUse>(), 9755 #if defined(PROTOBUF_CUSTOM_VTABLE) 9756 &SecurityRequirement_SecurityRequirementEntry_DoNotUse::SharedDtor, 9757 static_cast<void (::google::protobuf::MessageLite::*)()>(&SecurityRequirement_SecurityRequirementEntry_DoNotUse::ClearImpl), 9758 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 9759 , 9760 #endif // PROTOBUF_CUSTOM_VTABLE 9761 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_._cached_size_), 9762 false, 9763 }, 9764 &SecurityRequirement_SecurityRequirementEntry_DoNotUse::kDescriptorMethods, 9765 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9766 nullptr, // tracker 9767 }; 9768 } 9769 9770 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 9771 ::google::protobuf::internal::ClassDataFull SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_ = 9772 SecurityRequirement_SecurityRequirementEntry_DoNotUse::InternalGenerateClassData_(); 9773 9774 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 9775 SecurityRequirement_SecurityRequirementEntry_DoNotUse::GetClassData() const { 9776 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_); 9777 ::google::protobuf::internal::PrefetchToLocalCache(SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.tc_table); 9778 return SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base(); 9779 } 9780 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9781 const ::_pbi::TcParseTable<1, 2, 1, 98, 2> 9782 SecurityRequirement_SecurityRequirementEntry_DoNotUse::_table_ = { 9783 { 9784 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_._has_bits_), 9785 0, // no _extensions_ 9786 2, 8, // max_field_number, fast_idx_mask 9787 offsetof(decltype(_table_), field_lookup_table), 9788 4294967292, // skipmap 9789 offsetof(decltype(_table_), field_entries), 9790 2, // num_field_entries 9791 1, // num_aux_entries 9792 offsetof(decltype(_table_), aux_entries), 9793 SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base(), 9794 nullptr, // post_loop_handler 9795 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 9796 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9797 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse>(), // to_prefetch 9798 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9799 }, {{ 9800 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue value = 2; 9801 {::_pbi::TcParser::FastMtS1, 9802 {18, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.value_)}}, 9803 // string key = 1; 9804 {::_pbi::TcParser::FastUS1, 9805 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.key_)}}, 9806 }}, {{ 9807 65535, 65535 9808 }}, {{ 9809 // string key = 1; 9810 {PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 9811 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9812 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue value = 2; 9813 {PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 9814 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 9815 }}, 9816 {{ 9817 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>()}, 9818 }}, 9819 {{ 9820 "\126\3\0\0\0\0\0\0" 9821 "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry" 9822 "key" 9823 }}, 9824 }; 9825 // =================================================================== 9826 9827 class SecurityRequirement::_Internal { 9828 public: 9829 }; 9830 9831 SecurityRequirement::SecurityRequirement(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9832 #if defined(PROTOBUF_CUSTOM_VTABLE) 9833 : ::google::protobuf::Message(arena, SecurityRequirement_class_data_.base()) { 9834 #else // PROTOBUF_CUSTOM_VTABLE 9835 : ::google::protobuf::Message(arena) { 9836 #endif // PROTOBUF_CUSTOM_VTABLE 9837 SharedCtor(arena); 9838 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 9839 } 9840 PROTOBUF_NDEBUG_INLINE SecurityRequirement::Impl_::Impl_( 9841 ::google::protobuf::internal::InternalVisibility visibility, 9842 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 9843 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement& from_msg) 9844 : security_requirement_{visibility, arena, from.security_requirement_}, 9845 _cached_size_{0} {} 9846 9847 SecurityRequirement::SecurityRequirement( 9848 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 9849 const SecurityRequirement& from) 9850 #if defined(PROTOBUF_CUSTOM_VTABLE) 9851 : ::google::protobuf::Message(arena, SecurityRequirement_class_data_.base()) { 9852 #else // PROTOBUF_CUSTOM_VTABLE 9853 : ::google::protobuf::Message(arena) { 9854 #endif // PROTOBUF_CUSTOM_VTABLE 9855 SecurityRequirement* const _this = this; 9856 (void)_this; 9857 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 9858 from._internal_metadata_); 9859 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 9860 9861 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 9862 } 9863 PROTOBUF_NDEBUG_INLINE SecurityRequirement::Impl_::Impl_( 9864 ::google::protobuf::internal::InternalVisibility visibility, 9865 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9866 : security_requirement_{visibility, arena}, 9867 _cached_size_{0} {} 9868 9869 inline void SecurityRequirement::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 9870 new (&_impl_) Impl_(internal_visibility(), arena); 9871 } 9872 SecurityRequirement::~SecurityRequirement() { 9873 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 9874 SharedDtor(*this); 9875 } 9876 inline void SecurityRequirement::SharedDtor(MessageLite& self) { 9877 SecurityRequirement& this_ = static_cast<SecurityRequirement&>(self); 9878 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 9879 ABSL_DCHECK(this_.GetArena() == nullptr); 9880 this_._impl_.~Impl_(); 9881 } 9882 9883 inline void* PROTOBUF_NONNULL SecurityRequirement::PlacementNew_( 9884 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 9885 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 9886 return ::new (mem) SecurityRequirement(arena); 9887 } 9888 constexpr auto SecurityRequirement::InternalNewImpl_() { 9889 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 9890 PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_.security_requirement_) + 9891 decltype(SecurityRequirement::_impl_.security_requirement_):: 9892 InternalGetArenaOffset( 9893 ::google::protobuf::Message::internal_visibility()), 9894 PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_.security_requirement_) + 9895 decltype(SecurityRequirement::_impl_.security_requirement_):: 9896 InternalGetArenaOffsetAlt( 9897 ::google::protobuf::Message::internal_visibility()), 9898 }); 9899 if (arena_bits.has_value()) { 9900 return ::google::protobuf::internal::MessageCreator::CopyInit( 9901 sizeof(SecurityRequirement), alignof(SecurityRequirement), *arena_bits); 9902 } else { 9903 return ::google::protobuf::internal::MessageCreator(&SecurityRequirement::PlacementNew_, 9904 sizeof(SecurityRequirement), 9905 alignof(SecurityRequirement)); 9906 } 9907 } 9908 constexpr auto SecurityRequirement::InternalGenerateClassData_() { 9909 return ::google::protobuf::internal::ClassDataFull{ 9910 ::google::protobuf::internal::ClassData{ 9911 &_SecurityRequirement_default_instance_._instance, 9912 &_table_.header, 9913 nullptr, // OnDemandRegisterArenaDtor 9914 nullptr, // IsInitialized 9915 &SecurityRequirement::MergeImpl, 9916 ::google::protobuf::Message::GetNewImpl<SecurityRequirement>(), 9917 #if defined(PROTOBUF_CUSTOM_VTABLE) 9918 &SecurityRequirement::SharedDtor, 9919 ::google::protobuf::Message::GetClearImpl<SecurityRequirement>(), &SecurityRequirement::ByteSizeLong, 9920 &SecurityRequirement::_InternalSerialize, 9921 #endif // PROTOBUF_CUSTOM_VTABLE 9922 PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_._cached_size_), 9923 false, 9924 }, 9925 &SecurityRequirement::kDescriptorMethods, 9926 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9927 nullptr, // tracker 9928 }; 9929 } 9930 9931 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 9932 ::google::protobuf::internal::ClassDataFull SecurityRequirement_class_data_ = 9933 SecurityRequirement::InternalGenerateClassData_(); 9934 9935 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 9936 SecurityRequirement::GetClassData() const { 9937 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityRequirement_class_data_); 9938 ::google::protobuf::internal::PrefetchToLocalCache(SecurityRequirement_class_data_.tc_table); 9939 return SecurityRequirement_class_data_.base(); 9940 } 9941 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9942 const ::_pbi::TcParseTable<0, 1, 2, 90, 2> 9943 SecurityRequirement::_table_ = { 9944 { 9945 0, // no _has_bits_ 9946 0, // no _extensions_ 9947 1, 0, // max_field_number, fast_idx_mask 9948 offsetof(decltype(_table_), field_lookup_table), 9949 4294967294, // skipmap 9950 offsetof(decltype(_table_), field_entries), 9951 1, // num_field_entries 9952 2, // num_aux_entries 9953 offsetof(decltype(_table_), aux_entries), 9954 SecurityRequirement_class_data_.base(), 9955 nullptr, // post_loop_handler 9956 ::_pbi::TcParser::GenericFallback, // fallback 9957 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9958 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>(), // to_prefetch 9959 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9960 }, {{ 9961 {::_pbi::TcParser::MiniParse, {}}, 9962 }}, {{ 9963 65535, 65535 9964 }}, {{ 9965 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 9966 {PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_.security_requirement_), 0, 0, 9967 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 9968 }}, 9969 {{ 9970 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 9971 9, 11, 9972 0)}, 9973 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>()}, 9974 }}, 9975 {{ 9976 "\75\24\0\0\0\0\0\0" 9977 "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement" 9978 "security_requirement" 9979 }}, 9980 }; 9981 PROTOBUF_NOINLINE void SecurityRequirement::Clear() { 9982 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 9983 ::google::protobuf::internal::TSanWrite(&_impl_); 9984 ::uint32_t cached_has_bits = 0; 9985 // Prevent compiler warnings about cached_has_bits being unused 9986 (void) cached_has_bits; 9987 9988 _impl_.security_requirement_.Clear(); 9989 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 9990 } 9991 9992 #if defined(PROTOBUF_CUSTOM_VTABLE) 9993 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement::_InternalSerialize( 9994 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 9995 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 9996 const SecurityRequirement& this_ = static_cast<const SecurityRequirement&>(base); 9997 #else // PROTOBUF_CUSTOM_VTABLE 9998 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement::_InternalSerialize( 9999 ::uint8_t* PROTOBUF_NONNULL target, 10000 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 10001 const SecurityRequirement& this_ = *this; 10002 #endif // PROTOBUF_CUSTOM_VTABLE 10003 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10004 ::uint32_t cached_has_bits = 0; 10005 (void)cached_has_bits; 10006 10007 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 10008 if (!this_._internal_security_requirement().empty()) { 10009 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>; 10010 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, 10011 _pbi::WireFormatLite::TYPE_STRING, 10012 _pbi::WireFormatLite::TYPE_MESSAGE>; 10013 const auto& field = this_._internal_security_requirement(); 10014 10015 if (stream->IsSerializationDeterministic() && field.size() > 1) { 10016 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 10017 target = WireHelper::InternalSerialize( 10018 1, entry.first, entry.second, target, stream); 10019 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10020 entry.first.data(), static_cast<int>(entry.first.length()), 10021 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement"); 10022 } 10023 } else { 10024 for (const auto& entry : field) { 10025 target = WireHelper::InternalSerialize( 10026 1, entry.first, entry.second, target, stream); 10027 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10028 entry.first.data(), static_cast<int>(entry.first.length()), 10029 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement"); 10030 } 10031 } 10032 } 10033 10034 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 10035 target = 10036 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 10037 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 10038 } 10039 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10040 return target; 10041 } 10042 10043 #if defined(PROTOBUF_CUSTOM_VTABLE) 10044 ::size_t SecurityRequirement::ByteSizeLong(const MessageLite& base) { 10045 const SecurityRequirement& this_ = static_cast<const SecurityRequirement&>(base); 10046 #else // PROTOBUF_CUSTOM_VTABLE 10047 ::size_t SecurityRequirement::ByteSizeLong() const { 10048 const SecurityRequirement& this_ = *this; 10049 #endif // PROTOBUF_CUSTOM_VTABLE 10050 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10051 ::size_t total_size = 0; 10052 10053 ::uint32_t cached_has_bits = 0; 10054 // Prevent compiler warnings about cached_has_bits being unused 10055 (void)cached_has_bits; 10056 10057 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 10058 { 10059 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 10060 { 10061 total_size += 10062 1 * ::google::protobuf::internal::FromIntSize(this_._internal_security_requirement_size()); 10063 for (const auto& entry : this_._internal_security_requirement()) { 10064 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, 10065 _pbi::WireFormatLite::TYPE_STRING, 10066 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 10067 } 10068 } 10069 } 10070 return this_.MaybeComputeUnknownFieldsSize(total_size, 10071 &this_._impl_._cached_size_); 10072 } 10073 10074 void SecurityRequirement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 10075 auto* const _this = static_cast<SecurityRequirement*>(&to_msg); 10076 auto& from = static_cast<const SecurityRequirement&>(from_msg); 10077 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10078 ABSL_DCHECK_NE(&from, _this); 10079 ::uint32_t cached_has_bits = 0; 10080 (void) cached_has_bits; 10081 10082 _this->_impl_.security_requirement_.MergeFrom(from._impl_.security_requirement_); 10083 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 10084 } 10085 10086 void SecurityRequirement::CopyFrom(const SecurityRequirement& from) { 10087 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10088 if (&from == this) return; 10089 Clear(); 10090 MergeFrom(from); 10091 } 10092 10093 10094 void SecurityRequirement::InternalSwap(SecurityRequirement* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 10095 using ::std::swap; 10096 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 10097 _impl_.security_requirement_.InternalSwap(&other->_impl_.security_requirement_); 10098 } 10099 10100 ::google::protobuf::Metadata SecurityRequirement::GetMetadata() const { 10101 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 10102 } 10103 // =================================================================== 10104 10105 #if defined(PROTOBUF_CUSTOM_VTABLE) 10106 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse() 10107 : SuperType(Scopes_ScopeEntry_DoNotUse_class_data_.base()) {} 10108 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10109 : SuperType(arena, Scopes_ScopeEntry_DoNotUse_class_data_.base()) {} 10110 #else // PROTOBUF_CUSTOM_VTABLE 10111 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse() : SuperType() {} 10112 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 10113 #endif // PROTOBUF_CUSTOM_VTABLE 10114 inline void* PROTOBUF_NONNULL Scopes_ScopeEntry_DoNotUse::PlacementNew_( 10115 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 10116 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 10117 return ::new (mem) Scopes_ScopeEntry_DoNotUse(arena); 10118 } 10119 constexpr auto Scopes_ScopeEntry_DoNotUse::InternalNewImpl_() { 10120 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Scopes_ScopeEntry_DoNotUse), 10121 alignof(Scopes_ScopeEntry_DoNotUse)); 10122 } 10123 constexpr auto Scopes_ScopeEntry_DoNotUse::InternalGenerateClassData_() { 10124 return ::google::protobuf::internal::ClassDataFull{ 10125 ::google::protobuf::internal::ClassData{ 10126 &_Scopes_ScopeEntry_DoNotUse_default_instance_._instance, 10127 &_table_.header, 10128 nullptr, // OnDemandRegisterArenaDtor 10129 nullptr, // IsInitialized 10130 &Scopes_ScopeEntry_DoNotUse::MergeImpl, 10131 ::google::protobuf::Message::GetNewImpl<Scopes_ScopeEntry_DoNotUse>(), 10132 #if defined(PROTOBUF_CUSTOM_VTABLE) 10133 &Scopes_ScopeEntry_DoNotUse::SharedDtor, 10134 static_cast<void (::google::protobuf::MessageLite::*)()>(&Scopes_ScopeEntry_DoNotUse::ClearImpl), 10135 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 10136 , 10137 #endif // PROTOBUF_CUSTOM_VTABLE 10138 PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_._cached_size_), 10139 false, 10140 }, 10141 &Scopes_ScopeEntry_DoNotUse::kDescriptorMethods, 10142 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 10143 nullptr, // tracker 10144 }; 10145 } 10146 10147 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 10148 ::google::protobuf::internal::ClassDataFull Scopes_ScopeEntry_DoNotUse_class_data_ = 10149 Scopes_ScopeEntry_DoNotUse::InternalGenerateClassData_(); 10150 10151 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 10152 Scopes_ScopeEntry_DoNotUse::GetClassData() const { 10153 ::google::protobuf::internal::PrefetchToLocalCache(&Scopes_ScopeEntry_DoNotUse_class_data_); 10154 ::google::protobuf::internal::PrefetchToLocalCache(Scopes_ScopeEntry_DoNotUse_class_data_.tc_table); 10155 return Scopes_ScopeEntry_DoNotUse_class_data_.base(); 10156 } 10157 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 10158 const ::_pbi::TcParseTable<1, 2, 0, 76, 2> 10159 Scopes_ScopeEntry_DoNotUse::_table_ = { 10160 { 10161 PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_._has_bits_), 10162 0, // no _extensions_ 10163 2, 8, // max_field_number, fast_idx_mask 10164 offsetof(decltype(_table_), field_lookup_table), 10165 4294967292, // skipmap 10166 offsetof(decltype(_table_), field_entries), 10167 2, // num_field_entries 10168 0, // num_aux_entries 10169 offsetof(decltype(_table_), field_names), // no aux_entries 10170 Scopes_ScopeEntry_DoNotUse_class_data_.base(), 10171 nullptr, // post_loop_handler 10172 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 10173 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 10174 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse>(), // to_prefetch 10175 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 10176 }, {{ 10177 // string value = 2; 10178 {::_pbi::TcParser::FastUS1, 10179 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.value_)}}, 10180 // string key = 1; 10181 {::_pbi::TcParser::FastUS1, 10182 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.key_)}}, 10183 }}, {{ 10184 65535, 65535 10185 }}, {{ 10186 // string key = 1; 10187 {PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 10188 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 10189 // string value = 2; 10190 {PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 10191 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 10192 }}, 10193 // no aux_entries 10194 {{ 10195 "\73\3\5\0\0\0\0\0" 10196 "grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry" 10197 "key" 10198 "value" 10199 }}, 10200 }; 10201 // =================================================================== 10202 10203 class Scopes::_Internal { 10204 public: 10205 }; 10206 10207 Scopes::Scopes(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10208 #if defined(PROTOBUF_CUSTOM_VTABLE) 10209 : ::google::protobuf::Message(arena, Scopes_class_data_.base()) { 10210 #else // PROTOBUF_CUSTOM_VTABLE 10211 : ::google::protobuf::Message(arena) { 10212 #endif // PROTOBUF_CUSTOM_VTABLE 10213 SharedCtor(arena); 10214 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10215 } 10216 PROTOBUF_NDEBUG_INLINE Scopes::Impl_::Impl_( 10217 ::google::protobuf::internal::InternalVisibility visibility, 10218 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 10219 const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes& from_msg) 10220 : scope_{visibility, arena, from.scope_}, 10221 _cached_size_{0} {} 10222 10223 Scopes::Scopes( 10224 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 10225 const Scopes& from) 10226 #if defined(PROTOBUF_CUSTOM_VTABLE) 10227 : ::google::protobuf::Message(arena, Scopes_class_data_.base()) { 10228 #else // PROTOBUF_CUSTOM_VTABLE 10229 : ::google::protobuf::Message(arena) { 10230 #endif // PROTOBUF_CUSTOM_VTABLE 10231 Scopes* const _this = this; 10232 (void)_this; 10233 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 10234 from._internal_metadata_); 10235 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 10236 10237 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10238 } 10239 PROTOBUF_NDEBUG_INLINE Scopes::Impl_::Impl_( 10240 ::google::protobuf::internal::InternalVisibility visibility, 10241 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10242 : scope_{visibility, arena}, 10243 _cached_size_{0} {} 10244 10245 inline void Scopes::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 10246 new (&_impl_) Impl_(internal_visibility(), arena); 10247 } 10248 Scopes::~Scopes() { 10249 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10250 SharedDtor(*this); 10251 } 10252 inline void Scopes::SharedDtor(MessageLite& self) { 10253 Scopes& this_ = static_cast<Scopes&>(self); 10254 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 10255 ABSL_DCHECK(this_.GetArena() == nullptr); 10256 this_._impl_.~Impl_(); 10257 } 10258 10259 inline void* PROTOBUF_NONNULL Scopes::PlacementNew_( 10260 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 10261 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 10262 return ::new (mem) Scopes(arena); 10263 } 10264 constexpr auto Scopes::InternalNewImpl_() { 10265 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 10266 PROTOBUF_FIELD_OFFSET(Scopes, _impl_.scope_) + 10267 decltype(Scopes::_impl_.scope_):: 10268 InternalGetArenaOffset( 10269 ::google::protobuf::Message::internal_visibility()), 10270 PROTOBUF_FIELD_OFFSET(Scopes, _impl_.scope_) + 10271 decltype(Scopes::_impl_.scope_):: 10272 InternalGetArenaOffsetAlt( 10273 ::google::protobuf::Message::internal_visibility()), 10274 }); 10275 if (arena_bits.has_value()) { 10276 return ::google::protobuf::internal::MessageCreator::CopyInit( 10277 sizeof(Scopes), alignof(Scopes), *arena_bits); 10278 } else { 10279 return ::google::protobuf::internal::MessageCreator(&Scopes::PlacementNew_, 10280 sizeof(Scopes), 10281 alignof(Scopes)); 10282 } 10283 } 10284 constexpr auto Scopes::InternalGenerateClassData_() { 10285 return ::google::protobuf::internal::ClassDataFull{ 10286 ::google::protobuf::internal::ClassData{ 10287 &_Scopes_default_instance_._instance, 10288 &_table_.header, 10289 nullptr, // OnDemandRegisterArenaDtor 10290 nullptr, // IsInitialized 10291 &Scopes::MergeImpl, 10292 ::google::protobuf::Message::GetNewImpl<Scopes>(), 10293 #if defined(PROTOBUF_CUSTOM_VTABLE) 10294 &Scopes::SharedDtor, 10295 ::google::protobuf::Message::GetClearImpl<Scopes>(), &Scopes::ByteSizeLong, 10296 &Scopes::_InternalSerialize, 10297 #endif // PROTOBUF_CUSTOM_VTABLE 10298 PROTOBUF_FIELD_OFFSET(Scopes, _impl_._cached_size_), 10299 false, 10300 }, 10301 &Scopes::kDescriptorMethods, 10302 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 10303 nullptr, // tracker 10304 }; 10305 } 10306 10307 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const 10308 ::google::protobuf::internal::ClassDataFull Scopes_class_data_ = 10309 Scopes::InternalGenerateClassData_(); 10310 10311 PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL 10312 Scopes::GetClassData() const { 10313 ::google::protobuf::internal::PrefetchToLocalCache(&Scopes_class_data_); 10314 ::google::protobuf::internal::PrefetchToLocalCache(Scopes_class_data_.tc_table); 10315 return Scopes_class_data_.base(); 10316 } 10317 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 10318 const ::_pbi::TcParseTable<0, 1, 1, 62, 2> 10319 Scopes::_table_ = { 10320 { 10321 0, // no _has_bits_ 10322 0, // no _extensions_ 10323 1, 0, // max_field_number, fast_idx_mask 10324 offsetof(decltype(_table_), field_lookup_table), 10325 4294967294, // skipmap 10326 offsetof(decltype(_table_), field_entries), 10327 1, // num_field_entries 10328 1, // num_aux_entries 10329 offsetof(decltype(_table_), aux_entries), 10330 Scopes_class_data_.base(), 10331 nullptr, // post_loop_handler 10332 ::_pbi::TcParser::GenericFallback, // fallback 10333 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 10334 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Scopes>(), // to_prefetch 10335 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 10336 }, {{ 10337 {::_pbi::TcParser::MiniParse, {}}, 10338 }}, {{ 10339 65535, 65535 10340 }}, {{ 10341 // map<string, string> scope = 1; 10342 {PROTOBUF_FIELD_OFFSET(Scopes, _impl_.scope_), 0, 0, 10343 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 10344 }}, 10345 {{ 10346 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 10347 9, 9, 10348 0)}, 10349 }}, 10350 {{ 10351 "\60\5\0\0\0\0\0\0" 10352 "grpc.gateway.protoc_gen_openapiv2.options.Scopes" 10353 "scope" 10354 }}, 10355 }; 10356 PROTOBUF_NOINLINE void Scopes::Clear() { 10357 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10358 ::google::protobuf::internal::TSanWrite(&_impl_); 10359 ::uint32_t cached_has_bits = 0; 10360 // Prevent compiler warnings about cached_has_bits being unused 10361 (void) cached_has_bits; 10362 10363 _impl_.scope_.Clear(); 10364 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 10365 } 10366 10367 #if defined(PROTOBUF_CUSTOM_VTABLE) 10368 ::uint8_t* PROTOBUF_NONNULL Scopes::_InternalSerialize( 10369 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 10370 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 10371 const Scopes& this_ = static_cast<const Scopes&>(base); 10372 #else // PROTOBUF_CUSTOM_VTABLE 10373 ::uint8_t* PROTOBUF_NONNULL Scopes::_InternalSerialize( 10374 ::uint8_t* PROTOBUF_NONNULL target, 10375 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 10376 const Scopes& this_ = *this; 10377 #endif // PROTOBUF_CUSTOM_VTABLE 10378 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10379 ::uint32_t cached_has_bits = 0; 10380 (void)cached_has_bits; 10381 10382 // map<string, string> scope = 1; 10383 if (!this_._internal_scope().empty()) { 10384 using MapType = ::google::protobuf::Map<std::string, std::string>; 10385 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string, 10386 _pbi::WireFormatLite::TYPE_STRING, 10387 _pbi::WireFormatLite::TYPE_STRING>; 10388 const auto& field = this_._internal_scope(); 10389 10390 if (stream->IsSerializationDeterministic() && field.size() > 1) { 10391 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 10392 target = WireHelper::InternalSerialize( 10393 1, entry.first, entry.second, target, stream); 10394 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10395 entry.first.data(), static_cast<int>(entry.first.length()), 10396 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10397 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10398 entry.second.data(), static_cast<int>(entry.second.length()), 10399 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10400 } 10401 } else { 10402 for (const auto& entry : field) { 10403 target = WireHelper::InternalSerialize( 10404 1, entry.first, entry.second, target, stream); 10405 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10406 entry.first.data(), static_cast<int>(entry.first.length()), 10407 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10408 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10409 entry.second.data(), static_cast<int>(entry.second.length()), 10410 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10411 } 10412 } 10413 } 10414 10415 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 10416 target = 10417 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 10418 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 10419 } 10420 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10421 return target; 10422 } 10423 10424 #if defined(PROTOBUF_CUSTOM_VTABLE) 10425 ::size_t Scopes::ByteSizeLong(const MessageLite& base) { 10426 const Scopes& this_ = static_cast<const Scopes&>(base); 10427 #else // PROTOBUF_CUSTOM_VTABLE 10428 ::size_t Scopes::ByteSizeLong() const { 10429 const Scopes& this_ = *this; 10430 #endif // PROTOBUF_CUSTOM_VTABLE 10431 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10432 ::size_t total_size = 0; 10433 10434 ::uint32_t cached_has_bits = 0; 10435 // Prevent compiler warnings about cached_has_bits being unused 10436 (void)cached_has_bits; 10437 10438 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 10439 { 10440 // map<string, string> scope = 1; 10441 { 10442 total_size += 10443 1 * ::google::protobuf::internal::FromIntSize(this_._internal_scope_size()); 10444 for (const auto& entry : this_._internal_scope()) { 10445 total_size += _pbi::MapEntryFuncs<std::string, std::string, 10446 _pbi::WireFormatLite::TYPE_STRING, 10447 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second); 10448 } 10449 } 10450 } 10451 return this_.MaybeComputeUnknownFieldsSize(total_size, 10452 &this_._impl_._cached_size_); 10453 } 10454 10455 void Scopes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 10456 auto* const _this = static_cast<Scopes*>(&to_msg); 10457 auto& from = static_cast<const Scopes&>(from_msg); 10458 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10459 ABSL_DCHECK_NE(&from, _this); 10460 ::uint32_t cached_has_bits = 0; 10461 (void) cached_has_bits; 10462 10463 _this->_impl_.scope_.MergeFrom(from._impl_.scope_); 10464 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 10465 } 10466 10467 void Scopes::CopyFrom(const Scopes& from) { 10468 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10469 if (&from == this) return; 10470 Clear(); 10471 MergeFrom(from); 10472 } 10473 10474 10475 void Scopes::InternalSwap(Scopes* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 10476 using ::std::swap; 10477 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 10478 _impl_.scope_.InternalSwap(&other->_impl_.scope_); 10479 } 10480 10481 ::google::protobuf::Metadata Scopes::GetMetadata() const { 10482 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 10483 } 10484 // @@protoc_insertion_point(namespace_scope) 10485 } // namespace options 10486 } // namespace protoc_gen_openapiv2 10487 } // namespace gateway 10488 } // namespace grpc 10489 namespace google { 10490 namespace protobuf { 10491 } // namespace protobuf 10492 } // namespace google 10493 // @@protoc_insertion_point(global_scope) 10494 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type 10495 _static_init2_ [[maybe_unused]] = 10496 (::_pbi::AddDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto), 10497 ::std::false_type{}); 10498 #include "google/protobuf/port_undef.inc"