agones.dev/agones@v1.53.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.30.0 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 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _impl_._has_bits_), 874 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _internal_metadata_), 875 ~0u, // no _extensions_ 876 ~0u, // no _oneof_case_ 877 ~0u, // no _weak_field_map_ 878 ~0u, // no _inlined_string_donated_ 879 ~0u, // no _split_ 880 ~0u, // no sizeof(Split) 881 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _impl_.key_), 882 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse, _impl_.value_), 883 0, 884 1, 885 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 886 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _internal_metadata_), 887 ~0u, // no _extensions_ 888 ~0u, // no _oneof_case_ 889 ~0u, // no _weak_field_map_ 890 ~0u, // no _inlined_string_donated_ 891 ~0u, // no _split_ 892 ~0u, // no sizeof(Split) 893 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _impl_.key_), 894 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse, _impl_.value_), 895 0, 896 1, 897 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_._has_bits_), 898 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _internal_metadata_), 899 ~0u, // no _extensions_ 900 ~0u, // no _oneof_case_ 901 ~0u, // no _weak_field_map_ 902 ~0u, // no _inlined_string_donated_ 903 ~0u, // no _split_ 904 ~0u, // no sizeof(Split) 905 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.swagger_), 906 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.info_), 907 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.host_), 908 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.base_path_), 909 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.schemes_), 910 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.consumes_), 911 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.produces_), 912 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.responses_), 913 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.security_definitions_), 914 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.security_), 915 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.external_docs_), 916 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Swagger, _impl_.extensions_), 917 0, 918 3, 919 1, 920 2, 921 ~0u, 922 ~0u, 923 ~0u, 924 ~0u, 925 4, 926 ~0u, 927 5, 928 ~0u, 929 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _impl_._has_bits_), 930 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _internal_metadata_), 931 ~0u, // no _extensions_ 932 ~0u, // no _oneof_case_ 933 ~0u, // no _weak_field_map_ 934 ~0u, // no _inlined_string_donated_ 935 ~0u, // no _split_ 936 ~0u, // no sizeof(Split) 937 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _impl_.key_), 938 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse, _impl_.value_), 939 0, 940 1, 941 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 942 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _internal_metadata_), 943 ~0u, // no _extensions_ 944 ~0u, // no _oneof_case_ 945 ~0u, // no _weak_field_map_ 946 ~0u, // no _inlined_string_donated_ 947 ~0u, // no _split_ 948 ~0u, // no sizeof(Split) 949 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _impl_.key_), 950 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse, _impl_.value_), 951 0, 952 1, 953 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_._has_bits_), 954 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _internal_metadata_), 955 ~0u, // no _extensions_ 956 ~0u, // no _oneof_case_ 957 ~0u, // no _weak_field_map_ 958 ~0u, // no _inlined_string_donated_ 959 ~0u, // no _split_ 960 ~0u, // no sizeof(Split) 961 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.tags_), 962 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.summary_), 963 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.description_), 964 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.external_docs_), 965 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.operation_id_), 966 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.consumes_), 967 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.produces_), 968 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.responses_), 969 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.schemes_), 970 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.deprecated_), 971 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.security_), 972 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Operation, _impl_.extensions_), 973 ~0u, 974 0, 975 1, 976 3, 977 2, 978 ~0u, 979 ~0u, 980 ~0u, 981 ~0u, 982 4, 983 ~0u, 984 ~0u, 985 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_._has_bits_), 986 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _internal_metadata_), 987 ~0u, // no _extensions_ 988 ~0u, // no _oneof_case_ 989 ~0u, // no _weak_field_map_ 990 ~0u, // no _inlined_string_donated_ 991 ~0u, // no _split_ 992 ~0u, // no sizeof(Split) 993 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.description_), 994 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.type_), 995 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.format_), 996 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.default__), 997 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Header, _impl_.pattern_), 998 0, 999 1, 1000 2, 1001 3, 1002 4, 1003 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _impl_._has_bits_), 1004 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _internal_metadata_), 1005 ~0u, // no _extensions_ 1006 ~0u, // no _oneof_case_ 1007 ~0u, // no _weak_field_map_ 1008 ~0u, // no _inlined_string_donated_ 1009 ~0u, // no _split_ 1010 ~0u, // no sizeof(Split) 1011 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _impl_.key_), 1012 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse, _impl_.value_), 1013 0, 1014 1, 1015 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _impl_._has_bits_), 1016 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _internal_metadata_), 1017 ~0u, // no _extensions_ 1018 ~0u, // no _oneof_case_ 1019 ~0u, // no _weak_field_map_ 1020 ~0u, // no _inlined_string_donated_ 1021 ~0u, // no _split_ 1022 ~0u, // no sizeof(Split) 1023 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _impl_.key_), 1024 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse, _impl_.value_), 1025 0, 1026 1, 1027 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1028 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _internal_metadata_), 1029 ~0u, // no _extensions_ 1030 ~0u, // no _oneof_case_ 1031 ~0u, // no _weak_field_map_ 1032 ~0u, // no _inlined_string_donated_ 1033 ~0u, // no _split_ 1034 ~0u, // no sizeof(Split) 1035 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _impl_.key_), 1036 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse, _impl_.value_), 1037 0, 1038 1, 1039 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_._has_bits_), 1040 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _internal_metadata_), 1041 ~0u, // no _extensions_ 1042 ~0u, // no _oneof_case_ 1043 ~0u, // no _weak_field_map_ 1044 ~0u, // no _inlined_string_donated_ 1045 ~0u, // no _split_ 1046 ~0u, // no sizeof(Split) 1047 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.description_), 1048 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.schema_), 1049 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.headers_), 1050 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.examples_), 1051 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Response, _impl_.extensions_), 1052 0, 1053 1, 1054 ~0u, 1055 ~0u, 1056 ~0u, 1057 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1058 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _internal_metadata_), 1059 ~0u, // no _extensions_ 1060 ~0u, // no _oneof_case_ 1061 ~0u, // no _weak_field_map_ 1062 ~0u, // no _inlined_string_donated_ 1063 ~0u, // no _split_ 1064 ~0u, // no sizeof(Split) 1065 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _impl_.key_), 1066 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse, _impl_.value_), 1067 0, 1068 1, 1069 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_._has_bits_), 1070 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _internal_metadata_), 1071 ~0u, // no _extensions_ 1072 ~0u, // no _oneof_case_ 1073 ~0u, // no _weak_field_map_ 1074 ~0u, // no _inlined_string_donated_ 1075 ~0u, // no _split_ 1076 ~0u, // no sizeof(Split) 1077 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.title_), 1078 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.description_), 1079 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.terms_of_service_), 1080 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.contact_), 1081 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.license_), 1082 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.version_), 1083 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Info, _impl_.extensions_), 1084 0, 1085 1, 1086 2, 1087 4, 1088 5, 1089 3, 1090 ~0u, 1091 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_._has_bits_), 1092 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _internal_metadata_), 1093 ~0u, // no _extensions_ 1094 ~0u, // no _oneof_case_ 1095 ~0u, // no _weak_field_map_ 1096 ~0u, // no _inlined_string_donated_ 1097 ~0u, // no _split_ 1098 ~0u, // no sizeof(Split) 1099 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_.name_), 1100 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_.url_), 1101 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Contact, _impl_.email_), 1102 0, 1103 1, 1104 2, 1105 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _impl_._has_bits_), 1106 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _internal_metadata_), 1107 ~0u, // no _extensions_ 1108 ~0u, // no _oneof_case_ 1109 ~0u, // no _weak_field_map_ 1110 ~0u, // no _inlined_string_donated_ 1111 ~0u, // no _split_ 1112 ~0u, // no sizeof(Split) 1113 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _impl_.name_), 1114 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::License, _impl_.url_), 1115 0, 1116 1, 1117 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _impl_._has_bits_), 1118 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _internal_metadata_), 1119 ~0u, // no _extensions_ 1120 ~0u, // no _oneof_case_ 1121 ~0u, // no _weak_field_map_ 1122 ~0u, // no _inlined_string_donated_ 1123 ~0u, // no _split_ 1124 ~0u, // no sizeof(Split) 1125 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _impl_.description_), 1126 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation, _impl_.url_), 1127 0, 1128 1, 1129 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_._has_bits_), 1130 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _internal_metadata_), 1131 ~0u, // no _extensions_ 1132 ~0u, // no _oneof_case_ 1133 ~0u, // no _weak_field_map_ 1134 ~0u, // no _inlined_string_donated_ 1135 ~0u, // no _split_ 1136 ~0u, // no sizeof(Split) 1137 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.json_schema_), 1138 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.discriminator_), 1139 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.read_only_), 1140 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.external_docs_), 1141 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Schema, _impl_.example_), 1142 2, 1143 0, 1144 4, 1145 3, 1146 1, 1147 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration, _impl_._has_bits_), 1148 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration, _internal_metadata_), 1149 ~0u, // no _extensions_ 1150 ~0u, // no _oneof_case_ 1151 ~0u, // no _weak_field_map_ 1152 ~0u, // no _inlined_string_donated_ 1153 ~0u, // no _split_ 1154 ~0u, // no sizeof(Split) 1155 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration, _impl_.path_param_name_), 1156 0, 1157 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1158 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _internal_metadata_), 1159 ~0u, // no _extensions_ 1160 ~0u, // no _oneof_case_ 1161 ~0u, // no _weak_field_map_ 1162 ~0u, // no _inlined_string_donated_ 1163 ~0u, // no _split_ 1164 ~0u, // no sizeof(Split) 1165 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _impl_.key_), 1166 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse, _impl_.value_), 1167 0, 1168 1, 1169 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_._has_bits_), 1170 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _internal_metadata_), 1171 ~0u, // no _extensions_ 1172 ~0u, // no _oneof_case_ 1173 ~0u, // no _weak_field_map_ 1174 ~0u, // no _inlined_string_donated_ 1175 ~0u, // no _split_ 1176 ~0u, // no sizeof(Split) 1177 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.ref_), 1178 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.title_), 1179 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.description_), 1180 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.default__), 1181 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.read_only_), 1182 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.example_), 1183 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.multiple_of_), 1184 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.maximum_), 1185 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.exclusive_maximum_), 1186 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.minimum_), 1187 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.exclusive_minimum_), 1188 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.max_length_), 1189 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.min_length_), 1190 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.pattern_), 1191 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.max_items_), 1192 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.min_items_), 1193 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.unique_items_), 1194 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.max_properties_), 1195 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.min_properties_), 1196 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.required_), 1197 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.array_), 1198 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.type_), 1199 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.format_), 1200 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.enum__), 1201 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.field_configuration_), 1202 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema, _impl_.extensions_), 1203 0, 1204 1, 1205 2, 1206 3, 1207 17, 1208 4, 1209 8, 1210 9, 1211 18, 1212 10, 1213 19, 1214 11, 1215 12, 1216 5, 1217 13, 1218 14, 1219 20, 1220 15, 1221 16, 1222 ~0u, 1223 ~0u, 1224 ~0u, 1225 6, 1226 ~0u, 1227 7, 1228 ~0u, 1229 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _impl_._has_bits_), 1230 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _internal_metadata_), 1231 ~0u, // no _extensions_ 1232 ~0u, // no _oneof_case_ 1233 ~0u, // no _weak_field_map_ 1234 ~0u, // no _inlined_string_donated_ 1235 ~0u, // no _split_ 1236 ~0u, // no sizeof(Split) 1237 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _impl_.description_), 1238 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Tag, _impl_.external_docs_), 1239 0, 1240 1, 1241 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _impl_._has_bits_), 1242 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _internal_metadata_), 1243 ~0u, // no _extensions_ 1244 ~0u, // no _oneof_case_ 1245 ~0u, // no _weak_field_map_ 1246 ~0u, // no _inlined_string_donated_ 1247 ~0u, // no _split_ 1248 ~0u, // no sizeof(Split) 1249 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.key_), 1250 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.value_), 1251 0, 1252 1, 1253 ~0u, // no _has_bits_ 1254 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions, _internal_metadata_), 1255 ~0u, // no _extensions_ 1256 ~0u, // no _oneof_case_ 1257 ~0u, // no _weak_field_map_ 1258 ~0u, // no _inlined_string_donated_ 1259 ~0u, // no _split_ 1260 ~0u, // no sizeof(Split) 1261 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions, _impl_.security_), 1262 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1263 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _internal_metadata_), 1264 ~0u, // no _extensions_ 1265 ~0u, // no _oneof_case_ 1266 ~0u, // no _weak_field_map_ 1267 ~0u, // no _inlined_string_donated_ 1268 ~0u, // no _split_ 1269 ~0u, // no sizeof(Split) 1270 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.key_), 1271 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.value_), 1272 0, 1273 1, 1274 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_._has_bits_), 1275 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _internal_metadata_), 1276 ~0u, // no _extensions_ 1277 ~0u, // no _oneof_case_ 1278 ~0u, // no _weak_field_map_ 1279 ~0u, // no _inlined_string_donated_ 1280 ~0u, // no _split_ 1281 ~0u, // no sizeof(Split) 1282 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.type_), 1283 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.description_), 1284 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.name_), 1285 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.in_), 1286 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.flow_), 1287 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.authorization_url_), 1288 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.token_url_), 1289 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.scopes_), 1290 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, _impl_.extensions_), 1291 5, 1292 0, 1293 1, 1294 6, 1295 7, 1296 2, 1297 3, 1298 4, 1299 ~0u, 1300 ~0u, // no _has_bits_ 1301 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, _internal_metadata_), 1302 ~0u, // no _extensions_ 1303 ~0u, // no _oneof_case_ 1304 ~0u, // no _weak_field_map_ 1305 ~0u, // no _inlined_string_donated_ 1306 ~0u, // no _split_ 1307 ~0u, // no sizeof(Split) 1308 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, _impl_.scope_), 1309 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_._has_bits_), 1310 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _internal_metadata_), 1311 ~0u, // no _extensions_ 1312 ~0u, // no _oneof_case_ 1313 ~0u, // no _weak_field_map_ 1314 ~0u, // no _inlined_string_donated_ 1315 ~0u, // no _split_ 1316 ~0u, // no sizeof(Split) 1317 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.key_), 1318 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.value_), 1319 0, 1320 1, 1321 ~0u, // no _has_bits_ 1322 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement, _internal_metadata_), 1323 ~0u, // no _extensions_ 1324 ~0u, // no _oneof_case_ 1325 ~0u, // no _weak_field_map_ 1326 ~0u, // no _inlined_string_donated_ 1327 ~0u, // no _split_ 1328 ~0u, // no sizeof(Split) 1329 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement, _impl_.security_requirement_), 1330 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _impl_._has_bits_), 1331 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _internal_metadata_), 1332 ~0u, // no _extensions_ 1333 ~0u, // no _oneof_case_ 1334 ~0u, // no _weak_field_map_ 1335 ~0u, // no _inlined_string_donated_ 1336 ~0u, // no _split_ 1337 ~0u, // no sizeof(Split) 1338 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _impl_.key_), 1339 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse, _impl_.value_), 1340 0, 1341 1, 1342 ~0u, // no _has_bits_ 1343 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes, _internal_metadata_), 1344 ~0u, // no _extensions_ 1345 ~0u, // no _oneof_case_ 1346 ~0u, // no _weak_field_map_ 1347 ~0u, // no _inlined_string_donated_ 1348 ~0u, // no _split_ 1349 ~0u, // no sizeof(Split) 1350 PROTOBUF_FIELD_OFFSET(::grpc::gateway::protoc_gen_openapiv2::options::Scopes, _impl_.scope_), 1351 }; 1352 1353 static const ::_pbi::MigrationSchema 1354 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { 1355 {0, 10, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse)}, 1356 {12, 22, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse)}, 1357 {24, 44, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Swagger)}, 1358 {56, 66, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse)}, 1359 {68, 78, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse)}, 1360 {80, 100, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Operation)}, 1361 {112, 125, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Header)}, 1362 {130, 140, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse)}, 1363 {142, 152, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse)}, 1364 {154, 164, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse)}, 1365 {166, 179, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Response)}, 1366 {184, 194, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse)}, 1367 {196, 211, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Info)}, 1368 {218, 229, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Contact)}, 1369 {232, 242, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::License)}, 1370 {244, 254, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation)}, 1371 {256, 269, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Schema)}, 1372 {274, 283, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration)}, 1373 {284, 294, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse)}, 1374 {296, 330, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema)}, 1375 {356, 366, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Tag)}, 1376 {368, 378, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse)}, 1377 {380, -1, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions)}, 1378 {389, 399, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse)}, 1379 {401, 418, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme)}, 1380 {427, -1, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue)}, 1381 {436, 446, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse)}, 1382 {448, -1, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement)}, 1383 {457, 467, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse)}, 1384 {469, -1, -1, sizeof(::grpc::gateway::protoc_gen_openapiv2::options::Scopes)}, 1385 }; 1386 static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { 1387 &::grpc::gateway::protoc_gen_openapiv2::options::_Swagger_ResponsesEntry_DoNotUse_default_instance_._instance, 1388 &::grpc::gateway::protoc_gen_openapiv2::options::_Swagger_ExtensionsEntry_DoNotUse_default_instance_._instance, 1389 &::grpc::gateway::protoc_gen_openapiv2::options::_Swagger_default_instance_._instance, 1390 &::grpc::gateway::protoc_gen_openapiv2::options::_Operation_ResponsesEntry_DoNotUse_default_instance_._instance, 1391 &::grpc::gateway::protoc_gen_openapiv2::options::_Operation_ExtensionsEntry_DoNotUse_default_instance_._instance, 1392 &::grpc::gateway::protoc_gen_openapiv2::options::_Operation_default_instance_._instance, 1393 &::grpc::gateway::protoc_gen_openapiv2::options::_Header_default_instance_._instance, 1394 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_HeadersEntry_DoNotUse_default_instance_._instance, 1395 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_ExamplesEntry_DoNotUse_default_instance_._instance, 1396 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_ExtensionsEntry_DoNotUse_default_instance_._instance, 1397 &::grpc::gateway::protoc_gen_openapiv2::options::_Response_default_instance_._instance, 1398 &::grpc::gateway::protoc_gen_openapiv2::options::_Info_ExtensionsEntry_DoNotUse_default_instance_._instance, 1399 &::grpc::gateway::protoc_gen_openapiv2::options::_Info_default_instance_._instance, 1400 &::grpc::gateway::protoc_gen_openapiv2::options::_Contact_default_instance_._instance, 1401 &::grpc::gateway::protoc_gen_openapiv2::options::_License_default_instance_._instance, 1402 &::grpc::gateway::protoc_gen_openapiv2::options::_ExternalDocumentation_default_instance_._instance, 1403 &::grpc::gateway::protoc_gen_openapiv2::options::_Schema_default_instance_._instance, 1404 &::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_FieldConfiguration_default_instance_._instance, 1405 &::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_ExtensionsEntry_DoNotUse_default_instance_._instance, 1406 &::grpc::gateway::protoc_gen_openapiv2::options::_JSONSchema_default_instance_._instance, 1407 &::grpc::gateway::protoc_gen_openapiv2::options::_Tag_default_instance_._instance, 1408 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_._instance, 1409 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityDefinitions_default_instance_._instance, 1410 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_._instance, 1411 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityScheme_default_instance_._instance, 1412 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityRequirement_SecurityRequirementValue_default_instance_._instance, 1413 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_._instance, 1414 &::grpc::gateway::protoc_gen_openapiv2::options::_SecurityRequirement_default_instance_._instance, 1415 &::grpc::gateway::protoc_gen_openapiv2::options::_Scopes_ScopeEntry_DoNotUse_default_instance_._instance, 1416 &::grpc::gateway::protoc_gen_openapiv2::options::_Scopes_default_instance_._instance, 1417 }; 1418 const char descriptor_table_protodef_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( 1419 protodesc_cold) = { 1420 "\n,protoc-gen-openapiv2/options/openapiv2" 1421 ".proto\022)grpc.gateway.protoc_gen_openapiv" 1422 "2.options\032\034google/protobuf/struct.proto\"" 1423 "\335\006\n\007Swagger\022\017\n\007swagger\030\001 \001(\t\022=\n\004info\030\002 \001" 1424 "(\0132/.grpc.gateway.protoc_gen_openapiv2.o" 1425 "ptions.Info\022\014\n\004host\030\003 \001(\t\022\021\n\tbase_path\030\004" 1426 " \001(\t\022B\n\007schemes\030\005 \003(\01621.grpc.gateway.pro" 1427 "toc_gen_openapiv2.options.Scheme\022\020\n\010cons" 1428 "umes\030\006 \003(\t\022\020\n\010produces\030\007 \003(\t\022T\n\tresponse" 1429 "s\030\n \003(\0132A.grpc.gateway.protoc_gen_openap" 1430 "iv2.options.Swagger.ResponsesEntry\022\\\n\024se" 1431 "curity_definitions\030\013 \001(\0132>.grpc.gateway." 1432 "protoc_gen_openapiv2.options.SecurityDef" 1433 "initions\022P\n\010security\030\014 \003(\0132>.grpc.gatewa" 1434 "y.protoc_gen_openapiv2.options.SecurityR" 1435 "equirement\022W\n\rexternal_docs\030\016 \001(\0132@.grpc" 1436 ".gateway.protoc_gen_openapiv2.options.Ex" 1437 "ternalDocumentation\022V\n\nextensions\030\017 \003(\0132" 1438 "B.grpc.gateway.protoc_gen_openapiv2.opti" 1439 "ons.Swagger.ExtensionsEntry\032e\n\016Responses" 1440 "Entry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.grpc" 1441 ".gateway.protoc_gen_openapiv2.options.Re" 1442 "sponse:\0028\001\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001" 1443 "(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Valu" 1444 "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" 1445 "\004tags\030\001 \003(\t\022\017\n\007summary\030\002 \001(\t\022\023\n\013descript" 1446 "ion\030\003 \001(\t\022W\n\rexternal_docs\030\004 \001(\0132@.grpc." 1447 "gateway.protoc_gen_openapiv2.options.Ext" 1448 "ernalDocumentation\022\024\n\014operation_id\030\005 \001(\t" 1449 "\022\020\n\010consumes\030\006 \003(\t\022\020\n\010produces\030\007 \003(\t\022V\n\t" 1450 "responses\030\t \003(\0132C.grpc.gateway.protoc_ge" 1451 "n_openapiv2.options.Operation.ResponsesE" 1452 "ntry\022B\n\007schemes\030\n \003(\01621.grpc.gateway.pro" 1453 "toc_gen_openapiv2.options.Scheme\022\022\n\ndepr" 1454 "ecated\030\013 \001(\010\022P\n\010security\030\014 \003(\0132>.grpc.ga" 1455 "teway.protoc_gen_openapiv2.options.Secur" 1456 "ityRequirement\022X\n\nextensions\030\r \003(\0132D.grp" 1457 "c.gateway.protoc_gen_openapiv2.options.O" 1458 "peration.ExtensionsEntry\032e\n\016ResponsesEnt" 1459 "ry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.grpc.ga" 1460 "teway.protoc_gen_openapiv2.options.Respo" 1461 "nse:\0028\001\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022" 1462 "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002" 1463 "8\001J\004\010\010\020\t\"\253\001\n\006Header\022\023\n\013description\030\001 \001(\t" 1464 "\022\014\n\004type\030\002 \001(\t\022\016\n\006format\030\003 \001(\t\022\017\n\007defaul" 1465 "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" 1466 "\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" 1467 "\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" 1468 "escription\030\001 \001(\t\022A\n\006schema\030\002 \001(\01321.grpc." 1469 "gateway.protoc_gen_openapiv2.options.Sch" 1470 "ema\022Q\n\007headers\030\003 \003(\0132@.grpc.gateway.prot" 1471 "oc_gen_openapiv2.options.Response.Header" 1472 "sEntry\022S\n\010examples\030\004 \003(\0132A.grpc.gateway." 1473 "protoc_gen_openapiv2.options.Response.Ex" 1474 "amplesEntry\022W\n\nextensions\030\005 \003(\0132C.grpc.g" 1475 "ateway.protoc_gen_openapiv2.options.Resp" 1476 "onse.ExtensionsEntry\032a\n\014HeadersEntry\022\013\n\003" 1477 "key\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.grpc.gateway." 1478 "protoc_gen_openapiv2.options.Header:\0028\001\032" 1479 "/\n\rExamplesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" 1480 " \001(\t:\0028\001\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t" 1481 "\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:" 1482 "\0028\001\"\377\002\n\004Info\022\r\n\005title\030\001 \001(\t\022\023\n\013descripti" 1483 "on\030\002 \001(\t\022\030\n\020terms_of_service\030\003 \001(\t\022C\n\007co" 1484 "ntact\030\004 \001(\01322.grpc.gateway.protoc_gen_op" 1485 "enapiv2.options.Contact\022C\n\007license\030\005 \001(\013" 1486 "22.grpc.gateway.protoc_gen_openapiv2.opt" 1487 "ions.License\022\017\n\007version\030\006 \001(\t\022S\n\nextensi" 1488 "ons\030\007 \003(\0132\?.grpc.gateway.protoc_gen_open" 1489 "apiv2.options.Info.ExtensionsEntry\032I\n\017Ex" 1490 "tensionsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(" 1491 "\0132\026.google.protobuf.Value:\0028\001\"3\n\007Contact" 1492 "\022\014\n\004name\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\r\n\005email\030\003 \001" 1493 "(\t\"$\n\007License\022\014\n\004name\030\001 \001(\t\022\013\n\003url\030\002 \001(\t" 1494 "\"9\n\025ExternalDocumentation\022\023\n\013description" 1495 "\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\"\356\001\n\006Schema\022J\n\013json_s" 1496 "chema\030\001 \001(\01325.grpc.gateway.protoc_gen_op" 1497 "enapiv2.options.JSONSchema\022\025\n\rdiscrimina" 1498 "tor\030\002 \001(\t\022\021\n\tread_only\030\003 \001(\010\022W\n\rexternal" 1499 "_docs\030\005 \001(\0132@.grpc.gateway.protoc_gen_op" 1500 "enapiv2.options.ExternalDocumentation\022\017\n" 1501 "\007example\030\006 \001(\tJ\004\010\004\020\005\"\242\010\n\nJSONSchema\022\013\n\003r" 1502 "ef\030\003 \001(\t\022\r\n\005title\030\005 \001(\t\022\023\n\013description\030\006" 1503 " \001(\t\022\017\n\007default\030\007 \001(\t\022\021\n\tread_only\030\010 \001(\010" 1504 "\022\017\n\007example\030\t \001(\t\022\023\n\013multiple_of\030\n \001(\001\022\017" 1505 "\n\007maximum\030\013 \001(\001\022\031\n\021exclusive_maximum\030\014 \001" 1506 "(\010\022\017\n\007minimum\030\r \001(\001\022\031\n\021exclusive_minimum" 1507 "\030\016 \001(\010\022\022\n\nmax_length\030\017 \001(\004\022\022\n\nmin_length" 1508 "\030\020 \001(\004\022\017\n\007pattern\030\021 \001(\t\022\021\n\tmax_items\030\024 \001" 1509 "(\004\022\021\n\tmin_items\030\025 \001(\004\022\024\n\014unique_items\030\026 " 1510 "\001(\010\022\026\n\016max_properties\030\030 \001(\004\022\026\n\016min_prope" 1511 "rties\030\031 \001(\004\022\020\n\010required\030\032 \003(\t\022\r\n\005array\030\"" 1512 " \003(\t\022Y\n\004type\030# \003(\0162K.grpc.gateway.protoc" 1513 "_gen_openapiv2.options.JSONSchema.JSONSc" 1514 "hemaSimpleTypes\022\016\n\006format\030$ \001(\t\022\014\n\004enum\030" 1515 ". \003(\t\022f\n\023field_configuration\030\351\007 \001(\0132H.gr" 1516 "pc.gateway.protoc_gen_openapiv2.options." 1517 "JSONSchema.FieldConfiguration\022Y\n\nextensi" 1518 "ons\0300 \003(\0132E.grpc.gateway.protoc_gen_open" 1519 "apiv2.options.JSONSchema.ExtensionsEntry" 1520 "\032-\n\022FieldConfiguration\022\027\n\017path_param_nam" 1521 "e\030/ \001(\t\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022" 1522 "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002" 1523 "8\001\"w\n\025JSONSchemaSimpleTypes\022\013\n\007UNKNOWN\020\000" 1524 "\022\t\n\005ARRAY\020\001\022\013\n\007BOOLEAN\020\002\022\013\n\007INTEGER\020\003\022\010\n" 1525 "\004NULL\020\004\022\n\n\006NUMBER\020\005\022\n\n\006OBJECT\020\006\022\n\n\006STRIN" 1526 "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" 1527 "\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" 1528 ".\"y\n\003Tag\022\023\n\013description\030\002 \001(\t\022W\n\rexterna" 1529 "l_docs\030\003 \001(\0132@.grpc.gateway.protoc_gen_o" 1530 "penapiv2.options.ExternalDocumentationJ\004" 1531 "\010\001\020\002\"\341\001\n\023SecurityDefinitions\022^\n\010security" 1532 "\030\001 \003(\0132L.grpc.gateway.protoc_gen_openapi" 1533 "v2.options.SecurityDefinitions.SecurityE" 1534 "ntry\032j\n\rSecurityEntry\022\013\n\003key\030\001 \001(\t\022H\n\005va" 1535 "lue\030\002 \001(\01329.grpc.gateway.protoc_gen_open" 1536 "apiv2.options.SecurityScheme:\0028\001\"\240\006\n\016Sec" 1537 "urityScheme\022L\n\004type\030\001 \001(\0162>.grpc.gateway" 1538 ".protoc_gen_openapiv2.options.SecuritySc" 1539 "heme.Type\022\023\n\013description\030\002 \001(\t\022\014\n\004name\030\003" 1540 " \001(\t\022H\n\002in\030\004 \001(\0162<.grpc.gateway.protoc_g" 1541 "en_openapiv2.options.SecurityScheme.In\022L" 1542 "\n\004flow\030\005 \001(\0162>.grpc.gateway.protoc_gen_o" 1543 "penapiv2.options.SecurityScheme.Flow\022\031\n\021" 1544 "authorization_url\030\006 \001(\t\022\021\n\ttoken_url\030\007 \001" 1545 "(\t\022A\n\006scopes\030\010 \001(\01321.grpc.gateway.protoc" 1546 "_gen_openapiv2.options.Scopes\022]\n\nextensi" 1547 "ons\030\t \003(\0132I.grpc.gateway.protoc_gen_open" 1548 "apiv2.options.SecurityScheme.ExtensionsE" 1549 "ntry\032I\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005" 1550 "value\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\"" 1551 "K\n\004Type\022\020\n\014TYPE_INVALID\020\000\022\016\n\nTYPE_BASIC\020" 1552 "\001\022\020\n\014TYPE_API_KEY\020\002\022\017\n\013TYPE_OAUTH2\020\003\"1\n\002" 1553 "In\022\016\n\nIN_INVALID\020\000\022\014\n\010IN_QUERY\020\001\022\r\n\tIN_H" 1554 "EADER\020\002\"j\n\004Flow\022\020\n\014FLOW_INVALID\020\000\022\021\n\rFLO" 1555 "W_IMPLICIT\020\001\022\021\n\rFLOW_PASSWORD\020\002\022\024\n\020FLOW_" 1556 "APPLICATION\020\003\022\024\n\020FLOW_ACCESS_CODE\020\004\"\315\002\n\023" 1557 "SecurityRequirement\022u\n\024security_requirem" 1558 "ent\030\001 \003(\0132W.grpc.gateway.protoc_gen_open" 1559 "apiv2.options.SecurityRequirement.Securi" 1560 "tyRequirementEntry\032)\n\030SecurityRequiremen" 1561 "tValue\022\r\n\005scope\030\001 \003(\t\032\223\001\n\030SecurityRequir" 1562 "ementEntry\022\013\n\003key\030\001 \001(\t\022f\n\005value\030\002 \001(\0132W" 1563 ".grpc.gateway.protoc_gen_openapiv2.optio" 1564 "ns.SecurityRequirement.SecurityRequireme" 1565 "ntValue:\0028\001\"\203\001\n\006Scopes\022K\n\005scope\030\001 \003(\0132<." 1566 "grpc.gateway.protoc_gen_openapiv2.option" 1567 "s.Scopes.ScopeEntry\032,\n\nScopeEntry\022\013\n\003key" 1568 "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001*;\n\006Scheme\022\013\n\007U" 1569 "NKNOWN\020\000\022\010\n\004HTTP\020\001\022\t\n\005HTTPS\020\002\022\006\n\002WS\020\003\022\007\n" 1570 "\003WSS\020\004BHZFgithub.com/grpc-ecosystem/grpc" 1571 "-gateway/v2/protoc-gen-openapiv2/options" 1572 "b\006proto3" 1573 }; 1574 static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const 1575 descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_deps[1] = { 1576 &::descriptor_table_google_2fprotobuf_2fstruct_2eproto, 1577 }; 1578 static ::absl::once_flag descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_once; 1579 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto = { 1580 false, 1581 false, 1582 6088, 1583 descriptor_table_protodef_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1584 "protoc-gen-openapiv2/options/openapiv2.proto", 1585 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_once, 1586 descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto_deps, 1587 1, 1588 30, 1589 schemas, 1590 file_default_instances, 1591 TableStruct_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto::offsets, 1592 file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1593 file_level_service_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1594 }; 1595 namespace grpc { 1596 namespace gateway { 1597 namespace protoc_gen_openapiv2 { 1598 namespace options { 1599 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JSONSchema_JSONSchemaSimpleTypes_descriptor() { 1600 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1601 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[0]; 1602 } 1603 PROTOBUF_CONSTINIT const uint32_t JSONSchema_JSONSchemaSimpleTypes_internal_data_[] = { 1604 524288u, 0u, }; 1605 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_Type_descriptor() { 1606 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1607 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[1]; 1608 } 1609 PROTOBUF_CONSTINIT const uint32_t SecurityScheme_Type_internal_data_[] = { 1610 262144u, 0u, }; 1611 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_In_descriptor() { 1612 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1613 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[2]; 1614 } 1615 PROTOBUF_CONSTINIT const uint32_t SecurityScheme_In_internal_data_[] = { 1616 196608u, 0u, }; 1617 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SecurityScheme_Flow_descriptor() { 1618 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1619 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[3]; 1620 } 1621 PROTOBUF_CONSTINIT const uint32_t SecurityScheme_Flow_internal_data_[] = { 1622 327680u, 0u, }; 1623 const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Scheme_descriptor() { 1624 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto); 1625 return file_level_enum_descriptors_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto[4]; 1626 } 1627 PROTOBUF_CONSTINIT const uint32_t Scheme_internal_data_[] = { 1628 327680u, 0u, }; 1629 // =================================================================== 1630 1631 #if defined(PROTOBUF_CUSTOM_VTABLE) 1632 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse() 1633 : SuperType(Swagger_ResponsesEntry_DoNotUse_class_data_.base()) {} 1634 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1635 : SuperType(arena, Swagger_ResponsesEntry_DoNotUse_class_data_.base()) {} 1636 #else // PROTOBUF_CUSTOM_VTABLE 1637 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse() : SuperType() {} 1638 Swagger_ResponsesEntry_DoNotUse::Swagger_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 1639 #endif // PROTOBUF_CUSTOM_VTABLE 1640 inline void* PROTOBUF_NONNULL Swagger_ResponsesEntry_DoNotUse::PlacementNew_( 1641 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1642 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1643 return ::new (mem) Swagger_ResponsesEntry_DoNotUse(arena); 1644 } 1645 constexpr auto Swagger_ResponsesEntry_DoNotUse::InternalNewImpl_() { 1646 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Swagger_ResponsesEntry_DoNotUse), 1647 alignof(Swagger_ResponsesEntry_DoNotUse)); 1648 } 1649 constexpr auto Swagger_ResponsesEntry_DoNotUse::InternalGenerateClassData_() { 1650 return ::google::protobuf::internal::ClassDataFull{ 1651 ::google::protobuf::internal::ClassData{ 1652 &_Swagger_ResponsesEntry_DoNotUse_default_instance_._instance, 1653 &_table_.header, 1654 nullptr, // OnDemandRegisterArenaDtor 1655 nullptr, // IsInitialized 1656 &Swagger_ResponsesEntry_DoNotUse::MergeImpl, 1657 ::google::protobuf::Message::GetNewImpl<Swagger_ResponsesEntry_DoNotUse>(), 1658 #if defined(PROTOBUF_CUSTOM_VTABLE) 1659 &Swagger_ResponsesEntry_DoNotUse::SharedDtor, 1660 static_cast<void (::google::protobuf::MessageLite::*)()>(&Swagger_ResponsesEntry_DoNotUse::ClearImpl), 1661 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 1662 , 1663 #endif // PROTOBUF_CUSTOM_VTABLE 1664 PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_._cached_size_), 1665 false, 1666 }, 1667 &Swagger_ResponsesEntry_DoNotUse::kDescriptorMethods, 1668 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1669 nullptr, // tracker 1670 }; 1671 } 1672 1673 PROTOBUF_CONSTINIT AGONES_EXPORT 1674 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1675 Swagger_ResponsesEntry_DoNotUse_class_data_ = 1676 Swagger_ResponsesEntry_DoNotUse::InternalGenerateClassData_(); 1677 1678 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Swagger_ResponsesEntry_DoNotUse::GetClassData() const { 1679 ::google::protobuf::internal::PrefetchToLocalCache(&Swagger_ResponsesEntry_DoNotUse_class_data_); 1680 ::google::protobuf::internal::PrefetchToLocalCache(Swagger_ResponsesEntry_DoNotUse_class_data_.tc_table); 1681 return Swagger_ResponsesEntry_DoNotUse_class_data_.base(); 1682 } 1683 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1684 const ::_pbi::TcParseTable<1, 2, 1, 76, 2> 1685 Swagger_ResponsesEntry_DoNotUse::_table_ = { 1686 { 1687 PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_._has_bits_), 1688 0, // no _extensions_ 1689 2, 8, // max_field_number, fast_idx_mask 1690 offsetof(decltype(_table_), field_lookup_table), 1691 4294967292, // skipmap 1692 offsetof(decltype(_table_), field_entries), 1693 2, // num_field_entries 1694 1, // num_aux_entries 1695 offsetof(decltype(_table_), aux_entries), 1696 Swagger_ResponsesEntry_DoNotUse_class_data_.base(), 1697 nullptr, // post_loop_handler 1698 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 1699 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1700 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ResponsesEntry_DoNotUse>(), // to_prefetch 1701 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1702 }, {{ 1703 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 1704 {::_pbi::TcParser::FastMtS1, 1705 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.value_)}}, 1706 // string key = 1; 1707 {::_pbi::TcParser::FastUS1, 1708 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.key_)}}, 1709 }}, {{ 1710 65535, 65535 1711 }}, {{ 1712 // string key = 1; 1713 {PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1714 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1715 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 1716 {PROTOBUF_FIELD_OFFSET(Swagger_ResponsesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1717 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1718 }}, 1719 {{ 1720 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 1721 }}, 1722 {{ 1723 "\100\3\0\0\0\0\0\0" 1724 "grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry" 1725 "key" 1726 }}, 1727 }; 1728 // =================================================================== 1729 1730 #if defined(PROTOBUF_CUSTOM_VTABLE) 1731 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse() 1732 : SuperType(Swagger_ExtensionsEntry_DoNotUse_class_data_.base()) {} 1733 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1734 : SuperType(arena, Swagger_ExtensionsEntry_DoNotUse_class_data_.base()) {} 1735 #else // PROTOBUF_CUSTOM_VTABLE 1736 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse() : SuperType() {} 1737 Swagger_ExtensionsEntry_DoNotUse::Swagger_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 1738 #endif // PROTOBUF_CUSTOM_VTABLE 1739 inline void* PROTOBUF_NONNULL Swagger_ExtensionsEntry_DoNotUse::PlacementNew_( 1740 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1741 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1742 return ::new (mem) Swagger_ExtensionsEntry_DoNotUse(arena); 1743 } 1744 constexpr auto Swagger_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 1745 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Swagger_ExtensionsEntry_DoNotUse), 1746 alignof(Swagger_ExtensionsEntry_DoNotUse)); 1747 } 1748 constexpr auto Swagger_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 1749 return ::google::protobuf::internal::ClassDataFull{ 1750 ::google::protobuf::internal::ClassData{ 1751 &_Swagger_ExtensionsEntry_DoNotUse_default_instance_._instance, 1752 &_table_.header, 1753 nullptr, // OnDemandRegisterArenaDtor 1754 nullptr, // IsInitialized 1755 &Swagger_ExtensionsEntry_DoNotUse::MergeImpl, 1756 ::google::protobuf::Message::GetNewImpl<Swagger_ExtensionsEntry_DoNotUse>(), 1757 #if defined(PROTOBUF_CUSTOM_VTABLE) 1758 &Swagger_ExtensionsEntry_DoNotUse::SharedDtor, 1759 static_cast<void (::google::protobuf::MessageLite::*)()>(&Swagger_ExtensionsEntry_DoNotUse::ClearImpl), 1760 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 1761 , 1762 #endif // PROTOBUF_CUSTOM_VTABLE 1763 PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 1764 false, 1765 }, 1766 &Swagger_ExtensionsEntry_DoNotUse::kDescriptorMethods, 1767 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 1768 nullptr, // tracker 1769 }; 1770 } 1771 1772 PROTOBUF_CONSTINIT AGONES_EXPORT 1773 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1774 Swagger_ExtensionsEntry_DoNotUse_class_data_ = 1775 Swagger_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 1776 1777 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Swagger_ExtensionsEntry_DoNotUse::GetClassData() const { 1778 ::google::protobuf::internal::PrefetchToLocalCache(&Swagger_ExtensionsEntry_DoNotUse_class_data_); 1779 ::google::protobuf::internal::PrefetchToLocalCache(Swagger_ExtensionsEntry_DoNotUse_class_data_.tc_table); 1780 return Swagger_ExtensionsEntry_DoNotUse_class_data_.base(); 1781 } 1782 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1783 const ::_pbi::TcParseTable<1, 2, 1, 77, 2> 1784 Swagger_ExtensionsEntry_DoNotUse::_table_ = { 1785 { 1786 PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 1787 0, // no _extensions_ 1788 2, 8, // max_field_number, fast_idx_mask 1789 offsetof(decltype(_table_), field_lookup_table), 1790 4294967292, // skipmap 1791 offsetof(decltype(_table_), field_entries), 1792 2, // num_field_entries 1793 1, // num_aux_entries 1794 offsetof(decltype(_table_), aux_entries), 1795 Swagger_ExtensionsEntry_DoNotUse_class_data_.base(), 1796 nullptr, // post_loop_handler 1797 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 1798 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1799 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Swagger_ExtensionsEntry_DoNotUse>(), // to_prefetch 1800 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1801 }, {{ 1802 // .google.protobuf.Value value = 2; 1803 {::_pbi::TcParser::FastMtS1, 1804 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 1805 // string key = 1; 1806 {::_pbi::TcParser::FastUS1, 1807 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 1808 }}, {{ 1809 65535, 65535 1810 }}, {{ 1811 // string key = 1; 1812 {PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1813 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1814 // .google.protobuf.Value value = 2; 1815 {PROTOBUF_FIELD_OFFSET(Swagger_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1816 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 1817 }}, 1818 {{ 1819 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 1820 }}, 1821 {{ 1822 "\101\3\0\0\0\0\0\0" 1823 "grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry" 1824 "key" 1825 }}, 1826 }; 1827 // =================================================================== 1828 1829 class Swagger::_Internal { 1830 public: 1831 using HasBits = 1832 decltype(std::declval<Swagger>()._impl_._has_bits_); 1833 static constexpr ::int32_t kHasBitsOffset = 1834 8 * PROTOBUF_FIELD_OFFSET(Swagger, _impl_._has_bits_); 1835 }; 1836 1837 void Swagger::clear_extensions() { 1838 ::google::protobuf::internal::TSanWrite(&_impl_); 1839 _impl_.extensions_.Clear(); 1840 } 1841 Swagger::Swagger(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1842 #if defined(PROTOBUF_CUSTOM_VTABLE) 1843 : ::google::protobuf::Message(arena, Swagger_class_data_.base()) { 1844 #else // PROTOBUF_CUSTOM_VTABLE 1845 : ::google::protobuf::Message(arena) { 1846 #endif // PROTOBUF_CUSTOM_VTABLE 1847 SharedCtor(arena); 1848 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1849 } 1850 PROTOBUF_NDEBUG_INLINE Swagger::Impl_::Impl_( 1851 ::google::protobuf::internal::InternalVisibility visibility, 1852 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1853 const ::grpc::gateway::protoc_gen_openapiv2::options::Swagger& from_msg) 1854 : _has_bits_{from._has_bits_}, 1855 _cached_size_{0}, 1856 schemes_{visibility, arena, from.schemes_}, 1857 _schemes_cached_byte_size_{0}, 1858 consumes_{visibility, arena, from.consumes_}, 1859 produces_{visibility, arena, from.produces_}, 1860 responses_{visibility, arena, from.responses_}, 1861 security_{visibility, arena, from.security_}, 1862 extensions_{visibility, arena, from.extensions_}, 1863 swagger_(arena, from.swagger_), 1864 host_(arena, from.host_), 1865 base_path_(arena, from.base_path_) {} 1866 1867 Swagger::Swagger( 1868 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 1869 const Swagger& from) 1870 #if defined(PROTOBUF_CUSTOM_VTABLE) 1871 : ::google::protobuf::Message(arena, Swagger_class_data_.base()) { 1872 #else // PROTOBUF_CUSTOM_VTABLE 1873 : ::google::protobuf::Message(arena) { 1874 #endif // PROTOBUF_CUSTOM_VTABLE 1875 Swagger* const _this = this; 1876 (void)_this; 1877 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 1878 from._internal_metadata_); 1879 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 1880 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 1881 _impl_.info_ = ((cached_has_bits & 0x00000008u) != 0) 1882 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.info_) 1883 : nullptr; 1884 _impl_.security_definitions_ = ((cached_has_bits & 0x00000010u) != 0) 1885 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.security_definitions_) 1886 : nullptr; 1887 _impl_.external_docs_ = ((cached_has_bits & 0x00000020u) != 0) 1888 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 1889 : nullptr; 1890 1891 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1892 } 1893 PROTOBUF_NDEBUG_INLINE Swagger::Impl_::Impl_( 1894 ::google::protobuf::internal::InternalVisibility visibility, 1895 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1896 : _cached_size_{0}, 1897 schemes_{visibility, arena}, 1898 _schemes_cached_byte_size_{0}, 1899 consumes_{visibility, arena}, 1900 produces_{visibility, arena}, 1901 responses_{visibility, arena}, 1902 security_{visibility, arena}, 1903 extensions_{visibility, arena}, 1904 swagger_(arena), 1905 host_(arena), 1906 base_path_(arena) {} 1907 1908 inline void Swagger::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 1909 new (&_impl_) Impl_(internal_visibility(), arena); 1910 ::memset(reinterpret_cast<char *>(&_impl_) + 1911 offsetof(Impl_, info_), 1912 0, 1913 offsetof(Impl_, external_docs_) - 1914 offsetof(Impl_, info_) + 1915 sizeof(Impl_::external_docs_)); 1916 } 1917 Swagger::~Swagger() { 1918 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 1919 SharedDtor(*this); 1920 } 1921 inline void Swagger::SharedDtor(MessageLite& self) { 1922 Swagger& this_ = static_cast<Swagger&>(self); 1923 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 1924 ABSL_DCHECK(this_.GetArena() == nullptr); 1925 this_._impl_.swagger_.Destroy(); 1926 this_._impl_.host_.Destroy(); 1927 this_._impl_.base_path_.Destroy(); 1928 delete this_._impl_.info_; 1929 delete this_._impl_.security_definitions_; 1930 delete this_._impl_.external_docs_; 1931 this_._impl_.~Impl_(); 1932 } 1933 1934 inline void* PROTOBUF_NONNULL Swagger::PlacementNew_( 1935 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1936 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1937 return ::new (mem) Swagger(arena); 1938 } 1939 constexpr auto Swagger::InternalNewImpl_() { 1940 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 1941 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.schemes_) + 1942 decltype(Swagger::_impl_.schemes_):: 1943 InternalGetArenaOffset( 1944 ::google::protobuf::Message::internal_visibility()), 1945 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.consumes_) + 1946 decltype(Swagger::_impl_.consumes_):: 1947 InternalGetArenaOffset( 1948 ::google::protobuf::Message::internal_visibility()), 1949 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.produces_) + 1950 decltype(Swagger::_impl_.produces_):: 1951 InternalGetArenaOffset( 1952 ::google::protobuf::Message::internal_visibility()), 1953 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.responses_) + 1954 decltype(Swagger::_impl_.responses_):: 1955 InternalGetArenaOffset( 1956 ::google::protobuf::Message::internal_visibility()), 1957 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.responses_) + 1958 decltype(Swagger::_impl_.responses_):: 1959 InternalGetArenaOffsetAlt( 1960 ::google::protobuf::Message::internal_visibility()), 1961 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_) + 1962 decltype(Swagger::_impl_.security_):: 1963 InternalGetArenaOffset( 1964 ::google::protobuf::Message::internal_visibility()), 1965 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.extensions_) + 1966 decltype(Swagger::_impl_.extensions_):: 1967 InternalGetArenaOffset( 1968 ::google::protobuf::Message::internal_visibility()), 1969 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.extensions_) + 1970 decltype(Swagger::_impl_.extensions_):: 1971 InternalGetArenaOffsetAlt( 1972 ::google::protobuf::Message::internal_visibility()), 1973 }); 1974 if (arena_bits.has_value()) { 1975 return ::google::protobuf::internal::MessageCreator::CopyInit( 1976 sizeof(Swagger), alignof(Swagger), *arena_bits); 1977 } else { 1978 return ::google::protobuf::internal::MessageCreator(&Swagger::PlacementNew_, 1979 sizeof(Swagger), 1980 alignof(Swagger)); 1981 } 1982 } 1983 constexpr auto Swagger::InternalGenerateClassData_() { 1984 return ::google::protobuf::internal::ClassDataFull{ 1985 ::google::protobuf::internal::ClassData{ 1986 &_Swagger_default_instance_._instance, 1987 &_table_.header, 1988 nullptr, // OnDemandRegisterArenaDtor 1989 nullptr, // IsInitialized 1990 &Swagger::MergeImpl, 1991 ::google::protobuf::Message::GetNewImpl<Swagger>(), 1992 #if defined(PROTOBUF_CUSTOM_VTABLE) 1993 &Swagger::SharedDtor, 1994 ::google::protobuf::Message::GetClearImpl<Swagger>(), &Swagger::ByteSizeLong, 1995 &Swagger::_InternalSerialize, 1996 #endif // PROTOBUF_CUSTOM_VTABLE 1997 PROTOBUF_FIELD_OFFSET(Swagger, _impl_._cached_size_), 1998 false, 1999 }, 2000 &Swagger::kDescriptorMethods, 2001 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2002 nullptr, // tracker 2003 }; 2004 } 2005 2006 PROTOBUF_CONSTINIT AGONES_EXPORT 2007 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 2008 Swagger_class_data_ = 2009 Swagger::InternalGenerateClassData_(); 2010 2011 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Swagger::GetClassData() const { 2012 ::google::protobuf::internal::PrefetchToLocalCache(&Swagger_class_data_); 2013 ::google::protobuf::internal::PrefetchToLocalCache(Swagger_class_data_.tc_table); 2014 return Swagger_class_data_.base(); 2015 } 2016 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2017 const ::_pbi::TcParseTable<4, 12, 8, 121, 2> 2018 Swagger::_table_ = { 2019 { 2020 PROTOBUF_FIELD_OFFSET(Swagger, _impl_._has_bits_), 2021 0, // no _extensions_ 2022 15, 120, // max_field_number, fast_idx_mask 2023 offsetof(decltype(_table_), field_lookup_table), 2024 4294939008, // skipmap 2025 offsetof(decltype(_table_), field_entries), 2026 12, // num_field_entries 2027 8, // num_aux_entries 2028 offsetof(decltype(_table_), aux_entries), 2029 Swagger_class_data_.base(), 2030 nullptr, // post_loop_handler 2031 ::_pbi::TcParser::GenericFallback, // fallback 2032 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2033 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Swagger>(), // to_prefetch 2034 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2035 }, {{ 2036 {::_pbi::TcParser::MiniParse, {}}, 2037 // string swagger = 1; 2038 {::_pbi::TcParser::FastUS1, 2039 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.swagger_)}}, 2040 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 2041 {::_pbi::TcParser::FastMtS1, 2042 {18, 3, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.info_)}}, 2043 // string host = 3; 2044 {::_pbi::TcParser::FastUS1, 2045 {26, 1, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.host_)}}, 2046 // string base_path = 4; 2047 {::_pbi::TcParser::FastUS1, 2048 {34, 2, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.base_path_)}}, 2049 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 2050 {::_pbi::TcParser::FastV32P1, 2051 {42, 63, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.schemes_)}}, 2052 // repeated string consumes = 6; 2053 {::_pbi::TcParser::FastUR1, 2054 {50, 63, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.consumes_)}}, 2055 // repeated string produces = 7; 2056 {::_pbi::TcParser::FastUR1, 2057 {58, 63, 0, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.produces_)}}, 2058 {::_pbi::TcParser::MiniParse, {}}, 2059 {::_pbi::TcParser::MiniParse, {}}, 2060 {::_pbi::TcParser::MiniParse, {}}, 2061 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 2062 {::_pbi::TcParser::FastMtS1, 2063 {90, 4, 1, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_definitions_)}}, 2064 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2065 {::_pbi::TcParser::FastMtR1, 2066 {98, 63, 2, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_)}}, 2067 {::_pbi::TcParser::MiniParse, {}}, 2068 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 2069 {::_pbi::TcParser::FastMtS1, 2070 {114, 5, 3, PROTOBUF_FIELD_OFFSET(Swagger, _impl_.external_docs_)}}, 2071 {::_pbi::TcParser::MiniParse, {}}, 2072 }}, {{ 2073 65535, 65535 2074 }}, {{ 2075 // string swagger = 1; 2076 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.swagger_), _Internal::kHasBitsOffset + 0, 0, 2077 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2078 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 2079 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.info_), _Internal::kHasBitsOffset + 3, 0, 2080 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2081 // string host = 3; 2082 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.host_), _Internal::kHasBitsOffset + 1, 0, 2083 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2084 // string base_path = 4; 2085 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.base_path_), _Internal::kHasBitsOffset + 2, 0, 2086 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2087 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 2088 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.schemes_), -1, 0, 2089 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, 2090 // repeated string consumes = 6; 2091 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.consumes_), -1, 0, 2092 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 2093 // repeated string produces = 7; 2094 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.produces_), -1, 0, 2095 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 2096 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 2097 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.responses_), -1, 4, 2098 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 2099 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 2100 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_definitions_), _Internal::kHasBitsOffset + 4, 1, 2101 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2102 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2103 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.security_), -1, 2, 2104 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, 2105 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 2106 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.external_docs_), _Internal::kHasBitsOffset + 5, 3, 2107 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2108 // map<string, .google.protobuf.Value> extensions = 15; 2109 {PROTOBUF_FIELD_OFFSET(Swagger, _impl_.extensions_), -1, 6, 2110 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 2111 }}, 2112 {{ 2113 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Info>()}, 2114 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions>()}, 2115 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>()}, 2116 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 2117 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 2118 9, 11, 2119 0)}, 2120 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 2121 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 2122 9, 11, 2123 0)}, 2124 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 2125 }}, 2126 {{ 2127 "\61\7\0\4\11\0\10\10\11\0\0\0\12\0\0\0" 2128 "grpc.gateway.protoc_gen_openapiv2.options.Swagger" 2129 "swagger" 2130 "host" 2131 "base_path" 2132 "consumes" 2133 "produces" 2134 "responses" 2135 "extensions" 2136 }}, 2137 }; 2138 PROTOBUF_NOINLINE void Swagger::Clear() { 2139 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2140 ::google::protobuf::internal::TSanWrite(&_impl_); 2141 ::uint32_t cached_has_bits = 0; 2142 // Prevent compiler warnings about cached_has_bits being unused 2143 (void) cached_has_bits; 2144 2145 _impl_.schemes_.Clear(); 2146 _impl_.consumes_.Clear(); 2147 _impl_.produces_.Clear(); 2148 _impl_.responses_.Clear(); 2149 _impl_.security_.Clear(); 2150 _impl_.extensions_.Clear(); 2151 cached_has_bits = _impl_._has_bits_[0]; 2152 if ((cached_has_bits & 0x0000003fu) != 0) { 2153 if ((cached_has_bits & 0x00000001u) != 0) { 2154 _impl_.swagger_.ClearNonDefaultToEmpty(); 2155 } 2156 if ((cached_has_bits & 0x00000002u) != 0) { 2157 _impl_.host_.ClearNonDefaultToEmpty(); 2158 } 2159 if ((cached_has_bits & 0x00000004u) != 0) { 2160 _impl_.base_path_.ClearNonDefaultToEmpty(); 2161 } 2162 if ((cached_has_bits & 0x00000008u) != 0) { 2163 ABSL_DCHECK(_impl_.info_ != nullptr); 2164 _impl_.info_->Clear(); 2165 } 2166 if ((cached_has_bits & 0x00000010u) != 0) { 2167 ABSL_DCHECK(_impl_.security_definitions_ != nullptr); 2168 _impl_.security_definitions_->Clear(); 2169 } 2170 if ((cached_has_bits & 0x00000020u) != 0) { 2171 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 2172 _impl_.external_docs_->Clear(); 2173 } 2174 } 2175 _impl_._has_bits_.Clear(); 2176 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 2177 } 2178 2179 #if defined(PROTOBUF_CUSTOM_VTABLE) 2180 ::uint8_t* PROTOBUF_NONNULL Swagger::_InternalSerialize( 2181 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 2182 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 2183 const Swagger& this_ = static_cast<const Swagger&>(base); 2184 #else // PROTOBUF_CUSTOM_VTABLE 2185 ::uint8_t* PROTOBUF_NONNULL Swagger::_InternalSerialize( 2186 ::uint8_t* PROTOBUF_NONNULL target, 2187 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2188 const Swagger& this_ = *this; 2189 #endif // PROTOBUF_CUSTOM_VTABLE 2190 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2191 ::uint32_t cached_has_bits = 0; 2192 (void)cached_has_bits; 2193 2194 // string swagger = 1; 2195 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 2196 if (!this_._internal_swagger().empty()) { 2197 const std::string& _s = this_._internal_swagger(); 2198 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2199 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.swagger"); 2200 target = stream->WriteStringMaybeAliased(1, _s, target); 2201 } 2202 } 2203 2204 cached_has_bits = this_._impl_._has_bits_[0]; 2205 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 2206 if ((cached_has_bits & 0x00000008u) != 0) { 2207 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2208 2, *this_._impl_.info_, this_._impl_.info_->GetCachedSize(), target, 2209 stream); 2210 } 2211 2212 // string host = 3; 2213 if ((cached_has_bits & 0x00000002u) != 0) { 2214 if (!this_._internal_host().empty()) { 2215 const std::string& _s = this_._internal_host(); 2216 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2217 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.host"); 2218 target = stream->WriteStringMaybeAliased(3, _s, target); 2219 } 2220 } 2221 2222 // string base_path = 4; 2223 if ((cached_has_bits & 0x00000004u) != 0) { 2224 if (!this_._internal_base_path().empty()) { 2225 const std::string& _s = this_._internal_base_path(); 2226 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2227 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.base_path"); 2228 target = stream->WriteStringMaybeAliased(4, _s, target); 2229 } 2230 } 2231 2232 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 2233 { 2234 std::size_t byte_size = 2235 this_._impl_._schemes_cached_byte_size_.Get(); 2236 if (byte_size > 0) { 2237 target = stream->WriteEnumPacked( 2238 5, this_._internal_schemes(), byte_size, target); 2239 } 2240 } 2241 2242 // repeated string consumes = 6; 2243 for (int i = 0, n = this_._internal_consumes_size(); i < n; ++i) { 2244 const auto& s = this_._internal_consumes().Get(i); 2245 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2246 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.consumes"); 2247 target = stream->WriteString(6, s, target); 2248 } 2249 2250 // repeated string produces = 7; 2251 for (int i = 0, n = this_._internal_produces_size(); i < n; ++i) { 2252 const auto& s = this_._internal_produces().Get(i); 2253 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2254 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.produces"); 2255 target = stream->WriteString(7, s, target); 2256 } 2257 2258 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 2259 if (!this_._internal_responses().empty()) { 2260 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>; 2261 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 2262 _pbi::WireFormatLite::TYPE_STRING, 2263 _pbi::WireFormatLite::TYPE_MESSAGE>; 2264 const auto& field = this_._internal_responses(); 2265 2266 if (stream->IsSerializationDeterministic() && field.size() > 1) { 2267 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 2268 target = WireHelper::InternalSerialize( 2269 10, entry.first, entry.second, target, stream); 2270 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2271 entry.first.data(), static_cast<int>(entry.first.length()), 2272 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses"); 2273 } 2274 } else { 2275 for (const auto& entry : field) { 2276 target = WireHelper::InternalSerialize( 2277 10, entry.first, entry.second, target, stream); 2278 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2279 entry.first.data(), static_cast<int>(entry.first.length()), 2280 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses"); 2281 } 2282 } 2283 } 2284 2285 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 2286 if ((cached_has_bits & 0x00000010u) != 0) { 2287 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2288 11, *this_._impl_.security_definitions_, this_._impl_.security_definitions_->GetCachedSize(), target, 2289 stream); 2290 } 2291 2292 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2293 for (unsigned i = 0, n = static_cast<unsigned>( 2294 this_._internal_security_size()); 2295 i < n; i++) { 2296 const auto& repfield = this_._internal_security().Get(i); 2297 target = 2298 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2299 12, repfield, repfield.GetCachedSize(), 2300 target, stream); 2301 } 2302 2303 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 2304 if ((cached_has_bits & 0x00000020u) != 0) { 2305 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2306 14, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 2307 stream); 2308 } 2309 2310 // map<string, .google.protobuf.Value> extensions = 15; 2311 if (!this_._internal_extensions().empty()) { 2312 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 2313 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 2314 _pbi::WireFormatLite::TYPE_STRING, 2315 _pbi::WireFormatLite::TYPE_MESSAGE>; 2316 const auto& field = this_._internal_extensions(); 2317 2318 if (stream->IsSerializationDeterministic() && field.size() > 1) { 2319 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 2320 target = WireHelper::InternalSerialize( 2321 15, entry.first, entry.second, target, stream); 2322 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2323 entry.first.data(), static_cast<int>(entry.first.length()), 2324 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions"); 2325 } 2326 } else { 2327 for (const auto& entry : field) { 2328 target = WireHelper::InternalSerialize( 2329 15, entry.first, entry.second, target, stream); 2330 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2331 entry.first.data(), static_cast<int>(entry.first.length()), 2332 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions"); 2333 } 2334 } 2335 } 2336 2337 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 2338 target = 2339 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 2340 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 2341 } 2342 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2343 return target; 2344 } 2345 2346 #if defined(PROTOBUF_CUSTOM_VTABLE) 2347 ::size_t Swagger::ByteSizeLong(const MessageLite& base) { 2348 const Swagger& this_ = static_cast<const Swagger&>(base); 2349 #else // PROTOBUF_CUSTOM_VTABLE 2350 ::size_t Swagger::ByteSizeLong() const { 2351 const Swagger& this_ = *this; 2352 #endif // PROTOBUF_CUSTOM_VTABLE 2353 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2354 ::size_t total_size = 0; 2355 2356 ::uint32_t cached_has_bits = 0; 2357 // Prevent compiler warnings about cached_has_bits being unused 2358 (void)cached_has_bits; 2359 2360 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 2361 { 2362 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 5; 2363 { 2364 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( 2365 this_._internal_schemes(), 1, this_._impl_._schemes_cached_byte_size_); 2366 } 2367 // repeated string consumes = 6; 2368 { 2369 total_size += 2370 1 * ::google::protobuf::internal::FromIntSize(this_._internal_consumes().size()); 2371 for (int i = 0, n = this_._internal_consumes().size(); i < n; ++i) { 2372 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 2373 this_._internal_consumes().Get(i)); 2374 } 2375 } 2376 // repeated string produces = 7; 2377 { 2378 total_size += 2379 1 * ::google::protobuf::internal::FromIntSize(this_._internal_produces().size()); 2380 for (int i = 0, n = this_._internal_produces().size(); i < n; ++i) { 2381 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 2382 this_._internal_produces().Get(i)); 2383 } 2384 } 2385 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 10; 2386 { 2387 total_size += 2388 1 * ::google::protobuf::internal::FromIntSize(this_._internal_responses_size()); 2389 for (const auto& entry : this_._internal_responses()) { 2390 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 2391 _pbi::WireFormatLite::TYPE_STRING, 2392 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 2393 } 2394 } 2395 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 2396 { 2397 total_size += 1UL * this_._internal_security_size(); 2398 for (const auto& msg : this_._internal_security()) { 2399 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); 2400 } 2401 } 2402 // map<string, .google.protobuf.Value> extensions = 15; 2403 { 2404 total_size += 2405 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 2406 for (const auto& entry : this_._internal_extensions()) { 2407 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 2408 _pbi::WireFormatLite::TYPE_STRING, 2409 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 2410 } 2411 } 2412 } 2413 cached_has_bits = this_._impl_._has_bits_[0]; 2414 if ((cached_has_bits & 0x0000003fu) != 0) { 2415 // string swagger = 1; 2416 if ((cached_has_bits & 0x00000001u) != 0) { 2417 if (!this_._internal_swagger().empty()) { 2418 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2419 this_._internal_swagger()); 2420 } 2421 } 2422 // string host = 3; 2423 if ((cached_has_bits & 0x00000002u) != 0) { 2424 if (!this_._internal_host().empty()) { 2425 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2426 this_._internal_host()); 2427 } 2428 } 2429 // string base_path = 4; 2430 if ((cached_has_bits & 0x00000004u) != 0) { 2431 if (!this_._internal_base_path().empty()) { 2432 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2433 this_._internal_base_path()); 2434 } 2435 } 2436 // .grpc.gateway.protoc_gen_openapiv2.options.Info info = 2; 2437 if ((cached_has_bits & 0x00000008u) != 0) { 2438 total_size += 1 + 2439 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.info_); 2440 } 2441 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions security_definitions = 11; 2442 if ((cached_has_bits & 0x00000010u) != 0) { 2443 total_size += 1 + 2444 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.security_definitions_); 2445 } 2446 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 14; 2447 if ((cached_has_bits & 0x00000020u) != 0) { 2448 total_size += 1 + 2449 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 2450 } 2451 } 2452 return this_.MaybeComputeUnknownFieldsSize(total_size, 2453 &this_._impl_._cached_size_); 2454 } 2455 2456 void Swagger::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 2457 auto* const _this = static_cast<Swagger*>(&to_msg); 2458 auto& from = static_cast<const Swagger&>(from_msg); 2459 ::google::protobuf::Arena* arena = _this->GetArena(); 2460 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2461 ABSL_DCHECK_NE(&from, _this); 2462 ::uint32_t cached_has_bits = 0; 2463 (void) cached_has_bits; 2464 2465 _this->_internal_mutable_schemes()->MergeFrom(from._internal_schemes()); 2466 _this->_internal_mutable_consumes()->MergeFrom(from._internal_consumes()); 2467 _this->_internal_mutable_produces()->MergeFrom(from._internal_produces()); 2468 _this->_impl_.responses_.MergeFrom(from._impl_.responses_); 2469 _this->_internal_mutable_security()->MergeFrom( 2470 from._internal_security()); 2471 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 2472 cached_has_bits = from._impl_._has_bits_[0]; 2473 if ((cached_has_bits & 0x0000003fu) != 0) { 2474 if ((cached_has_bits & 0x00000001u) != 0) { 2475 if (!from._internal_swagger().empty()) { 2476 _this->_internal_set_swagger(from._internal_swagger()); 2477 } else { 2478 if (_this->_impl_.swagger_.IsDefault()) { 2479 _this->_internal_set_swagger(""); 2480 } 2481 } 2482 } 2483 if ((cached_has_bits & 0x00000002u) != 0) { 2484 if (!from._internal_host().empty()) { 2485 _this->_internal_set_host(from._internal_host()); 2486 } else { 2487 if (_this->_impl_.host_.IsDefault()) { 2488 _this->_internal_set_host(""); 2489 } 2490 } 2491 } 2492 if ((cached_has_bits & 0x00000004u) != 0) { 2493 if (!from._internal_base_path().empty()) { 2494 _this->_internal_set_base_path(from._internal_base_path()); 2495 } else { 2496 if (_this->_impl_.base_path_.IsDefault()) { 2497 _this->_internal_set_base_path(""); 2498 } 2499 } 2500 } 2501 if ((cached_has_bits & 0x00000008u) != 0) { 2502 ABSL_DCHECK(from._impl_.info_ != nullptr); 2503 if (_this->_impl_.info_ == nullptr) { 2504 _this->_impl_.info_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.info_); 2505 } else { 2506 _this->_impl_.info_->MergeFrom(*from._impl_.info_); 2507 } 2508 } 2509 if ((cached_has_bits & 0x00000010u) != 0) { 2510 ABSL_DCHECK(from._impl_.security_definitions_ != nullptr); 2511 if (_this->_impl_.security_definitions_ == nullptr) { 2512 _this->_impl_.security_definitions_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.security_definitions_); 2513 } else { 2514 _this->_impl_.security_definitions_->MergeFrom(*from._impl_.security_definitions_); 2515 } 2516 } 2517 if ((cached_has_bits & 0x00000020u) != 0) { 2518 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 2519 if (_this->_impl_.external_docs_ == nullptr) { 2520 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 2521 } else { 2522 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 2523 } 2524 } 2525 } 2526 _this->_impl_._has_bits_[0] |= cached_has_bits; 2527 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 2528 } 2529 2530 void Swagger::CopyFrom(const Swagger& from) { 2531 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Swagger) 2532 if (&from == this) return; 2533 Clear(); 2534 MergeFrom(from); 2535 } 2536 2537 2538 void Swagger::InternalSwap(Swagger* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 2539 using std::swap; 2540 auto* arena = GetArena(); 2541 ABSL_DCHECK_EQ(arena, other->GetArena()); 2542 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 2543 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 2544 _impl_.schemes_.InternalSwap(&other->_impl_.schemes_); 2545 _impl_.consumes_.InternalSwap(&other->_impl_.consumes_); 2546 _impl_.produces_.InternalSwap(&other->_impl_.produces_); 2547 _impl_.responses_.InternalSwap(&other->_impl_.responses_); 2548 _impl_.security_.InternalSwap(&other->_impl_.security_); 2549 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 2550 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.swagger_, &other->_impl_.swagger_, arena); 2551 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.host_, &other->_impl_.host_, arena); 2552 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.base_path_, &other->_impl_.base_path_, arena); 2553 ::google::protobuf::internal::memswap< 2554 PROTOBUF_FIELD_OFFSET(Swagger, _impl_.external_docs_) 2555 + sizeof(Swagger::_impl_.external_docs_) 2556 - PROTOBUF_FIELD_OFFSET(Swagger, _impl_.info_)>( 2557 reinterpret_cast<char*>(&_impl_.info_), 2558 reinterpret_cast<char*>(&other->_impl_.info_)); 2559 } 2560 2561 ::google::protobuf::Metadata Swagger::GetMetadata() const { 2562 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 2563 } 2564 // =================================================================== 2565 2566 #if defined(PROTOBUF_CUSTOM_VTABLE) 2567 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse() 2568 : SuperType(Operation_ResponsesEntry_DoNotUse_class_data_.base()) {} 2569 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2570 : SuperType(arena, Operation_ResponsesEntry_DoNotUse_class_data_.base()) {} 2571 #else // PROTOBUF_CUSTOM_VTABLE 2572 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse() : SuperType() {} 2573 Operation_ResponsesEntry_DoNotUse::Operation_ResponsesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 2574 #endif // PROTOBUF_CUSTOM_VTABLE 2575 inline void* PROTOBUF_NONNULL Operation_ResponsesEntry_DoNotUse::PlacementNew_( 2576 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2577 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2578 return ::new (mem) Operation_ResponsesEntry_DoNotUse(arena); 2579 } 2580 constexpr auto Operation_ResponsesEntry_DoNotUse::InternalNewImpl_() { 2581 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Operation_ResponsesEntry_DoNotUse), 2582 alignof(Operation_ResponsesEntry_DoNotUse)); 2583 } 2584 constexpr auto Operation_ResponsesEntry_DoNotUse::InternalGenerateClassData_() { 2585 return ::google::protobuf::internal::ClassDataFull{ 2586 ::google::protobuf::internal::ClassData{ 2587 &_Operation_ResponsesEntry_DoNotUse_default_instance_._instance, 2588 &_table_.header, 2589 nullptr, // OnDemandRegisterArenaDtor 2590 nullptr, // IsInitialized 2591 &Operation_ResponsesEntry_DoNotUse::MergeImpl, 2592 ::google::protobuf::Message::GetNewImpl<Operation_ResponsesEntry_DoNotUse>(), 2593 #if defined(PROTOBUF_CUSTOM_VTABLE) 2594 &Operation_ResponsesEntry_DoNotUse::SharedDtor, 2595 static_cast<void (::google::protobuf::MessageLite::*)()>(&Operation_ResponsesEntry_DoNotUse::ClearImpl), 2596 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 2597 , 2598 #endif // PROTOBUF_CUSTOM_VTABLE 2599 PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_._cached_size_), 2600 false, 2601 }, 2602 &Operation_ResponsesEntry_DoNotUse::kDescriptorMethods, 2603 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2604 nullptr, // tracker 2605 }; 2606 } 2607 2608 PROTOBUF_CONSTINIT AGONES_EXPORT 2609 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 2610 Operation_ResponsesEntry_DoNotUse_class_data_ = 2611 Operation_ResponsesEntry_DoNotUse::InternalGenerateClassData_(); 2612 2613 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Operation_ResponsesEntry_DoNotUse::GetClassData() const { 2614 ::google::protobuf::internal::PrefetchToLocalCache(&Operation_ResponsesEntry_DoNotUse_class_data_); 2615 ::google::protobuf::internal::PrefetchToLocalCache(Operation_ResponsesEntry_DoNotUse_class_data_.tc_table); 2616 return Operation_ResponsesEntry_DoNotUse_class_data_.base(); 2617 } 2618 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2619 const ::_pbi::TcParseTable<1, 2, 1, 78, 2> 2620 Operation_ResponsesEntry_DoNotUse::_table_ = { 2621 { 2622 PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_._has_bits_), 2623 0, // no _extensions_ 2624 2, 8, // max_field_number, fast_idx_mask 2625 offsetof(decltype(_table_), field_lookup_table), 2626 4294967292, // skipmap 2627 offsetof(decltype(_table_), field_entries), 2628 2, // num_field_entries 2629 1, // num_aux_entries 2630 offsetof(decltype(_table_), aux_entries), 2631 Operation_ResponsesEntry_DoNotUse_class_data_.base(), 2632 nullptr, // post_loop_handler 2633 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 2634 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2635 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Operation_ResponsesEntry_DoNotUse>(), // to_prefetch 2636 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2637 }, {{ 2638 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 2639 {::_pbi::TcParser::FastMtS1, 2640 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.value_)}}, 2641 // string key = 1; 2642 {::_pbi::TcParser::FastUS1, 2643 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.key_)}}, 2644 }}, {{ 2645 65535, 65535 2646 }}, {{ 2647 // string key = 1; 2648 {PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 2649 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2650 // .grpc.gateway.protoc_gen_openapiv2.options.Response value = 2; 2651 {PROTOBUF_FIELD_OFFSET(Operation_ResponsesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 2652 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2653 }}, 2654 {{ 2655 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 2656 }}, 2657 {{ 2658 "\102\3\0\0\0\0\0\0" 2659 "grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry" 2660 "key" 2661 }}, 2662 }; 2663 // =================================================================== 2664 2665 #if defined(PROTOBUF_CUSTOM_VTABLE) 2666 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse() 2667 : SuperType(Operation_ExtensionsEntry_DoNotUse_class_data_.base()) {} 2668 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2669 : SuperType(arena, Operation_ExtensionsEntry_DoNotUse_class_data_.base()) {} 2670 #else // PROTOBUF_CUSTOM_VTABLE 2671 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse() : SuperType() {} 2672 Operation_ExtensionsEntry_DoNotUse::Operation_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 2673 #endif // PROTOBUF_CUSTOM_VTABLE 2674 inline void* PROTOBUF_NONNULL Operation_ExtensionsEntry_DoNotUse::PlacementNew_( 2675 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2676 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2677 return ::new (mem) Operation_ExtensionsEntry_DoNotUse(arena); 2678 } 2679 constexpr auto Operation_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 2680 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Operation_ExtensionsEntry_DoNotUse), 2681 alignof(Operation_ExtensionsEntry_DoNotUse)); 2682 } 2683 constexpr auto Operation_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 2684 return ::google::protobuf::internal::ClassDataFull{ 2685 ::google::protobuf::internal::ClassData{ 2686 &_Operation_ExtensionsEntry_DoNotUse_default_instance_._instance, 2687 &_table_.header, 2688 nullptr, // OnDemandRegisterArenaDtor 2689 nullptr, // IsInitialized 2690 &Operation_ExtensionsEntry_DoNotUse::MergeImpl, 2691 ::google::protobuf::Message::GetNewImpl<Operation_ExtensionsEntry_DoNotUse>(), 2692 #if defined(PROTOBUF_CUSTOM_VTABLE) 2693 &Operation_ExtensionsEntry_DoNotUse::SharedDtor, 2694 static_cast<void (::google::protobuf::MessageLite::*)()>(&Operation_ExtensionsEntry_DoNotUse::ClearImpl), 2695 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 2696 , 2697 #endif // PROTOBUF_CUSTOM_VTABLE 2698 PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 2699 false, 2700 }, 2701 &Operation_ExtensionsEntry_DoNotUse::kDescriptorMethods, 2702 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2703 nullptr, // tracker 2704 }; 2705 } 2706 2707 PROTOBUF_CONSTINIT AGONES_EXPORT 2708 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 2709 Operation_ExtensionsEntry_DoNotUse_class_data_ = 2710 Operation_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 2711 2712 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Operation_ExtensionsEntry_DoNotUse::GetClassData() const { 2713 ::google::protobuf::internal::PrefetchToLocalCache(&Operation_ExtensionsEntry_DoNotUse_class_data_); 2714 ::google::protobuf::internal::PrefetchToLocalCache(Operation_ExtensionsEntry_DoNotUse_class_data_.tc_table); 2715 return Operation_ExtensionsEntry_DoNotUse_class_data_.base(); 2716 } 2717 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2718 const ::_pbi::TcParseTable<1, 2, 1, 79, 2> 2719 Operation_ExtensionsEntry_DoNotUse::_table_ = { 2720 { 2721 PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 2722 0, // no _extensions_ 2723 2, 8, // max_field_number, fast_idx_mask 2724 offsetof(decltype(_table_), field_lookup_table), 2725 4294967292, // skipmap 2726 offsetof(decltype(_table_), field_entries), 2727 2, // num_field_entries 2728 1, // num_aux_entries 2729 offsetof(decltype(_table_), aux_entries), 2730 Operation_ExtensionsEntry_DoNotUse_class_data_.base(), 2731 nullptr, // post_loop_handler 2732 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 2733 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2734 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Operation_ExtensionsEntry_DoNotUse>(), // to_prefetch 2735 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2736 }, {{ 2737 // .google.protobuf.Value value = 2; 2738 {::_pbi::TcParser::FastMtS1, 2739 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 2740 // string key = 1; 2741 {::_pbi::TcParser::FastUS1, 2742 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 2743 }}, {{ 2744 65535, 65535 2745 }}, {{ 2746 // string key = 1; 2747 {PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 2748 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 2749 // .google.protobuf.Value value = 2; 2750 {PROTOBUF_FIELD_OFFSET(Operation_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 2751 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2752 }}, 2753 {{ 2754 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 2755 }}, 2756 {{ 2757 "\103\3\0\0\0\0\0\0" 2758 "grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry" 2759 "key" 2760 }}, 2761 }; 2762 // =================================================================== 2763 2764 class Operation::_Internal { 2765 public: 2766 using HasBits = 2767 decltype(std::declval<Operation>()._impl_._has_bits_); 2768 static constexpr ::int32_t kHasBitsOffset = 2769 8 * PROTOBUF_FIELD_OFFSET(Operation, _impl_._has_bits_); 2770 }; 2771 2772 void Operation::clear_extensions() { 2773 ::google::protobuf::internal::TSanWrite(&_impl_); 2774 _impl_.extensions_.Clear(); 2775 } 2776 Operation::Operation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2777 #if defined(PROTOBUF_CUSTOM_VTABLE) 2778 : ::google::protobuf::Message(arena, Operation_class_data_.base()) { 2779 #else // PROTOBUF_CUSTOM_VTABLE 2780 : ::google::protobuf::Message(arena) { 2781 #endif // PROTOBUF_CUSTOM_VTABLE 2782 SharedCtor(arena); 2783 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2784 } 2785 PROTOBUF_NDEBUG_INLINE Operation::Impl_::Impl_( 2786 ::google::protobuf::internal::InternalVisibility visibility, 2787 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2788 const ::grpc::gateway::protoc_gen_openapiv2::options::Operation& from_msg) 2789 : _has_bits_{from._has_bits_}, 2790 _cached_size_{0}, 2791 tags_{visibility, arena, from.tags_}, 2792 consumes_{visibility, arena, from.consumes_}, 2793 produces_{visibility, arena, from.produces_}, 2794 responses_{visibility, arena, from.responses_}, 2795 schemes_{visibility, arena, from.schemes_}, 2796 _schemes_cached_byte_size_{0}, 2797 security_{visibility, arena, from.security_}, 2798 extensions_{visibility, arena, from.extensions_}, 2799 summary_(arena, from.summary_), 2800 description_(arena, from.description_), 2801 operation_id_(arena, from.operation_id_) {} 2802 2803 Operation::Operation( 2804 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 2805 const Operation& from) 2806 #if defined(PROTOBUF_CUSTOM_VTABLE) 2807 : ::google::protobuf::Message(arena, Operation_class_data_.base()) { 2808 #else // PROTOBUF_CUSTOM_VTABLE 2809 : ::google::protobuf::Message(arena) { 2810 #endif // PROTOBUF_CUSTOM_VTABLE 2811 Operation* const _this = this; 2812 (void)_this; 2813 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 2814 from._internal_metadata_); 2815 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 2816 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 2817 _impl_.external_docs_ = ((cached_has_bits & 0x00000008u) != 0) 2818 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 2819 : nullptr; 2820 _impl_.deprecated_ = from._impl_.deprecated_; 2821 2822 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2823 } 2824 PROTOBUF_NDEBUG_INLINE Operation::Impl_::Impl_( 2825 ::google::protobuf::internal::InternalVisibility visibility, 2826 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2827 : _cached_size_{0}, 2828 tags_{visibility, arena}, 2829 consumes_{visibility, arena}, 2830 produces_{visibility, arena}, 2831 responses_{visibility, arena}, 2832 schemes_{visibility, arena}, 2833 _schemes_cached_byte_size_{0}, 2834 security_{visibility, arena}, 2835 extensions_{visibility, arena}, 2836 summary_(arena), 2837 description_(arena), 2838 operation_id_(arena) {} 2839 2840 inline void Operation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 2841 new (&_impl_) Impl_(internal_visibility(), arena); 2842 ::memset(reinterpret_cast<char *>(&_impl_) + 2843 offsetof(Impl_, external_docs_), 2844 0, 2845 offsetof(Impl_, deprecated_) - 2846 offsetof(Impl_, external_docs_) + 2847 sizeof(Impl_::deprecated_)); 2848 } 2849 Operation::~Operation() { 2850 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Operation) 2851 SharedDtor(*this); 2852 } 2853 inline void Operation::SharedDtor(MessageLite& self) { 2854 Operation& this_ = static_cast<Operation&>(self); 2855 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 2856 ABSL_DCHECK(this_.GetArena() == nullptr); 2857 this_._impl_.summary_.Destroy(); 2858 this_._impl_.description_.Destroy(); 2859 this_._impl_.operation_id_.Destroy(); 2860 delete this_._impl_.external_docs_; 2861 this_._impl_.~Impl_(); 2862 } 2863 2864 inline void* PROTOBUF_NONNULL Operation::PlacementNew_( 2865 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2866 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2867 return ::new (mem) Operation(arena); 2868 } 2869 constexpr auto Operation::InternalNewImpl_() { 2870 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 2871 PROTOBUF_FIELD_OFFSET(Operation, _impl_.tags_) + 2872 decltype(Operation::_impl_.tags_):: 2873 InternalGetArenaOffset( 2874 ::google::protobuf::Message::internal_visibility()), 2875 PROTOBUF_FIELD_OFFSET(Operation, _impl_.consumes_) + 2876 decltype(Operation::_impl_.consumes_):: 2877 InternalGetArenaOffset( 2878 ::google::protobuf::Message::internal_visibility()), 2879 PROTOBUF_FIELD_OFFSET(Operation, _impl_.produces_) + 2880 decltype(Operation::_impl_.produces_):: 2881 InternalGetArenaOffset( 2882 ::google::protobuf::Message::internal_visibility()), 2883 PROTOBUF_FIELD_OFFSET(Operation, _impl_.responses_) + 2884 decltype(Operation::_impl_.responses_):: 2885 InternalGetArenaOffset( 2886 ::google::protobuf::Message::internal_visibility()), 2887 PROTOBUF_FIELD_OFFSET(Operation, _impl_.responses_) + 2888 decltype(Operation::_impl_.responses_):: 2889 InternalGetArenaOffsetAlt( 2890 ::google::protobuf::Message::internal_visibility()), 2891 PROTOBUF_FIELD_OFFSET(Operation, _impl_.schemes_) + 2892 decltype(Operation::_impl_.schemes_):: 2893 InternalGetArenaOffset( 2894 ::google::protobuf::Message::internal_visibility()), 2895 PROTOBUF_FIELD_OFFSET(Operation, _impl_.security_) + 2896 decltype(Operation::_impl_.security_):: 2897 InternalGetArenaOffset( 2898 ::google::protobuf::Message::internal_visibility()), 2899 PROTOBUF_FIELD_OFFSET(Operation, _impl_.extensions_) + 2900 decltype(Operation::_impl_.extensions_):: 2901 InternalGetArenaOffset( 2902 ::google::protobuf::Message::internal_visibility()), 2903 PROTOBUF_FIELD_OFFSET(Operation, _impl_.extensions_) + 2904 decltype(Operation::_impl_.extensions_):: 2905 InternalGetArenaOffsetAlt( 2906 ::google::protobuf::Message::internal_visibility()), 2907 }); 2908 if (arena_bits.has_value()) { 2909 return ::google::protobuf::internal::MessageCreator::CopyInit( 2910 sizeof(Operation), alignof(Operation), *arena_bits); 2911 } else { 2912 return ::google::protobuf::internal::MessageCreator(&Operation::PlacementNew_, 2913 sizeof(Operation), 2914 alignof(Operation)); 2915 } 2916 } 2917 constexpr auto Operation::InternalGenerateClassData_() { 2918 return ::google::protobuf::internal::ClassDataFull{ 2919 ::google::protobuf::internal::ClassData{ 2920 &_Operation_default_instance_._instance, 2921 &_table_.header, 2922 nullptr, // OnDemandRegisterArenaDtor 2923 nullptr, // IsInitialized 2924 &Operation::MergeImpl, 2925 ::google::protobuf::Message::GetNewImpl<Operation>(), 2926 #if defined(PROTOBUF_CUSTOM_VTABLE) 2927 &Operation::SharedDtor, 2928 ::google::protobuf::Message::GetClearImpl<Operation>(), &Operation::ByteSizeLong, 2929 &Operation::_InternalSerialize, 2930 #endif // PROTOBUF_CUSTOM_VTABLE 2931 PROTOBUF_FIELD_OFFSET(Operation, _impl_._cached_size_), 2932 false, 2933 }, 2934 &Operation::kDescriptorMethods, 2935 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 2936 nullptr, // tracker 2937 }; 2938 } 2939 2940 PROTOBUF_CONSTINIT AGONES_EXPORT 2941 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 2942 Operation_class_data_ = 2943 Operation::InternalGenerateClassData_(); 2944 2945 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Operation::GetClassData() const { 2946 ::google::protobuf::internal::PrefetchToLocalCache(&Operation_class_data_); 2947 ::google::protobuf::internal::PrefetchToLocalCache(Operation_class_data_.tc_table); 2948 return Operation_class_data_.base(); 2949 } 2950 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2951 const ::_pbi::TcParseTable<4, 12, 6, 137, 2> 2952 Operation::_table_ = { 2953 { 2954 PROTOBUF_FIELD_OFFSET(Operation, _impl_._has_bits_), 2955 0, // no _extensions_ 2956 13, 120, // max_field_number, fast_idx_mask 2957 offsetof(decltype(_table_), field_lookup_table), 2958 4294959232, // skipmap 2959 offsetof(decltype(_table_), field_entries), 2960 12, // num_field_entries 2961 6, // num_aux_entries 2962 offsetof(decltype(_table_), aux_entries), 2963 Operation_class_data_.base(), 2964 nullptr, // post_loop_handler 2965 ::_pbi::TcParser::GenericFallback, // fallback 2966 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2967 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Operation>(), // to_prefetch 2968 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2969 }, {{ 2970 {::_pbi::TcParser::MiniParse, {}}, 2971 // repeated string tags = 1; 2972 {::_pbi::TcParser::FastUR1, 2973 {10, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.tags_)}}, 2974 // string summary = 2; 2975 {::_pbi::TcParser::FastUS1, 2976 {18, 0, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.summary_)}}, 2977 // string description = 3; 2978 {::_pbi::TcParser::FastUS1, 2979 {26, 1, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.description_)}}, 2980 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 2981 {::_pbi::TcParser::FastMtS1, 2982 {34, 3, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.external_docs_)}}, 2983 // string operation_id = 5; 2984 {::_pbi::TcParser::FastUS1, 2985 {42, 2, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.operation_id_)}}, 2986 // repeated string consumes = 6; 2987 {::_pbi::TcParser::FastUR1, 2988 {50, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.consumes_)}}, 2989 // repeated string produces = 7; 2990 {::_pbi::TcParser::FastUR1, 2991 {58, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.produces_)}}, 2992 {::_pbi::TcParser::MiniParse, {}}, 2993 {::_pbi::TcParser::MiniParse, {}}, 2994 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 2995 {::_pbi::TcParser::FastV32P1, 2996 {82, 63, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.schemes_)}}, 2997 // bool deprecated = 11; 2998 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Operation, _impl_.deprecated_), 4>(), 2999 {88, 4, 0, PROTOBUF_FIELD_OFFSET(Operation, _impl_.deprecated_)}}, 3000 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 3001 {::_pbi::TcParser::FastMtR1, 3002 {98, 63, 1, PROTOBUF_FIELD_OFFSET(Operation, _impl_.security_)}}, 3003 {::_pbi::TcParser::MiniParse, {}}, 3004 {::_pbi::TcParser::MiniParse, {}}, 3005 {::_pbi::TcParser::MiniParse, {}}, 3006 }}, {{ 3007 65535, 65535 3008 }}, {{ 3009 // repeated string tags = 1; 3010 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.tags_), -1, 0, 3011 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 3012 // string summary = 2; 3013 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.summary_), _Internal::kHasBitsOffset + 0, 0, 3014 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3015 // string description = 3; 3016 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.description_), _Internal::kHasBitsOffset + 1, 0, 3017 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3018 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 3019 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.external_docs_), _Internal::kHasBitsOffset + 3, 0, 3020 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 3021 // string operation_id = 5; 3022 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.operation_id_), _Internal::kHasBitsOffset + 2, 0, 3023 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3024 // repeated string consumes = 6; 3025 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.consumes_), -1, 0, 3026 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 3027 // repeated string produces = 7; 3028 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.produces_), -1, 0, 3029 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 3030 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 3031 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.responses_), -1, 2, 3032 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 3033 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 3034 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.schemes_), -1, 0, 3035 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, 3036 // bool deprecated = 11; 3037 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.deprecated_), _Internal::kHasBitsOffset + 4, 0, 3038 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 3039 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 3040 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.security_), -1, 1, 3041 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, 3042 // map<string, .google.protobuf.Value> extensions = 13; 3043 {PROTOBUF_FIELD_OFFSET(Operation, _impl_.extensions_), -1, 4, 3044 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 3045 }}, 3046 {{ 3047 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 3048 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>()}, 3049 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 3050 9, 11, 3051 0)}, 3052 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>()}, 3053 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 3054 9, 11, 3055 0)}, 3056 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 3057 }}, 3058 {{ 3059 "\63\4\7\13\0\14\10\10\11\0\0\0\12\0\0\0" 3060 "grpc.gateway.protoc_gen_openapiv2.options.Operation" 3061 "tags" 3062 "summary" 3063 "description" 3064 "operation_id" 3065 "consumes" 3066 "produces" 3067 "responses" 3068 "extensions" 3069 }}, 3070 }; 3071 PROTOBUF_NOINLINE void Operation::Clear() { 3072 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3073 ::google::protobuf::internal::TSanWrite(&_impl_); 3074 ::uint32_t cached_has_bits = 0; 3075 // Prevent compiler warnings about cached_has_bits being unused 3076 (void) cached_has_bits; 3077 3078 _impl_.tags_.Clear(); 3079 _impl_.consumes_.Clear(); 3080 _impl_.produces_.Clear(); 3081 _impl_.responses_.Clear(); 3082 _impl_.schemes_.Clear(); 3083 _impl_.security_.Clear(); 3084 _impl_.extensions_.Clear(); 3085 cached_has_bits = _impl_._has_bits_[0]; 3086 if ((cached_has_bits & 0x0000000fu) != 0) { 3087 if ((cached_has_bits & 0x00000001u) != 0) { 3088 _impl_.summary_.ClearNonDefaultToEmpty(); 3089 } 3090 if ((cached_has_bits & 0x00000002u) != 0) { 3091 _impl_.description_.ClearNonDefaultToEmpty(); 3092 } 3093 if ((cached_has_bits & 0x00000004u) != 0) { 3094 _impl_.operation_id_.ClearNonDefaultToEmpty(); 3095 } 3096 if ((cached_has_bits & 0x00000008u) != 0) { 3097 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 3098 _impl_.external_docs_->Clear(); 3099 } 3100 } 3101 _impl_.deprecated_ = false; 3102 _impl_._has_bits_.Clear(); 3103 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 3104 } 3105 3106 #if defined(PROTOBUF_CUSTOM_VTABLE) 3107 ::uint8_t* PROTOBUF_NONNULL Operation::_InternalSerialize( 3108 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 3109 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 3110 const Operation& this_ = static_cast<const Operation&>(base); 3111 #else // PROTOBUF_CUSTOM_VTABLE 3112 ::uint8_t* PROTOBUF_NONNULL Operation::_InternalSerialize( 3113 ::uint8_t* PROTOBUF_NONNULL target, 3114 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3115 const Operation& this_ = *this; 3116 #endif // PROTOBUF_CUSTOM_VTABLE 3117 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3118 ::uint32_t cached_has_bits = 0; 3119 (void)cached_has_bits; 3120 3121 // repeated string tags = 1; 3122 for (int i = 0, n = this_._internal_tags_size(); i < n; ++i) { 3123 const auto& s = this_._internal_tags().Get(i); 3124 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3125 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.tags"); 3126 target = stream->WriteString(1, s, target); 3127 } 3128 3129 // string summary = 2; 3130 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 3131 if (!this_._internal_summary().empty()) { 3132 const std::string& _s = this_._internal_summary(); 3133 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3134 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.summary"); 3135 target = stream->WriteStringMaybeAliased(2, _s, target); 3136 } 3137 } 3138 3139 // string description = 3; 3140 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 3141 if (!this_._internal_description().empty()) { 3142 const std::string& _s = this_._internal_description(); 3143 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3144 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.description"); 3145 target = stream->WriteStringMaybeAliased(3, _s, target); 3146 } 3147 } 3148 3149 cached_has_bits = this_._impl_._has_bits_[0]; 3150 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 3151 if ((cached_has_bits & 0x00000008u) != 0) { 3152 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 3153 4, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 3154 stream); 3155 } 3156 3157 // string operation_id = 5; 3158 if ((cached_has_bits & 0x00000004u) != 0) { 3159 if (!this_._internal_operation_id().empty()) { 3160 const std::string& _s = this_._internal_operation_id(); 3161 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3162 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.operation_id"); 3163 target = stream->WriteStringMaybeAliased(5, _s, target); 3164 } 3165 } 3166 3167 // repeated string consumes = 6; 3168 for (int i = 0, n = this_._internal_consumes_size(); i < n; ++i) { 3169 const auto& s = this_._internal_consumes().Get(i); 3170 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3171 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.consumes"); 3172 target = stream->WriteString(6, s, target); 3173 } 3174 3175 // repeated string produces = 7; 3176 for (int i = 0, n = this_._internal_produces_size(); i < n; ++i) { 3177 const auto& s = this_._internal_produces().Get(i); 3178 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3179 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.produces"); 3180 target = stream->WriteString(7, s, target); 3181 } 3182 3183 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 3184 if (!this_._internal_responses().empty()) { 3185 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response>; 3186 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 3187 _pbi::WireFormatLite::TYPE_STRING, 3188 _pbi::WireFormatLite::TYPE_MESSAGE>; 3189 const auto& field = this_._internal_responses(); 3190 3191 if (stream->IsSerializationDeterministic() && field.size() > 1) { 3192 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 3193 target = WireHelper::InternalSerialize( 3194 9, entry.first, entry.second, target, stream); 3195 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3196 entry.first.data(), static_cast<int>(entry.first.length()), 3197 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.responses"); 3198 } 3199 } else { 3200 for (const auto& entry : field) { 3201 target = WireHelper::InternalSerialize( 3202 9, entry.first, entry.second, target, stream); 3203 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3204 entry.first.data(), static_cast<int>(entry.first.length()), 3205 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.responses"); 3206 } 3207 } 3208 } 3209 3210 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 3211 { 3212 std::size_t byte_size = 3213 this_._impl_._schemes_cached_byte_size_.Get(); 3214 if (byte_size > 0) { 3215 target = stream->WriteEnumPacked( 3216 10, this_._internal_schemes(), byte_size, target); 3217 } 3218 } 3219 3220 // bool deprecated = 11; 3221 if ((cached_has_bits & 0x00000010u) != 0) { 3222 if (this_._internal_deprecated() != 0) { 3223 target = stream->EnsureSpace(target); 3224 target = ::_pbi::WireFormatLite::WriteBoolToArray( 3225 11, this_._internal_deprecated(), target); 3226 } 3227 } 3228 3229 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 3230 for (unsigned i = 0, n = static_cast<unsigned>( 3231 this_._internal_security_size()); 3232 i < n; i++) { 3233 const auto& repfield = this_._internal_security().Get(i); 3234 target = 3235 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 3236 12, repfield, repfield.GetCachedSize(), 3237 target, stream); 3238 } 3239 3240 // map<string, .google.protobuf.Value> extensions = 13; 3241 if (!this_._internal_extensions().empty()) { 3242 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 3243 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 3244 _pbi::WireFormatLite::TYPE_STRING, 3245 _pbi::WireFormatLite::TYPE_MESSAGE>; 3246 const auto& field = this_._internal_extensions(); 3247 3248 if (stream->IsSerializationDeterministic() && field.size() > 1) { 3249 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 3250 target = WireHelper::InternalSerialize( 3251 13, entry.first, entry.second, target, stream); 3252 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3253 entry.first.data(), static_cast<int>(entry.first.length()), 3254 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions"); 3255 } 3256 } else { 3257 for (const auto& entry : field) { 3258 target = WireHelper::InternalSerialize( 3259 13, entry.first, entry.second, target, stream); 3260 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3261 entry.first.data(), static_cast<int>(entry.first.length()), 3262 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions"); 3263 } 3264 } 3265 } 3266 3267 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3268 target = 3269 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3270 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3271 } 3272 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3273 return target; 3274 } 3275 3276 #if defined(PROTOBUF_CUSTOM_VTABLE) 3277 ::size_t Operation::ByteSizeLong(const MessageLite& base) { 3278 const Operation& this_ = static_cast<const Operation&>(base); 3279 #else // PROTOBUF_CUSTOM_VTABLE 3280 ::size_t Operation::ByteSizeLong() const { 3281 const Operation& this_ = *this; 3282 #endif // PROTOBUF_CUSTOM_VTABLE 3283 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3284 ::size_t total_size = 0; 3285 3286 ::uint32_t cached_has_bits = 0; 3287 // Prevent compiler warnings about cached_has_bits being unused 3288 (void)cached_has_bits; 3289 3290 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3291 { 3292 // repeated string tags = 1; 3293 { 3294 total_size += 3295 1 * ::google::protobuf::internal::FromIntSize(this_._internal_tags().size()); 3296 for (int i = 0, n = this_._internal_tags().size(); i < n; ++i) { 3297 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3298 this_._internal_tags().Get(i)); 3299 } 3300 } 3301 // repeated string consumes = 6; 3302 { 3303 total_size += 3304 1 * ::google::protobuf::internal::FromIntSize(this_._internal_consumes().size()); 3305 for (int i = 0, n = this_._internal_consumes().size(); i < n; ++i) { 3306 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3307 this_._internal_consumes().Get(i)); 3308 } 3309 } 3310 // repeated string produces = 7; 3311 { 3312 total_size += 3313 1 * ::google::protobuf::internal::FromIntSize(this_._internal_produces().size()); 3314 for (int i = 0, n = this_._internal_produces().size(); i < n; ++i) { 3315 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3316 this_._internal_produces().Get(i)); 3317 } 3318 } 3319 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Response> responses = 9; 3320 { 3321 total_size += 3322 1 * ::google::protobuf::internal::FromIntSize(this_._internal_responses_size()); 3323 for (const auto& entry : this_._internal_responses()) { 3324 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Response, 3325 _pbi::WireFormatLite::TYPE_STRING, 3326 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 3327 } 3328 } 3329 // repeated .grpc.gateway.protoc_gen_openapiv2.options.Scheme schemes = 10; 3330 { 3331 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( 3332 this_._internal_schemes(), 1, this_._impl_._schemes_cached_byte_size_); 3333 } 3334 // repeated .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement security = 12; 3335 { 3336 total_size += 1UL * this_._internal_security_size(); 3337 for (const auto& msg : this_._internal_security()) { 3338 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); 3339 } 3340 } 3341 // map<string, .google.protobuf.Value> extensions = 13; 3342 { 3343 total_size += 3344 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 3345 for (const auto& entry : this_._internal_extensions()) { 3346 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 3347 _pbi::WireFormatLite::TYPE_STRING, 3348 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 3349 } 3350 } 3351 } 3352 cached_has_bits = this_._impl_._has_bits_[0]; 3353 if ((cached_has_bits & 0x0000001fu) != 0) { 3354 // string summary = 2; 3355 if ((cached_has_bits & 0x00000001u) != 0) { 3356 if (!this_._internal_summary().empty()) { 3357 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3358 this_._internal_summary()); 3359 } 3360 } 3361 // string description = 3; 3362 if ((cached_has_bits & 0x00000002u) != 0) { 3363 if (!this_._internal_description().empty()) { 3364 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3365 this_._internal_description()); 3366 } 3367 } 3368 // string operation_id = 5; 3369 if ((cached_has_bits & 0x00000004u) != 0) { 3370 if (!this_._internal_operation_id().empty()) { 3371 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3372 this_._internal_operation_id()); 3373 } 3374 } 3375 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 4; 3376 if ((cached_has_bits & 0x00000008u) != 0) { 3377 total_size += 1 + 3378 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 3379 } 3380 // bool deprecated = 11; 3381 if ((cached_has_bits & 0x00000010u) != 0) { 3382 if (this_._internal_deprecated() != 0) { 3383 total_size += 2; 3384 } 3385 } 3386 } 3387 return this_.MaybeComputeUnknownFieldsSize(total_size, 3388 &this_._impl_._cached_size_); 3389 } 3390 3391 void Operation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3392 auto* const _this = static_cast<Operation*>(&to_msg); 3393 auto& from = static_cast<const Operation&>(from_msg); 3394 ::google::protobuf::Arena* arena = _this->GetArena(); 3395 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3396 ABSL_DCHECK_NE(&from, _this); 3397 ::uint32_t cached_has_bits = 0; 3398 (void) cached_has_bits; 3399 3400 _this->_internal_mutable_tags()->MergeFrom(from._internal_tags()); 3401 _this->_internal_mutable_consumes()->MergeFrom(from._internal_consumes()); 3402 _this->_internal_mutable_produces()->MergeFrom(from._internal_produces()); 3403 _this->_impl_.responses_.MergeFrom(from._impl_.responses_); 3404 _this->_internal_mutable_schemes()->MergeFrom(from._internal_schemes()); 3405 _this->_internal_mutable_security()->MergeFrom( 3406 from._internal_security()); 3407 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 3408 cached_has_bits = from._impl_._has_bits_[0]; 3409 if ((cached_has_bits & 0x0000001fu) != 0) { 3410 if ((cached_has_bits & 0x00000001u) != 0) { 3411 if (!from._internal_summary().empty()) { 3412 _this->_internal_set_summary(from._internal_summary()); 3413 } else { 3414 if (_this->_impl_.summary_.IsDefault()) { 3415 _this->_internal_set_summary(""); 3416 } 3417 } 3418 } 3419 if ((cached_has_bits & 0x00000002u) != 0) { 3420 if (!from._internal_description().empty()) { 3421 _this->_internal_set_description(from._internal_description()); 3422 } else { 3423 if (_this->_impl_.description_.IsDefault()) { 3424 _this->_internal_set_description(""); 3425 } 3426 } 3427 } 3428 if ((cached_has_bits & 0x00000004u) != 0) { 3429 if (!from._internal_operation_id().empty()) { 3430 _this->_internal_set_operation_id(from._internal_operation_id()); 3431 } else { 3432 if (_this->_impl_.operation_id_.IsDefault()) { 3433 _this->_internal_set_operation_id(""); 3434 } 3435 } 3436 } 3437 if ((cached_has_bits & 0x00000008u) != 0) { 3438 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 3439 if (_this->_impl_.external_docs_ == nullptr) { 3440 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 3441 } else { 3442 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 3443 } 3444 } 3445 if ((cached_has_bits & 0x00000010u) != 0) { 3446 if (from._internal_deprecated() != 0) { 3447 _this->_impl_.deprecated_ = from._impl_.deprecated_; 3448 } 3449 } 3450 } 3451 _this->_impl_._has_bits_[0] |= cached_has_bits; 3452 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3453 } 3454 3455 void Operation::CopyFrom(const Operation& from) { 3456 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Operation) 3457 if (&from == this) return; 3458 Clear(); 3459 MergeFrom(from); 3460 } 3461 3462 3463 void Operation::InternalSwap(Operation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3464 using std::swap; 3465 auto* arena = GetArena(); 3466 ABSL_DCHECK_EQ(arena, other->GetArena()); 3467 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3468 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3469 _impl_.tags_.InternalSwap(&other->_impl_.tags_); 3470 _impl_.consumes_.InternalSwap(&other->_impl_.consumes_); 3471 _impl_.produces_.InternalSwap(&other->_impl_.produces_); 3472 _impl_.responses_.InternalSwap(&other->_impl_.responses_); 3473 _impl_.schemes_.InternalSwap(&other->_impl_.schemes_); 3474 _impl_.security_.InternalSwap(&other->_impl_.security_); 3475 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 3476 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.summary_, &other->_impl_.summary_, arena); 3477 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 3478 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.operation_id_, &other->_impl_.operation_id_, arena); 3479 ::google::protobuf::internal::memswap< 3480 PROTOBUF_FIELD_OFFSET(Operation, _impl_.deprecated_) 3481 + sizeof(Operation::_impl_.deprecated_) 3482 - PROTOBUF_FIELD_OFFSET(Operation, _impl_.external_docs_)>( 3483 reinterpret_cast<char*>(&_impl_.external_docs_), 3484 reinterpret_cast<char*>(&other->_impl_.external_docs_)); 3485 } 3486 3487 ::google::protobuf::Metadata Operation::GetMetadata() const { 3488 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3489 } 3490 // =================================================================== 3491 3492 class Header::_Internal { 3493 public: 3494 using HasBits = 3495 decltype(std::declval<Header>()._impl_._has_bits_); 3496 static constexpr ::int32_t kHasBitsOffset = 3497 8 * PROTOBUF_FIELD_OFFSET(Header, _impl_._has_bits_); 3498 }; 3499 3500 Header::Header(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3501 #if defined(PROTOBUF_CUSTOM_VTABLE) 3502 : ::google::protobuf::Message(arena, Header_class_data_.base()) { 3503 #else // PROTOBUF_CUSTOM_VTABLE 3504 : ::google::protobuf::Message(arena) { 3505 #endif // PROTOBUF_CUSTOM_VTABLE 3506 SharedCtor(arena); 3507 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Header) 3508 } 3509 PROTOBUF_NDEBUG_INLINE Header::Impl_::Impl_( 3510 ::google::protobuf::internal::InternalVisibility visibility, 3511 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 3512 const ::grpc::gateway::protoc_gen_openapiv2::options::Header& from_msg) 3513 : _has_bits_{from._has_bits_}, 3514 _cached_size_{0}, 3515 description_(arena, from.description_), 3516 type_(arena, from.type_), 3517 format_(arena, from.format_), 3518 default__(arena, from.default__), 3519 pattern_(arena, from.pattern_) {} 3520 3521 Header::Header( 3522 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 3523 const Header& from) 3524 #if defined(PROTOBUF_CUSTOM_VTABLE) 3525 : ::google::protobuf::Message(arena, Header_class_data_.base()) { 3526 #else // PROTOBUF_CUSTOM_VTABLE 3527 : ::google::protobuf::Message(arena) { 3528 #endif // PROTOBUF_CUSTOM_VTABLE 3529 Header* const _this = this; 3530 (void)_this; 3531 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 3532 from._internal_metadata_); 3533 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 3534 3535 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Header) 3536 } 3537 PROTOBUF_NDEBUG_INLINE Header::Impl_::Impl_( 3538 ::google::protobuf::internal::InternalVisibility visibility, 3539 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3540 : _cached_size_{0}, 3541 description_(arena), 3542 type_(arena), 3543 format_(arena), 3544 default__(arena), 3545 pattern_(arena) {} 3546 3547 inline void Header::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 3548 new (&_impl_) Impl_(internal_visibility(), arena); 3549 } 3550 Header::~Header() { 3551 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Header) 3552 SharedDtor(*this); 3553 } 3554 inline void Header::SharedDtor(MessageLite& self) { 3555 Header& this_ = static_cast<Header&>(self); 3556 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 3557 ABSL_DCHECK(this_.GetArena() == nullptr); 3558 this_._impl_.description_.Destroy(); 3559 this_._impl_.type_.Destroy(); 3560 this_._impl_.format_.Destroy(); 3561 this_._impl_.default__.Destroy(); 3562 this_._impl_.pattern_.Destroy(); 3563 this_._impl_.~Impl_(); 3564 } 3565 3566 inline void* PROTOBUF_NONNULL Header::PlacementNew_( 3567 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3568 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3569 return ::new (mem) Header(arena); 3570 } 3571 constexpr auto Header::InternalNewImpl_() { 3572 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Header), 3573 alignof(Header)); 3574 } 3575 constexpr auto Header::InternalGenerateClassData_() { 3576 return ::google::protobuf::internal::ClassDataFull{ 3577 ::google::protobuf::internal::ClassData{ 3578 &_Header_default_instance_._instance, 3579 &_table_.header, 3580 nullptr, // OnDemandRegisterArenaDtor 3581 nullptr, // IsInitialized 3582 &Header::MergeImpl, 3583 ::google::protobuf::Message::GetNewImpl<Header>(), 3584 #if defined(PROTOBUF_CUSTOM_VTABLE) 3585 &Header::SharedDtor, 3586 ::google::protobuf::Message::GetClearImpl<Header>(), &Header::ByteSizeLong, 3587 &Header::_InternalSerialize, 3588 #endif // PROTOBUF_CUSTOM_VTABLE 3589 PROTOBUF_FIELD_OFFSET(Header, _impl_._cached_size_), 3590 false, 3591 }, 3592 &Header::kDescriptorMethods, 3593 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 3594 nullptr, // tracker 3595 }; 3596 } 3597 3598 PROTOBUF_CONSTINIT AGONES_EXPORT 3599 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 3600 Header_class_data_ = 3601 Header::InternalGenerateClassData_(); 3602 3603 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Header::GetClassData() const { 3604 ::google::protobuf::internal::PrefetchToLocalCache(&Header_class_data_); 3605 ::google::protobuf::internal::PrefetchToLocalCache(Header_class_data_.tc_table); 3606 return Header_class_data_.base(); 3607 } 3608 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3609 const ::_pbi::TcParseTable<3, 5, 0, 92, 2> 3610 Header::_table_ = { 3611 { 3612 PROTOBUF_FIELD_OFFSET(Header, _impl_._has_bits_), 3613 0, // no _extensions_ 3614 13, 56, // max_field_number, fast_idx_mask 3615 offsetof(decltype(_table_), field_lookup_table), 3616 4294963160, // skipmap 3617 offsetof(decltype(_table_), field_entries), 3618 5, // num_field_entries 3619 0, // num_aux_entries 3620 offsetof(decltype(_table_), field_names), // no aux_entries 3621 Header_class_data_.base(), 3622 nullptr, // post_loop_handler 3623 ::_pbi::TcParser::GenericFallback, // fallback 3624 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3625 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Header>(), // to_prefetch 3626 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3627 }, {{ 3628 {::_pbi::TcParser::MiniParse, {}}, 3629 // string description = 1; 3630 {::_pbi::TcParser::FastUS1, 3631 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.description_)}}, 3632 // string type = 2; 3633 {::_pbi::TcParser::FastUS1, 3634 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.type_)}}, 3635 // string format = 3; 3636 {::_pbi::TcParser::FastUS1, 3637 {26, 2, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.format_)}}, 3638 {::_pbi::TcParser::MiniParse, {}}, 3639 // string pattern = 13; 3640 {::_pbi::TcParser::FastUS1, 3641 {106, 4, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.pattern_)}}, 3642 // string default = 6; 3643 {::_pbi::TcParser::FastUS1, 3644 {50, 3, 0, PROTOBUF_FIELD_OFFSET(Header, _impl_.default__)}}, 3645 {::_pbi::TcParser::MiniParse, {}}, 3646 }}, {{ 3647 65535, 65535 3648 }}, {{ 3649 // string description = 1; 3650 {PROTOBUF_FIELD_OFFSET(Header, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 3651 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3652 // string type = 2; 3653 {PROTOBUF_FIELD_OFFSET(Header, _impl_.type_), _Internal::kHasBitsOffset + 1, 0, 3654 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3655 // string format = 3; 3656 {PROTOBUF_FIELD_OFFSET(Header, _impl_.format_), _Internal::kHasBitsOffset + 2, 0, 3657 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3658 // string default = 6; 3659 {PROTOBUF_FIELD_OFFSET(Header, _impl_.default__), _Internal::kHasBitsOffset + 3, 0, 3660 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3661 // string pattern = 13; 3662 {PROTOBUF_FIELD_OFFSET(Header, _impl_.pattern_), _Internal::kHasBitsOffset + 4, 0, 3663 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3664 }}, 3665 // no aux_entries 3666 {{ 3667 "\60\13\4\6\7\7\0\0" 3668 "grpc.gateway.protoc_gen_openapiv2.options.Header" 3669 "description" 3670 "type" 3671 "format" 3672 "default" 3673 "pattern" 3674 }}, 3675 }; 3676 PROTOBUF_NOINLINE void Header::Clear() { 3677 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3678 ::google::protobuf::internal::TSanWrite(&_impl_); 3679 ::uint32_t cached_has_bits = 0; 3680 // Prevent compiler warnings about cached_has_bits being unused 3681 (void) cached_has_bits; 3682 3683 cached_has_bits = _impl_._has_bits_[0]; 3684 if ((cached_has_bits & 0x0000001fu) != 0) { 3685 if ((cached_has_bits & 0x00000001u) != 0) { 3686 _impl_.description_.ClearNonDefaultToEmpty(); 3687 } 3688 if ((cached_has_bits & 0x00000002u) != 0) { 3689 _impl_.type_.ClearNonDefaultToEmpty(); 3690 } 3691 if ((cached_has_bits & 0x00000004u) != 0) { 3692 _impl_.format_.ClearNonDefaultToEmpty(); 3693 } 3694 if ((cached_has_bits & 0x00000008u) != 0) { 3695 _impl_.default__.ClearNonDefaultToEmpty(); 3696 } 3697 if ((cached_has_bits & 0x00000010u) != 0) { 3698 _impl_.pattern_.ClearNonDefaultToEmpty(); 3699 } 3700 } 3701 _impl_._has_bits_.Clear(); 3702 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 3703 } 3704 3705 #if defined(PROTOBUF_CUSTOM_VTABLE) 3706 ::uint8_t* PROTOBUF_NONNULL Header::_InternalSerialize( 3707 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 3708 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 3709 const Header& this_ = static_cast<const Header&>(base); 3710 #else // PROTOBUF_CUSTOM_VTABLE 3711 ::uint8_t* PROTOBUF_NONNULL Header::_InternalSerialize( 3712 ::uint8_t* PROTOBUF_NONNULL target, 3713 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3714 const Header& this_ = *this; 3715 #endif // PROTOBUF_CUSTOM_VTABLE 3716 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3717 ::uint32_t cached_has_bits = 0; 3718 (void)cached_has_bits; 3719 3720 // string description = 1; 3721 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 3722 if (!this_._internal_description().empty()) { 3723 const std::string& _s = this_._internal_description(); 3724 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3725 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.description"); 3726 target = stream->WriteStringMaybeAliased(1, _s, target); 3727 } 3728 } 3729 3730 // string type = 2; 3731 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 3732 if (!this_._internal_type().empty()) { 3733 const std::string& _s = this_._internal_type(); 3734 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3735 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.type"); 3736 target = stream->WriteStringMaybeAliased(2, _s, target); 3737 } 3738 } 3739 3740 // string format = 3; 3741 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 3742 if (!this_._internal_format().empty()) { 3743 const std::string& _s = this_._internal_format(); 3744 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3745 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.format"); 3746 target = stream->WriteStringMaybeAliased(3, _s, target); 3747 } 3748 } 3749 3750 // string default = 6; 3751 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 3752 if (!this_._internal_default_().empty()) { 3753 const std::string& _s = this_._internal_default_(); 3754 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3755 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.default"); 3756 target = stream->WriteStringMaybeAliased(6, _s, target); 3757 } 3758 } 3759 3760 // string pattern = 13; 3761 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { 3762 if (!this_._internal_pattern().empty()) { 3763 const std::string& _s = this_._internal_pattern(); 3764 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3765 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Header.pattern"); 3766 target = stream->WriteStringMaybeAliased(13, _s, target); 3767 } 3768 } 3769 3770 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3771 target = 3772 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3773 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3774 } 3775 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Header) 3776 return target; 3777 } 3778 3779 #if defined(PROTOBUF_CUSTOM_VTABLE) 3780 ::size_t Header::ByteSizeLong(const MessageLite& base) { 3781 const Header& this_ = static_cast<const Header&>(base); 3782 #else // PROTOBUF_CUSTOM_VTABLE 3783 ::size_t Header::ByteSizeLong() const { 3784 const Header& this_ = *this; 3785 #endif // PROTOBUF_CUSTOM_VTABLE 3786 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3787 ::size_t total_size = 0; 3788 3789 ::uint32_t cached_has_bits = 0; 3790 // Prevent compiler warnings about cached_has_bits being unused 3791 (void)cached_has_bits; 3792 3793 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3794 cached_has_bits = this_._impl_._has_bits_[0]; 3795 if ((cached_has_bits & 0x0000001fu) != 0) { 3796 // string description = 1; 3797 if ((cached_has_bits & 0x00000001u) != 0) { 3798 if (!this_._internal_description().empty()) { 3799 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3800 this_._internal_description()); 3801 } 3802 } 3803 // string type = 2; 3804 if ((cached_has_bits & 0x00000002u) != 0) { 3805 if (!this_._internal_type().empty()) { 3806 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3807 this_._internal_type()); 3808 } 3809 } 3810 // string format = 3; 3811 if ((cached_has_bits & 0x00000004u) != 0) { 3812 if (!this_._internal_format().empty()) { 3813 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3814 this_._internal_format()); 3815 } 3816 } 3817 // string default = 6; 3818 if ((cached_has_bits & 0x00000008u) != 0) { 3819 if (!this_._internal_default_().empty()) { 3820 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3821 this_._internal_default_()); 3822 } 3823 } 3824 // string pattern = 13; 3825 if ((cached_has_bits & 0x00000010u) != 0) { 3826 if (!this_._internal_pattern().empty()) { 3827 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3828 this_._internal_pattern()); 3829 } 3830 } 3831 } 3832 return this_.MaybeComputeUnknownFieldsSize(total_size, 3833 &this_._impl_._cached_size_); 3834 } 3835 3836 void Header::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3837 auto* const _this = static_cast<Header*>(&to_msg); 3838 auto& from = static_cast<const Header&>(from_msg); 3839 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3840 ABSL_DCHECK_NE(&from, _this); 3841 ::uint32_t cached_has_bits = 0; 3842 (void) cached_has_bits; 3843 3844 cached_has_bits = from._impl_._has_bits_[0]; 3845 if ((cached_has_bits & 0x0000001fu) != 0) { 3846 if ((cached_has_bits & 0x00000001u) != 0) { 3847 if (!from._internal_description().empty()) { 3848 _this->_internal_set_description(from._internal_description()); 3849 } else { 3850 if (_this->_impl_.description_.IsDefault()) { 3851 _this->_internal_set_description(""); 3852 } 3853 } 3854 } 3855 if ((cached_has_bits & 0x00000002u) != 0) { 3856 if (!from._internal_type().empty()) { 3857 _this->_internal_set_type(from._internal_type()); 3858 } else { 3859 if (_this->_impl_.type_.IsDefault()) { 3860 _this->_internal_set_type(""); 3861 } 3862 } 3863 } 3864 if ((cached_has_bits & 0x00000004u) != 0) { 3865 if (!from._internal_format().empty()) { 3866 _this->_internal_set_format(from._internal_format()); 3867 } else { 3868 if (_this->_impl_.format_.IsDefault()) { 3869 _this->_internal_set_format(""); 3870 } 3871 } 3872 } 3873 if ((cached_has_bits & 0x00000008u) != 0) { 3874 if (!from._internal_default_().empty()) { 3875 _this->_internal_set_default_(from._internal_default_()); 3876 } else { 3877 if (_this->_impl_.default__.IsDefault()) { 3878 _this->_internal_set_default_(""); 3879 } 3880 } 3881 } 3882 if ((cached_has_bits & 0x00000010u) != 0) { 3883 if (!from._internal_pattern().empty()) { 3884 _this->_internal_set_pattern(from._internal_pattern()); 3885 } else { 3886 if (_this->_impl_.pattern_.IsDefault()) { 3887 _this->_internal_set_pattern(""); 3888 } 3889 } 3890 } 3891 } 3892 _this->_impl_._has_bits_[0] |= cached_has_bits; 3893 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3894 } 3895 3896 void Header::CopyFrom(const Header& from) { 3897 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Header) 3898 if (&from == this) return; 3899 Clear(); 3900 MergeFrom(from); 3901 } 3902 3903 3904 void Header::InternalSwap(Header* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3905 using std::swap; 3906 auto* arena = GetArena(); 3907 ABSL_DCHECK_EQ(arena, other->GetArena()); 3908 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3909 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3910 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 3911 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, &other->_impl_.type_, arena); 3912 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.format_, &other->_impl_.format_, arena); 3913 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default__, &other->_impl_.default__, arena); 3914 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pattern_, &other->_impl_.pattern_, arena); 3915 } 3916 3917 ::google::protobuf::Metadata Header::GetMetadata() const { 3918 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3919 } 3920 // =================================================================== 3921 3922 #if defined(PROTOBUF_CUSTOM_VTABLE) 3923 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse() 3924 : SuperType(Response_HeadersEntry_DoNotUse_class_data_.base()) {} 3925 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3926 : SuperType(arena, Response_HeadersEntry_DoNotUse_class_data_.base()) {} 3927 #else // PROTOBUF_CUSTOM_VTABLE 3928 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse() : SuperType() {} 3929 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 3930 #endif // PROTOBUF_CUSTOM_VTABLE 3931 inline void* PROTOBUF_NONNULL Response_HeadersEntry_DoNotUse::PlacementNew_( 3932 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3933 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3934 return ::new (mem) Response_HeadersEntry_DoNotUse(arena); 3935 } 3936 constexpr auto Response_HeadersEntry_DoNotUse::InternalNewImpl_() { 3937 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Response_HeadersEntry_DoNotUse), 3938 alignof(Response_HeadersEntry_DoNotUse)); 3939 } 3940 constexpr auto Response_HeadersEntry_DoNotUse::InternalGenerateClassData_() { 3941 return ::google::protobuf::internal::ClassDataFull{ 3942 ::google::protobuf::internal::ClassData{ 3943 &_Response_HeadersEntry_DoNotUse_default_instance_._instance, 3944 &_table_.header, 3945 nullptr, // OnDemandRegisterArenaDtor 3946 nullptr, // IsInitialized 3947 &Response_HeadersEntry_DoNotUse::MergeImpl, 3948 ::google::protobuf::Message::GetNewImpl<Response_HeadersEntry_DoNotUse>(), 3949 #if defined(PROTOBUF_CUSTOM_VTABLE) 3950 &Response_HeadersEntry_DoNotUse::SharedDtor, 3951 static_cast<void (::google::protobuf::MessageLite::*)()>(&Response_HeadersEntry_DoNotUse::ClearImpl), 3952 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 3953 , 3954 #endif // PROTOBUF_CUSTOM_VTABLE 3955 PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_._cached_size_), 3956 false, 3957 }, 3958 &Response_HeadersEntry_DoNotUse::kDescriptorMethods, 3959 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 3960 nullptr, // tracker 3961 }; 3962 } 3963 3964 PROTOBUF_CONSTINIT AGONES_EXPORT 3965 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 3966 Response_HeadersEntry_DoNotUse_class_data_ = 3967 Response_HeadersEntry_DoNotUse::InternalGenerateClassData_(); 3968 3969 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Response_HeadersEntry_DoNotUse::GetClassData() const { 3970 ::google::protobuf::internal::PrefetchToLocalCache(&Response_HeadersEntry_DoNotUse_class_data_); 3971 ::google::protobuf::internal::PrefetchToLocalCache(Response_HeadersEntry_DoNotUse_class_data_.tc_table); 3972 return Response_HeadersEntry_DoNotUse_class_data_.base(); 3973 } 3974 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3975 const ::_pbi::TcParseTable<1, 2, 1, 75, 2> 3976 Response_HeadersEntry_DoNotUse::_table_ = { 3977 { 3978 PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_._has_bits_), 3979 0, // no _extensions_ 3980 2, 8, // max_field_number, fast_idx_mask 3981 offsetof(decltype(_table_), field_lookup_table), 3982 4294967292, // skipmap 3983 offsetof(decltype(_table_), field_entries), 3984 2, // num_field_entries 3985 1, // num_aux_entries 3986 offsetof(decltype(_table_), aux_entries), 3987 Response_HeadersEntry_DoNotUse_class_data_.base(), 3988 nullptr, // post_loop_handler 3989 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 3990 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3991 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response_HeadersEntry_DoNotUse>(), // to_prefetch 3992 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3993 }, {{ 3994 // .grpc.gateway.protoc_gen_openapiv2.options.Header value = 2; 3995 {::_pbi::TcParser::FastMtS1, 3996 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.value_)}}, 3997 // string key = 1; 3998 {::_pbi::TcParser::FastUS1, 3999 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.key_)}}, 4000 }}, {{ 4001 65535, 65535 4002 }}, {{ 4003 // string key = 1; 4004 {PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4005 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4006 // .grpc.gateway.protoc_gen_openapiv2.options.Header value = 2; 4007 {PROTOBUF_FIELD_OFFSET(Response_HeadersEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4008 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4009 }}, 4010 {{ 4011 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Header>()}, 4012 }}, 4013 {{ 4014 "\77\3\0\0\0\0\0\0" 4015 "grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry" 4016 "key" 4017 }}, 4018 }; 4019 // =================================================================== 4020 4021 #if defined(PROTOBUF_CUSTOM_VTABLE) 4022 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse() 4023 : SuperType(Response_ExamplesEntry_DoNotUse_class_data_.base()) {} 4024 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4025 : SuperType(arena, Response_ExamplesEntry_DoNotUse_class_data_.base()) {} 4026 #else // PROTOBUF_CUSTOM_VTABLE 4027 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse() : SuperType() {} 4028 Response_ExamplesEntry_DoNotUse::Response_ExamplesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 4029 #endif // PROTOBUF_CUSTOM_VTABLE 4030 inline void* PROTOBUF_NONNULL Response_ExamplesEntry_DoNotUse::PlacementNew_( 4031 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4032 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4033 return ::new (mem) Response_ExamplesEntry_DoNotUse(arena); 4034 } 4035 constexpr auto Response_ExamplesEntry_DoNotUse::InternalNewImpl_() { 4036 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Response_ExamplesEntry_DoNotUse), 4037 alignof(Response_ExamplesEntry_DoNotUse)); 4038 } 4039 constexpr auto Response_ExamplesEntry_DoNotUse::InternalGenerateClassData_() { 4040 return ::google::protobuf::internal::ClassDataFull{ 4041 ::google::protobuf::internal::ClassData{ 4042 &_Response_ExamplesEntry_DoNotUse_default_instance_._instance, 4043 &_table_.header, 4044 nullptr, // OnDemandRegisterArenaDtor 4045 nullptr, // IsInitialized 4046 &Response_ExamplesEntry_DoNotUse::MergeImpl, 4047 ::google::protobuf::Message::GetNewImpl<Response_ExamplesEntry_DoNotUse>(), 4048 #if defined(PROTOBUF_CUSTOM_VTABLE) 4049 &Response_ExamplesEntry_DoNotUse::SharedDtor, 4050 static_cast<void (::google::protobuf::MessageLite::*)()>(&Response_ExamplesEntry_DoNotUse::ClearImpl), 4051 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 4052 , 4053 #endif // PROTOBUF_CUSTOM_VTABLE 4054 PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_._cached_size_), 4055 false, 4056 }, 4057 &Response_ExamplesEntry_DoNotUse::kDescriptorMethods, 4058 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4059 nullptr, // tracker 4060 }; 4061 } 4062 4063 PROTOBUF_CONSTINIT AGONES_EXPORT 4064 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4065 Response_ExamplesEntry_DoNotUse_class_data_ = 4066 Response_ExamplesEntry_DoNotUse::InternalGenerateClassData_(); 4067 4068 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Response_ExamplesEntry_DoNotUse::GetClassData() const { 4069 ::google::protobuf::internal::PrefetchToLocalCache(&Response_ExamplesEntry_DoNotUse_class_data_); 4070 ::google::protobuf::internal::PrefetchToLocalCache(Response_ExamplesEntry_DoNotUse_class_data_.tc_table); 4071 return Response_ExamplesEntry_DoNotUse_class_data_.base(); 4072 } 4073 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4074 const ::_pbi::TcParseTable<1, 2, 0, 81, 2> 4075 Response_ExamplesEntry_DoNotUse::_table_ = { 4076 { 4077 PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_._has_bits_), 4078 0, // no _extensions_ 4079 2, 8, // max_field_number, fast_idx_mask 4080 offsetof(decltype(_table_), field_lookup_table), 4081 4294967292, // skipmap 4082 offsetof(decltype(_table_), field_entries), 4083 2, // num_field_entries 4084 0, // num_aux_entries 4085 offsetof(decltype(_table_), field_names), // no aux_entries 4086 Response_ExamplesEntry_DoNotUse_class_data_.base(), 4087 nullptr, // post_loop_handler 4088 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4089 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4090 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response_ExamplesEntry_DoNotUse>(), // to_prefetch 4091 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4092 }, {{ 4093 // string value = 2; 4094 {::_pbi::TcParser::FastUS1, 4095 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.value_)}}, 4096 // string key = 1; 4097 {::_pbi::TcParser::FastUS1, 4098 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.key_)}}, 4099 }}, {{ 4100 65535, 65535 4101 }}, {{ 4102 // string key = 1; 4103 {PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4104 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4105 // string value = 2; 4106 {PROTOBUF_FIELD_OFFSET(Response_ExamplesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4107 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4108 }}, 4109 // no aux_entries 4110 {{ 4111 "\100\3\5\0\0\0\0\0" 4112 "grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry" 4113 "key" 4114 "value" 4115 }}, 4116 }; 4117 // =================================================================== 4118 4119 #if defined(PROTOBUF_CUSTOM_VTABLE) 4120 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse() 4121 : SuperType(Response_ExtensionsEntry_DoNotUse_class_data_.base()) {} 4122 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4123 : SuperType(arena, Response_ExtensionsEntry_DoNotUse_class_data_.base()) {} 4124 #else // PROTOBUF_CUSTOM_VTABLE 4125 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse() : SuperType() {} 4126 Response_ExtensionsEntry_DoNotUse::Response_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 4127 #endif // PROTOBUF_CUSTOM_VTABLE 4128 inline void* PROTOBUF_NONNULL Response_ExtensionsEntry_DoNotUse::PlacementNew_( 4129 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4130 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4131 return ::new (mem) Response_ExtensionsEntry_DoNotUse(arena); 4132 } 4133 constexpr auto Response_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 4134 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Response_ExtensionsEntry_DoNotUse), 4135 alignof(Response_ExtensionsEntry_DoNotUse)); 4136 } 4137 constexpr auto Response_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 4138 return ::google::protobuf::internal::ClassDataFull{ 4139 ::google::protobuf::internal::ClassData{ 4140 &_Response_ExtensionsEntry_DoNotUse_default_instance_._instance, 4141 &_table_.header, 4142 nullptr, // OnDemandRegisterArenaDtor 4143 nullptr, // IsInitialized 4144 &Response_ExtensionsEntry_DoNotUse::MergeImpl, 4145 ::google::protobuf::Message::GetNewImpl<Response_ExtensionsEntry_DoNotUse>(), 4146 #if defined(PROTOBUF_CUSTOM_VTABLE) 4147 &Response_ExtensionsEntry_DoNotUse::SharedDtor, 4148 static_cast<void (::google::protobuf::MessageLite::*)()>(&Response_ExtensionsEntry_DoNotUse::ClearImpl), 4149 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 4150 , 4151 #endif // PROTOBUF_CUSTOM_VTABLE 4152 PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 4153 false, 4154 }, 4155 &Response_ExtensionsEntry_DoNotUse::kDescriptorMethods, 4156 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4157 nullptr, // tracker 4158 }; 4159 } 4160 4161 PROTOBUF_CONSTINIT AGONES_EXPORT 4162 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4163 Response_ExtensionsEntry_DoNotUse_class_data_ = 4164 Response_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 4165 4166 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Response_ExtensionsEntry_DoNotUse::GetClassData() const { 4167 ::google::protobuf::internal::PrefetchToLocalCache(&Response_ExtensionsEntry_DoNotUse_class_data_); 4168 ::google::protobuf::internal::PrefetchToLocalCache(Response_ExtensionsEntry_DoNotUse_class_data_.tc_table); 4169 return Response_ExtensionsEntry_DoNotUse_class_data_.base(); 4170 } 4171 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4172 const ::_pbi::TcParseTable<1, 2, 1, 78, 2> 4173 Response_ExtensionsEntry_DoNotUse::_table_ = { 4174 { 4175 PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 4176 0, // no _extensions_ 4177 2, 8, // max_field_number, fast_idx_mask 4178 offsetof(decltype(_table_), field_lookup_table), 4179 4294967292, // skipmap 4180 offsetof(decltype(_table_), field_entries), 4181 2, // num_field_entries 4182 1, // num_aux_entries 4183 offsetof(decltype(_table_), aux_entries), 4184 Response_ExtensionsEntry_DoNotUse_class_data_.base(), 4185 nullptr, // post_loop_handler 4186 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4187 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4188 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response_ExtensionsEntry_DoNotUse>(), // to_prefetch 4189 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4190 }, {{ 4191 // .google.protobuf.Value value = 2; 4192 {::_pbi::TcParser::FastMtS1, 4193 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 4194 // string key = 1; 4195 {::_pbi::TcParser::FastUS1, 4196 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 4197 }}, {{ 4198 65535, 65535 4199 }}, {{ 4200 // string key = 1; 4201 {PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4202 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4203 // .google.protobuf.Value value = 2; 4204 {PROTOBUF_FIELD_OFFSET(Response_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4205 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4206 }}, 4207 {{ 4208 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4209 }}, 4210 {{ 4211 "\102\3\0\0\0\0\0\0" 4212 "grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry" 4213 "key" 4214 }}, 4215 }; 4216 // =================================================================== 4217 4218 class Response::_Internal { 4219 public: 4220 using HasBits = 4221 decltype(std::declval<Response>()._impl_._has_bits_); 4222 static constexpr ::int32_t kHasBitsOffset = 4223 8 * PROTOBUF_FIELD_OFFSET(Response, _impl_._has_bits_); 4224 }; 4225 4226 void Response::clear_extensions() { 4227 ::google::protobuf::internal::TSanWrite(&_impl_); 4228 _impl_.extensions_.Clear(); 4229 } 4230 Response::Response(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4231 #if defined(PROTOBUF_CUSTOM_VTABLE) 4232 : ::google::protobuf::Message(arena, Response_class_data_.base()) { 4233 #else // PROTOBUF_CUSTOM_VTABLE 4234 : ::google::protobuf::Message(arena) { 4235 #endif // PROTOBUF_CUSTOM_VTABLE 4236 SharedCtor(arena); 4237 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Response) 4238 } 4239 PROTOBUF_NDEBUG_INLINE Response::Impl_::Impl_( 4240 ::google::protobuf::internal::InternalVisibility visibility, 4241 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4242 const ::grpc::gateway::protoc_gen_openapiv2::options::Response& from_msg) 4243 : _has_bits_{from._has_bits_}, 4244 _cached_size_{0}, 4245 headers_{visibility, arena, from.headers_}, 4246 examples_{visibility, arena, from.examples_}, 4247 extensions_{visibility, arena, from.extensions_}, 4248 description_(arena, from.description_) {} 4249 4250 Response::Response( 4251 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 4252 const Response& from) 4253 #if defined(PROTOBUF_CUSTOM_VTABLE) 4254 : ::google::protobuf::Message(arena, Response_class_data_.base()) { 4255 #else // PROTOBUF_CUSTOM_VTABLE 4256 : ::google::protobuf::Message(arena) { 4257 #endif // PROTOBUF_CUSTOM_VTABLE 4258 Response* const _this = this; 4259 (void)_this; 4260 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 4261 from._internal_metadata_); 4262 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 4263 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 4264 _impl_.schema_ = ((cached_has_bits & 0x00000002u) != 0) 4265 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.schema_) 4266 : nullptr; 4267 4268 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Response) 4269 } 4270 PROTOBUF_NDEBUG_INLINE Response::Impl_::Impl_( 4271 ::google::protobuf::internal::InternalVisibility visibility, 4272 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4273 : _cached_size_{0}, 4274 headers_{visibility, arena}, 4275 examples_{visibility, arena}, 4276 extensions_{visibility, arena}, 4277 description_(arena) {} 4278 4279 inline void Response::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 4280 new (&_impl_) Impl_(internal_visibility(), arena); 4281 _impl_.schema_ = {}; 4282 } 4283 Response::~Response() { 4284 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Response) 4285 SharedDtor(*this); 4286 } 4287 inline void Response::SharedDtor(MessageLite& self) { 4288 Response& this_ = static_cast<Response&>(self); 4289 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 4290 ABSL_DCHECK(this_.GetArena() == nullptr); 4291 this_._impl_.description_.Destroy(); 4292 delete this_._impl_.schema_; 4293 this_._impl_.~Impl_(); 4294 } 4295 4296 inline void* PROTOBUF_NONNULL Response::PlacementNew_( 4297 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4298 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4299 return ::new (mem) Response(arena); 4300 } 4301 constexpr auto Response::InternalNewImpl_() { 4302 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 4303 PROTOBUF_FIELD_OFFSET(Response, _impl_.headers_) + 4304 decltype(Response::_impl_.headers_):: 4305 InternalGetArenaOffset( 4306 ::google::protobuf::Message::internal_visibility()), 4307 PROTOBUF_FIELD_OFFSET(Response, _impl_.headers_) + 4308 decltype(Response::_impl_.headers_):: 4309 InternalGetArenaOffsetAlt( 4310 ::google::protobuf::Message::internal_visibility()), 4311 PROTOBUF_FIELD_OFFSET(Response, _impl_.examples_) + 4312 decltype(Response::_impl_.examples_):: 4313 InternalGetArenaOffset( 4314 ::google::protobuf::Message::internal_visibility()), 4315 PROTOBUF_FIELD_OFFSET(Response, _impl_.examples_) + 4316 decltype(Response::_impl_.examples_):: 4317 InternalGetArenaOffsetAlt( 4318 ::google::protobuf::Message::internal_visibility()), 4319 PROTOBUF_FIELD_OFFSET(Response, _impl_.extensions_) + 4320 decltype(Response::_impl_.extensions_):: 4321 InternalGetArenaOffset( 4322 ::google::protobuf::Message::internal_visibility()), 4323 PROTOBUF_FIELD_OFFSET(Response, _impl_.extensions_) + 4324 decltype(Response::_impl_.extensions_):: 4325 InternalGetArenaOffsetAlt( 4326 ::google::protobuf::Message::internal_visibility()), 4327 }); 4328 if (arena_bits.has_value()) { 4329 return ::google::protobuf::internal::MessageCreator::CopyInit( 4330 sizeof(Response), alignof(Response), *arena_bits); 4331 } else { 4332 return ::google::protobuf::internal::MessageCreator(&Response::PlacementNew_, 4333 sizeof(Response), 4334 alignof(Response)); 4335 } 4336 } 4337 constexpr auto Response::InternalGenerateClassData_() { 4338 return ::google::protobuf::internal::ClassDataFull{ 4339 ::google::protobuf::internal::ClassData{ 4340 &_Response_default_instance_._instance, 4341 &_table_.header, 4342 nullptr, // OnDemandRegisterArenaDtor 4343 nullptr, // IsInitialized 4344 &Response::MergeImpl, 4345 ::google::protobuf::Message::GetNewImpl<Response>(), 4346 #if defined(PROTOBUF_CUSTOM_VTABLE) 4347 &Response::SharedDtor, 4348 ::google::protobuf::Message::GetClearImpl<Response>(), &Response::ByteSizeLong, 4349 &Response::_InternalSerialize, 4350 #endif // PROTOBUF_CUSTOM_VTABLE 4351 PROTOBUF_FIELD_OFFSET(Response, _impl_._cached_size_), 4352 false, 4353 }, 4354 &Response::kDescriptorMethods, 4355 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4356 nullptr, // tracker 4357 }; 4358 } 4359 4360 PROTOBUF_CONSTINIT AGONES_EXPORT 4361 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4362 Response_class_data_ = 4363 Response::InternalGenerateClassData_(); 4364 4365 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Response::GetClassData() const { 4366 ::google::protobuf::internal::PrefetchToLocalCache(&Response_class_data_); 4367 ::google::protobuf::internal::PrefetchToLocalCache(Response_class_data_.tc_table); 4368 return Response_class_data_.base(); 4369 } 4370 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4371 const ::_pbi::TcParseTable<1, 5, 6, 95, 2> 4372 Response::_table_ = { 4373 { 4374 PROTOBUF_FIELD_OFFSET(Response, _impl_._has_bits_), 4375 0, // no _extensions_ 4376 5, 8, // max_field_number, fast_idx_mask 4377 offsetof(decltype(_table_), field_lookup_table), 4378 4294967264, // skipmap 4379 offsetof(decltype(_table_), field_entries), 4380 5, // num_field_entries 4381 6, // num_aux_entries 4382 offsetof(decltype(_table_), aux_entries), 4383 Response_class_data_.base(), 4384 nullptr, // post_loop_handler 4385 ::_pbi::TcParser::GenericFallback, // fallback 4386 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4387 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Response>(), // to_prefetch 4388 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4389 }, {{ 4390 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4391 {::_pbi::TcParser::FastMtS1, 4392 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.schema_)}}, 4393 // string description = 1; 4394 {::_pbi::TcParser::FastUS1, 4395 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.description_)}}, 4396 }}, {{ 4397 65535, 65535 4398 }}, {{ 4399 // string description = 1; 4400 {PROTOBUF_FIELD_OFFSET(Response, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 4401 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4402 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4403 {PROTOBUF_FIELD_OFFSET(Response, _impl_.schema_), _Internal::kHasBitsOffset + 1, 0, 4404 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4405 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4406 {PROTOBUF_FIELD_OFFSET(Response, _impl_.headers_), -1, 1, 4407 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4408 // map<string, string> examples = 4; 4409 {PROTOBUF_FIELD_OFFSET(Response, _impl_.examples_), -1, 3, 4410 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4411 // map<string, .google.protobuf.Value> extensions = 5; 4412 {PROTOBUF_FIELD_OFFSET(Response, _impl_.extensions_), -1, 4, 4413 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4414 }}, 4415 {{ 4416 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Schema>()}, 4417 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4418 9, 11, 4419 0)}, 4420 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Header>()}, 4421 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4422 9, 9, 4423 0)}, 4424 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4425 9, 11, 4426 0)}, 4427 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4428 }}, 4429 {{ 4430 "\62\13\0\7\10\12\0\0" 4431 "grpc.gateway.protoc_gen_openapiv2.options.Response" 4432 "description" 4433 "headers" 4434 "examples" 4435 "extensions" 4436 }}, 4437 }; 4438 PROTOBUF_NOINLINE void Response::Clear() { 4439 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4440 ::google::protobuf::internal::TSanWrite(&_impl_); 4441 ::uint32_t cached_has_bits = 0; 4442 // Prevent compiler warnings about cached_has_bits being unused 4443 (void) cached_has_bits; 4444 4445 _impl_.headers_.Clear(); 4446 _impl_.examples_.Clear(); 4447 _impl_.extensions_.Clear(); 4448 cached_has_bits = _impl_._has_bits_[0]; 4449 if ((cached_has_bits & 0x00000003u) != 0) { 4450 if ((cached_has_bits & 0x00000001u) != 0) { 4451 _impl_.description_.ClearNonDefaultToEmpty(); 4452 } 4453 if ((cached_has_bits & 0x00000002u) != 0) { 4454 ABSL_DCHECK(_impl_.schema_ != nullptr); 4455 _impl_.schema_->Clear(); 4456 } 4457 } 4458 _impl_._has_bits_.Clear(); 4459 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 4460 } 4461 4462 #if defined(PROTOBUF_CUSTOM_VTABLE) 4463 ::uint8_t* PROTOBUF_NONNULL Response::_InternalSerialize( 4464 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 4465 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 4466 const Response& this_ = static_cast<const Response&>(base); 4467 #else // PROTOBUF_CUSTOM_VTABLE 4468 ::uint8_t* PROTOBUF_NONNULL Response::_InternalSerialize( 4469 ::uint8_t* PROTOBUF_NONNULL target, 4470 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4471 const Response& this_ = *this; 4472 #endif // PROTOBUF_CUSTOM_VTABLE 4473 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4474 ::uint32_t cached_has_bits = 0; 4475 (void)cached_has_bits; 4476 4477 // string description = 1; 4478 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 4479 if (!this_._internal_description().empty()) { 4480 const std::string& _s = this_._internal_description(); 4481 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4482 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.description"); 4483 target = stream->WriteStringMaybeAliased(1, _s, target); 4484 } 4485 } 4486 4487 cached_has_bits = this_._impl_._has_bits_[0]; 4488 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4489 if ((cached_has_bits & 0x00000002u) != 0) { 4490 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4491 2, *this_._impl_.schema_, this_._impl_.schema_->GetCachedSize(), target, 4492 stream); 4493 } 4494 4495 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4496 if (!this_._internal_headers().empty()) { 4497 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header>; 4498 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header, 4499 _pbi::WireFormatLite::TYPE_STRING, 4500 _pbi::WireFormatLite::TYPE_MESSAGE>; 4501 const auto& field = this_._internal_headers(); 4502 4503 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4504 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4505 target = WireHelper::InternalSerialize( 4506 3, entry.first, entry.second, target, stream); 4507 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4508 entry.first.data(), static_cast<int>(entry.first.length()), 4509 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.headers"); 4510 } 4511 } else { 4512 for (const auto& entry : field) { 4513 target = WireHelper::InternalSerialize( 4514 3, entry.first, entry.second, target, stream); 4515 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4516 entry.first.data(), static_cast<int>(entry.first.length()), 4517 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.headers"); 4518 } 4519 } 4520 } 4521 4522 // map<string, string> examples = 4; 4523 if (!this_._internal_examples().empty()) { 4524 using MapType = ::google::protobuf::Map<std::string, std::string>; 4525 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string, 4526 _pbi::WireFormatLite::TYPE_STRING, 4527 _pbi::WireFormatLite::TYPE_STRING>; 4528 const auto& field = this_._internal_examples(); 4529 4530 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4531 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4532 target = WireHelper::InternalSerialize( 4533 4, entry.first, entry.second, target, stream); 4534 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4535 entry.first.data(), static_cast<int>(entry.first.length()), 4536 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4537 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4538 entry.second.data(), static_cast<int>(entry.second.length()), 4539 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4540 } 4541 } else { 4542 for (const auto& entry : field) { 4543 target = WireHelper::InternalSerialize( 4544 4, entry.first, entry.second, target, stream); 4545 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4546 entry.first.data(), static_cast<int>(entry.first.length()), 4547 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4548 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4549 entry.second.data(), static_cast<int>(entry.second.length()), 4550 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.examples"); 4551 } 4552 } 4553 } 4554 4555 // map<string, .google.protobuf.Value> extensions = 5; 4556 if (!this_._internal_extensions().empty()) { 4557 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 4558 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 4559 _pbi::WireFormatLite::TYPE_STRING, 4560 _pbi::WireFormatLite::TYPE_MESSAGE>; 4561 const auto& field = this_._internal_extensions(); 4562 4563 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4564 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4565 target = WireHelper::InternalSerialize( 4566 5, entry.first, entry.second, target, stream); 4567 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4568 entry.first.data(), static_cast<int>(entry.first.length()), 4569 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.extensions"); 4570 } 4571 } else { 4572 for (const auto& entry : field) { 4573 target = WireHelper::InternalSerialize( 4574 5, entry.first, entry.second, target, stream); 4575 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4576 entry.first.data(), static_cast<int>(entry.first.length()), 4577 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Response.extensions"); 4578 } 4579 } 4580 } 4581 4582 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 4583 target = 4584 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 4585 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 4586 } 4587 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Response) 4588 return target; 4589 } 4590 4591 #if defined(PROTOBUF_CUSTOM_VTABLE) 4592 ::size_t Response::ByteSizeLong(const MessageLite& base) { 4593 const Response& this_ = static_cast<const Response&>(base); 4594 #else // PROTOBUF_CUSTOM_VTABLE 4595 ::size_t Response::ByteSizeLong() const { 4596 const Response& this_ = *this; 4597 #endif // PROTOBUF_CUSTOM_VTABLE 4598 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4599 ::size_t total_size = 0; 4600 4601 ::uint32_t cached_has_bits = 0; 4602 // Prevent compiler warnings about cached_has_bits being unused 4603 (void)cached_has_bits; 4604 4605 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 4606 { 4607 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.Header> headers = 3; 4608 { 4609 total_size += 4610 1 * ::google::protobuf::internal::FromIntSize(this_._internal_headers_size()); 4611 for (const auto& entry : this_._internal_headers()) { 4612 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::Header, 4613 _pbi::WireFormatLite::TYPE_STRING, 4614 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 4615 } 4616 } 4617 // map<string, string> examples = 4; 4618 { 4619 total_size += 4620 1 * ::google::protobuf::internal::FromIntSize(this_._internal_examples_size()); 4621 for (const auto& entry : this_._internal_examples()) { 4622 total_size += _pbi::MapEntryFuncs<std::string, std::string, 4623 _pbi::WireFormatLite::TYPE_STRING, 4624 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second); 4625 } 4626 } 4627 // map<string, .google.protobuf.Value> extensions = 5; 4628 { 4629 total_size += 4630 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 4631 for (const auto& entry : this_._internal_extensions()) { 4632 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 4633 _pbi::WireFormatLite::TYPE_STRING, 4634 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 4635 } 4636 } 4637 } 4638 cached_has_bits = this_._impl_._has_bits_[0]; 4639 if ((cached_has_bits & 0x00000003u) != 0) { 4640 // string description = 1; 4641 if ((cached_has_bits & 0x00000001u) != 0) { 4642 if (!this_._internal_description().empty()) { 4643 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 4644 this_._internal_description()); 4645 } 4646 } 4647 // .grpc.gateway.protoc_gen_openapiv2.options.Schema schema = 2; 4648 if ((cached_has_bits & 0x00000002u) != 0) { 4649 total_size += 1 + 4650 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.schema_); 4651 } 4652 } 4653 return this_.MaybeComputeUnknownFieldsSize(total_size, 4654 &this_._impl_._cached_size_); 4655 } 4656 4657 void Response::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 4658 auto* const _this = static_cast<Response*>(&to_msg); 4659 auto& from = static_cast<const Response&>(from_msg); 4660 ::google::protobuf::Arena* arena = _this->GetArena(); 4661 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4662 ABSL_DCHECK_NE(&from, _this); 4663 ::uint32_t cached_has_bits = 0; 4664 (void) cached_has_bits; 4665 4666 _this->_impl_.headers_.MergeFrom(from._impl_.headers_); 4667 _this->_impl_.examples_.MergeFrom(from._impl_.examples_); 4668 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 4669 cached_has_bits = from._impl_._has_bits_[0]; 4670 if ((cached_has_bits & 0x00000003u) != 0) { 4671 if ((cached_has_bits & 0x00000001u) != 0) { 4672 if (!from._internal_description().empty()) { 4673 _this->_internal_set_description(from._internal_description()); 4674 } else { 4675 if (_this->_impl_.description_.IsDefault()) { 4676 _this->_internal_set_description(""); 4677 } 4678 } 4679 } 4680 if ((cached_has_bits & 0x00000002u) != 0) { 4681 ABSL_DCHECK(from._impl_.schema_ != nullptr); 4682 if (_this->_impl_.schema_ == nullptr) { 4683 _this->_impl_.schema_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.schema_); 4684 } else { 4685 _this->_impl_.schema_->MergeFrom(*from._impl_.schema_); 4686 } 4687 } 4688 } 4689 _this->_impl_._has_bits_[0] |= cached_has_bits; 4690 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 4691 } 4692 4693 void Response::CopyFrom(const Response& from) { 4694 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Response) 4695 if (&from == this) return; 4696 Clear(); 4697 MergeFrom(from); 4698 } 4699 4700 4701 void Response::InternalSwap(Response* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 4702 using std::swap; 4703 auto* arena = GetArena(); 4704 ABSL_DCHECK_EQ(arena, other->GetArena()); 4705 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 4706 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 4707 _impl_.headers_.InternalSwap(&other->_impl_.headers_); 4708 _impl_.examples_.InternalSwap(&other->_impl_.examples_); 4709 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 4710 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 4711 swap(_impl_.schema_, other->_impl_.schema_); 4712 } 4713 4714 ::google::protobuf::Metadata Response::GetMetadata() const { 4715 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 4716 } 4717 // =================================================================== 4718 4719 #if defined(PROTOBUF_CUSTOM_VTABLE) 4720 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse() 4721 : SuperType(Info_ExtensionsEntry_DoNotUse_class_data_.base()) {} 4722 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4723 : SuperType(arena, Info_ExtensionsEntry_DoNotUse_class_data_.base()) {} 4724 #else // PROTOBUF_CUSTOM_VTABLE 4725 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse() : SuperType() {} 4726 Info_ExtensionsEntry_DoNotUse::Info_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 4727 #endif // PROTOBUF_CUSTOM_VTABLE 4728 inline void* PROTOBUF_NONNULL Info_ExtensionsEntry_DoNotUse::PlacementNew_( 4729 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4730 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4731 return ::new (mem) Info_ExtensionsEntry_DoNotUse(arena); 4732 } 4733 constexpr auto Info_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 4734 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Info_ExtensionsEntry_DoNotUse), 4735 alignof(Info_ExtensionsEntry_DoNotUse)); 4736 } 4737 constexpr auto Info_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 4738 return ::google::protobuf::internal::ClassDataFull{ 4739 ::google::protobuf::internal::ClassData{ 4740 &_Info_ExtensionsEntry_DoNotUse_default_instance_._instance, 4741 &_table_.header, 4742 nullptr, // OnDemandRegisterArenaDtor 4743 nullptr, // IsInitialized 4744 &Info_ExtensionsEntry_DoNotUse::MergeImpl, 4745 ::google::protobuf::Message::GetNewImpl<Info_ExtensionsEntry_DoNotUse>(), 4746 #if defined(PROTOBUF_CUSTOM_VTABLE) 4747 &Info_ExtensionsEntry_DoNotUse::SharedDtor, 4748 static_cast<void (::google::protobuf::MessageLite::*)()>(&Info_ExtensionsEntry_DoNotUse::ClearImpl), 4749 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 4750 , 4751 #endif // PROTOBUF_CUSTOM_VTABLE 4752 PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 4753 false, 4754 }, 4755 &Info_ExtensionsEntry_DoNotUse::kDescriptorMethods, 4756 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4757 nullptr, // tracker 4758 }; 4759 } 4760 4761 PROTOBUF_CONSTINIT AGONES_EXPORT 4762 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4763 Info_ExtensionsEntry_DoNotUse_class_data_ = 4764 Info_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 4765 4766 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Info_ExtensionsEntry_DoNotUse::GetClassData() const { 4767 ::google::protobuf::internal::PrefetchToLocalCache(&Info_ExtensionsEntry_DoNotUse_class_data_); 4768 ::google::protobuf::internal::PrefetchToLocalCache(Info_ExtensionsEntry_DoNotUse_class_data_.tc_table); 4769 return Info_ExtensionsEntry_DoNotUse_class_data_.base(); 4770 } 4771 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4772 const ::_pbi::TcParseTable<1, 2, 1, 74, 2> 4773 Info_ExtensionsEntry_DoNotUse::_table_ = { 4774 { 4775 PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 4776 0, // no _extensions_ 4777 2, 8, // max_field_number, fast_idx_mask 4778 offsetof(decltype(_table_), field_lookup_table), 4779 4294967292, // skipmap 4780 offsetof(decltype(_table_), field_entries), 4781 2, // num_field_entries 4782 1, // num_aux_entries 4783 offsetof(decltype(_table_), aux_entries), 4784 Info_ExtensionsEntry_DoNotUse_class_data_.base(), 4785 nullptr, // post_loop_handler 4786 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4787 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4788 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Info_ExtensionsEntry_DoNotUse>(), // to_prefetch 4789 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4790 }, {{ 4791 // .google.protobuf.Value value = 2; 4792 {::_pbi::TcParser::FastMtS1, 4793 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 4794 // string key = 1; 4795 {::_pbi::TcParser::FastUS1, 4796 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 4797 }}, {{ 4798 65535, 65535 4799 }}, {{ 4800 // string key = 1; 4801 {PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4802 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4803 // .google.protobuf.Value value = 2; 4804 {PROTOBUF_FIELD_OFFSET(Info_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4805 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4806 }}, 4807 {{ 4808 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 4809 }}, 4810 {{ 4811 "\76\3\0\0\0\0\0\0" 4812 "grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry" 4813 "key" 4814 }}, 4815 }; 4816 // =================================================================== 4817 4818 class Info::_Internal { 4819 public: 4820 using HasBits = 4821 decltype(std::declval<Info>()._impl_._has_bits_); 4822 static constexpr ::int32_t kHasBitsOffset = 4823 8 * PROTOBUF_FIELD_OFFSET(Info, _impl_._has_bits_); 4824 }; 4825 4826 void Info::clear_extensions() { 4827 ::google::protobuf::internal::TSanWrite(&_impl_); 4828 _impl_.extensions_.Clear(); 4829 } 4830 Info::Info(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4831 #if defined(PROTOBUF_CUSTOM_VTABLE) 4832 : ::google::protobuf::Message(arena, Info_class_data_.base()) { 4833 #else // PROTOBUF_CUSTOM_VTABLE 4834 : ::google::protobuf::Message(arena) { 4835 #endif // PROTOBUF_CUSTOM_VTABLE 4836 SharedCtor(arena); 4837 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Info) 4838 } 4839 PROTOBUF_NDEBUG_INLINE Info::Impl_::Impl_( 4840 ::google::protobuf::internal::InternalVisibility visibility, 4841 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4842 const ::grpc::gateway::protoc_gen_openapiv2::options::Info& from_msg) 4843 : _has_bits_{from._has_bits_}, 4844 _cached_size_{0}, 4845 extensions_{visibility, arena, from.extensions_}, 4846 title_(arena, from.title_), 4847 description_(arena, from.description_), 4848 terms_of_service_(arena, from.terms_of_service_), 4849 version_(arena, from.version_) {} 4850 4851 Info::Info( 4852 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 4853 const Info& from) 4854 #if defined(PROTOBUF_CUSTOM_VTABLE) 4855 : ::google::protobuf::Message(arena, Info_class_data_.base()) { 4856 #else // PROTOBUF_CUSTOM_VTABLE 4857 : ::google::protobuf::Message(arena) { 4858 #endif // PROTOBUF_CUSTOM_VTABLE 4859 Info* const _this = this; 4860 (void)_this; 4861 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 4862 from._internal_metadata_); 4863 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 4864 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 4865 _impl_.contact_ = ((cached_has_bits & 0x00000010u) != 0) 4866 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.contact_) 4867 : nullptr; 4868 _impl_.license_ = ((cached_has_bits & 0x00000020u) != 0) 4869 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.license_) 4870 : nullptr; 4871 4872 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Info) 4873 } 4874 PROTOBUF_NDEBUG_INLINE Info::Impl_::Impl_( 4875 ::google::protobuf::internal::InternalVisibility visibility, 4876 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4877 : _cached_size_{0}, 4878 extensions_{visibility, arena}, 4879 title_(arena), 4880 description_(arena), 4881 terms_of_service_(arena), 4882 version_(arena) {} 4883 4884 inline void Info::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 4885 new (&_impl_) Impl_(internal_visibility(), arena); 4886 ::memset(reinterpret_cast<char *>(&_impl_) + 4887 offsetof(Impl_, contact_), 4888 0, 4889 offsetof(Impl_, license_) - 4890 offsetof(Impl_, contact_) + 4891 sizeof(Impl_::license_)); 4892 } 4893 Info::~Info() { 4894 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Info) 4895 SharedDtor(*this); 4896 } 4897 inline void Info::SharedDtor(MessageLite& self) { 4898 Info& this_ = static_cast<Info&>(self); 4899 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 4900 ABSL_DCHECK(this_.GetArena() == nullptr); 4901 this_._impl_.title_.Destroy(); 4902 this_._impl_.description_.Destroy(); 4903 this_._impl_.terms_of_service_.Destroy(); 4904 this_._impl_.version_.Destroy(); 4905 delete this_._impl_.contact_; 4906 delete this_._impl_.license_; 4907 this_._impl_.~Impl_(); 4908 } 4909 4910 inline void* PROTOBUF_NONNULL Info::PlacementNew_( 4911 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4912 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4913 return ::new (mem) Info(arena); 4914 } 4915 constexpr auto Info::InternalNewImpl_() { 4916 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 4917 PROTOBUF_FIELD_OFFSET(Info, _impl_.extensions_) + 4918 decltype(Info::_impl_.extensions_):: 4919 InternalGetArenaOffset( 4920 ::google::protobuf::Message::internal_visibility()), 4921 PROTOBUF_FIELD_OFFSET(Info, _impl_.extensions_) + 4922 decltype(Info::_impl_.extensions_):: 4923 InternalGetArenaOffsetAlt( 4924 ::google::protobuf::Message::internal_visibility()), 4925 }); 4926 if (arena_bits.has_value()) { 4927 return ::google::protobuf::internal::MessageCreator::CopyInit( 4928 sizeof(Info), alignof(Info), *arena_bits); 4929 } else { 4930 return ::google::protobuf::internal::MessageCreator(&Info::PlacementNew_, 4931 sizeof(Info), 4932 alignof(Info)); 4933 } 4934 } 4935 constexpr auto Info::InternalGenerateClassData_() { 4936 return ::google::protobuf::internal::ClassDataFull{ 4937 ::google::protobuf::internal::ClassData{ 4938 &_Info_default_instance_._instance, 4939 &_table_.header, 4940 nullptr, // OnDemandRegisterArenaDtor 4941 nullptr, // IsInitialized 4942 &Info::MergeImpl, 4943 ::google::protobuf::Message::GetNewImpl<Info>(), 4944 #if defined(PROTOBUF_CUSTOM_VTABLE) 4945 &Info::SharedDtor, 4946 ::google::protobuf::Message::GetClearImpl<Info>(), &Info::ByteSizeLong, 4947 &Info::_InternalSerialize, 4948 #endif // PROTOBUF_CUSTOM_VTABLE 4949 PROTOBUF_FIELD_OFFSET(Info, _impl_._cached_size_), 4950 false, 4951 }, 4952 &Info::kDescriptorMethods, 4953 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 4954 nullptr, // tracker 4955 }; 4956 } 4957 4958 PROTOBUF_CONSTINIT AGONES_EXPORT 4959 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4960 Info_class_data_ = 4961 Info::InternalGenerateClassData_(); 4962 4963 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Info::GetClassData() const { 4964 ::google::protobuf::internal::PrefetchToLocalCache(&Info_class_data_); 4965 ::google::protobuf::internal::PrefetchToLocalCache(Info_class_data_.tc_table); 4966 return Info_class_data_.base(); 4967 } 4968 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4969 const ::_pbi::TcParseTable<3, 7, 4, 104, 2> 4970 Info::_table_ = { 4971 { 4972 PROTOBUF_FIELD_OFFSET(Info, _impl_._has_bits_), 4973 0, // no _extensions_ 4974 7, 56, // max_field_number, fast_idx_mask 4975 offsetof(decltype(_table_), field_lookup_table), 4976 4294967168, // skipmap 4977 offsetof(decltype(_table_), field_entries), 4978 7, // num_field_entries 4979 4, // num_aux_entries 4980 offsetof(decltype(_table_), aux_entries), 4981 Info_class_data_.base(), 4982 nullptr, // post_loop_handler 4983 ::_pbi::TcParser::GenericFallback, // fallback 4984 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4985 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Info>(), // to_prefetch 4986 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4987 }, {{ 4988 {::_pbi::TcParser::MiniParse, {}}, 4989 // string title = 1; 4990 {::_pbi::TcParser::FastUS1, 4991 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.title_)}}, 4992 // string description = 2; 4993 {::_pbi::TcParser::FastUS1, 4994 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.description_)}}, 4995 // string terms_of_service = 3; 4996 {::_pbi::TcParser::FastUS1, 4997 {26, 2, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.terms_of_service_)}}, 4998 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 4999 {::_pbi::TcParser::FastMtS1, 5000 {34, 4, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.contact_)}}, 5001 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 5002 {::_pbi::TcParser::FastMtS1, 5003 {42, 5, 1, PROTOBUF_FIELD_OFFSET(Info, _impl_.license_)}}, 5004 // string version = 6; 5005 {::_pbi::TcParser::FastUS1, 5006 {50, 3, 0, PROTOBUF_FIELD_OFFSET(Info, _impl_.version_)}}, 5007 {::_pbi::TcParser::MiniParse, {}}, 5008 }}, {{ 5009 65535, 65535 5010 }}, {{ 5011 // string title = 1; 5012 {PROTOBUF_FIELD_OFFSET(Info, _impl_.title_), _Internal::kHasBitsOffset + 0, 0, 5013 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5014 // string description = 2; 5015 {PROTOBUF_FIELD_OFFSET(Info, _impl_.description_), _Internal::kHasBitsOffset + 1, 0, 5016 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5017 // string terms_of_service = 3; 5018 {PROTOBUF_FIELD_OFFSET(Info, _impl_.terms_of_service_), _Internal::kHasBitsOffset + 2, 0, 5019 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5020 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 5021 {PROTOBUF_FIELD_OFFSET(Info, _impl_.contact_), _Internal::kHasBitsOffset + 4, 0, 5022 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 5023 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 5024 {PROTOBUF_FIELD_OFFSET(Info, _impl_.license_), _Internal::kHasBitsOffset + 5, 1, 5025 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 5026 // string version = 6; 5027 {PROTOBUF_FIELD_OFFSET(Info, _impl_.version_), _Internal::kHasBitsOffset + 3, 0, 5028 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5029 // map<string, .google.protobuf.Value> extensions = 7; 5030 {PROTOBUF_FIELD_OFFSET(Info, _impl_.extensions_), -1, 2, 5031 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 5032 }}, 5033 {{ 5034 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Contact>()}, 5035 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::License>()}, 5036 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 5037 9, 11, 5038 0)}, 5039 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 5040 }}, 5041 {{ 5042 "\56\5\13\20\0\0\7\12" 5043 "grpc.gateway.protoc_gen_openapiv2.options.Info" 5044 "title" 5045 "description" 5046 "terms_of_service" 5047 "version" 5048 "extensions" 5049 }}, 5050 }; 5051 PROTOBUF_NOINLINE void Info::Clear() { 5052 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5053 ::google::protobuf::internal::TSanWrite(&_impl_); 5054 ::uint32_t cached_has_bits = 0; 5055 // Prevent compiler warnings about cached_has_bits being unused 5056 (void) cached_has_bits; 5057 5058 _impl_.extensions_.Clear(); 5059 cached_has_bits = _impl_._has_bits_[0]; 5060 if ((cached_has_bits & 0x0000003fu) != 0) { 5061 if ((cached_has_bits & 0x00000001u) != 0) { 5062 _impl_.title_.ClearNonDefaultToEmpty(); 5063 } 5064 if ((cached_has_bits & 0x00000002u) != 0) { 5065 _impl_.description_.ClearNonDefaultToEmpty(); 5066 } 5067 if ((cached_has_bits & 0x00000004u) != 0) { 5068 _impl_.terms_of_service_.ClearNonDefaultToEmpty(); 5069 } 5070 if ((cached_has_bits & 0x00000008u) != 0) { 5071 _impl_.version_.ClearNonDefaultToEmpty(); 5072 } 5073 if ((cached_has_bits & 0x00000010u) != 0) { 5074 ABSL_DCHECK(_impl_.contact_ != nullptr); 5075 _impl_.contact_->Clear(); 5076 } 5077 if ((cached_has_bits & 0x00000020u) != 0) { 5078 ABSL_DCHECK(_impl_.license_ != nullptr); 5079 _impl_.license_->Clear(); 5080 } 5081 } 5082 _impl_._has_bits_.Clear(); 5083 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 5084 } 5085 5086 #if defined(PROTOBUF_CUSTOM_VTABLE) 5087 ::uint8_t* PROTOBUF_NONNULL Info::_InternalSerialize( 5088 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 5089 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 5090 const Info& this_ = static_cast<const Info&>(base); 5091 #else // PROTOBUF_CUSTOM_VTABLE 5092 ::uint8_t* PROTOBUF_NONNULL Info::_InternalSerialize( 5093 ::uint8_t* PROTOBUF_NONNULL target, 5094 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5095 const Info& this_ = *this; 5096 #endif // PROTOBUF_CUSTOM_VTABLE 5097 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5098 ::uint32_t cached_has_bits = 0; 5099 (void)cached_has_bits; 5100 5101 // string title = 1; 5102 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 5103 if (!this_._internal_title().empty()) { 5104 const std::string& _s = this_._internal_title(); 5105 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5106 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.title"); 5107 target = stream->WriteStringMaybeAliased(1, _s, target); 5108 } 5109 } 5110 5111 // string description = 2; 5112 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 5113 if (!this_._internal_description().empty()) { 5114 const std::string& _s = this_._internal_description(); 5115 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5116 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.description"); 5117 target = stream->WriteStringMaybeAliased(2, _s, target); 5118 } 5119 } 5120 5121 // string terms_of_service = 3; 5122 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 5123 if (!this_._internal_terms_of_service().empty()) { 5124 const std::string& _s = this_._internal_terms_of_service(); 5125 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5126 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.terms_of_service"); 5127 target = stream->WriteStringMaybeAliased(3, _s, target); 5128 } 5129 } 5130 5131 cached_has_bits = this_._impl_._has_bits_[0]; 5132 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 5133 if ((cached_has_bits & 0x00000010u) != 0) { 5134 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 5135 4, *this_._impl_.contact_, this_._impl_.contact_->GetCachedSize(), target, 5136 stream); 5137 } 5138 5139 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 5140 if ((cached_has_bits & 0x00000020u) != 0) { 5141 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 5142 5, *this_._impl_.license_, this_._impl_.license_->GetCachedSize(), target, 5143 stream); 5144 } 5145 5146 // string version = 6; 5147 if ((cached_has_bits & 0x00000008u) != 0) { 5148 if (!this_._internal_version().empty()) { 5149 const std::string& _s = this_._internal_version(); 5150 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5151 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.version"); 5152 target = stream->WriteStringMaybeAliased(6, _s, target); 5153 } 5154 } 5155 5156 // map<string, .google.protobuf.Value> extensions = 7; 5157 if (!this_._internal_extensions().empty()) { 5158 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 5159 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 5160 _pbi::WireFormatLite::TYPE_STRING, 5161 _pbi::WireFormatLite::TYPE_MESSAGE>; 5162 const auto& field = this_._internal_extensions(); 5163 5164 if (stream->IsSerializationDeterministic() && field.size() > 1) { 5165 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 5166 target = WireHelper::InternalSerialize( 5167 7, entry.first, entry.second, target, stream); 5168 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5169 entry.first.data(), static_cast<int>(entry.first.length()), 5170 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.extensions"); 5171 } 5172 } else { 5173 for (const auto& entry : field) { 5174 target = WireHelper::InternalSerialize( 5175 7, entry.first, entry.second, target, stream); 5176 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5177 entry.first.data(), static_cast<int>(entry.first.length()), 5178 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Info.extensions"); 5179 } 5180 } 5181 } 5182 5183 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5184 target = 5185 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5186 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5187 } 5188 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Info) 5189 return target; 5190 } 5191 5192 #if defined(PROTOBUF_CUSTOM_VTABLE) 5193 ::size_t Info::ByteSizeLong(const MessageLite& base) { 5194 const Info& this_ = static_cast<const Info&>(base); 5195 #else // PROTOBUF_CUSTOM_VTABLE 5196 ::size_t Info::ByteSizeLong() const { 5197 const Info& this_ = *this; 5198 #endif // PROTOBUF_CUSTOM_VTABLE 5199 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5200 ::size_t total_size = 0; 5201 5202 ::uint32_t cached_has_bits = 0; 5203 // Prevent compiler warnings about cached_has_bits being unused 5204 (void)cached_has_bits; 5205 5206 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5207 { 5208 // map<string, .google.protobuf.Value> extensions = 7; 5209 { 5210 total_size += 5211 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 5212 for (const auto& entry : this_._internal_extensions()) { 5213 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 5214 _pbi::WireFormatLite::TYPE_STRING, 5215 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 5216 } 5217 } 5218 } 5219 cached_has_bits = this_._impl_._has_bits_[0]; 5220 if ((cached_has_bits & 0x0000003fu) != 0) { 5221 // string title = 1; 5222 if ((cached_has_bits & 0x00000001u) != 0) { 5223 if (!this_._internal_title().empty()) { 5224 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5225 this_._internal_title()); 5226 } 5227 } 5228 // string description = 2; 5229 if ((cached_has_bits & 0x00000002u) != 0) { 5230 if (!this_._internal_description().empty()) { 5231 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5232 this_._internal_description()); 5233 } 5234 } 5235 // string terms_of_service = 3; 5236 if ((cached_has_bits & 0x00000004u) != 0) { 5237 if (!this_._internal_terms_of_service().empty()) { 5238 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5239 this_._internal_terms_of_service()); 5240 } 5241 } 5242 // string version = 6; 5243 if ((cached_has_bits & 0x00000008u) != 0) { 5244 if (!this_._internal_version().empty()) { 5245 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5246 this_._internal_version()); 5247 } 5248 } 5249 // .grpc.gateway.protoc_gen_openapiv2.options.Contact contact = 4; 5250 if ((cached_has_bits & 0x00000010u) != 0) { 5251 total_size += 1 + 5252 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.contact_); 5253 } 5254 // .grpc.gateway.protoc_gen_openapiv2.options.License license = 5; 5255 if ((cached_has_bits & 0x00000020u) != 0) { 5256 total_size += 1 + 5257 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.license_); 5258 } 5259 } 5260 return this_.MaybeComputeUnknownFieldsSize(total_size, 5261 &this_._impl_._cached_size_); 5262 } 5263 5264 void Info::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5265 auto* const _this = static_cast<Info*>(&to_msg); 5266 auto& from = static_cast<const Info&>(from_msg); 5267 ::google::protobuf::Arena* arena = _this->GetArena(); 5268 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5269 ABSL_DCHECK_NE(&from, _this); 5270 ::uint32_t cached_has_bits = 0; 5271 (void) cached_has_bits; 5272 5273 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 5274 cached_has_bits = from._impl_._has_bits_[0]; 5275 if ((cached_has_bits & 0x0000003fu) != 0) { 5276 if ((cached_has_bits & 0x00000001u) != 0) { 5277 if (!from._internal_title().empty()) { 5278 _this->_internal_set_title(from._internal_title()); 5279 } else { 5280 if (_this->_impl_.title_.IsDefault()) { 5281 _this->_internal_set_title(""); 5282 } 5283 } 5284 } 5285 if ((cached_has_bits & 0x00000002u) != 0) { 5286 if (!from._internal_description().empty()) { 5287 _this->_internal_set_description(from._internal_description()); 5288 } else { 5289 if (_this->_impl_.description_.IsDefault()) { 5290 _this->_internal_set_description(""); 5291 } 5292 } 5293 } 5294 if ((cached_has_bits & 0x00000004u) != 0) { 5295 if (!from._internal_terms_of_service().empty()) { 5296 _this->_internal_set_terms_of_service(from._internal_terms_of_service()); 5297 } else { 5298 if (_this->_impl_.terms_of_service_.IsDefault()) { 5299 _this->_internal_set_terms_of_service(""); 5300 } 5301 } 5302 } 5303 if ((cached_has_bits & 0x00000008u) != 0) { 5304 if (!from._internal_version().empty()) { 5305 _this->_internal_set_version(from._internal_version()); 5306 } else { 5307 if (_this->_impl_.version_.IsDefault()) { 5308 _this->_internal_set_version(""); 5309 } 5310 } 5311 } 5312 if ((cached_has_bits & 0x00000010u) != 0) { 5313 ABSL_DCHECK(from._impl_.contact_ != nullptr); 5314 if (_this->_impl_.contact_ == nullptr) { 5315 _this->_impl_.contact_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.contact_); 5316 } else { 5317 _this->_impl_.contact_->MergeFrom(*from._impl_.contact_); 5318 } 5319 } 5320 if ((cached_has_bits & 0x00000020u) != 0) { 5321 ABSL_DCHECK(from._impl_.license_ != nullptr); 5322 if (_this->_impl_.license_ == nullptr) { 5323 _this->_impl_.license_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.license_); 5324 } else { 5325 _this->_impl_.license_->MergeFrom(*from._impl_.license_); 5326 } 5327 } 5328 } 5329 _this->_impl_._has_bits_[0] |= cached_has_bits; 5330 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5331 } 5332 5333 void Info::CopyFrom(const Info& from) { 5334 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Info) 5335 if (&from == this) return; 5336 Clear(); 5337 MergeFrom(from); 5338 } 5339 5340 5341 void Info::InternalSwap(Info* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5342 using std::swap; 5343 auto* arena = GetArena(); 5344 ABSL_DCHECK_EQ(arena, other->GetArena()); 5345 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5346 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5347 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 5348 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena); 5349 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 5350 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.terms_of_service_, &other->_impl_.terms_of_service_, arena); 5351 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, &other->_impl_.version_, arena); 5352 ::google::protobuf::internal::memswap< 5353 PROTOBUF_FIELD_OFFSET(Info, _impl_.license_) 5354 + sizeof(Info::_impl_.license_) 5355 - PROTOBUF_FIELD_OFFSET(Info, _impl_.contact_)>( 5356 reinterpret_cast<char*>(&_impl_.contact_), 5357 reinterpret_cast<char*>(&other->_impl_.contact_)); 5358 } 5359 5360 ::google::protobuf::Metadata Info::GetMetadata() const { 5361 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5362 } 5363 // =================================================================== 5364 5365 class Contact::_Internal { 5366 public: 5367 using HasBits = 5368 decltype(std::declval<Contact>()._impl_._has_bits_); 5369 static constexpr ::int32_t kHasBitsOffset = 5370 8 * PROTOBUF_FIELD_OFFSET(Contact, _impl_._has_bits_); 5371 }; 5372 5373 Contact::Contact(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5374 #if defined(PROTOBUF_CUSTOM_VTABLE) 5375 : ::google::protobuf::Message(arena, Contact_class_data_.base()) { 5376 #else // PROTOBUF_CUSTOM_VTABLE 5377 : ::google::protobuf::Message(arena) { 5378 #endif // PROTOBUF_CUSTOM_VTABLE 5379 SharedCtor(arena); 5380 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5381 } 5382 PROTOBUF_NDEBUG_INLINE Contact::Impl_::Impl_( 5383 ::google::protobuf::internal::InternalVisibility visibility, 5384 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5385 const ::grpc::gateway::protoc_gen_openapiv2::options::Contact& from_msg) 5386 : _has_bits_{from._has_bits_}, 5387 _cached_size_{0}, 5388 name_(arena, from.name_), 5389 url_(arena, from.url_), 5390 email_(arena, from.email_) {} 5391 5392 Contact::Contact( 5393 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 5394 const Contact& from) 5395 #if defined(PROTOBUF_CUSTOM_VTABLE) 5396 : ::google::protobuf::Message(arena, Contact_class_data_.base()) { 5397 #else // PROTOBUF_CUSTOM_VTABLE 5398 : ::google::protobuf::Message(arena) { 5399 #endif // PROTOBUF_CUSTOM_VTABLE 5400 Contact* const _this = this; 5401 (void)_this; 5402 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 5403 from._internal_metadata_); 5404 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 5405 5406 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5407 } 5408 PROTOBUF_NDEBUG_INLINE Contact::Impl_::Impl_( 5409 ::google::protobuf::internal::InternalVisibility visibility, 5410 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5411 : _cached_size_{0}, 5412 name_(arena), 5413 url_(arena), 5414 email_(arena) {} 5415 5416 inline void Contact::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 5417 new (&_impl_) Impl_(internal_visibility(), arena); 5418 } 5419 Contact::~Contact() { 5420 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5421 SharedDtor(*this); 5422 } 5423 inline void Contact::SharedDtor(MessageLite& self) { 5424 Contact& this_ = static_cast<Contact&>(self); 5425 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 5426 ABSL_DCHECK(this_.GetArena() == nullptr); 5427 this_._impl_.name_.Destroy(); 5428 this_._impl_.url_.Destroy(); 5429 this_._impl_.email_.Destroy(); 5430 this_._impl_.~Impl_(); 5431 } 5432 5433 inline void* PROTOBUF_NONNULL Contact::PlacementNew_( 5434 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5435 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 5436 return ::new (mem) Contact(arena); 5437 } 5438 constexpr auto Contact::InternalNewImpl_() { 5439 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Contact), 5440 alignof(Contact)); 5441 } 5442 constexpr auto Contact::InternalGenerateClassData_() { 5443 return ::google::protobuf::internal::ClassDataFull{ 5444 ::google::protobuf::internal::ClassData{ 5445 &_Contact_default_instance_._instance, 5446 &_table_.header, 5447 nullptr, // OnDemandRegisterArenaDtor 5448 nullptr, // IsInitialized 5449 &Contact::MergeImpl, 5450 ::google::protobuf::Message::GetNewImpl<Contact>(), 5451 #if defined(PROTOBUF_CUSTOM_VTABLE) 5452 &Contact::SharedDtor, 5453 ::google::protobuf::Message::GetClearImpl<Contact>(), &Contact::ByteSizeLong, 5454 &Contact::_InternalSerialize, 5455 #endif // PROTOBUF_CUSTOM_VTABLE 5456 PROTOBUF_FIELD_OFFSET(Contact, _impl_._cached_size_), 5457 false, 5458 }, 5459 &Contact::kDescriptorMethods, 5460 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 5461 nullptr, // tracker 5462 }; 5463 } 5464 5465 PROTOBUF_CONSTINIT AGONES_EXPORT 5466 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 5467 Contact_class_data_ = 5468 Contact::InternalGenerateClassData_(); 5469 5470 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Contact::GetClassData() const { 5471 ::google::protobuf::internal::PrefetchToLocalCache(&Contact_class_data_); 5472 ::google::protobuf::internal::PrefetchToLocalCache(Contact_class_data_.tc_table); 5473 return Contact_class_data_.base(); 5474 } 5475 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 5476 const ::_pbi::TcParseTable<2, 3, 0, 70, 2> 5477 Contact::_table_ = { 5478 { 5479 PROTOBUF_FIELD_OFFSET(Contact, _impl_._has_bits_), 5480 0, // no _extensions_ 5481 3, 24, // max_field_number, fast_idx_mask 5482 offsetof(decltype(_table_), field_lookup_table), 5483 4294967288, // skipmap 5484 offsetof(decltype(_table_), field_entries), 5485 3, // num_field_entries 5486 0, // num_aux_entries 5487 offsetof(decltype(_table_), field_names), // no aux_entries 5488 Contact_class_data_.base(), 5489 nullptr, // post_loop_handler 5490 ::_pbi::TcParser::GenericFallback, // fallback 5491 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 5492 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Contact>(), // to_prefetch 5493 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 5494 }, {{ 5495 {::_pbi::TcParser::MiniParse, {}}, 5496 // string name = 1; 5497 {::_pbi::TcParser::FastUS1, 5498 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Contact, _impl_.name_)}}, 5499 // string url = 2; 5500 {::_pbi::TcParser::FastUS1, 5501 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Contact, _impl_.url_)}}, 5502 // string email = 3; 5503 {::_pbi::TcParser::FastUS1, 5504 {26, 2, 0, PROTOBUF_FIELD_OFFSET(Contact, _impl_.email_)}}, 5505 }}, {{ 5506 65535, 65535 5507 }}, {{ 5508 // string name = 1; 5509 {PROTOBUF_FIELD_OFFSET(Contact, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, 5510 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5511 // string url = 2; 5512 {PROTOBUF_FIELD_OFFSET(Contact, _impl_.url_), _Internal::kHasBitsOffset + 1, 0, 5513 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5514 // string email = 3; 5515 {PROTOBUF_FIELD_OFFSET(Contact, _impl_.email_), _Internal::kHasBitsOffset + 2, 0, 5516 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5517 }}, 5518 // no aux_entries 5519 {{ 5520 "\61\4\3\5\0\0\0\0" 5521 "grpc.gateway.protoc_gen_openapiv2.options.Contact" 5522 "name" 5523 "url" 5524 "email" 5525 }}, 5526 }; 5527 PROTOBUF_NOINLINE void Contact::Clear() { 5528 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5529 ::google::protobuf::internal::TSanWrite(&_impl_); 5530 ::uint32_t cached_has_bits = 0; 5531 // Prevent compiler warnings about cached_has_bits being unused 5532 (void) cached_has_bits; 5533 5534 cached_has_bits = _impl_._has_bits_[0]; 5535 if ((cached_has_bits & 0x00000007u) != 0) { 5536 if ((cached_has_bits & 0x00000001u) != 0) { 5537 _impl_.name_.ClearNonDefaultToEmpty(); 5538 } 5539 if ((cached_has_bits & 0x00000002u) != 0) { 5540 _impl_.url_.ClearNonDefaultToEmpty(); 5541 } 5542 if ((cached_has_bits & 0x00000004u) != 0) { 5543 _impl_.email_.ClearNonDefaultToEmpty(); 5544 } 5545 } 5546 _impl_._has_bits_.Clear(); 5547 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 5548 } 5549 5550 #if defined(PROTOBUF_CUSTOM_VTABLE) 5551 ::uint8_t* PROTOBUF_NONNULL Contact::_InternalSerialize( 5552 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 5553 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 5554 const Contact& this_ = static_cast<const Contact&>(base); 5555 #else // PROTOBUF_CUSTOM_VTABLE 5556 ::uint8_t* PROTOBUF_NONNULL Contact::_InternalSerialize( 5557 ::uint8_t* PROTOBUF_NONNULL target, 5558 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5559 const Contact& this_ = *this; 5560 #endif // PROTOBUF_CUSTOM_VTABLE 5561 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5562 ::uint32_t cached_has_bits = 0; 5563 (void)cached_has_bits; 5564 5565 // string name = 1; 5566 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 5567 if (!this_._internal_name().empty()) { 5568 const std::string& _s = this_._internal_name(); 5569 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5570 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Contact.name"); 5571 target = stream->WriteStringMaybeAliased(1, _s, target); 5572 } 5573 } 5574 5575 // string url = 2; 5576 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 5577 if (!this_._internal_url().empty()) { 5578 const std::string& _s = this_._internal_url(); 5579 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5580 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Contact.url"); 5581 target = stream->WriteStringMaybeAliased(2, _s, target); 5582 } 5583 } 5584 5585 // string email = 3; 5586 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 5587 if (!this_._internal_email().empty()) { 5588 const std::string& _s = this_._internal_email(); 5589 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5590 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Contact.email"); 5591 target = stream->WriteStringMaybeAliased(3, _s, target); 5592 } 5593 } 5594 5595 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5596 target = 5597 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5598 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5599 } 5600 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5601 return target; 5602 } 5603 5604 #if defined(PROTOBUF_CUSTOM_VTABLE) 5605 ::size_t Contact::ByteSizeLong(const MessageLite& base) { 5606 const Contact& this_ = static_cast<const Contact&>(base); 5607 #else // PROTOBUF_CUSTOM_VTABLE 5608 ::size_t Contact::ByteSizeLong() const { 5609 const Contact& this_ = *this; 5610 #endif // PROTOBUF_CUSTOM_VTABLE 5611 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5612 ::size_t total_size = 0; 5613 5614 ::uint32_t cached_has_bits = 0; 5615 // Prevent compiler warnings about cached_has_bits being unused 5616 (void)cached_has_bits; 5617 5618 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5619 cached_has_bits = this_._impl_._has_bits_[0]; 5620 if ((cached_has_bits & 0x00000007u) != 0) { 5621 // string name = 1; 5622 if ((cached_has_bits & 0x00000001u) != 0) { 5623 if (!this_._internal_name().empty()) { 5624 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5625 this_._internal_name()); 5626 } 5627 } 5628 // string url = 2; 5629 if ((cached_has_bits & 0x00000002u) != 0) { 5630 if (!this_._internal_url().empty()) { 5631 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5632 this_._internal_url()); 5633 } 5634 } 5635 // string email = 3; 5636 if ((cached_has_bits & 0x00000004u) != 0) { 5637 if (!this_._internal_email().empty()) { 5638 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5639 this_._internal_email()); 5640 } 5641 } 5642 } 5643 return this_.MaybeComputeUnknownFieldsSize(total_size, 5644 &this_._impl_._cached_size_); 5645 } 5646 5647 void Contact::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5648 auto* const _this = static_cast<Contact*>(&to_msg); 5649 auto& from = static_cast<const Contact&>(from_msg); 5650 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5651 ABSL_DCHECK_NE(&from, _this); 5652 ::uint32_t cached_has_bits = 0; 5653 (void) cached_has_bits; 5654 5655 cached_has_bits = from._impl_._has_bits_[0]; 5656 if ((cached_has_bits & 0x00000007u) != 0) { 5657 if ((cached_has_bits & 0x00000001u) != 0) { 5658 if (!from._internal_name().empty()) { 5659 _this->_internal_set_name(from._internal_name()); 5660 } else { 5661 if (_this->_impl_.name_.IsDefault()) { 5662 _this->_internal_set_name(""); 5663 } 5664 } 5665 } 5666 if ((cached_has_bits & 0x00000002u) != 0) { 5667 if (!from._internal_url().empty()) { 5668 _this->_internal_set_url(from._internal_url()); 5669 } else { 5670 if (_this->_impl_.url_.IsDefault()) { 5671 _this->_internal_set_url(""); 5672 } 5673 } 5674 } 5675 if ((cached_has_bits & 0x00000004u) != 0) { 5676 if (!from._internal_email().empty()) { 5677 _this->_internal_set_email(from._internal_email()); 5678 } else { 5679 if (_this->_impl_.email_.IsDefault()) { 5680 _this->_internal_set_email(""); 5681 } 5682 } 5683 } 5684 } 5685 _this->_impl_._has_bits_[0] |= cached_has_bits; 5686 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5687 } 5688 5689 void Contact::CopyFrom(const Contact& from) { 5690 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Contact) 5691 if (&from == this) return; 5692 Clear(); 5693 MergeFrom(from); 5694 } 5695 5696 5697 void Contact::InternalSwap(Contact* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5698 using std::swap; 5699 auto* arena = GetArena(); 5700 ABSL_DCHECK_EQ(arena, other->GetArena()); 5701 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5702 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5703 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 5704 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); 5705 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.email_, &other->_impl_.email_, arena); 5706 } 5707 5708 ::google::protobuf::Metadata Contact::GetMetadata() const { 5709 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5710 } 5711 // =================================================================== 5712 5713 class License::_Internal { 5714 public: 5715 using HasBits = 5716 decltype(std::declval<License>()._impl_._has_bits_); 5717 static constexpr ::int32_t kHasBitsOffset = 5718 8 * PROTOBUF_FIELD_OFFSET(License, _impl_._has_bits_); 5719 }; 5720 5721 License::License(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5722 #if defined(PROTOBUF_CUSTOM_VTABLE) 5723 : ::google::protobuf::Message(arena, License_class_data_.base()) { 5724 #else // PROTOBUF_CUSTOM_VTABLE 5725 : ::google::protobuf::Message(arena) { 5726 #endif // PROTOBUF_CUSTOM_VTABLE 5727 SharedCtor(arena); 5728 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.License) 5729 } 5730 PROTOBUF_NDEBUG_INLINE License::Impl_::Impl_( 5731 ::google::protobuf::internal::InternalVisibility visibility, 5732 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5733 const ::grpc::gateway::protoc_gen_openapiv2::options::License& from_msg) 5734 : _has_bits_{from._has_bits_}, 5735 _cached_size_{0}, 5736 name_(arena, from.name_), 5737 url_(arena, from.url_) {} 5738 5739 License::License( 5740 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 5741 const License& from) 5742 #if defined(PROTOBUF_CUSTOM_VTABLE) 5743 : ::google::protobuf::Message(arena, License_class_data_.base()) { 5744 #else // PROTOBUF_CUSTOM_VTABLE 5745 : ::google::protobuf::Message(arena) { 5746 #endif // PROTOBUF_CUSTOM_VTABLE 5747 License* const _this = this; 5748 (void)_this; 5749 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 5750 from._internal_metadata_); 5751 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 5752 5753 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.License) 5754 } 5755 PROTOBUF_NDEBUG_INLINE License::Impl_::Impl_( 5756 ::google::protobuf::internal::InternalVisibility visibility, 5757 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5758 : _cached_size_{0}, 5759 name_(arena), 5760 url_(arena) {} 5761 5762 inline void License::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 5763 new (&_impl_) Impl_(internal_visibility(), arena); 5764 } 5765 License::~License() { 5766 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.License) 5767 SharedDtor(*this); 5768 } 5769 inline void License::SharedDtor(MessageLite& self) { 5770 License& this_ = static_cast<License&>(self); 5771 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 5772 ABSL_DCHECK(this_.GetArena() == nullptr); 5773 this_._impl_.name_.Destroy(); 5774 this_._impl_.url_.Destroy(); 5775 this_._impl_.~Impl_(); 5776 } 5777 5778 inline void* PROTOBUF_NONNULL License::PlacementNew_( 5779 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5780 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 5781 return ::new (mem) License(arena); 5782 } 5783 constexpr auto License::InternalNewImpl_() { 5784 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(License), 5785 alignof(License)); 5786 } 5787 constexpr auto License::InternalGenerateClassData_() { 5788 return ::google::protobuf::internal::ClassDataFull{ 5789 ::google::protobuf::internal::ClassData{ 5790 &_License_default_instance_._instance, 5791 &_table_.header, 5792 nullptr, // OnDemandRegisterArenaDtor 5793 nullptr, // IsInitialized 5794 &License::MergeImpl, 5795 ::google::protobuf::Message::GetNewImpl<License>(), 5796 #if defined(PROTOBUF_CUSTOM_VTABLE) 5797 &License::SharedDtor, 5798 ::google::protobuf::Message::GetClearImpl<License>(), &License::ByteSizeLong, 5799 &License::_InternalSerialize, 5800 #endif // PROTOBUF_CUSTOM_VTABLE 5801 PROTOBUF_FIELD_OFFSET(License, _impl_._cached_size_), 5802 false, 5803 }, 5804 &License::kDescriptorMethods, 5805 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 5806 nullptr, // tracker 5807 }; 5808 } 5809 5810 PROTOBUF_CONSTINIT AGONES_EXPORT 5811 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 5812 License_class_data_ = 5813 License::InternalGenerateClassData_(); 5814 5815 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL License::GetClassData() const { 5816 ::google::protobuf::internal::PrefetchToLocalCache(&License_class_data_); 5817 ::google::protobuf::internal::PrefetchToLocalCache(License_class_data_.tc_table); 5818 return License_class_data_.base(); 5819 } 5820 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 5821 const ::_pbi::TcParseTable<1, 2, 0, 65, 2> 5822 License::_table_ = { 5823 { 5824 PROTOBUF_FIELD_OFFSET(License, _impl_._has_bits_), 5825 0, // no _extensions_ 5826 2, 8, // max_field_number, fast_idx_mask 5827 offsetof(decltype(_table_), field_lookup_table), 5828 4294967292, // skipmap 5829 offsetof(decltype(_table_), field_entries), 5830 2, // num_field_entries 5831 0, // num_aux_entries 5832 offsetof(decltype(_table_), field_names), // no aux_entries 5833 License_class_data_.base(), 5834 nullptr, // post_loop_handler 5835 ::_pbi::TcParser::GenericFallback, // fallback 5836 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 5837 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::License>(), // to_prefetch 5838 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 5839 }, {{ 5840 // string url = 2; 5841 {::_pbi::TcParser::FastUS1, 5842 {18, 1, 0, PROTOBUF_FIELD_OFFSET(License, _impl_.url_)}}, 5843 // string name = 1; 5844 {::_pbi::TcParser::FastUS1, 5845 {10, 0, 0, PROTOBUF_FIELD_OFFSET(License, _impl_.name_)}}, 5846 }}, {{ 5847 65535, 65535 5848 }}, {{ 5849 // string name = 1; 5850 {PROTOBUF_FIELD_OFFSET(License, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, 5851 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5852 // string url = 2; 5853 {PROTOBUF_FIELD_OFFSET(License, _impl_.url_), _Internal::kHasBitsOffset + 1, 0, 5854 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 5855 }}, 5856 // no aux_entries 5857 {{ 5858 "\61\4\3\0\0\0\0\0" 5859 "grpc.gateway.protoc_gen_openapiv2.options.License" 5860 "name" 5861 "url" 5862 }}, 5863 }; 5864 PROTOBUF_NOINLINE void License::Clear() { 5865 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5866 ::google::protobuf::internal::TSanWrite(&_impl_); 5867 ::uint32_t cached_has_bits = 0; 5868 // Prevent compiler warnings about cached_has_bits being unused 5869 (void) cached_has_bits; 5870 5871 cached_has_bits = _impl_._has_bits_[0]; 5872 if ((cached_has_bits & 0x00000003u) != 0) { 5873 if ((cached_has_bits & 0x00000001u) != 0) { 5874 _impl_.name_.ClearNonDefaultToEmpty(); 5875 } 5876 if ((cached_has_bits & 0x00000002u) != 0) { 5877 _impl_.url_.ClearNonDefaultToEmpty(); 5878 } 5879 } 5880 _impl_._has_bits_.Clear(); 5881 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 5882 } 5883 5884 #if defined(PROTOBUF_CUSTOM_VTABLE) 5885 ::uint8_t* PROTOBUF_NONNULL License::_InternalSerialize( 5886 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 5887 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 5888 const License& this_ = static_cast<const License&>(base); 5889 #else // PROTOBUF_CUSTOM_VTABLE 5890 ::uint8_t* PROTOBUF_NONNULL License::_InternalSerialize( 5891 ::uint8_t* PROTOBUF_NONNULL target, 5892 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5893 const License& this_ = *this; 5894 #endif // PROTOBUF_CUSTOM_VTABLE 5895 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5896 ::uint32_t cached_has_bits = 0; 5897 (void)cached_has_bits; 5898 5899 // string name = 1; 5900 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 5901 if (!this_._internal_name().empty()) { 5902 const std::string& _s = this_._internal_name(); 5903 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5904 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.License.name"); 5905 target = stream->WriteStringMaybeAliased(1, _s, target); 5906 } 5907 } 5908 5909 // string url = 2; 5910 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 5911 if (!this_._internal_url().empty()) { 5912 const std::string& _s = this_._internal_url(); 5913 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5914 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.License.url"); 5915 target = stream->WriteStringMaybeAliased(2, _s, target); 5916 } 5917 } 5918 5919 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5920 target = 5921 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5922 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5923 } 5924 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.License) 5925 return target; 5926 } 5927 5928 #if defined(PROTOBUF_CUSTOM_VTABLE) 5929 ::size_t License::ByteSizeLong(const MessageLite& base) { 5930 const License& this_ = static_cast<const License&>(base); 5931 #else // PROTOBUF_CUSTOM_VTABLE 5932 ::size_t License::ByteSizeLong() const { 5933 const License& this_ = *this; 5934 #endif // PROTOBUF_CUSTOM_VTABLE 5935 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5936 ::size_t total_size = 0; 5937 5938 ::uint32_t cached_has_bits = 0; 5939 // Prevent compiler warnings about cached_has_bits being unused 5940 (void)cached_has_bits; 5941 5942 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5943 cached_has_bits = this_._impl_._has_bits_[0]; 5944 if ((cached_has_bits & 0x00000003u) != 0) { 5945 // string name = 1; 5946 if ((cached_has_bits & 0x00000001u) != 0) { 5947 if (!this_._internal_name().empty()) { 5948 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5949 this_._internal_name()); 5950 } 5951 } 5952 // string url = 2; 5953 if ((cached_has_bits & 0x00000002u) != 0) { 5954 if (!this_._internal_url().empty()) { 5955 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5956 this_._internal_url()); 5957 } 5958 } 5959 } 5960 return this_.MaybeComputeUnknownFieldsSize(total_size, 5961 &this_._impl_._cached_size_); 5962 } 5963 5964 void License::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5965 auto* const _this = static_cast<License*>(&to_msg); 5966 auto& from = static_cast<const License&>(from_msg); 5967 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5968 ABSL_DCHECK_NE(&from, _this); 5969 ::uint32_t cached_has_bits = 0; 5970 (void) cached_has_bits; 5971 5972 cached_has_bits = from._impl_._has_bits_[0]; 5973 if ((cached_has_bits & 0x00000003u) != 0) { 5974 if ((cached_has_bits & 0x00000001u) != 0) { 5975 if (!from._internal_name().empty()) { 5976 _this->_internal_set_name(from._internal_name()); 5977 } else { 5978 if (_this->_impl_.name_.IsDefault()) { 5979 _this->_internal_set_name(""); 5980 } 5981 } 5982 } 5983 if ((cached_has_bits & 0x00000002u) != 0) { 5984 if (!from._internal_url().empty()) { 5985 _this->_internal_set_url(from._internal_url()); 5986 } else { 5987 if (_this->_impl_.url_.IsDefault()) { 5988 _this->_internal_set_url(""); 5989 } 5990 } 5991 } 5992 } 5993 _this->_impl_._has_bits_[0] |= cached_has_bits; 5994 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5995 } 5996 5997 void License::CopyFrom(const License& from) { 5998 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.License) 5999 if (&from == this) return; 6000 Clear(); 6001 MergeFrom(from); 6002 } 6003 6004 6005 void License::InternalSwap(License* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 6006 using std::swap; 6007 auto* arena = GetArena(); 6008 ABSL_DCHECK_EQ(arena, other->GetArena()); 6009 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 6010 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 6011 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 6012 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); 6013 } 6014 6015 ::google::protobuf::Metadata License::GetMetadata() const { 6016 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 6017 } 6018 // =================================================================== 6019 6020 class ExternalDocumentation::_Internal { 6021 public: 6022 using HasBits = 6023 decltype(std::declval<ExternalDocumentation>()._impl_._has_bits_); 6024 static constexpr ::int32_t kHasBitsOffset = 6025 8 * PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_._has_bits_); 6026 }; 6027 6028 ExternalDocumentation::ExternalDocumentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6029 #if defined(PROTOBUF_CUSTOM_VTABLE) 6030 : ::google::protobuf::Message(arena, ExternalDocumentation_class_data_.base()) { 6031 #else // PROTOBUF_CUSTOM_VTABLE 6032 : ::google::protobuf::Message(arena) { 6033 #endif // PROTOBUF_CUSTOM_VTABLE 6034 SharedCtor(arena); 6035 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6036 } 6037 PROTOBUF_NDEBUG_INLINE ExternalDocumentation::Impl_::Impl_( 6038 ::google::protobuf::internal::InternalVisibility visibility, 6039 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 6040 const ::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation& from_msg) 6041 : _has_bits_{from._has_bits_}, 6042 _cached_size_{0}, 6043 description_(arena, from.description_), 6044 url_(arena, from.url_) {} 6045 6046 ExternalDocumentation::ExternalDocumentation( 6047 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 6048 const ExternalDocumentation& from) 6049 #if defined(PROTOBUF_CUSTOM_VTABLE) 6050 : ::google::protobuf::Message(arena, ExternalDocumentation_class_data_.base()) { 6051 #else // PROTOBUF_CUSTOM_VTABLE 6052 : ::google::protobuf::Message(arena) { 6053 #endif // PROTOBUF_CUSTOM_VTABLE 6054 ExternalDocumentation* const _this = this; 6055 (void)_this; 6056 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 6057 from._internal_metadata_); 6058 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 6059 6060 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6061 } 6062 PROTOBUF_NDEBUG_INLINE ExternalDocumentation::Impl_::Impl_( 6063 ::google::protobuf::internal::InternalVisibility visibility, 6064 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6065 : _cached_size_{0}, 6066 description_(arena), 6067 url_(arena) {} 6068 6069 inline void ExternalDocumentation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 6070 new (&_impl_) Impl_(internal_visibility(), arena); 6071 } 6072 ExternalDocumentation::~ExternalDocumentation() { 6073 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6074 SharedDtor(*this); 6075 } 6076 inline void ExternalDocumentation::SharedDtor(MessageLite& self) { 6077 ExternalDocumentation& this_ = static_cast<ExternalDocumentation&>(self); 6078 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 6079 ABSL_DCHECK(this_.GetArena() == nullptr); 6080 this_._impl_.description_.Destroy(); 6081 this_._impl_.url_.Destroy(); 6082 this_._impl_.~Impl_(); 6083 } 6084 6085 inline void* PROTOBUF_NONNULL ExternalDocumentation::PlacementNew_( 6086 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 6087 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 6088 return ::new (mem) ExternalDocumentation(arena); 6089 } 6090 constexpr auto ExternalDocumentation::InternalNewImpl_() { 6091 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExternalDocumentation), 6092 alignof(ExternalDocumentation)); 6093 } 6094 constexpr auto ExternalDocumentation::InternalGenerateClassData_() { 6095 return ::google::protobuf::internal::ClassDataFull{ 6096 ::google::protobuf::internal::ClassData{ 6097 &_ExternalDocumentation_default_instance_._instance, 6098 &_table_.header, 6099 nullptr, // OnDemandRegisterArenaDtor 6100 nullptr, // IsInitialized 6101 &ExternalDocumentation::MergeImpl, 6102 ::google::protobuf::Message::GetNewImpl<ExternalDocumentation>(), 6103 #if defined(PROTOBUF_CUSTOM_VTABLE) 6104 &ExternalDocumentation::SharedDtor, 6105 ::google::protobuf::Message::GetClearImpl<ExternalDocumentation>(), &ExternalDocumentation::ByteSizeLong, 6106 &ExternalDocumentation::_InternalSerialize, 6107 #endif // PROTOBUF_CUSTOM_VTABLE 6108 PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_._cached_size_), 6109 false, 6110 }, 6111 &ExternalDocumentation::kDescriptorMethods, 6112 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 6113 nullptr, // tracker 6114 }; 6115 } 6116 6117 PROTOBUF_CONSTINIT AGONES_EXPORT 6118 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 6119 ExternalDocumentation_class_data_ = 6120 ExternalDocumentation::InternalGenerateClassData_(); 6121 6122 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL ExternalDocumentation::GetClassData() const { 6123 ::google::protobuf::internal::PrefetchToLocalCache(&ExternalDocumentation_class_data_); 6124 ::google::protobuf::internal::PrefetchToLocalCache(ExternalDocumentation_class_data_.tc_table); 6125 return ExternalDocumentation_class_data_.base(); 6126 } 6127 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 6128 const ::_pbi::TcParseTable<1, 2, 0, 86, 2> 6129 ExternalDocumentation::_table_ = { 6130 { 6131 PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_._has_bits_), 6132 0, // no _extensions_ 6133 2, 8, // max_field_number, fast_idx_mask 6134 offsetof(decltype(_table_), field_lookup_table), 6135 4294967292, // skipmap 6136 offsetof(decltype(_table_), field_entries), 6137 2, // num_field_entries 6138 0, // num_aux_entries 6139 offsetof(decltype(_table_), field_names), // no aux_entries 6140 ExternalDocumentation_class_data_.base(), 6141 nullptr, // post_loop_handler 6142 ::_pbi::TcParser::GenericFallback, // fallback 6143 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 6144 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>(), // to_prefetch 6145 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 6146 }, {{ 6147 // string url = 2; 6148 {::_pbi::TcParser::FastUS1, 6149 {18, 1, 0, PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.url_)}}, 6150 // string description = 1; 6151 {::_pbi::TcParser::FastUS1, 6152 {10, 0, 0, PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.description_)}}, 6153 }}, {{ 6154 65535, 65535 6155 }}, {{ 6156 // string description = 1; 6157 {PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 6158 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6159 // string url = 2; 6160 {PROTOBUF_FIELD_OFFSET(ExternalDocumentation, _impl_.url_), _Internal::kHasBitsOffset + 1, 0, 6161 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6162 }}, 6163 // no aux_entries 6164 {{ 6165 "\77\13\3\0\0\0\0\0" 6166 "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation" 6167 "description" 6168 "url" 6169 }}, 6170 }; 6171 PROTOBUF_NOINLINE void ExternalDocumentation::Clear() { 6172 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6173 ::google::protobuf::internal::TSanWrite(&_impl_); 6174 ::uint32_t cached_has_bits = 0; 6175 // Prevent compiler warnings about cached_has_bits being unused 6176 (void) cached_has_bits; 6177 6178 cached_has_bits = _impl_._has_bits_[0]; 6179 if ((cached_has_bits & 0x00000003u) != 0) { 6180 if ((cached_has_bits & 0x00000001u) != 0) { 6181 _impl_.description_.ClearNonDefaultToEmpty(); 6182 } 6183 if ((cached_has_bits & 0x00000002u) != 0) { 6184 _impl_.url_.ClearNonDefaultToEmpty(); 6185 } 6186 } 6187 _impl_._has_bits_.Clear(); 6188 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 6189 } 6190 6191 #if defined(PROTOBUF_CUSTOM_VTABLE) 6192 ::uint8_t* PROTOBUF_NONNULL ExternalDocumentation::_InternalSerialize( 6193 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 6194 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 6195 const ExternalDocumentation& this_ = static_cast<const ExternalDocumentation&>(base); 6196 #else // PROTOBUF_CUSTOM_VTABLE 6197 ::uint8_t* PROTOBUF_NONNULL ExternalDocumentation::_InternalSerialize( 6198 ::uint8_t* PROTOBUF_NONNULL target, 6199 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 6200 const ExternalDocumentation& this_ = *this; 6201 #endif // PROTOBUF_CUSTOM_VTABLE 6202 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6203 ::uint32_t cached_has_bits = 0; 6204 (void)cached_has_bits; 6205 6206 // string description = 1; 6207 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 6208 if (!this_._internal_description().empty()) { 6209 const std::string& _s = this_._internal_description(); 6210 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6211 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.description"); 6212 target = stream->WriteStringMaybeAliased(1, _s, target); 6213 } 6214 } 6215 6216 // string url = 2; 6217 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 6218 if (!this_._internal_url().empty()) { 6219 const std::string& _s = this_._internal_url(); 6220 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6221 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.url"); 6222 target = stream->WriteStringMaybeAliased(2, _s, target); 6223 } 6224 } 6225 6226 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 6227 target = 6228 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 6229 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 6230 } 6231 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6232 return target; 6233 } 6234 6235 #if defined(PROTOBUF_CUSTOM_VTABLE) 6236 ::size_t ExternalDocumentation::ByteSizeLong(const MessageLite& base) { 6237 const ExternalDocumentation& this_ = static_cast<const ExternalDocumentation&>(base); 6238 #else // PROTOBUF_CUSTOM_VTABLE 6239 ::size_t ExternalDocumentation::ByteSizeLong() const { 6240 const ExternalDocumentation& this_ = *this; 6241 #endif // PROTOBUF_CUSTOM_VTABLE 6242 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6243 ::size_t total_size = 0; 6244 6245 ::uint32_t cached_has_bits = 0; 6246 // Prevent compiler warnings about cached_has_bits being unused 6247 (void)cached_has_bits; 6248 6249 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 6250 cached_has_bits = this_._impl_._has_bits_[0]; 6251 if ((cached_has_bits & 0x00000003u) != 0) { 6252 // string description = 1; 6253 if ((cached_has_bits & 0x00000001u) != 0) { 6254 if (!this_._internal_description().empty()) { 6255 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6256 this_._internal_description()); 6257 } 6258 } 6259 // string url = 2; 6260 if ((cached_has_bits & 0x00000002u) != 0) { 6261 if (!this_._internal_url().empty()) { 6262 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6263 this_._internal_url()); 6264 } 6265 } 6266 } 6267 return this_.MaybeComputeUnknownFieldsSize(total_size, 6268 &this_._impl_._cached_size_); 6269 } 6270 6271 void ExternalDocumentation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 6272 auto* const _this = static_cast<ExternalDocumentation*>(&to_msg); 6273 auto& from = static_cast<const ExternalDocumentation&>(from_msg); 6274 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6275 ABSL_DCHECK_NE(&from, _this); 6276 ::uint32_t cached_has_bits = 0; 6277 (void) cached_has_bits; 6278 6279 cached_has_bits = from._impl_._has_bits_[0]; 6280 if ((cached_has_bits & 0x00000003u) != 0) { 6281 if ((cached_has_bits & 0x00000001u) != 0) { 6282 if (!from._internal_description().empty()) { 6283 _this->_internal_set_description(from._internal_description()); 6284 } else { 6285 if (_this->_impl_.description_.IsDefault()) { 6286 _this->_internal_set_description(""); 6287 } 6288 } 6289 } 6290 if ((cached_has_bits & 0x00000002u) != 0) { 6291 if (!from._internal_url().empty()) { 6292 _this->_internal_set_url(from._internal_url()); 6293 } else { 6294 if (_this->_impl_.url_.IsDefault()) { 6295 _this->_internal_set_url(""); 6296 } 6297 } 6298 } 6299 } 6300 _this->_impl_._has_bits_[0] |= cached_has_bits; 6301 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 6302 } 6303 6304 void ExternalDocumentation::CopyFrom(const ExternalDocumentation& from) { 6305 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation) 6306 if (&from == this) return; 6307 Clear(); 6308 MergeFrom(from); 6309 } 6310 6311 6312 void ExternalDocumentation::InternalSwap(ExternalDocumentation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 6313 using std::swap; 6314 auto* arena = GetArena(); 6315 ABSL_DCHECK_EQ(arena, other->GetArena()); 6316 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 6317 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 6318 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 6319 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena); 6320 } 6321 6322 ::google::protobuf::Metadata ExternalDocumentation::GetMetadata() const { 6323 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 6324 } 6325 // =================================================================== 6326 6327 class Schema::_Internal { 6328 public: 6329 using HasBits = 6330 decltype(std::declval<Schema>()._impl_._has_bits_); 6331 static constexpr ::int32_t kHasBitsOffset = 6332 8 * PROTOBUF_FIELD_OFFSET(Schema, _impl_._has_bits_); 6333 }; 6334 6335 Schema::Schema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6336 #if defined(PROTOBUF_CUSTOM_VTABLE) 6337 : ::google::protobuf::Message(arena, Schema_class_data_.base()) { 6338 #else // PROTOBUF_CUSTOM_VTABLE 6339 : ::google::protobuf::Message(arena) { 6340 #endif // PROTOBUF_CUSTOM_VTABLE 6341 SharedCtor(arena); 6342 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6343 } 6344 PROTOBUF_NDEBUG_INLINE Schema::Impl_::Impl_( 6345 ::google::protobuf::internal::InternalVisibility visibility, 6346 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 6347 const ::grpc::gateway::protoc_gen_openapiv2::options::Schema& from_msg) 6348 : _has_bits_{from._has_bits_}, 6349 _cached_size_{0}, 6350 discriminator_(arena, from.discriminator_), 6351 example_(arena, from.example_) {} 6352 6353 Schema::Schema( 6354 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 6355 const Schema& from) 6356 #if defined(PROTOBUF_CUSTOM_VTABLE) 6357 : ::google::protobuf::Message(arena, Schema_class_data_.base()) { 6358 #else // PROTOBUF_CUSTOM_VTABLE 6359 : ::google::protobuf::Message(arena) { 6360 #endif // PROTOBUF_CUSTOM_VTABLE 6361 Schema* const _this = this; 6362 (void)_this; 6363 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 6364 from._internal_metadata_); 6365 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 6366 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 6367 _impl_.json_schema_ = ((cached_has_bits & 0x00000004u) != 0) 6368 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.json_schema_) 6369 : nullptr; 6370 _impl_.external_docs_ = ((cached_has_bits & 0x00000008u) != 0) 6371 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 6372 : nullptr; 6373 _impl_.read_only_ = from._impl_.read_only_; 6374 6375 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6376 } 6377 PROTOBUF_NDEBUG_INLINE Schema::Impl_::Impl_( 6378 ::google::protobuf::internal::InternalVisibility visibility, 6379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6380 : _cached_size_{0}, 6381 discriminator_(arena), 6382 example_(arena) {} 6383 6384 inline void Schema::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 6385 new (&_impl_) Impl_(internal_visibility(), arena); 6386 ::memset(reinterpret_cast<char *>(&_impl_) + 6387 offsetof(Impl_, json_schema_), 6388 0, 6389 offsetof(Impl_, read_only_) - 6390 offsetof(Impl_, json_schema_) + 6391 sizeof(Impl_::read_only_)); 6392 } 6393 Schema::~Schema() { 6394 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6395 SharedDtor(*this); 6396 } 6397 inline void Schema::SharedDtor(MessageLite& self) { 6398 Schema& this_ = static_cast<Schema&>(self); 6399 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 6400 ABSL_DCHECK(this_.GetArena() == nullptr); 6401 this_._impl_.discriminator_.Destroy(); 6402 this_._impl_.example_.Destroy(); 6403 delete this_._impl_.json_schema_; 6404 delete this_._impl_.external_docs_; 6405 this_._impl_.~Impl_(); 6406 } 6407 6408 inline void* PROTOBUF_NONNULL Schema::PlacementNew_( 6409 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 6410 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 6411 return ::new (mem) Schema(arena); 6412 } 6413 constexpr auto Schema::InternalNewImpl_() { 6414 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Schema), 6415 alignof(Schema)); 6416 } 6417 constexpr auto Schema::InternalGenerateClassData_() { 6418 return ::google::protobuf::internal::ClassDataFull{ 6419 ::google::protobuf::internal::ClassData{ 6420 &_Schema_default_instance_._instance, 6421 &_table_.header, 6422 nullptr, // OnDemandRegisterArenaDtor 6423 nullptr, // IsInitialized 6424 &Schema::MergeImpl, 6425 ::google::protobuf::Message::GetNewImpl<Schema>(), 6426 #if defined(PROTOBUF_CUSTOM_VTABLE) 6427 &Schema::SharedDtor, 6428 ::google::protobuf::Message::GetClearImpl<Schema>(), &Schema::ByteSizeLong, 6429 &Schema::_InternalSerialize, 6430 #endif // PROTOBUF_CUSTOM_VTABLE 6431 PROTOBUF_FIELD_OFFSET(Schema, _impl_._cached_size_), 6432 false, 6433 }, 6434 &Schema::kDescriptorMethods, 6435 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 6436 nullptr, // tracker 6437 }; 6438 } 6439 6440 PROTOBUF_CONSTINIT AGONES_EXPORT 6441 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 6442 Schema_class_data_ = 6443 Schema::InternalGenerateClassData_(); 6444 6445 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Schema::GetClassData() const { 6446 ::google::protobuf::internal::PrefetchToLocalCache(&Schema_class_data_); 6447 ::google::protobuf::internal::PrefetchToLocalCache(Schema_class_data_.tc_table); 6448 return Schema_class_data_.base(); 6449 } 6450 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 6451 const ::_pbi::TcParseTable<3, 5, 2, 77, 2> 6452 Schema::_table_ = { 6453 { 6454 PROTOBUF_FIELD_OFFSET(Schema, _impl_._has_bits_), 6455 0, // no _extensions_ 6456 6, 56, // max_field_number, fast_idx_mask 6457 offsetof(decltype(_table_), field_lookup_table), 6458 4294967240, // skipmap 6459 offsetof(decltype(_table_), field_entries), 6460 5, // num_field_entries 6461 2, // num_aux_entries 6462 offsetof(decltype(_table_), aux_entries), 6463 Schema_class_data_.base(), 6464 nullptr, // post_loop_handler 6465 ::_pbi::TcParser::GenericFallback, // fallback 6466 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 6467 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Schema>(), // to_prefetch 6468 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 6469 }, {{ 6470 {::_pbi::TcParser::MiniParse, {}}, 6471 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6472 {::_pbi::TcParser::FastMtS1, 6473 {10, 2, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.json_schema_)}}, 6474 // string discriminator = 2; 6475 {::_pbi::TcParser::FastUS1, 6476 {18, 0, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.discriminator_)}}, 6477 // bool read_only = 3; 6478 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Schema, _impl_.read_only_), 4>(), 6479 {24, 4, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.read_only_)}}, 6480 {::_pbi::TcParser::MiniParse, {}}, 6481 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6482 {::_pbi::TcParser::FastMtS1, 6483 {42, 3, 1, PROTOBUF_FIELD_OFFSET(Schema, _impl_.external_docs_)}}, 6484 // string example = 6; 6485 {::_pbi::TcParser::FastUS1, 6486 {50, 1, 0, PROTOBUF_FIELD_OFFSET(Schema, _impl_.example_)}}, 6487 {::_pbi::TcParser::MiniParse, {}}, 6488 }}, {{ 6489 65535, 65535 6490 }}, {{ 6491 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6492 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.json_schema_), _Internal::kHasBitsOffset + 2, 0, 6493 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 6494 // string discriminator = 2; 6495 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.discriminator_), _Internal::kHasBitsOffset + 0, 0, 6496 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6497 // bool read_only = 3; 6498 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.read_only_), _Internal::kHasBitsOffset + 4, 0, 6499 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 6500 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6501 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.external_docs_), _Internal::kHasBitsOffset + 3, 1, 6502 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 6503 // string example = 6; 6504 {PROTOBUF_FIELD_OFFSET(Schema, _impl_.example_), _Internal::kHasBitsOffset + 1, 0, 6505 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6506 }}, 6507 {{ 6508 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema>()}, 6509 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 6510 }}, 6511 {{ 6512 "\60\0\15\0\0\7\0\0" 6513 "grpc.gateway.protoc_gen_openapiv2.options.Schema" 6514 "discriminator" 6515 "example" 6516 }}, 6517 }; 6518 PROTOBUF_NOINLINE void Schema::Clear() { 6519 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6520 ::google::protobuf::internal::TSanWrite(&_impl_); 6521 ::uint32_t cached_has_bits = 0; 6522 // Prevent compiler warnings about cached_has_bits being unused 6523 (void) cached_has_bits; 6524 6525 cached_has_bits = _impl_._has_bits_[0]; 6526 if ((cached_has_bits & 0x0000000fu) != 0) { 6527 if ((cached_has_bits & 0x00000001u) != 0) { 6528 _impl_.discriminator_.ClearNonDefaultToEmpty(); 6529 } 6530 if ((cached_has_bits & 0x00000002u) != 0) { 6531 _impl_.example_.ClearNonDefaultToEmpty(); 6532 } 6533 if ((cached_has_bits & 0x00000004u) != 0) { 6534 ABSL_DCHECK(_impl_.json_schema_ != nullptr); 6535 _impl_.json_schema_->Clear(); 6536 } 6537 if ((cached_has_bits & 0x00000008u) != 0) { 6538 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 6539 _impl_.external_docs_->Clear(); 6540 } 6541 } 6542 _impl_.read_only_ = false; 6543 _impl_._has_bits_.Clear(); 6544 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 6545 } 6546 6547 #if defined(PROTOBUF_CUSTOM_VTABLE) 6548 ::uint8_t* PROTOBUF_NONNULL Schema::_InternalSerialize( 6549 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 6550 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 6551 const Schema& this_ = static_cast<const Schema&>(base); 6552 #else // PROTOBUF_CUSTOM_VTABLE 6553 ::uint8_t* PROTOBUF_NONNULL Schema::_InternalSerialize( 6554 ::uint8_t* PROTOBUF_NONNULL target, 6555 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 6556 const Schema& this_ = *this; 6557 #endif // PROTOBUF_CUSTOM_VTABLE 6558 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6559 ::uint32_t cached_has_bits = 0; 6560 (void)cached_has_bits; 6561 6562 cached_has_bits = this_._impl_._has_bits_[0]; 6563 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6564 if ((cached_has_bits & 0x00000004u) != 0) { 6565 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 6566 1, *this_._impl_.json_schema_, this_._impl_.json_schema_->GetCachedSize(), target, 6567 stream); 6568 } 6569 6570 // string discriminator = 2; 6571 if ((cached_has_bits & 0x00000001u) != 0) { 6572 if (!this_._internal_discriminator().empty()) { 6573 const std::string& _s = this_._internal_discriminator(); 6574 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6575 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Schema.discriminator"); 6576 target = stream->WriteStringMaybeAliased(2, _s, target); 6577 } 6578 } 6579 6580 // bool read_only = 3; 6581 if ((cached_has_bits & 0x00000010u) != 0) { 6582 if (this_._internal_read_only() != 0) { 6583 target = stream->EnsureSpace(target); 6584 target = ::_pbi::WireFormatLite::WriteBoolToArray( 6585 3, this_._internal_read_only(), target); 6586 } 6587 } 6588 6589 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6590 if ((cached_has_bits & 0x00000008u) != 0) { 6591 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 6592 5, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 6593 stream); 6594 } 6595 6596 // string example = 6; 6597 if ((cached_has_bits & 0x00000002u) != 0) { 6598 if (!this_._internal_example().empty()) { 6599 const std::string& _s = this_._internal_example(); 6600 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6601 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Schema.example"); 6602 target = stream->WriteStringMaybeAliased(6, _s, target); 6603 } 6604 } 6605 6606 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 6607 target = 6608 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 6609 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 6610 } 6611 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6612 return target; 6613 } 6614 6615 #if defined(PROTOBUF_CUSTOM_VTABLE) 6616 ::size_t Schema::ByteSizeLong(const MessageLite& base) { 6617 const Schema& this_ = static_cast<const Schema&>(base); 6618 #else // PROTOBUF_CUSTOM_VTABLE 6619 ::size_t Schema::ByteSizeLong() const { 6620 const Schema& this_ = *this; 6621 #endif // PROTOBUF_CUSTOM_VTABLE 6622 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6623 ::size_t total_size = 0; 6624 6625 ::uint32_t cached_has_bits = 0; 6626 // Prevent compiler warnings about cached_has_bits being unused 6627 (void)cached_has_bits; 6628 6629 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 6630 cached_has_bits = this_._impl_._has_bits_[0]; 6631 if ((cached_has_bits & 0x0000001fu) != 0) { 6632 // string discriminator = 2; 6633 if ((cached_has_bits & 0x00000001u) != 0) { 6634 if (!this_._internal_discriminator().empty()) { 6635 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6636 this_._internal_discriminator()); 6637 } 6638 } 6639 // string example = 6; 6640 if ((cached_has_bits & 0x00000002u) != 0) { 6641 if (!this_._internal_example().empty()) { 6642 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 6643 this_._internal_example()); 6644 } 6645 } 6646 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema json_schema = 1; 6647 if ((cached_has_bits & 0x00000004u) != 0) { 6648 total_size += 1 + 6649 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.json_schema_); 6650 } 6651 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 5; 6652 if ((cached_has_bits & 0x00000008u) != 0) { 6653 total_size += 1 + 6654 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 6655 } 6656 // bool read_only = 3; 6657 if ((cached_has_bits & 0x00000010u) != 0) { 6658 if (this_._internal_read_only() != 0) { 6659 total_size += 2; 6660 } 6661 } 6662 } 6663 return this_.MaybeComputeUnknownFieldsSize(total_size, 6664 &this_._impl_._cached_size_); 6665 } 6666 6667 void Schema::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 6668 auto* const _this = static_cast<Schema*>(&to_msg); 6669 auto& from = static_cast<const Schema&>(from_msg); 6670 ::google::protobuf::Arena* arena = _this->GetArena(); 6671 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6672 ABSL_DCHECK_NE(&from, _this); 6673 ::uint32_t cached_has_bits = 0; 6674 (void) cached_has_bits; 6675 6676 cached_has_bits = from._impl_._has_bits_[0]; 6677 if ((cached_has_bits & 0x0000001fu) != 0) { 6678 if ((cached_has_bits & 0x00000001u) != 0) { 6679 if (!from._internal_discriminator().empty()) { 6680 _this->_internal_set_discriminator(from._internal_discriminator()); 6681 } else { 6682 if (_this->_impl_.discriminator_.IsDefault()) { 6683 _this->_internal_set_discriminator(""); 6684 } 6685 } 6686 } 6687 if ((cached_has_bits & 0x00000002u) != 0) { 6688 if (!from._internal_example().empty()) { 6689 _this->_internal_set_example(from._internal_example()); 6690 } else { 6691 if (_this->_impl_.example_.IsDefault()) { 6692 _this->_internal_set_example(""); 6693 } 6694 } 6695 } 6696 if ((cached_has_bits & 0x00000004u) != 0) { 6697 ABSL_DCHECK(from._impl_.json_schema_ != nullptr); 6698 if (_this->_impl_.json_schema_ == nullptr) { 6699 _this->_impl_.json_schema_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.json_schema_); 6700 } else { 6701 _this->_impl_.json_schema_->MergeFrom(*from._impl_.json_schema_); 6702 } 6703 } 6704 if ((cached_has_bits & 0x00000008u) != 0) { 6705 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 6706 if (_this->_impl_.external_docs_ == nullptr) { 6707 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 6708 } else { 6709 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 6710 } 6711 } 6712 if ((cached_has_bits & 0x00000010u) != 0) { 6713 if (from._internal_read_only() != 0) { 6714 _this->_impl_.read_only_ = from._impl_.read_only_; 6715 } 6716 } 6717 } 6718 _this->_impl_._has_bits_[0] |= cached_has_bits; 6719 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 6720 } 6721 6722 void Schema::CopyFrom(const Schema& from) { 6723 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Schema) 6724 if (&from == this) return; 6725 Clear(); 6726 MergeFrom(from); 6727 } 6728 6729 6730 void Schema::InternalSwap(Schema* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 6731 using std::swap; 6732 auto* arena = GetArena(); 6733 ABSL_DCHECK_EQ(arena, other->GetArena()); 6734 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 6735 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 6736 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.discriminator_, &other->_impl_.discriminator_, arena); 6737 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.example_, &other->_impl_.example_, arena); 6738 ::google::protobuf::internal::memswap< 6739 PROTOBUF_FIELD_OFFSET(Schema, _impl_.read_only_) 6740 + sizeof(Schema::_impl_.read_only_) 6741 - PROTOBUF_FIELD_OFFSET(Schema, _impl_.json_schema_)>( 6742 reinterpret_cast<char*>(&_impl_.json_schema_), 6743 reinterpret_cast<char*>(&other->_impl_.json_schema_)); 6744 } 6745 6746 ::google::protobuf::Metadata Schema::GetMetadata() const { 6747 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 6748 } 6749 // =================================================================== 6750 6751 class JSONSchema_FieldConfiguration::_Internal { 6752 public: 6753 using HasBits = 6754 decltype(std::declval<JSONSchema_FieldConfiguration>()._impl_._has_bits_); 6755 static constexpr ::int32_t kHasBitsOffset = 6756 8 * PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_._has_bits_); 6757 }; 6758 6759 JSONSchema_FieldConfiguration::JSONSchema_FieldConfiguration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6760 #if defined(PROTOBUF_CUSTOM_VTABLE) 6761 : ::google::protobuf::Message(arena, JSONSchema_FieldConfiguration_class_data_.base()) { 6762 #else // PROTOBUF_CUSTOM_VTABLE 6763 : ::google::protobuf::Message(arena) { 6764 #endif // PROTOBUF_CUSTOM_VTABLE 6765 SharedCtor(arena); 6766 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6767 } 6768 PROTOBUF_NDEBUG_INLINE JSONSchema_FieldConfiguration::Impl_::Impl_( 6769 ::google::protobuf::internal::InternalVisibility visibility, 6770 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 6771 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration& from_msg) 6772 : _has_bits_{from._has_bits_}, 6773 _cached_size_{0}, 6774 path_param_name_(arena, from.path_param_name_) {} 6775 6776 JSONSchema_FieldConfiguration::JSONSchema_FieldConfiguration( 6777 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 6778 const JSONSchema_FieldConfiguration& from) 6779 #if defined(PROTOBUF_CUSTOM_VTABLE) 6780 : ::google::protobuf::Message(arena, JSONSchema_FieldConfiguration_class_data_.base()) { 6781 #else // PROTOBUF_CUSTOM_VTABLE 6782 : ::google::protobuf::Message(arena) { 6783 #endif // PROTOBUF_CUSTOM_VTABLE 6784 JSONSchema_FieldConfiguration* const _this = this; 6785 (void)_this; 6786 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 6787 from._internal_metadata_); 6788 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 6789 6790 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6791 } 6792 PROTOBUF_NDEBUG_INLINE JSONSchema_FieldConfiguration::Impl_::Impl_( 6793 ::google::protobuf::internal::InternalVisibility visibility, 6794 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 6795 : _cached_size_{0}, 6796 path_param_name_(arena) {} 6797 6798 inline void JSONSchema_FieldConfiguration::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 6799 new (&_impl_) Impl_(internal_visibility(), arena); 6800 } 6801 JSONSchema_FieldConfiguration::~JSONSchema_FieldConfiguration() { 6802 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6803 SharedDtor(*this); 6804 } 6805 inline void JSONSchema_FieldConfiguration::SharedDtor(MessageLite& self) { 6806 JSONSchema_FieldConfiguration& this_ = static_cast<JSONSchema_FieldConfiguration&>(self); 6807 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 6808 ABSL_DCHECK(this_.GetArena() == nullptr); 6809 this_._impl_.path_param_name_.Destroy(); 6810 this_._impl_.~Impl_(); 6811 } 6812 6813 inline void* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::PlacementNew_( 6814 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 6815 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 6816 return ::new (mem) JSONSchema_FieldConfiguration(arena); 6817 } 6818 constexpr auto JSONSchema_FieldConfiguration::InternalNewImpl_() { 6819 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JSONSchema_FieldConfiguration), 6820 alignof(JSONSchema_FieldConfiguration)); 6821 } 6822 constexpr auto JSONSchema_FieldConfiguration::InternalGenerateClassData_() { 6823 return ::google::protobuf::internal::ClassDataFull{ 6824 ::google::protobuf::internal::ClassData{ 6825 &_JSONSchema_FieldConfiguration_default_instance_._instance, 6826 &_table_.header, 6827 nullptr, // OnDemandRegisterArenaDtor 6828 nullptr, // IsInitialized 6829 &JSONSchema_FieldConfiguration::MergeImpl, 6830 ::google::protobuf::Message::GetNewImpl<JSONSchema_FieldConfiguration>(), 6831 #if defined(PROTOBUF_CUSTOM_VTABLE) 6832 &JSONSchema_FieldConfiguration::SharedDtor, 6833 ::google::protobuf::Message::GetClearImpl<JSONSchema_FieldConfiguration>(), &JSONSchema_FieldConfiguration::ByteSizeLong, 6834 &JSONSchema_FieldConfiguration::_InternalSerialize, 6835 #endif // PROTOBUF_CUSTOM_VTABLE 6836 PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_._cached_size_), 6837 false, 6838 }, 6839 &JSONSchema_FieldConfiguration::kDescriptorMethods, 6840 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 6841 nullptr, // tracker 6842 }; 6843 } 6844 6845 PROTOBUF_CONSTINIT AGONES_EXPORT 6846 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 6847 JSONSchema_FieldConfiguration_class_data_ = 6848 JSONSchema_FieldConfiguration::InternalGenerateClassData_(); 6849 6850 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::GetClassData() const { 6851 ::google::protobuf::internal::PrefetchToLocalCache(&JSONSchema_FieldConfiguration_class_data_); 6852 ::google::protobuf::internal::PrefetchToLocalCache(JSONSchema_FieldConfiguration_class_data_.tc_table); 6853 return JSONSchema_FieldConfiguration_class_data_.base(); 6854 } 6855 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 6856 const ::_pbi::TcParseTable<0, 1, 0, 95, 7> 6857 JSONSchema_FieldConfiguration::_table_ = { 6858 { 6859 PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_._has_bits_), 6860 0, // no _extensions_ 6861 47, 0, // max_field_number, fast_idx_mask 6862 offsetof(decltype(_table_), field_lookup_table), 6863 4294967295, // skipmap 6864 offsetof(decltype(_table_), field_entries), 6865 1, // num_field_entries 6866 0, // num_aux_entries 6867 offsetof(decltype(_table_), field_names), // no aux_entries 6868 JSONSchema_FieldConfiguration_class_data_.base(), 6869 nullptr, // post_loop_handler 6870 ::_pbi::TcParser::GenericFallback, // fallback 6871 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 6872 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration>(), // to_prefetch 6873 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 6874 }, {{ 6875 // string path_param_name = 47; 6876 {::_pbi::TcParser::FastUS2, 6877 {762, 0, 0, PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_.path_param_name_)}}, 6878 }}, {{ 6879 47, 0, 1, 6880 65534, 0, 6881 65535, 65535 6882 }}, {{ 6883 // string path_param_name = 47; 6884 {PROTOBUF_FIELD_OFFSET(JSONSchema_FieldConfiguration, _impl_.path_param_name_), _Internal::kHasBitsOffset + 0, 0, 6885 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 6886 }}, 6887 // no aux_entries 6888 {{ 6889 "\107\17\0\0\0\0\0\0" 6890 "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration" 6891 "path_param_name" 6892 }}, 6893 }; 6894 PROTOBUF_NOINLINE void JSONSchema_FieldConfiguration::Clear() { 6895 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6896 ::google::protobuf::internal::TSanWrite(&_impl_); 6897 ::uint32_t cached_has_bits = 0; 6898 // Prevent compiler warnings about cached_has_bits being unused 6899 (void) cached_has_bits; 6900 6901 cached_has_bits = _impl_._has_bits_[0]; 6902 if ((cached_has_bits & 0x00000001u) != 0) { 6903 _impl_.path_param_name_.ClearNonDefaultToEmpty(); 6904 } 6905 _impl_._has_bits_.Clear(); 6906 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 6907 } 6908 6909 #if defined(PROTOBUF_CUSTOM_VTABLE) 6910 ::uint8_t* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::_InternalSerialize( 6911 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 6912 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 6913 const JSONSchema_FieldConfiguration& this_ = static_cast<const JSONSchema_FieldConfiguration&>(base); 6914 #else // PROTOBUF_CUSTOM_VTABLE 6915 ::uint8_t* PROTOBUF_NONNULL JSONSchema_FieldConfiguration::_InternalSerialize( 6916 ::uint8_t* PROTOBUF_NONNULL target, 6917 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 6918 const JSONSchema_FieldConfiguration& this_ = *this; 6919 #endif // PROTOBUF_CUSTOM_VTABLE 6920 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6921 ::uint32_t cached_has_bits = 0; 6922 (void)cached_has_bits; 6923 6924 // string path_param_name = 47; 6925 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 6926 if (!this_._internal_path_param_name().empty()) { 6927 const std::string& _s = this_._internal_path_param_name(); 6928 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 6929 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.path_param_name"); 6930 target = stream->WriteStringMaybeAliased(47, _s, target); 6931 } 6932 } 6933 6934 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 6935 target = 6936 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 6937 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 6938 } 6939 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6940 return target; 6941 } 6942 6943 #if defined(PROTOBUF_CUSTOM_VTABLE) 6944 ::size_t JSONSchema_FieldConfiguration::ByteSizeLong(const MessageLite& base) { 6945 const JSONSchema_FieldConfiguration& this_ = static_cast<const JSONSchema_FieldConfiguration&>(base); 6946 #else // PROTOBUF_CUSTOM_VTABLE 6947 ::size_t JSONSchema_FieldConfiguration::ByteSizeLong() const { 6948 const JSONSchema_FieldConfiguration& this_ = *this; 6949 #endif // PROTOBUF_CUSTOM_VTABLE 6950 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6951 ::size_t total_size = 0; 6952 6953 ::uint32_t cached_has_bits = 0; 6954 // Prevent compiler warnings about cached_has_bits being unused 6955 (void)cached_has_bits; 6956 6957 { 6958 // string path_param_name = 47; 6959 cached_has_bits = this_._impl_._has_bits_[0]; 6960 if ((cached_has_bits & 0x00000001u) != 0) { 6961 if (!this_._internal_path_param_name().empty()) { 6962 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( 6963 this_._internal_path_param_name()); 6964 } 6965 } 6966 } 6967 return this_.MaybeComputeUnknownFieldsSize(total_size, 6968 &this_._impl_._cached_size_); 6969 } 6970 6971 void JSONSchema_FieldConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 6972 auto* const _this = static_cast<JSONSchema_FieldConfiguration*>(&to_msg); 6973 auto& from = static_cast<const JSONSchema_FieldConfiguration&>(from_msg); 6974 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6975 ABSL_DCHECK_NE(&from, _this); 6976 ::uint32_t cached_has_bits = 0; 6977 (void) cached_has_bits; 6978 6979 cached_has_bits = from._impl_._has_bits_[0]; 6980 if ((cached_has_bits & 0x00000001u) != 0) { 6981 if (!from._internal_path_param_name().empty()) { 6982 _this->_internal_set_path_param_name(from._internal_path_param_name()); 6983 } else { 6984 if (_this->_impl_.path_param_name_.IsDefault()) { 6985 _this->_internal_set_path_param_name(""); 6986 } 6987 } 6988 } 6989 _this->_impl_._has_bits_[0] |= cached_has_bits; 6990 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 6991 } 6992 6993 void JSONSchema_FieldConfiguration::CopyFrom(const JSONSchema_FieldConfiguration& from) { 6994 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration) 6995 if (&from == this) return; 6996 Clear(); 6997 MergeFrom(from); 6998 } 6999 7000 7001 void JSONSchema_FieldConfiguration::InternalSwap(JSONSchema_FieldConfiguration* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 7002 using std::swap; 7003 auto* arena = GetArena(); 7004 ABSL_DCHECK_EQ(arena, other->GetArena()); 7005 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 7006 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 7007 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_param_name_, &other->_impl_.path_param_name_, arena); 7008 } 7009 7010 ::google::protobuf::Metadata JSONSchema_FieldConfiguration::GetMetadata() const { 7011 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 7012 } 7013 // =================================================================== 7014 7015 #if defined(PROTOBUF_CUSTOM_VTABLE) 7016 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse() 7017 : SuperType(JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base()) {} 7018 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 7019 : SuperType(arena, JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base()) {} 7020 #else // PROTOBUF_CUSTOM_VTABLE 7021 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse() : SuperType() {} 7022 JSONSchema_ExtensionsEntry_DoNotUse::JSONSchema_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 7023 #endif // PROTOBUF_CUSTOM_VTABLE 7024 inline void* PROTOBUF_NONNULL JSONSchema_ExtensionsEntry_DoNotUse::PlacementNew_( 7025 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 7026 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 7027 return ::new (mem) JSONSchema_ExtensionsEntry_DoNotUse(arena); 7028 } 7029 constexpr auto JSONSchema_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 7030 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JSONSchema_ExtensionsEntry_DoNotUse), 7031 alignof(JSONSchema_ExtensionsEntry_DoNotUse)); 7032 } 7033 constexpr auto JSONSchema_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 7034 return ::google::protobuf::internal::ClassDataFull{ 7035 ::google::protobuf::internal::ClassData{ 7036 &_JSONSchema_ExtensionsEntry_DoNotUse_default_instance_._instance, 7037 &_table_.header, 7038 nullptr, // OnDemandRegisterArenaDtor 7039 nullptr, // IsInitialized 7040 &JSONSchema_ExtensionsEntry_DoNotUse::MergeImpl, 7041 ::google::protobuf::Message::GetNewImpl<JSONSchema_ExtensionsEntry_DoNotUse>(), 7042 #if defined(PROTOBUF_CUSTOM_VTABLE) 7043 &JSONSchema_ExtensionsEntry_DoNotUse::SharedDtor, 7044 static_cast<void (::google::protobuf::MessageLite::*)()>(&JSONSchema_ExtensionsEntry_DoNotUse::ClearImpl), 7045 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 7046 , 7047 #endif // PROTOBUF_CUSTOM_VTABLE 7048 PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 7049 false, 7050 }, 7051 &JSONSchema_ExtensionsEntry_DoNotUse::kDescriptorMethods, 7052 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 7053 nullptr, // tracker 7054 }; 7055 } 7056 7057 PROTOBUF_CONSTINIT AGONES_EXPORT 7058 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 7059 JSONSchema_ExtensionsEntry_DoNotUse_class_data_ = 7060 JSONSchema_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 7061 7062 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JSONSchema_ExtensionsEntry_DoNotUse::GetClassData() const { 7063 ::google::protobuf::internal::PrefetchToLocalCache(&JSONSchema_ExtensionsEntry_DoNotUse_class_data_); 7064 ::google::protobuf::internal::PrefetchToLocalCache(JSONSchema_ExtensionsEntry_DoNotUse_class_data_.tc_table); 7065 return JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base(); 7066 } 7067 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 7068 const ::_pbi::TcParseTable<1, 2, 1, 80, 2> 7069 JSONSchema_ExtensionsEntry_DoNotUse::_table_ = { 7070 { 7071 PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 7072 0, // no _extensions_ 7073 2, 8, // max_field_number, fast_idx_mask 7074 offsetof(decltype(_table_), field_lookup_table), 7075 4294967292, // skipmap 7076 offsetof(decltype(_table_), field_entries), 7077 2, // num_field_entries 7078 1, // num_aux_entries 7079 offsetof(decltype(_table_), aux_entries), 7080 JSONSchema_ExtensionsEntry_DoNotUse_class_data_.base(), 7081 nullptr, // post_loop_handler 7082 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 7083 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 7084 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_ExtensionsEntry_DoNotUse>(), // to_prefetch 7085 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 7086 }, {{ 7087 // .google.protobuf.Value value = 2; 7088 {::_pbi::TcParser::FastMtS1, 7089 {18, 1, 0, PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 7090 // string key = 1; 7091 {::_pbi::TcParser::FastUS1, 7092 {10, 0, 0, PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 7093 }}, {{ 7094 65535, 65535 7095 }}, {{ 7096 // string key = 1; 7097 {PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 7098 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7099 // .google.protobuf.Value value = 2; 7100 {PROTOBUF_FIELD_OFFSET(JSONSchema_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 7101 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 7102 }}, 7103 {{ 7104 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 7105 }}, 7106 {{ 7107 "\104\3\0\0\0\0\0\0" 7108 "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry" 7109 "key" 7110 }}, 7111 }; 7112 // =================================================================== 7113 7114 class JSONSchema::_Internal { 7115 public: 7116 using HasBits = 7117 decltype(std::declval<JSONSchema>()._impl_._has_bits_); 7118 static constexpr ::int32_t kHasBitsOffset = 7119 8 * PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_._has_bits_); 7120 }; 7121 7122 void JSONSchema::clear_extensions() { 7123 ::google::protobuf::internal::TSanWrite(&_impl_); 7124 _impl_.extensions_.Clear(); 7125 } 7126 JSONSchema::JSONSchema(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 7127 #if defined(PROTOBUF_CUSTOM_VTABLE) 7128 : ::google::protobuf::Message(arena, JSONSchema_class_data_.base()) { 7129 #else // PROTOBUF_CUSTOM_VTABLE 7130 : ::google::protobuf::Message(arena) { 7131 #endif // PROTOBUF_CUSTOM_VTABLE 7132 SharedCtor(arena); 7133 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7134 } 7135 PROTOBUF_NDEBUG_INLINE JSONSchema::Impl_::Impl_( 7136 ::google::protobuf::internal::InternalVisibility visibility, 7137 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 7138 const ::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema& from_msg) 7139 : _has_bits_{from._has_bits_}, 7140 _cached_size_{0}, 7141 required_{visibility, arena, from.required_}, 7142 array_{visibility, arena, from.array_}, 7143 type_{visibility, arena, from.type_}, 7144 _type_cached_byte_size_{0}, 7145 enum__{visibility, arena, from.enum__}, 7146 extensions_{visibility, arena, from.extensions_}, 7147 ref_(arena, from.ref_), 7148 title_(arena, from.title_), 7149 description_(arena, from.description_), 7150 default__(arena, from.default__), 7151 example_(arena, from.example_), 7152 pattern_(arena, from.pattern_), 7153 format_(arena, from.format_) {} 7154 7155 JSONSchema::JSONSchema( 7156 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 7157 const JSONSchema& from) 7158 #if defined(PROTOBUF_CUSTOM_VTABLE) 7159 : ::google::protobuf::Message(arena, JSONSchema_class_data_.base()) { 7160 #else // PROTOBUF_CUSTOM_VTABLE 7161 : ::google::protobuf::Message(arena) { 7162 #endif // PROTOBUF_CUSTOM_VTABLE 7163 JSONSchema* const _this = this; 7164 (void)_this; 7165 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 7166 from._internal_metadata_); 7167 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 7168 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 7169 _impl_.field_configuration_ = ((cached_has_bits & 0x00000080u) != 0) 7170 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.field_configuration_) 7171 : nullptr; 7172 ::memcpy(reinterpret_cast<char *>(&_impl_) + 7173 offsetof(Impl_, multiple_of_), 7174 reinterpret_cast<const char *>(&from._impl_) + 7175 offsetof(Impl_, multiple_of_), 7176 offsetof(Impl_, unique_items_) - 7177 offsetof(Impl_, multiple_of_) + 7178 sizeof(Impl_::unique_items_)); 7179 7180 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7181 } 7182 PROTOBUF_NDEBUG_INLINE JSONSchema::Impl_::Impl_( 7183 ::google::protobuf::internal::InternalVisibility visibility, 7184 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 7185 : _cached_size_{0}, 7186 required_{visibility, arena}, 7187 array_{visibility, arena}, 7188 type_{visibility, arena}, 7189 _type_cached_byte_size_{0}, 7190 enum__{visibility, arena}, 7191 extensions_{visibility, arena}, 7192 ref_(arena), 7193 title_(arena), 7194 description_(arena), 7195 default__(arena), 7196 example_(arena), 7197 pattern_(arena), 7198 format_(arena) {} 7199 7200 inline void JSONSchema::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 7201 new (&_impl_) Impl_(internal_visibility(), arena); 7202 ::memset(reinterpret_cast<char *>(&_impl_) + 7203 offsetof(Impl_, field_configuration_), 7204 0, 7205 offsetof(Impl_, unique_items_) - 7206 offsetof(Impl_, field_configuration_) + 7207 sizeof(Impl_::unique_items_)); 7208 } 7209 JSONSchema::~JSONSchema() { 7210 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7211 SharedDtor(*this); 7212 } 7213 inline void JSONSchema::SharedDtor(MessageLite& self) { 7214 JSONSchema& this_ = static_cast<JSONSchema&>(self); 7215 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 7216 ABSL_DCHECK(this_.GetArena() == nullptr); 7217 this_._impl_.ref_.Destroy(); 7218 this_._impl_.title_.Destroy(); 7219 this_._impl_.description_.Destroy(); 7220 this_._impl_.default__.Destroy(); 7221 this_._impl_.example_.Destroy(); 7222 this_._impl_.pattern_.Destroy(); 7223 this_._impl_.format_.Destroy(); 7224 delete this_._impl_.field_configuration_; 7225 this_._impl_.~Impl_(); 7226 } 7227 7228 inline void* PROTOBUF_NONNULL JSONSchema::PlacementNew_( 7229 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 7230 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 7231 return ::new (mem) JSONSchema(arena); 7232 } 7233 constexpr auto JSONSchema::InternalNewImpl_() { 7234 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 7235 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.required_) + 7236 decltype(JSONSchema::_impl_.required_):: 7237 InternalGetArenaOffset( 7238 ::google::protobuf::Message::internal_visibility()), 7239 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.array_) + 7240 decltype(JSONSchema::_impl_.array_):: 7241 InternalGetArenaOffset( 7242 ::google::protobuf::Message::internal_visibility()), 7243 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.type_) + 7244 decltype(JSONSchema::_impl_.type_):: 7245 InternalGetArenaOffset( 7246 ::google::protobuf::Message::internal_visibility()), 7247 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.enum__) + 7248 decltype(JSONSchema::_impl_.enum__):: 7249 InternalGetArenaOffset( 7250 ::google::protobuf::Message::internal_visibility()), 7251 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.extensions_) + 7252 decltype(JSONSchema::_impl_.extensions_):: 7253 InternalGetArenaOffset( 7254 ::google::protobuf::Message::internal_visibility()), 7255 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.extensions_) + 7256 decltype(JSONSchema::_impl_.extensions_):: 7257 InternalGetArenaOffsetAlt( 7258 ::google::protobuf::Message::internal_visibility()), 7259 }); 7260 if (arena_bits.has_value()) { 7261 return ::google::protobuf::internal::MessageCreator::CopyInit( 7262 sizeof(JSONSchema), alignof(JSONSchema), *arena_bits); 7263 } else { 7264 return ::google::protobuf::internal::MessageCreator(&JSONSchema::PlacementNew_, 7265 sizeof(JSONSchema), 7266 alignof(JSONSchema)); 7267 } 7268 } 7269 constexpr auto JSONSchema::InternalGenerateClassData_() { 7270 return ::google::protobuf::internal::ClassDataFull{ 7271 ::google::protobuf::internal::ClassData{ 7272 &_JSONSchema_default_instance_._instance, 7273 &_table_.header, 7274 nullptr, // OnDemandRegisterArenaDtor 7275 nullptr, // IsInitialized 7276 &JSONSchema::MergeImpl, 7277 ::google::protobuf::Message::GetNewImpl<JSONSchema>(), 7278 #if defined(PROTOBUF_CUSTOM_VTABLE) 7279 &JSONSchema::SharedDtor, 7280 ::google::protobuf::Message::GetClearImpl<JSONSchema>(), &JSONSchema::ByteSizeLong, 7281 &JSONSchema::_InternalSerialize, 7282 #endif // PROTOBUF_CUSTOM_VTABLE 7283 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_._cached_size_), 7284 false, 7285 }, 7286 &JSONSchema::kDescriptorMethods, 7287 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 7288 nullptr, // tracker 7289 }; 7290 } 7291 7292 PROTOBUF_CONSTINIT AGONES_EXPORT 7293 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 7294 JSONSchema_class_data_ = 7295 JSONSchema::InternalGenerateClassData_(); 7296 7297 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL JSONSchema::GetClassData() const { 7298 ::google::protobuf::internal::PrefetchToLocalCache(&JSONSchema_class_data_); 7299 ::google::protobuf::internal::PrefetchToLocalCache(JSONSchema_class_data_.tc_table); 7300 return JSONSchema_class_data_.base(); 7301 } 7302 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 7303 const ::_pbi::TcParseTable<5, 26, 3, 158, 12> 7304 JSONSchema::_table_ = { 7305 { 7306 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_._has_bits_), 7307 0, // no _extensions_ 7308 1001, 248, // max_field_number, fast_idx_mask 7309 offsetof(decltype(_table_), field_lookup_table), 7310 4232445963, // skipmap 7311 offsetof(decltype(_table_), field_entries), 7312 26, // num_field_entries 7313 3, // num_aux_entries 7314 offsetof(decltype(_table_), aux_entries), 7315 JSONSchema_class_data_.base(), 7316 nullptr, // post_loop_handler 7317 ::_pbi::TcParser::GenericFallback, // fallback 7318 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 7319 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema>(), // to_prefetch 7320 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 7321 }, {{ 7322 {::_pbi::TcParser::MiniParse, {}}, 7323 {::_pbi::TcParser::MiniParse, {}}, 7324 {::_pbi::TcParser::MiniParse, {}}, 7325 // string ref = 3; 7326 {::_pbi::TcParser::FastUS1, 7327 {26, 0, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.ref_)}}, 7328 {::_pbi::TcParser::MiniParse, {}}, 7329 // string title = 5; 7330 {::_pbi::TcParser::FastUS1, 7331 {42, 1, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.title_)}}, 7332 // string description = 6; 7333 {::_pbi::TcParser::FastUS1, 7334 {50, 2, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.description_)}}, 7335 // string default = 7; 7336 {::_pbi::TcParser::FastUS1, 7337 {58, 3, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.default__)}}, 7338 // bool read_only = 8; 7339 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JSONSchema, _impl_.read_only_), 17>(), 7340 {64, 17, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.read_only_)}}, 7341 // string example = 9; 7342 {::_pbi::TcParser::FastUS1, 7343 {74, 4, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.example_)}}, 7344 // double multiple_of = 10; 7345 {::_pbi::TcParser::FastF64S1, 7346 {81, 8, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.multiple_of_)}}, 7347 // double maximum = 11; 7348 {::_pbi::TcParser::FastF64S1, 7349 {89, 9, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.maximum_)}}, 7350 // bool exclusive_maximum = 12; 7351 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JSONSchema, _impl_.exclusive_maximum_), 18>(), 7352 {96, 18, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_maximum_)}}, 7353 // double minimum = 13; 7354 {::_pbi::TcParser::FastF64S1, 7355 {105, 10, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.minimum_)}}, 7356 // bool exclusive_minimum = 14; 7357 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JSONSchema, _impl_.exclusive_minimum_), 19>(), 7358 {112, 19, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_minimum_)}}, 7359 // uint64 max_length = 15; 7360 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JSONSchema, _impl_.max_length_), 11>(), 7361 {120, 11, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_length_)}}, 7362 // uint64 min_length = 16; 7363 {::_pbi::TcParser::FastV64S2, 7364 {384, 12, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_length_)}}, 7365 // string pattern = 17; 7366 {::_pbi::TcParser::FastUS2, 7367 {394, 5, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.pattern_)}}, 7368 // repeated string array = 34; 7369 {::_pbi::TcParser::FastUR2, 7370 {658, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.array_)}}, 7371 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7372 {::_pbi::TcParser::FastV32P2, 7373 {666, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.type_)}}, 7374 // uint64 max_items = 20; 7375 {::_pbi::TcParser::FastV64S2, 7376 {416, 13, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_items_)}}, 7377 // uint64 min_items = 21; 7378 {::_pbi::TcParser::FastV64S2, 7379 {424, 14, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_items_)}}, 7380 // bool unique_items = 22; 7381 {::_pbi::TcParser::FastV8S2, 7382 {432, 20, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.unique_items_)}}, 7383 {::_pbi::TcParser::MiniParse, {}}, 7384 // uint64 max_properties = 24; 7385 {::_pbi::TcParser::FastV64S2, 7386 {448, 15, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_properties_)}}, 7387 // uint64 min_properties = 25; 7388 {::_pbi::TcParser::FastV64S2, 7389 {456, 16, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_properties_)}}, 7390 // repeated string required = 26; 7391 {::_pbi::TcParser::FastUR2, 7392 {466, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.required_)}}, 7393 {::_pbi::TcParser::MiniParse, {}}, 7394 {::_pbi::TcParser::MiniParse, {}}, 7395 {::_pbi::TcParser::MiniParse, {}}, 7396 // repeated string enum = 46; 7397 {::_pbi::TcParser::FastUR2, 7398 {754, 63, 0, PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.enum__)}}, 7399 {::_pbi::TcParser::MiniParse, {}}, 7400 }}, {{ 7401 34, 0, 1, 7402 45048, 20, 7403 1001, 0, 1, 7404 65534, 25, 7405 65535, 65535 7406 }}, {{ 7407 // string ref = 3; 7408 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.ref_), _Internal::kHasBitsOffset + 0, 0, 7409 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7410 // string title = 5; 7411 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, 7412 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7413 // string description = 6; 7414 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.description_), _Internal::kHasBitsOffset + 2, 0, 7415 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7416 // string default = 7; 7417 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.default__), _Internal::kHasBitsOffset + 3, 0, 7418 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7419 // bool read_only = 8; 7420 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.read_only_), _Internal::kHasBitsOffset + 17, 0, 7421 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7422 // string example = 9; 7423 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.example_), _Internal::kHasBitsOffset + 4, 0, 7424 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7425 // double multiple_of = 10; 7426 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.multiple_of_), _Internal::kHasBitsOffset + 8, 0, 7427 (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, 7428 // double maximum = 11; 7429 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.maximum_), _Internal::kHasBitsOffset + 9, 0, 7430 (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, 7431 // bool exclusive_maximum = 12; 7432 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_maximum_), _Internal::kHasBitsOffset + 18, 0, 7433 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7434 // double minimum = 13; 7435 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.minimum_), _Internal::kHasBitsOffset + 10, 0, 7436 (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, 7437 // bool exclusive_minimum = 14; 7438 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.exclusive_minimum_), _Internal::kHasBitsOffset + 19, 0, 7439 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7440 // uint64 max_length = 15; 7441 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_length_), _Internal::kHasBitsOffset + 11, 0, 7442 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7443 // uint64 min_length = 16; 7444 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_length_), _Internal::kHasBitsOffset + 12, 0, 7445 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7446 // string pattern = 17; 7447 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.pattern_), _Internal::kHasBitsOffset + 5, 0, 7448 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7449 // uint64 max_items = 20; 7450 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_items_), _Internal::kHasBitsOffset + 13, 0, 7451 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7452 // uint64 min_items = 21; 7453 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_items_), _Internal::kHasBitsOffset + 14, 0, 7454 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7455 // bool unique_items = 22; 7456 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.unique_items_), _Internal::kHasBitsOffset + 20, 0, 7457 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 7458 // uint64 max_properties = 24; 7459 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.max_properties_), _Internal::kHasBitsOffset + 15, 0, 7460 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7461 // uint64 min_properties = 25; 7462 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.min_properties_), _Internal::kHasBitsOffset + 16, 0, 7463 (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, 7464 // repeated string required = 26; 7465 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.required_), -1, 0, 7466 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 7467 // repeated string array = 34; 7468 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.array_), -1, 0, 7469 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 7470 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7471 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.type_), -1, 0, 7472 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)}, 7473 // string format = 36; 7474 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.format_), _Internal::kHasBitsOffset + 6, 0, 7475 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 7476 // repeated string enum = 46; 7477 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.enum__), -1, 0, 7478 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 7479 // map<string, .google.protobuf.Value> extensions = 48; 7480 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.extensions_), -1, 1, 7481 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 7482 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 7483 {PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.field_configuration_), _Internal::kHasBitsOffset + 7, 0, 7484 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 7485 }}, 7486 {{ 7487 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::JSONSchema_FieldConfiguration>()}, 7488 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 7489 9, 11, 7490 0)}, 7491 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 7492 }}, 7493 {{ 7494 "\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" 7495 "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema" 7496 "ref" 7497 "title" 7498 "description" 7499 "default" 7500 "example" 7501 "pattern" 7502 "required" 7503 "array" 7504 "format" 7505 "enum" 7506 "extensions" 7507 }}, 7508 }; 7509 PROTOBUF_NOINLINE void JSONSchema::Clear() { 7510 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7511 ::google::protobuf::internal::TSanWrite(&_impl_); 7512 ::uint32_t cached_has_bits = 0; 7513 // Prevent compiler warnings about cached_has_bits being unused 7514 (void) cached_has_bits; 7515 7516 _impl_.required_.Clear(); 7517 _impl_.array_.Clear(); 7518 _impl_.type_.Clear(); 7519 _impl_.enum__.Clear(); 7520 _impl_.extensions_.Clear(); 7521 cached_has_bits = _impl_._has_bits_[0]; 7522 if ((cached_has_bits & 0x000000ffu) != 0) { 7523 if ((cached_has_bits & 0x00000001u) != 0) { 7524 _impl_.ref_.ClearNonDefaultToEmpty(); 7525 } 7526 if ((cached_has_bits & 0x00000002u) != 0) { 7527 _impl_.title_.ClearNonDefaultToEmpty(); 7528 } 7529 if ((cached_has_bits & 0x00000004u) != 0) { 7530 _impl_.description_.ClearNonDefaultToEmpty(); 7531 } 7532 if ((cached_has_bits & 0x00000008u) != 0) { 7533 _impl_.default__.ClearNonDefaultToEmpty(); 7534 } 7535 if ((cached_has_bits & 0x00000010u) != 0) { 7536 _impl_.example_.ClearNonDefaultToEmpty(); 7537 } 7538 if ((cached_has_bits & 0x00000020u) != 0) { 7539 _impl_.pattern_.ClearNonDefaultToEmpty(); 7540 } 7541 if ((cached_has_bits & 0x00000040u) != 0) { 7542 _impl_.format_.ClearNonDefaultToEmpty(); 7543 } 7544 if ((cached_has_bits & 0x00000080u) != 0) { 7545 ABSL_DCHECK(_impl_.field_configuration_ != nullptr); 7546 _impl_.field_configuration_->Clear(); 7547 } 7548 } 7549 if ((cached_has_bits & 0x0000ff00u) != 0) { 7550 ::memset(&_impl_.multiple_of_, 0, static_cast<::size_t>( 7551 reinterpret_cast<char*>(&_impl_.max_properties_) - 7552 reinterpret_cast<char*>(&_impl_.multiple_of_)) + sizeof(_impl_.max_properties_)); 7553 } 7554 if ((cached_has_bits & 0x001f0000u) != 0) { 7555 ::memset(&_impl_.min_properties_, 0, static_cast<::size_t>( 7556 reinterpret_cast<char*>(&_impl_.unique_items_) - 7557 reinterpret_cast<char*>(&_impl_.min_properties_)) + sizeof(_impl_.unique_items_)); 7558 } 7559 _impl_._has_bits_.Clear(); 7560 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 7561 } 7562 7563 #if defined(PROTOBUF_CUSTOM_VTABLE) 7564 ::uint8_t* PROTOBUF_NONNULL JSONSchema::_InternalSerialize( 7565 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 7566 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 7567 const JSONSchema& this_ = static_cast<const JSONSchema&>(base); 7568 #else // PROTOBUF_CUSTOM_VTABLE 7569 ::uint8_t* PROTOBUF_NONNULL JSONSchema::_InternalSerialize( 7570 ::uint8_t* PROTOBUF_NONNULL target, 7571 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 7572 const JSONSchema& this_ = *this; 7573 #endif // PROTOBUF_CUSTOM_VTABLE 7574 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7575 ::uint32_t cached_has_bits = 0; 7576 (void)cached_has_bits; 7577 7578 // string ref = 3; 7579 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 7580 if (!this_._internal_ref().empty()) { 7581 const std::string& _s = this_._internal_ref(); 7582 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7583 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ref"); 7584 target = stream->WriteStringMaybeAliased(3, _s, target); 7585 } 7586 } 7587 7588 // string title = 5; 7589 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 7590 if (!this_._internal_title().empty()) { 7591 const std::string& _s = this_._internal_title(); 7592 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7593 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.title"); 7594 target = stream->WriteStringMaybeAliased(5, _s, target); 7595 } 7596 } 7597 7598 // string description = 6; 7599 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 7600 if (!this_._internal_description().empty()) { 7601 const std::string& _s = this_._internal_description(); 7602 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7603 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.description"); 7604 target = stream->WriteStringMaybeAliased(6, _s, target); 7605 } 7606 } 7607 7608 // string default = 7; 7609 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 7610 if (!this_._internal_default_().empty()) { 7611 const std::string& _s = this_._internal_default_(); 7612 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7613 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.default"); 7614 target = stream->WriteStringMaybeAliased(7, _s, target); 7615 } 7616 } 7617 7618 // bool read_only = 8; 7619 if ((this_._impl_._has_bits_[0] & 0x00020000u) != 0) { 7620 if (this_._internal_read_only() != 0) { 7621 target = stream->EnsureSpace(target); 7622 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7623 8, this_._internal_read_only(), target); 7624 } 7625 } 7626 7627 // string example = 9; 7628 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { 7629 if (!this_._internal_example().empty()) { 7630 const std::string& _s = this_._internal_example(); 7631 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7632 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.example"); 7633 target = stream->WriteStringMaybeAliased(9, _s, target); 7634 } 7635 } 7636 7637 // double multiple_of = 10; 7638 if ((this_._impl_._has_bits_[0] & 0x00000100u) != 0) { 7639 if (::absl::bit_cast<::uint64_t>(this_._internal_multiple_of()) != 0) { 7640 target = stream->EnsureSpace(target); 7641 target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7642 10, this_._internal_multiple_of(), target); 7643 } 7644 } 7645 7646 // double maximum = 11; 7647 if ((this_._impl_._has_bits_[0] & 0x00000200u) != 0) { 7648 if (::absl::bit_cast<::uint64_t>(this_._internal_maximum()) != 0) { 7649 target = stream->EnsureSpace(target); 7650 target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7651 11, this_._internal_maximum(), target); 7652 } 7653 } 7654 7655 // bool exclusive_maximum = 12; 7656 if ((this_._impl_._has_bits_[0] & 0x00040000u) != 0) { 7657 if (this_._internal_exclusive_maximum() != 0) { 7658 target = stream->EnsureSpace(target); 7659 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7660 12, this_._internal_exclusive_maximum(), target); 7661 } 7662 } 7663 7664 // double minimum = 13; 7665 if ((this_._impl_._has_bits_[0] & 0x00000400u) != 0) { 7666 if (::absl::bit_cast<::uint64_t>(this_._internal_minimum()) != 0) { 7667 target = stream->EnsureSpace(target); 7668 target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7669 13, this_._internal_minimum(), target); 7670 } 7671 } 7672 7673 // bool exclusive_minimum = 14; 7674 if ((this_._impl_._has_bits_[0] & 0x00080000u) != 0) { 7675 if (this_._internal_exclusive_minimum() != 0) { 7676 target = stream->EnsureSpace(target); 7677 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7678 14, this_._internal_exclusive_minimum(), target); 7679 } 7680 } 7681 7682 // uint64 max_length = 15; 7683 if ((this_._impl_._has_bits_[0] & 0x00000800u) != 0) { 7684 if (this_._internal_max_length() != 0) { 7685 target = stream->EnsureSpace(target); 7686 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7687 15, this_._internal_max_length(), target); 7688 } 7689 } 7690 7691 // uint64 min_length = 16; 7692 if ((this_._impl_._has_bits_[0] & 0x00001000u) != 0) { 7693 if (this_._internal_min_length() != 0) { 7694 target = stream->EnsureSpace(target); 7695 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7696 16, this_._internal_min_length(), target); 7697 } 7698 } 7699 7700 // string pattern = 17; 7701 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { 7702 if (!this_._internal_pattern().empty()) { 7703 const std::string& _s = this_._internal_pattern(); 7704 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7705 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.pattern"); 7706 target = stream->WriteStringMaybeAliased(17, _s, target); 7707 } 7708 } 7709 7710 // uint64 max_items = 20; 7711 if ((this_._impl_._has_bits_[0] & 0x00002000u) != 0) { 7712 if (this_._internal_max_items() != 0) { 7713 target = stream->EnsureSpace(target); 7714 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7715 20, this_._internal_max_items(), target); 7716 } 7717 } 7718 7719 // uint64 min_items = 21; 7720 if ((this_._impl_._has_bits_[0] & 0x00004000u) != 0) { 7721 if (this_._internal_min_items() != 0) { 7722 target = stream->EnsureSpace(target); 7723 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7724 21, this_._internal_min_items(), target); 7725 } 7726 } 7727 7728 // bool unique_items = 22; 7729 if ((this_._impl_._has_bits_[0] & 0x00100000u) != 0) { 7730 if (this_._internal_unique_items() != 0) { 7731 target = stream->EnsureSpace(target); 7732 target = ::_pbi::WireFormatLite::WriteBoolToArray( 7733 22, this_._internal_unique_items(), target); 7734 } 7735 } 7736 7737 // uint64 max_properties = 24; 7738 if ((this_._impl_._has_bits_[0] & 0x00008000u) != 0) { 7739 if (this_._internal_max_properties() != 0) { 7740 target = stream->EnsureSpace(target); 7741 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7742 24, this_._internal_max_properties(), target); 7743 } 7744 } 7745 7746 // uint64 min_properties = 25; 7747 if ((this_._impl_._has_bits_[0] & 0x00010000u) != 0) { 7748 if (this_._internal_min_properties() != 0) { 7749 target = stream->EnsureSpace(target); 7750 target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7751 25, this_._internal_min_properties(), target); 7752 } 7753 } 7754 7755 // repeated string required = 26; 7756 for (int i = 0, n = this_._internal_required_size(); i < n; ++i) { 7757 const auto& s = this_._internal_required().Get(i); 7758 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7759 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.required"); 7760 target = stream->WriteString(26, s, target); 7761 } 7762 7763 // repeated string array = 34; 7764 for (int i = 0, n = this_._internal_array_size(); i < n; ++i) { 7765 const auto& s = this_._internal_array().Get(i); 7766 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7767 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.array"); 7768 target = stream->WriteString(34, s, target); 7769 } 7770 7771 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7772 { 7773 std::size_t byte_size = 7774 this_._impl_._type_cached_byte_size_.Get(); 7775 if (byte_size > 0) { 7776 target = stream->WriteEnumPacked( 7777 35, this_._internal_type(), byte_size, target); 7778 } 7779 } 7780 7781 // string format = 36; 7782 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) { 7783 if (!this_._internal_format().empty()) { 7784 const std::string& _s = this_._internal_format(); 7785 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7786 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.format"); 7787 target = stream->WriteStringMaybeAliased(36, _s, target); 7788 } 7789 } 7790 7791 // repeated string enum = 46; 7792 for (int i = 0, n = this_._internal_enum__size(); i < n; ++i) { 7793 const auto& s = this_._internal_enum_().Get(i); 7794 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7795 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.enum"); 7796 target = stream->WriteString(46, s, target); 7797 } 7798 7799 // map<string, .google.protobuf.Value> extensions = 48; 7800 if (!this_._internal_extensions().empty()) { 7801 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 7802 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 7803 _pbi::WireFormatLite::TYPE_STRING, 7804 _pbi::WireFormatLite::TYPE_MESSAGE>; 7805 const auto& field = this_._internal_extensions(); 7806 7807 if (stream->IsSerializationDeterministic() && field.size() > 1) { 7808 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 7809 target = WireHelper::InternalSerialize( 7810 48, entry.first, entry.second, target, stream); 7811 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7812 entry.first.data(), static_cast<int>(entry.first.length()), 7813 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions"); 7814 } 7815 } else { 7816 for (const auto& entry : field) { 7817 target = WireHelper::InternalSerialize( 7818 48, entry.first, entry.second, target, stream); 7819 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 7820 entry.first.data(), static_cast<int>(entry.first.length()), 7821 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.extensions"); 7822 } 7823 } 7824 } 7825 7826 cached_has_bits = this_._impl_._has_bits_[0]; 7827 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 7828 if ((cached_has_bits & 0x00000080u) != 0) { 7829 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 7830 1001, *this_._impl_.field_configuration_, this_._impl_.field_configuration_->GetCachedSize(), target, 7831 stream); 7832 } 7833 7834 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 7835 target = 7836 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 7837 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 7838 } 7839 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7840 return target; 7841 } 7842 7843 #if defined(PROTOBUF_CUSTOM_VTABLE) 7844 ::size_t JSONSchema::ByteSizeLong(const MessageLite& base) { 7845 const JSONSchema& this_ = static_cast<const JSONSchema&>(base); 7846 #else // PROTOBUF_CUSTOM_VTABLE 7847 ::size_t JSONSchema::ByteSizeLong() const { 7848 const JSONSchema& this_ = *this; 7849 #endif // PROTOBUF_CUSTOM_VTABLE 7850 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 7851 ::size_t total_size = 0; 7852 7853 ::uint32_t cached_has_bits = 0; 7854 // Prevent compiler warnings about cached_has_bits being unused 7855 (void)cached_has_bits; 7856 7857 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 7858 { 7859 // repeated string required = 26; 7860 { 7861 total_size += 7862 2 * ::google::protobuf::internal::FromIntSize(this_._internal_required().size()); 7863 for (int i = 0, n = this_._internal_required().size(); i < n; ++i) { 7864 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 7865 this_._internal_required().Get(i)); 7866 } 7867 } 7868 // repeated string array = 34; 7869 { 7870 total_size += 7871 2 * ::google::protobuf::internal::FromIntSize(this_._internal_array().size()); 7872 for (int i = 0, n = this_._internal_array().size(); i < n; ++i) { 7873 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 7874 this_._internal_array().Get(i)); 7875 } 7876 } 7877 // repeated .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes type = 35; 7878 { 7879 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize( 7880 this_._internal_type(), 2, this_._impl_._type_cached_byte_size_); 7881 } 7882 // repeated string enum = 46; 7883 { 7884 total_size += 7885 2 * ::google::protobuf::internal::FromIntSize(this_._internal_enum_().size()); 7886 for (int i = 0, n = this_._internal_enum_().size(); i < n; ++i) { 7887 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 7888 this_._internal_enum_().Get(i)); 7889 } 7890 } 7891 // map<string, .google.protobuf.Value> extensions = 48; 7892 { 7893 total_size += 7894 2 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 7895 for (const auto& entry : this_._internal_extensions()) { 7896 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 7897 _pbi::WireFormatLite::TYPE_STRING, 7898 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 7899 } 7900 } 7901 } 7902 cached_has_bits = this_._impl_._has_bits_[0]; 7903 if ((cached_has_bits & 0x000000ffu) != 0) { 7904 // string ref = 3; 7905 if ((cached_has_bits & 0x00000001u) != 0) { 7906 if (!this_._internal_ref().empty()) { 7907 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7908 this_._internal_ref()); 7909 } 7910 } 7911 // string title = 5; 7912 if ((cached_has_bits & 0x00000002u) != 0) { 7913 if (!this_._internal_title().empty()) { 7914 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7915 this_._internal_title()); 7916 } 7917 } 7918 // string description = 6; 7919 if ((cached_has_bits & 0x00000004u) != 0) { 7920 if (!this_._internal_description().empty()) { 7921 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7922 this_._internal_description()); 7923 } 7924 } 7925 // string default = 7; 7926 if ((cached_has_bits & 0x00000008u) != 0) { 7927 if (!this_._internal_default_().empty()) { 7928 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7929 this_._internal_default_()); 7930 } 7931 } 7932 // string example = 9; 7933 if ((cached_has_bits & 0x00000010u) != 0) { 7934 if (!this_._internal_example().empty()) { 7935 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 7936 this_._internal_example()); 7937 } 7938 } 7939 // string pattern = 17; 7940 if ((cached_has_bits & 0x00000020u) != 0) { 7941 if (!this_._internal_pattern().empty()) { 7942 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( 7943 this_._internal_pattern()); 7944 } 7945 } 7946 // string format = 36; 7947 if ((cached_has_bits & 0x00000040u) != 0) { 7948 if (!this_._internal_format().empty()) { 7949 total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( 7950 this_._internal_format()); 7951 } 7952 } 7953 // .grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration field_configuration = 1001; 7954 if ((cached_has_bits & 0x00000080u) != 0) { 7955 total_size += 2 + 7956 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.field_configuration_); 7957 } 7958 } 7959 if ((cached_has_bits & 0x0000ff00u) != 0) { 7960 // double multiple_of = 10; 7961 if ((cached_has_bits & 0x00000100u) != 0) { 7962 if (::absl::bit_cast<::uint64_t>(this_._internal_multiple_of()) != 0) { 7963 total_size += 9; 7964 } 7965 } 7966 // double maximum = 11; 7967 if ((cached_has_bits & 0x00000200u) != 0) { 7968 if (::absl::bit_cast<::uint64_t>(this_._internal_maximum()) != 0) { 7969 total_size += 9; 7970 } 7971 } 7972 // double minimum = 13; 7973 if ((cached_has_bits & 0x00000400u) != 0) { 7974 if (::absl::bit_cast<::uint64_t>(this_._internal_minimum()) != 0) { 7975 total_size += 9; 7976 } 7977 } 7978 // uint64 max_length = 15; 7979 if ((cached_has_bits & 0x00000800u) != 0) { 7980 if (this_._internal_max_length() != 0) { 7981 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( 7982 this_._internal_max_length()); 7983 } 7984 } 7985 // uint64 min_length = 16; 7986 if ((cached_has_bits & 0x00001000u) != 0) { 7987 if (this_._internal_min_length() != 0) { 7988 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7989 this_._internal_min_length()); 7990 } 7991 } 7992 // uint64 max_items = 20; 7993 if ((cached_has_bits & 0x00002000u) != 0) { 7994 if (this_._internal_max_items() != 0) { 7995 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 7996 this_._internal_max_items()); 7997 } 7998 } 7999 // uint64 min_items = 21; 8000 if ((cached_has_bits & 0x00004000u) != 0) { 8001 if (this_._internal_min_items() != 0) { 8002 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 8003 this_._internal_min_items()); 8004 } 8005 } 8006 // uint64 max_properties = 24; 8007 if ((cached_has_bits & 0x00008000u) != 0) { 8008 if (this_._internal_max_properties() != 0) { 8009 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 8010 this_._internal_max_properties()); 8011 } 8012 } 8013 } 8014 if ((cached_has_bits & 0x001f0000u) != 0) { 8015 // uint64 min_properties = 25; 8016 if ((cached_has_bits & 0x00010000u) != 0) { 8017 if (this_._internal_min_properties() != 0) { 8018 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size( 8019 this_._internal_min_properties()); 8020 } 8021 } 8022 // bool read_only = 8; 8023 if ((cached_has_bits & 0x00020000u) != 0) { 8024 if (this_._internal_read_only() != 0) { 8025 total_size += 2; 8026 } 8027 } 8028 // bool exclusive_maximum = 12; 8029 if ((cached_has_bits & 0x00040000u) != 0) { 8030 if (this_._internal_exclusive_maximum() != 0) { 8031 total_size += 2; 8032 } 8033 } 8034 // bool exclusive_minimum = 14; 8035 if ((cached_has_bits & 0x00080000u) != 0) { 8036 if (this_._internal_exclusive_minimum() != 0) { 8037 total_size += 2; 8038 } 8039 } 8040 // bool unique_items = 22; 8041 if ((cached_has_bits & 0x00100000u) != 0) { 8042 if (this_._internal_unique_items() != 0) { 8043 total_size += 3; 8044 } 8045 } 8046 } 8047 return this_.MaybeComputeUnknownFieldsSize(total_size, 8048 &this_._impl_._cached_size_); 8049 } 8050 8051 void JSONSchema::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 8052 auto* const _this = static_cast<JSONSchema*>(&to_msg); 8053 auto& from = static_cast<const JSONSchema&>(from_msg); 8054 ::google::protobuf::Arena* arena = _this->GetArena(); 8055 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 8056 ABSL_DCHECK_NE(&from, _this); 8057 ::uint32_t cached_has_bits = 0; 8058 (void) cached_has_bits; 8059 8060 _this->_internal_mutable_required()->MergeFrom(from._internal_required()); 8061 _this->_internal_mutable_array()->MergeFrom(from._internal_array()); 8062 _this->_internal_mutable_type()->MergeFrom(from._internal_type()); 8063 _this->_internal_mutable_enum_()->MergeFrom(from._internal_enum_()); 8064 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 8065 cached_has_bits = from._impl_._has_bits_[0]; 8066 if ((cached_has_bits & 0x000000ffu) != 0) { 8067 if ((cached_has_bits & 0x00000001u) != 0) { 8068 if (!from._internal_ref().empty()) { 8069 _this->_internal_set_ref(from._internal_ref()); 8070 } else { 8071 if (_this->_impl_.ref_.IsDefault()) { 8072 _this->_internal_set_ref(""); 8073 } 8074 } 8075 } 8076 if ((cached_has_bits & 0x00000002u) != 0) { 8077 if (!from._internal_title().empty()) { 8078 _this->_internal_set_title(from._internal_title()); 8079 } else { 8080 if (_this->_impl_.title_.IsDefault()) { 8081 _this->_internal_set_title(""); 8082 } 8083 } 8084 } 8085 if ((cached_has_bits & 0x00000004u) != 0) { 8086 if (!from._internal_description().empty()) { 8087 _this->_internal_set_description(from._internal_description()); 8088 } else { 8089 if (_this->_impl_.description_.IsDefault()) { 8090 _this->_internal_set_description(""); 8091 } 8092 } 8093 } 8094 if ((cached_has_bits & 0x00000008u) != 0) { 8095 if (!from._internal_default_().empty()) { 8096 _this->_internal_set_default_(from._internal_default_()); 8097 } else { 8098 if (_this->_impl_.default__.IsDefault()) { 8099 _this->_internal_set_default_(""); 8100 } 8101 } 8102 } 8103 if ((cached_has_bits & 0x00000010u) != 0) { 8104 if (!from._internal_example().empty()) { 8105 _this->_internal_set_example(from._internal_example()); 8106 } else { 8107 if (_this->_impl_.example_.IsDefault()) { 8108 _this->_internal_set_example(""); 8109 } 8110 } 8111 } 8112 if ((cached_has_bits & 0x00000020u) != 0) { 8113 if (!from._internal_pattern().empty()) { 8114 _this->_internal_set_pattern(from._internal_pattern()); 8115 } else { 8116 if (_this->_impl_.pattern_.IsDefault()) { 8117 _this->_internal_set_pattern(""); 8118 } 8119 } 8120 } 8121 if ((cached_has_bits & 0x00000040u) != 0) { 8122 if (!from._internal_format().empty()) { 8123 _this->_internal_set_format(from._internal_format()); 8124 } else { 8125 if (_this->_impl_.format_.IsDefault()) { 8126 _this->_internal_set_format(""); 8127 } 8128 } 8129 } 8130 if ((cached_has_bits & 0x00000080u) != 0) { 8131 ABSL_DCHECK(from._impl_.field_configuration_ != nullptr); 8132 if (_this->_impl_.field_configuration_ == nullptr) { 8133 _this->_impl_.field_configuration_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.field_configuration_); 8134 } else { 8135 _this->_impl_.field_configuration_->MergeFrom(*from._impl_.field_configuration_); 8136 } 8137 } 8138 } 8139 if ((cached_has_bits & 0x0000ff00u) != 0) { 8140 if ((cached_has_bits & 0x00000100u) != 0) { 8141 if (::absl::bit_cast<::uint64_t>(from._internal_multiple_of()) != 0) { 8142 _this->_impl_.multiple_of_ = from._impl_.multiple_of_; 8143 } 8144 } 8145 if ((cached_has_bits & 0x00000200u) != 0) { 8146 if (::absl::bit_cast<::uint64_t>(from._internal_maximum()) != 0) { 8147 _this->_impl_.maximum_ = from._impl_.maximum_; 8148 } 8149 } 8150 if ((cached_has_bits & 0x00000400u) != 0) { 8151 if (::absl::bit_cast<::uint64_t>(from._internal_minimum()) != 0) { 8152 _this->_impl_.minimum_ = from._impl_.minimum_; 8153 } 8154 } 8155 if ((cached_has_bits & 0x00000800u) != 0) { 8156 if (from._internal_max_length() != 0) { 8157 _this->_impl_.max_length_ = from._impl_.max_length_; 8158 } 8159 } 8160 if ((cached_has_bits & 0x00001000u) != 0) { 8161 if (from._internal_min_length() != 0) { 8162 _this->_impl_.min_length_ = from._impl_.min_length_; 8163 } 8164 } 8165 if ((cached_has_bits & 0x00002000u) != 0) { 8166 if (from._internal_max_items() != 0) { 8167 _this->_impl_.max_items_ = from._impl_.max_items_; 8168 } 8169 } 8170 if ((cached_has_bits & 0x00004000u) != 0) { 8171 if (from._internal_min_items() != 0) { 8172 _this->_impl_.min_items_ = from._impl_.min_items_; 8173 } 8174 } 8175 if ((cached_has_bits & 0x00008000u) != 0) { 8176 if (from._internal_max_properties() != 0) { 8177 _this->_impl_.max_properties_ = from._impl_.max_properties_; 8178 } 8179 } 8180 } 8181 if ((cached_has_bits & 0x001f0000u) != 0) { 8182 if ((cached_has_bits & 0x00010000u) != 0) { 8183 if (from._internal_min_properties() != 0) { 8184 _this->_impl_.min_properties_ = from._impl_.min_properties_; 8185 } 8186 } 8187 if ((cached_has_bits & 0x00020000u) != 0) { 8188 if (from._internal_read_only() != 0) { 8189 _this->_impl_.read_only_ = from._impl_.read_only_; 8190 } 8191 } 8192 if ((cached_has_bits & 0x00040000u) != 0) { 8193 if (from._internal_exclusive_maximum() != 0) { 8194 _this->_impl_.exclusive_maximum_ = from._impl_.exclusive_maximum_; 8195 } 8196 } 8197 if ((cached_has_bits & 0x00080000u) != 0) { 8198 if (from._internal_exclusive_minimum() != 0) { 8199 _this->_impl_.exclusive_minimum_ = from._impl_.exclusive_minimum_; 8200 } 8201 } 8202 if ((cached_has_bits & 0x00100000u) != 0) { 8203 if (from._internal_unique_items() != 0) { 8204 _this->_impl_.unique_items_ = from._impl_.unique_items_; 8205 } 8206 } 8207 } 8208 _this->_impl_._has_bits_[0] |= cached_has_bits; 8209 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 8210 } 8211 8212 void JSONSchema::CopyFrom(const JSONSchema& from) { 8213 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.JSONSchema) 8214 if (&from == this) return; 8215 Clear(); 8216 MergeFrom(from); 8217 } 8218 8219 8220 void JSONSchema::InternalSwap(JSONSchema* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 8221 using std::swap; 8222 auto* arena = GetArena(); 8223 ABSL_DCHECK_EQ(arena, other->GetArena()); 8224 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 8225 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 8226 _impl_.required_.InternalSwap(&other->_impl_.required_); 8227 _impl_.array_.InternalSwap(&other->_impl_.array_); 8228 _impl_.type_.InternalSwap(&other->_impl_.type_); 8229 _impl_.enum__.InternalSwap(&other->_impl_.enum__); 8230 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 8231 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ref_, &other->_impl_.ref_, arena); 8232 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena); 8233 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 8234 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default__, &other->_impl_.default__, arena); 8235 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.example_, &other->_impl_.example_, arena); 8236 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.pattern_, &other->_impl_.pattern_, arena); 8237 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.format_, &other->_impl_.format_, arena); 8238 ::google::protobuf::internal::memswap< 8239 PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.unique_items_) 8240 + sizeof(JSONSchema::_impl_.unique_items_) 8241 - PROTOBUF_FIELD_OFFSET(JSONSchema, _impl_.field_configuration_)>( 8242 reinterpret_cast<char*>(&_impl_.field_configuration_), 8243 reinterpret_cast<char*>(&other->_impl_.field_configuration_)); 8244 } 8245 8246 ::google::protobuf::Metadata JSONSchema::GetMetadata() const { 8247 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 8248 } 8249 // =================================================================== 8250 8251 class Tag::_Internal { 8252 public: 8253 using HasBits = 8254 decltype(std::declval<Tag>()._impl_._has_bits_); 8255 static constexpr ::int32_t kHasBitsOffset = 8256 8 * PROTOBUF_FIELD_OFFSET(Tag, _impl_._has_bits_); 8257 }; 8258 8259 Tag::Tag(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8260 #if defined(PROTOBUF_CUSTOM_VTABLE) 8261 : ::google::protobuf::Message(arena, Tag_class_data_.base()) { 8262 #else // PROTOBUF_CUSTOM_VTABLE 8263 : ::google::protobuf::Message(arena) { 8264 #endif // PROTOBUF_CUSTOM_VTABLE 8265 SharedCtor(arena); 8266 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8267 } 8268 PROTOBUF_NDEBUG_INLINE Tag::Impl_::Impl_( 8269 ::google::protobuf::internal::InternalVisibility visibility, 8270 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 8271 const ::grpc::gateway::protoc_gen_openapiv2::options::Tag& from_msg) 8272 : _has_bits_{from._has_bits_}, 8273 _cached_size_{0}, 8274 description_(arena, from.description_) {} 8275 8276 Tag::Tag( 8277 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 8278 const Tag& from) 8279 #if defined(PROTOBUF_CUSTOM_VTABLE) 8280 : ::google::protobuf::Message(arena, Tag_class_data_.base()) { 8281 #else // PROTOBUF_CUSTOM_VTABLE 8282 : ::google::protobuf::Message(arena) { 8283 #endif // PROTOBUF_CUSTOM_VTABLE 8284 Tag* const _this = this; 8285 (void)_this; 8286 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 8287 from._internal_metadata_); 8288 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 8289 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 8290 _impl_.external_docs_ = ((cached_has_bits & 0x00000002u) != 0) 8291 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_) 8292 : nullptr; 8293 8294 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8295 } 8296 PROTOBUF_NDEBUG_INLINE Tag::Impl_::Impl_( 8297 ::google::protobuf::internal::InternalVisibility visibility, 8298 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8299 : _cached_size_{0}, 8300 description_(arena) {} 8301 8302 inline void Tag::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 8303 new (&_impl_) Impl_(internal_visibility(), arena); 8304 _impl_.external_docs_ = {}; 8305 } 8306 Tag::~Tag() { 8307 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8308 SharedDtor(*this); 8309 } 8310 inline void Tag::SharedDtor(MessageLite& self) { 8311 Tag& this_ = static_cast<Tag&>(self); 8312 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 8313 ABSL_DCHECK(this_.GetArena() == nullptr); 8314 this_._impl_.description_.Destroy(); 8315 delete this_._impl_.external_docs_; 8316 this_._impl_.~Impl_(); 8317 } 8318 8319 inline void* PROTOBUF_NONNULL Tag::PlacementNew_( 8320 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8321 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8322 return ::new (mem) Tag(arena); 8323 } 8324 constexpr auto Tag::InternalNewImpl_() { 8325 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Tag), 8326 alignof(Tag)); 8327 } 8328 constexpr auto Tag::InternalGenerateClassData_() { 8329 return ::google::protobuf::internal::ClassDataFull{ 8330 ::google::protobuf::internal::ClassData{ 8331 &_Tag_default_instance_._instance, 8332 &_table_.header, 8333 nullptr, // OnDemandRegisterArenaDtor 8334 nullptr, // IsInitialized 8335 &Tag::MergeImpl, 8336 ::google::protobuf::Message::GetNewImpl<Tag>(), 8337 #if defined(PROTOBUF_CUSTOM_VTABLE) 8338 &Tag::SharedDtor, 8339 ::google::protobuf::Message::GetClearImpl<Tag>(), &Tag::ByteSizeLong, 8340 &Tag::_InternalSerialize, 8341 #endif // PROTOBUF_CUSTOM_VTABLE 8342 PROTOBUF_FIELD_OFFSET(Tag, _impl_._cached_size_), 8343 false, 8344 }, 8345 &Tag::kDescriptorMethods, 8346 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8347 nullptr, // tracker 8348 }; 8349 } 8350 8351 PROTOBUF_CONSTINIT AGONES_EXPORT 8352 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 8353 Tag_class_data_ = 8354 Tag::InternalGenerateClassData_(); 8355 8356 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Tag::GetClassData() const { 8357 ::google::protobuf::internal::PrefetchToLocalCache(&Tag_class_data_); 8358 ::google::protobuf::internal::PrefetchToLocalCache(Tag_class_data_.tc_table); 8359 return Tag_class_data_.base(); 8360 } 8361 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8362 const ::_pbi::TcParseTable<1, 2, 1, 65, 2> 8363 Tag::_table_ = { 8364 { 8365 PROTOBUF_FIELD_OFFSET(Tag, _impl_._has_bits_), 8366 0, // no _extensions_ 8367 3, 8, // max_field_number, fast_idx_mask 8368 offsetof(decltype(_table_), field_lookup_table), 8369 4294967289, // skipmap 8370 offsetof(decltype(_table_), field_entries), 8371 2, // num_field_entries 8372 1, // num_aux_entries 8373 offsetof(decltype(_table_), aux_entries), 8374 Tag_class_data_.base(), 8375 nullptr, // post_loop_handler 8376 ::_pbi::TcParser::GenericFallback, // fallback 8377 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8378 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Tag>(), // to_prefetch 8379 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8380 }, {{ 8381 // string description = 2; 8382 {::_pbi::TcParser::FastUS1, 8383 {18, 0, 0, PROTOBUF_FIELD_OFFSET(Tag, _impl_.description_)}}, 8384 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8385 {::_pbi::TcParser::FastMtS1, 8386 {26, 1, 0, PROTOBUF_FIELD_OFFSET(Tag, _impl_.external_docs_)}}, 8387 }}, {{ 8388 65535, 65535 8389 }}, {{ 8390 // string description = 2; 8391 {PROTOBUF_FIELD_OFFSET(Tag, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 8392 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 8393 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8394 {PROTOBUF_FIELD_OFFSET(Tag, _impl_.external_docs_), _Internal::kHasBitsOffset + 1, 0, 8395 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 8396 }}, 8397 {{ 8398 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::ExternalDocumentation>()}, 8399 }}, 8400 {{ 8401 "\55\13\0\0\0\0\0\0" 8402 "grpc.gateway.protoc_gen_openapiv2.options.Tag" 8403 "description" 8404 }}, 8405 }; 8406 PROTOBUF_NOINLINE void Tag::Clear() { 8407 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8408 ::google::protobuf::internal::TSanWrite(&_impl_); 8409 ::uint32_t cached_has_bits = 0; 8410 // Prevent compiler warnings about cached_has_bits being unused 8411 (void) cached_has_bits; 8412 8413 cached_has_bits = _impl_._has_bits_[0]; 8414 if ((cached_has_bits & 0x00000003u) != 0) { 8415 if ((cached_has_bits & 0x00000001u) != 0) { 8416 _impl_.description_.ClearNonDefaultToEmpty(); 8417 } 8418 if ((cached_has_bits & 0x00000002u) != 0) { 8419 ABSL_DCHECK(_impl_.external_docs_ != nullptr); 8420 _impl_.external_docs_->Clear(); 8421 } 8422 } 8423 _impl_._has_bits_.Clear(); 8424 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 8425 } 8426 8427 #if defined(PROTOBUF_CUSTOM_VTABLE) 8428 ::uint8_t* PROTOBUF_NONNULL Tag::_InternalSerialize( 8429 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 8430 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 8431 const Tag& this_ = static_cast<const Tag&>(base); 8432 #else // PROTOBUF_CUSTOM_VTABLE 8433 ::uint8_t* PROTOBUF_NONNULL Tag::_InternalSerialize( 8434 ::uint8_t* PROTOBUF_NONNULL target, 8435 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 8436 const Tag& this_ = *this; 8437 #endif // PROTOBUF_CUSTOM_VTABLE 8438 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8439 ::uint32_t cached_has_bits = 0; 8440 (void)cached_has_bits; 8441 8442 // string description = 2; 8443 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 8444 if (!this_._internal_description().empty()) { 8445 const std::string& _s = this_._internal_description(); 8446 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 8447 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Tag.description"); 8448 target = stream->WriteStringMaybeAliased(2, _s, target); 8449 } 8450 } 8451 8452 cached_has_bits = this_._impl_._has_bits_[0]; 8453 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8454 if ((cached_has_bits & 0x00000002u) != 0) { 8455 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 8456 3, *this_._impl_.external_docs_, this_._impl_.external_docs_->GetCachedSize(), target, 8457 stream); 8458 } 8459 8460 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 8461 target = 8462 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 8463 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 8464 } 8465 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8466 return target; 8467 } 8468 8469 #if defined(PROTOBUF_CUSTOM_VTABLE) 8470 ::size_t Tag::ByteSizeLong(const MessageLite& base) { 8471 const Tag& this_ = static_cast<const Tag&>(base); 8472 #else // PROTOBUF_CUSTOM_VTABLE 8473 ::size_t Tag::ByteSizeLong() const { 8474 const Tag& this_ = *this; 8475 #endif // PROTOBUF_CUSTOM_VTABLE 8476 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8477 ::size_t total_size = 0; 8478 8479 ::uint32_t cached_has_bits = 0; 8480 // Prevent compiler warnings about cached_has_bits being unused 8481 (void)cached_has_bits; 8482 8483 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 8484 cached_has_bits = this_._impl_._has_bits_[0]; 8485 if ((cached_has_bits & 0x00000003u) != 0) { 8486 // string description = 2; 8487 if ((cached_has_bits & 0x00000001u) != 0) { 8488 if (!this_._internal_description().empty()) { 8489 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 8490 this_._internal_description()); 8491 } 8492 } 8493 // .grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation external_docs = 3; 8494 if ((cached_has_bits & 0x00000002u) != 0) { 8495 total_size += 1 + 8496 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.external_docs_); 8497 } 8498 } 8499 return this_.MaybeComputeUnknownFieldsSize(total_size, 8500 &this_._impl_._cached_size_); 8501 } 8502 8503 void Tag::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 8504 auto* const _this = static_cast<Tag*>(&to_msg); 8505 auto& from = static_cast<const Tag&>(from_msg); 8506 ::google::protobuf::Arena* arena = _this->GetArena(); 8507 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8508 ABSL_DCHECK_NE(&from, _this); 8509 ::uint32_t cached_has_bits = 0; 8510 (void) cached_has_bits; 8511 8512 cached_has_bits = from._impl_._has_bits_[0]; 8513 if ((cached_has_bits & 0x00000003u) != 0) { 8514 if ((cached_has_bits & 0x00000001u) != 0) { 8515 if (!from._internal_description().empty()) { 8516 _this->_internal_set_description(from._internal_description()); 8517 } else { 8518 if (_this->_impl_.description_.IsDefault()) { 8519 _this->_internal_set_description(""); 8520 } 8521 } 8522 } 8523 if ((cached_has_bits & 0x00000002u) != 0) { 8524 ABSL_DCHECK(from._impl_.external_docs_ != nullptr); 8525 if (_this->_impl_.external_docs_ == nullptr) { 8526 _this->_impl_.external_docs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.external_docs_); 8527 } else { 8528 _this->_impl_.external_docs_->MergeFrom(*from._impl_.external_docs_); 8529 } 8530 } 8531 } 8532 _this->_impl_._has_bits_[0] |= cached_has_bits; 8533 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 8534 } 8535 8536 void Tag::CopyFrom(const Tag& from) { 8537 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Tag) 8538 if (&from == this) return; 8539 Clear(); 8540 MergeFrom(from); 8541 } 8542 8543 8544 void Tag::InternalSwap(Tag* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 8545 using std::swap; 8546 auto* arena = GetArena(); 8547 ABSL_DCHECK_EQ(arena, other->GetArena()); 8548 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 8549 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 8550 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 8551 swap(_impl_.external_docs_, other->_impl_.external_docs_); 8552 } 8553 8554 ::google::protobuf::Metadata Tag::GetMetadata() const { 8555 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 8556 } 8557 // =================================================================== 8558 8559 #if defined(PROTOBUF_CUSTOM_VTABLE) 8560 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse() 8561 : SuperType(SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base()) {} 8562 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8563 : SuperType(arena, SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base()) {} 8564 #else // PROTOBUF_CUSTOM_VTABLE 8565 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse() : SuperType() {} 8566 SecurityDefinitions_SecurityEntry_DoNotUse::SecurityDefinitions_SecurityEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 8567 #endif // PROTOBUF_CUSTOM_VTABLE 8568 inline void* PROTOBUF_NONNULL SecurityDefinitions_SecurityEntry_DoNotUse::PlacementNew_( 8569 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8570 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8571 return ::new (mem) SecurityDefinitions_SecurityEntry_DoNotUse(arena); 8572 } 8573 constexpr auto SecurityDefinitions_SecurityEntry_DoNotUse::InternalNewImpl_() { 8574 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecurityDefinitions_SecurityEntry_DoNotUse), 8575 alignof(SecurityDefinitions_SecurityEntry_DoNotUse)); 8576 } 8577 constexpr auto SecurityDefinitions_SecurityEntry_DoNotUse::InternalGenerateClassData_() { 8578 return ::google::protobuf::internal::ClassDataFull{ 8579 ::google::protobuf::internal::ClassData{ 8580 &_SecurityDefinitions_SecurityEntry_DoNotUse_default_instance_._instance, 8581 &_table_.header, 8582 nullptr, // OnDemandRegisterArenaDtor 8583 nullptr, // IsInitialized 8584 &SecurityDefinitions_SecurityEntry_DoNotUse::MergeImpl, 8585 ::google::protobuf::Message::GetNewImpl<SecurityDefinitions_SecurityEntry_DoNotUse>(), 8586 #if defined(PROTOBUF_CUSTOM_VTABLE) 8587 &SecurityDefinitions_SecurityEntry_DoNotUse::SharedDtor, 8588 static_cast<void (::google::protobuf::MessageLite::*)()>(&SecurityDefinitions_SecurityEntry_DoNotUse::ClearImpl), 8589 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 8590 , 8591 #endif // PROTOBUF_CUSTOM_VTABLE 8592 PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_._cached_size_), 8593 false, 8594 }, 8595 &SecurityDefinitions_SecurityEntry_DoNotUse::kDescriptorMethods, 8596 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8597 nullptr, // tracker 8598 }; 8599 } 8600 8601 PROTOBUF_CONSTINIT AGONES_EXPORT 8602 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 8603 SecurityDefinitions_SecurityEntry_DoNotUse_class_data_ = 8604 SecurityDefinitions_SecurityEntry_DoNotUse::InternalGenerateClassData_(); 8605 8606 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityDefinitions_SecurityEntry_DoNotUse::GetClassData() const { 8607 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityDefinitions_SecurityEntry_DoNotUse_class_data_); 8608 ::google::protobuf::internal::PrefetchToLocalCache(SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.tc_table); 8609 return SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base(); 8610 } 8611 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8612 const ::_pbi::TcParseTable<1, 2, 1, 87, 2> 8613 SecurityDefinitions_SecurityEntry_DoNotUse::_table_ = { 8614 { 8615 PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_._has_bits_), 8616 0, // no _extensions_ 8617 2, 8, // max_field_number, fast_idx_mask 8618 offsetof(decltype(_table_), field_lookup_table), 8619 4294967292, // skipmap 8620 offsetof(decltype(_table_), field_entries), 8621 2, // num_field_entries 8622 1, // num_aux_entries 8623 offsetof(decltype(_table_), aux_entries), 8624 SecurityDefinitions_SecurityEntry_DoNotUse_class_data_.base(), 8625 nullptr, // post_loop_handler 8626 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 8627 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8628 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions_SecurityEntry_DoNotUse>(), // to_prefetch 8629 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8630 }, {{ 8631 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme value = 2; 8632 {::_pbi::TcParser::FastMtS1, 8633 {18, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.value_)}}, 8634 // string key = 1; 8635 {::_pbi::TcParser::FastUS1, 8636 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.key_)}}, 8637 }}, {{ 8638 65535, 65535 8639 }}, {{ 8640 // string key = 1; 8641 {PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 8642 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 8643 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme value = 2; 8644 {PROTOBUF_FIELD_OFFSET(SecurityDefinitions_SecurityEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 8645 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 8646 }}, 8647 {{ 8648 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>()}, 8649 }}, 8650 {{ 8651 "\113\3\0\0\0\0\0\0" 8652 "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry" 8653 "key" 8654 }}, 8655 }; 8656 // =================================================================== 8657 8658 class SecurityDefinitions::_Internal { 8659 public: 8660 }; 8661 8662 SecurityDefinitions::SecurityDefinitions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8663 #if defined(PROTOBUF_CUSTOM_VTABLE) 8664 : ::google::protobuf::Message(arena, SecurityDefinitions_class_data_.base()) { 8665 #else // PROTOBUF_CUSTOM_VTABLE 8666 : ::google::protobuf::Message(arena) { 8667 #endif // PROTOBUF_CUSTOM_VTABLE 8668 SharedCtor(arena); 8669 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8670 } 8671 PROTOBUF_NDEBUG_INLINE SecurityDefinitions::Impl_::Impl_( 8672 ::google::protobuf::internal::InternalVisibility visibility, 8673 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 8674 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions& from_msg) 8675 : security_{visibility, arena, from.security_}, 8676 _cached_size_{0} {} 8677 8678 SecurityDefinitions::SecurityDefinitions( 8679 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 8680 const SecurityDefinitions& from) 8681 #if defined(PROTOBUF_CUSTOM_VTABLE) 8682 : ::google::protobuf::Message(arena, SecurityDefinitions_class_data_.base()) { 8683 #else // PROTOBUF_CUSTOM_VTABLE 8684 : ::google::protobuf::Message(arena) { 8685 #endif // PROTOBUF_CUSTOM_VTABLE 8686 SecurityDefinitions* const _this = this; 8687 (void)_this; 8688 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 8689 from._internal_metadata_); 8690 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 8691 8692 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8693 } 8694 PROTOBUF_NDEBUG_INLINE SecurityDefinitions::Impl_::Impl_( 8695 ::google::protobuf::internal::InternalVisibility visibility, 8696 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8697 : security_{visibility, arena}, 8698 _cached_size_{0} {} 8699 8700 inline void SecurityDefinitions::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 8701 new (&_impl_) Impl_(internal_visibility(), arena); 8702 } 8703 SecurityDefinitions::~SecurityDefinitions() { 8704 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8705 SharedDtor(*this); 8706 } 8707 inline void SecurityDefinitions::SharedDtor(MessageLite& self) { 8708 SecurityDefinitions& this_ = static_cast<SecurityDefinitions&>(self); 8709 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 8710 ABSL_DCHECK(this_.GetArena() == nullptr); 8711 this_._impl_.~Impl_(); 8712 } 8713 8714 inline void* PROTOBUF_NONNULL SecurityDefinitions::PlacementNew_( 8715 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8716 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8717 return ::new (mem) SecurityDefinitions(arena); 8718 } 8719 constexpr auto SecurityDefinitions::InternalNewImpl_() { 8720 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 8721 PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_.security_) + 8722 decltype(SecurityDefinitions::_impl_.security_):: 8723 InternalGetArenaOffset( 8724 ::google::protobuf::Message::internal_visibility()), 8725 PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_.security_) + 8726 decltype(SecurityDefinitions::_impl_.security_):: 8727 InternalGetArenaOffsetAlt( 8728 ::google::protobuf::Message::internal_visibility()), 8729 }); 8730 if (arena_bits.has_value()) { 8731 return ::google::protobuf::internal::MessageCreator::CopyInit( 8732 sizeof(SecurityDefinitions), alignof(SecurityDefinitions), *arena_bits); 8733 } else { 8734 return ::google::protobuf::internal::MessageCreator(&SecurityDefinitions::PlacementNew_, 8735 sizeof(SecurityDefinitions), 8736 alignof(SecurityDefinitions)); 8737 } 8738 } 8739 constexpr auto SecurityDefinitions::InternalGenerateClassData_() { 8740 return ::google::protobuf::internal::ClassDataFull{ 8741 ::google::protobuf::internal::ClassData{ 8742 &_SecurityDefinitions_default_instance_._instance, 8743 &_table_.header, 8744 nullptr, // OnDemandRegisterArenaDtor 8745 nullptr, // IsInitialized 8746 &SecurityDefinitions::MergeImpl, 8747 ::google::protobuf::Message::GetNewImpl<SecurityDefinitions>(), 8748 #if defined(PROTOBUF_CUSTOM_VTABLE) 8749 &SecurityDefinitions::SharedDtor, 8750 ::google::protobuf::Message::GetClearImpl<SecurityDefinitions>(), &SecurityDefinitions::ByteSizeLong, 8751 &SecurityDefinitions::_InternalSerialize, 8752 #endif // PROTOBUF_CUSTOM_VTABLE 8753 PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_._cached_size_), 8754 false, 8755 }, 8756 &SecurityDefinitions::kDescriptorMethods, 8757 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8758 nullptr, // tracker 8759 }; 8760 } 8761 8762 PROTOBUF_CONSTINIT AGONES_EXPORT 8763 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 8764 SecurityDefinitions_class_data_ = 8765 SecurityDefinitions::InternalGenerateClassData_(); 8766 8767 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityDefinitions::GetClassData() const { 8768 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityDefinitions_class_data_); 8769 ::google::protobuf::internal::PrefetchToLocalCache(SecurityDefinitions_class_data_.tc_table); 8770 return SecurityDefinitions_class_data_.base(); 8771 } 8772 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8773 const ::_pbi::TcParseTable<0, 1, 2, 78, 2> 8774 SecurityDefinitions::_table_ = { 8775 { 8776 0, // no _has_bits_ 8777 0, // no _extensions_ 8778 1, 0, // max_field_number, fast_idx_mask 8779 offsetof(decltype(_table_), field_lookup_table), 8780 4294967294, // skipmap 8781 offsetof(decltype(_table_), field_entries), 8782 1, // num_field_entries 8783 2, // num_aux_entries 8784 offsetof(decltype(_table_), aux_entries), 8785 SecurityDefinitions_class_data_.base(), 8786 nullptr, // post_loop_handler 8787 ::_pbi::TcParser::GenericFallback, // fallback 8788 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 8789 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityDefinitions>(), // to_prefetch 8790 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 8791 }, {{ 8792 {::_pbi::TcParser::MiniParse, {}}, 8793 }}, {{ 8794 65535, 65535 8795 }}, {{ 8796 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 8797 {PROTOBUF_FIELD_OFFSET(SecurityDefinitions, _impl_.security_), 0, 0, 8798 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 8799 }}, 8800 {{ 8801 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 8802 9, 11, 8803 0)}, 8804 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>()}, 8805 }}, 8806 {{ 8807 "\75\10\0\0\0\0\0\0" 8808 "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions" 8809 "security" 8810 }}, 8811 }; 8812 PROTOBUF_NOINLINE void SecurityDefinitions::Clear() { 8813 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8814 ::google::protobuf::internal::TSanWrite(&_impl_); 8815 ::uint32_t cached_has_bits = 0; 8816 // Prevent compiler warnings about cached_has_bits being unused 8817 (void) cached_has_bits; 8818 8819 _impl_.security_.Clear(); 8820 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 8821 } 8822 8823 #if defined(PROTOBUF_CUSTOM_VTABLE) 8824 ::uint8_t* PROTOBUF_NONNULL SecurityDefinitions::_InternalSerialize( 8825 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 8826 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 8827 const SecurityDefinitions& this_ = static_cast<const SecurityDefinitions&>(base); 8828 #else // PROTOBUF_CUSTOM_VTABLE 8829 ::uint8_t* PROTOBUF_NONNULL SecurityDefinitions::_InternalSerialize( 8830 ::uint8_t* PROTOBUF_NONNULL target, 8831 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 8832 const SecurityDefinitions& this_ = *this; 8833 #endif // PROTOBUF_CUSTOM_VTABLE 8834 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8835 ::uint32_t cached_has_bits = 0; 8836 (void)cached_has_bits; 8837 8838 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 8839 if (!this_._internal_security().empty()) { 8840 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>; 8841 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, 8842 _pbi::WireFormatLite::TYPE_STRING, 8843 _pbi::WireFormatLite::TYPE_MESSAGE>; 8844 const auto& field = this_._internal_security(); 8845 8846 if (stream->IsSerializationDeterministic() && field.size() > 1) { 8847 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 8848 target = WireHelper::InternalSerialize( 8849 1, entry.first, entry.second, target, stream); 8850 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 8851 entry.first.data(), static_cast<int>(entry.first.length()), 8852 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security"); 8853 } 8854 } else { 8855 for (const auto& entry : field) { 8856 target = WireHelper::InternalSerialize( 8857 1, entry.first, entry.second, target, stream); 8858 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 8859 entry.first.data(), static_cast<int>(entry.first.length()), 8860 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security"); 8861 } 8862 } 8863 } 8864 8865 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 8866 target = 8867 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 8868 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 8869 } 8870 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8871 return target; 8872 } 8873 8874 #if defined(PROTOBUF_CUSTOM_VTABLE) 8875 ::size_t SecurityDefinitions::ByteSizeLong(const MessageLite& base) { 8876 const SecurityDefinitions& this_ = static_cast<const SecurityDefinitions&>(base); 8877 #else // PROTOBUF_CUSTOM_VTABLE 8878 ::size_t SecurityDefinitions::ByteSizeLong() const { 8879 const SecurityDefinitions& this_ = *this; 8880 #endif // PROTOBUF_CUSTOM_VTABLE 8881 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8882 ::size_t total_size = 0; 8883 8884 ::uint32_t cached_has_bits = 0; 8885 // Prevent compiler warnings about cached_has_bits being unused 8886 (void)cached_has_bits; 8887 8888 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 8889 { 8890 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme> security = 1; 8891 { 8892 total_size += 8893 1 * ::google::protobuf::internal::FromIntSize(this_._internal_security_size()); 8894 for (const auto& entry : this_._internal_security()) { 8895 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme, 8896 _pbi::WireFormatLite::TYPE_STRING, 8897 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 8898 } 8899 } 8900 } 8901 return this_.MaybeComputeUnknownFieldsSize(total_size, 8902 &this_._impl_._cached_size_); 8903 } 8904 8905 void SecurityDefinitions::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 8906 auto* const _this = static_cast<SecurityDefinitions*>(&to_msg); 8907 auto& from = static_cast<const SecurityDefinitions&>(from_msg); 8908 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8909 ABSL_DCHECK_NE(&from, _this); 8910 ::uint32_t cached_has_bits = 0; 8911 (void) cached_has_bits; 8912 8913 _this->_impl_.security_.MergeFrom(from._impl_.security_); 8914 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 8915 } 8916 8917 void SecurityDefinitions::CopyFrom(const SecurityDefinitions& from) { 8918 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions) 8919 if (&from == this) return; 8920 Clear(); 8921 MergeFrom(from); 8922 } 8923 8924 8925 void SecurityDefinitions::InternalSwap(SecurityDefinitions* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 8926 using std::swap; 8927 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 8928 _impl_.security_.InternalSwap(&other->_impl_.security_); 8929 } 8930 8931 ::google::protobuf::Metadata SecurityDefinitions::GetMetadata() const { 8932 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 8933 } 8934 // =================================================================== 8935 8936 #if defined(PROTOBUF_CUSTOM_VTABLE) 8937 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse() 8938 : SuperType(SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base()) {} 8939 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 8940 : SuperType(arena, SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base()) {} 8941 #else // PROTOBUF_CUSTOM_VTABLE 8942 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse() : SuperType() {} 8943 SecurityScheme_ExtensionsEntry_DoNotUse::SecurityScheme_ExtensionsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 8944 #endif // PROTOBUF_CUSTOM_VTABLE 8945 inline void* PROTOBUF_NONNULL SecurityScheme_ExtensionsEntry_DoNotUse::PlacementNew_( 8946 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 8947 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 8948 return ::new (mem) SecurityScheme_ExtensionsEntry_DoNotUse(arena); 8949 } 8950 constexpr auto SecurityScheme_ExtensionsEntry_DoNotUse::InternalNewImpl_() { 8951 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecurityScheme_ExtensionsEntry_DoNotUse), 8952 alignof(SecurityScheme_ExtensionsEntry_DoNotUse)); 8953 } 8954 constexpr auto SecurityScheme_ExtensionsEntry_DoNotUse::InternalGenerateClassData_() { 8955 return ::google::protobuf::internal::ClassDataFull{ 8956 ::google::protobuf::internal::ClassData{ 8957 &_SecurityScheme_ExtensionsEntry_DoNotUse_default_instance_._instance, 8958 &_table_.header, 8959 nullptr, // OnDemandRegisterArenaDtor 8960 nullptr, // IsInitialized 8961 &SecurityScheme_ExtensionsEntry_DoNotUse::MergeImpl, 8962 ::google::protobuf::Message::GetNewImpl<SecurityScheme_ExtensionsEntry_DoNotUse>(), 8963 #if defined(PROTOBUF_CUSTOM_VTABLE) 8964 &SecurityScheme_ExtensionsEntry_DoNotUse::SharedDtor, 8965 static_cast<void (::google::protobuf::MessageLite::*)()>(&SecurityScheme_ExtensionsEntry_DoNotUse::ClearImpl), 8966 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 8967 , 8968 #endif // PROTOBUF_CUSTOM_VTABLE 8969 PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_._cached_size_), 8970 false, 8971 }, 8972 &SecurityScheme_ExtensionsEntry_DoNotUse::kDescriptorMethods, 8973 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 8974 nullptr, // tracker 8975 }; 8976 } 8977 8978 PROTOBUF_CONSTINIT AGONES_EXPORT 8979 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 8980 SecurityScheme_ExtensionsEntry_DoNotUse_class_data_ = 8981 SecurityScheme_ExtensionsEntry_DoNotUse::InternalGenerateClassData_(); 8982 8983 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityScheme_ExtensionsEntry_DoNotUse::GetClassData() const { 8984 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityScheme_ExtensionsEntry_DoNotUse_class_data_); 8985 ::google::protobuf::internal::PrefetchToLocalCache(SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.tc_table); 8986 return SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base(); 8987 } 8988 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 8989 const ::_pbi::TcParseTable<1, 2, 1, 84, 2> 8990 SecurityScheme_ExtensionsEntry_DoNotUse::_table_ = { 8991 { 8992 PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_._has_bits_), 8993 0, // no _extensions_ 8994 2, 8, // max_field_number, fast_idx_mask 8995 offsetof(decltype(_table_), field_lookup_table), 8996 4294967292, // skipmap 8997 offsetof(decltype(_table_), field_entries), 8998 2, // num_field_entries 8999 1, // num_aux_entries 9000 offsetof(decltype(_table_), aux_entries), 9001 SecurityScheme_ExtensionsEntry_DoNotUse_class_data_.base(), 9002 nullptr, // post_loop_handler 9003 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 9004 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9005 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme_ExtensionsEntry_DoNotUse>(), // to_prefetch 9006 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9007 }, {{ 9008 // .google.protobuf.Value value = 2; 9009 {::_pbi::TcParser::FastMtS1, 9010 {18, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.value_)}}, 9011 // string key = 1; 9012 {::_pbi::TcParser::FastUS1, 9013 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.key_)}}, 9014 }}, {{ 9015 65535, 65535 9016 }}, {{ 9017 // string key = 1; 9018 {PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 9019 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9020 // .google.protobuf.Value value = 2; 9021 {PROTOBUF_FIELD_OFFSET(SecurityScheme_ExtensionsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 9022 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 9023 }}, 9024 {{ 9025 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 9026 }}, 9027 {{ 9028 "\110\3\0\0\0\0\0\0" 9029 "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry" 9030 "key" 9031 }}, 9032 }; 9033 // =================================================================== 9034 9035 class SecurityScheme::_Internal { 9036 public: 9037 using HasBits = 9038 decltype(std::declval<SecurityScheme>()._impl_._has_bits_); 9039 static constexpr ::int32_t kHasBitsOffset = 9040 8 * PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_._has_bits_); 9041 }; 9042 9043 void SecurityScheme::clear_extensions() { 9044 ::google::protobuf::internal::TSanWrite(&_impl_); 9045 _impl_.extensions_.Clear(); 9046 } 9047 SecurityScheme::SecurityScheme(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9048 #if defined(PROTOBUF_CUSTOM_VTABLE) 9049 : ::google::protobuf::Message(arena, SecurityScheme_class_data_.base()) { 9050 #else // PROTOBUF_CUSTOM_VTABLE 9051 : ::google::protobuf::Message(arena) { 9052 #endif // PROTOBUF_CUSTOM_VTABLE 9053 SharedCtor(arena); 9054 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9055 } 9056 PROTOBUF_NDEBUG_INLINE SecurityScheme::Impl_::Impl_( 9057 ::google::protobuf::internal::InternalVisibility visibility, 9058 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 9059 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme& from_msg) 9060 : _has_bits_{from._has_bits_}, 9061 _cached_size_{0}, 9062 extensions_{visibility, arena, from.extensions_}, 9063 description_(arena, from.description_), 9064 name_(arena, from.name_), 9065 authorization_url_(arena, from.authorization_url_), 9066 token_url_(arena, from.token_url_) {} 9067 9068 SecurityScheme::SecurityScheme( 9069 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 9070 const SecurityScheme& from) 9071 #if defined(PROTOBUF_CUSTOM_VTABLE) 9072 : ::google::protobuf::Message(arena, SecurityScheme_class_data_.base()) { 9073 #else // PROTOBUF_CUSTOM_VTABLE 9074 : ::google::protobuf::Message(arena) { 9075 #endif // PROTOBUF_CUSTOM_VTABLE 9076 SecurityScheme* const _this = this; 9077 (void)_this; 9078 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 9079 from._internal_metadata_); 9080 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 9081 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 9082 _impl_.scopes_ = ((cached_has_bits & 0x00000010u) != 0) 9083 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.scopes_) 9084 : nullptr; 9085 ::memcpy(reinterpret_cast<char *>(&_impl_) + 9086 offsetof(Impl_, type_), 9087 reinterpret_cast<const char *>(&from._impl_) + 9088 offsetof(Impl_, type_), 9089 offsetof(Impl_, flow_) - 9090 offsetof(Impl_, type_) + 9091 sizeof(Impl_::flow_)); 9092 9093 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9094 } 9095 PROTOBUF_NDEBUG_INLINE SecurityScheme::Impl_::Impl_( 9096 ::google::protobuf::internal::InternalVisibility visibility, 9097 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9098 : _cached_size_{0}, 9099 extensions_{visibility, arena}, 9100 description_(arena), 9101 name_(arena), 9102 authorization_url_(arena), 9103 token_url_(arena) {} 9104 9105 inline void SecurityScheme::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 9106 new (&_impl_) Impl_(internal_visibility(), arena); 9107 ::memset(reinterpret_cast<char *>(&_impl_) + 9108 offsetof(Impl_, scopes_), 9109 0, 9110 offsetof(Impl_, flow_) - 9111 offsetof(Impl_, scopes_) + 9112 sizeof(Impl_::flow_)); 9113 } 9114 SecurityScheme::~SecurityScheme() { 9115 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9116 SharedDtor(*this); 9117 } 9118 inline void SecurityScheme::SharedDtor(MessageLite& self) { 9119 SecurityScheme& this_ = static_cast<SecurityScheme&>(self); 9120 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 9121 ABSL_DCHECK(this_.GetArena() == nullptr); 9122 this_._impl_.description_.Destroy(); 9123 this_._impl_.name_.Destroy(); 9124 this_._impl_.authorization_url_.Destroy(); 9125 this_._impl_.token_url_.Destroy(); 9126 delete this_._impl_.scopes_; 9127 this_._impl_.~Impl_(); 9128 } 9129 9130 inline void* PROTOBUF_NONNULL SecurityScheme::PlacementNew_( 9131 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 9132 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 9133 return ::new (mem) SecurityScheme(arena); 9134 } 9135 constexpr auto SecurityScheme::InternalNewImpl_() { 9136 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 9137 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.extensions_) + 9138 decltype(SecurityScheme::_impl_.extensions_):: 9139 InternalGetArenaOffset( 9140 ::google::protobuf::Message::internal_visibility()), 9141 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.extensions_) + 9142 decltype(SecurityScheme::_impl_.extensions_):: 9143 InternalGetArenaOffsetAlt( 9144 ::google::protobuf::Message::internal_visibility()), 9145 }); 9146 if (arena_bits.has_value()) { 9147 return ::google::protobuf::internal::MessageCreator::CopyInit( 9148 sizeof(SecurityScheme), alignof(SecurityScheme), *arena_bits); 9149 } else { 9150 return ::google::protobuf::internal::MessageCreator(&SecurityScheme::PlacementNew_, 9151 sizeof(SecurityScheme), 9152 alignof(SecurityScheme)); 9153 } 9154 } 9155 constexpr auto SecurityScheme::InternalGenerateClassData_() { 9156 return ::google::protobuf::internal::ClassDataFull{ 9157 ::google::protobuf::internal::ClassData{ 9158 &_SecurityScheme_default_instance_._instance, 9159 &_table_.header, 9160 nullptr, // OnDemandRegisterArenaDtor 9161 nullptr, // IsInitialized 9162 &SecurityScheme::MergeImpl, 9163 ::google::protobuf::Message::GetNewImpl<SecurityScheme>(), 9164 #if defined(PROTOBUF_CUSTOM_VTABLE) 9165 &SecurityScheme::SharedDtor, 9166 ::google::protobuf::Message::GetClearImpl<SecurityScheme>(), &SecurityScheme::ByteSizeLong, 9167 &SecurityScheme::_InternalSerialize, 9168 #endif // PROTOBUF_CUSTOM_VTABLE 9169 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_._cached_size_), 9170 false, 9171 }, 9172 &SecurityScheme::kDescriptorMethods, 9173 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9174 nullptr, // tracker 9175 }; 9176 } 9177 9178 PROTOBUF_CONSTINIT AGONES_EXPORT 9179 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 9180 SecurityScheme_class_data_ = 9181 SecurityScheme::InternalGenerateClassData_(); 9182 9183 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityScheme::GetClassData() const { 9184 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityScheme_class_data_); 9185 ::google::protobuf::internal::PrefetchToLocalCache(SecurityScheme_class_data_.tc_table); 9186 return SecurityScheme_class_data_.base(); 9187 } 9188 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9189 const ::_pbi::TcParseTable<3, 9, 3, 124, 2> 9190 SecurityScheme::_table_ = { 9191 { 9192 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_._has_bits_), 9193 0, // no _extensions_ 9194 9, 56, // max_field_number, fast_idx_mask 9195 offsetof(decltype(_table_), field_lookup_table), 9196 4294966784, // skipmap 9197 offsetof(decltype(_table_), field_entries), 9198 9, // num_field_entries 9199 3, // num_aux_entries 9200 offsetof(decltype(_table_), aux_entries), 9201 SecurityScheme_class_data_.base(), 9202 nullptr, // post_loop_handler 9203 ::_pbi::TcParser::GenericFallback, // fallback 9204 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9205 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityScheme>(), // to_prefetch 9206 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9207 }, {{ 9208 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9209 {::_pbi::TcParser::FastMtS1, 9210 {66, 4, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.scopes_)}}, 9211 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9212 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SecurityScheme, _impl_.type_), 5>(), 9213 {8, 5, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.type_)}}, 9214 // string description = 2; 9215 {::_pbi::TcParser::FastUS1, 9216 {18, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.description_)}}, 9217 // string name = 3; 9218 {::_pbi::TcParser::FastUS1, 9219 {26, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.name_)}}, 9220 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9221 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SecurityScheme, _impl_.in_), 6>(), 9222 {32, 6, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.in_)}}, 9223 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9224 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SecurityScheme, _impl_.flow_), 7>(), 9225 {40, 7, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.flow_)}}, 9226 // string authorization_url = 6; 9227 {::_pbi::TcParser::FastUS1, 9228 {50, 2, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.authorization_url_)}}, 9229 // string token_url = 7; 9230 {::_pbi::TcParser::FastUS1, 9231 {58, 3, 0, PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.token_url_)}}, 9232 }}, {{ 9233 65535, 65535 9234 }}, {{ 9235 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9236 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.type_), _Internal::kHasBitsOffset + 5, 0, 9237 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, 9238 // string description = 2; 9239 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.description_), _Internal::kHasBitsOffset + 0, 0, 9240 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9241 // string name = 3; 9242 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, 9243 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9244 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9245 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.in_), _Internal::kHasBitsOffset + 6, 0, 9246 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, 9247 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9248 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.flow_), _Internal::kHasBitsOffset + 7, 0, 9249 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, 9250 // string authorization_url = 6; 9251 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.authorization_url_), _Internal::kHasBitsOffset + 2, 0, 9252 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9253 // string token_url = 7; 9254 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.token_url_), _Internal::kHasBitsOffset + 3, 0, 9255 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9256 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9257 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.scopes_), _Internal::kHasBitsOffset + 4, 0, 9258 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 9259 // map<string, .google.protobuf.Value> extensions = 9; 9260 {PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.extensions_), -1, 1, 9261 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 9262 }}, 9263 {{ 9264 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Scopes>()}, 9265 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 9266 9, 11, 9267 0)}, 9268 {::_pbi::TcParser::GetTable<::google::protobuf::Value>()}, 9269 }}, 9270 {{ 9271 "\70\0\13\4\0\0\21\11\0\12\0\0\0\0\0\0" 9272 "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme" 9273 "description" 9274 "name" 9275 "authorization_url" 9276 "token_url" 9277 "extensions" 9278 }}, 9279 }; 9280 PROTOBUF_NOINLINE void SecurityScheme::Clear() { 9281 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9282 ::google::protobuf::internal::TSanWrite(&_impl_); 9283 ::uint32_t cached_has_bits = 0; 9284 // Prevent compiler warnings about cached_has_bits being unused 9285 (void) cached_has_bits; 9286 9287 _impl_.extensions_.Clear(); 9288 cached_has_bits = _impl_._has_bits_[0]; 9289 if ((cached_has_bits & 0x0000001fu) != 0) { 9290 if ((cached_has_bits & 0x00000001u) != 0) { 9291 _impl_.description_.ClearNonDefaultToEmpty(); 9292 } 9293 if ((cached_has_bits & 0x00000002u) != 0) { 9294 _impl_.name_.ClearNonDefaultToEmpty(); 9295 } 9296 if ((cached_has_bits & 0x00000004u) != 0) { 9297 _impl_.authorization_url_.ClearNonDefaultToEmpty(); 9298 } 9299 if ((cached_has_bits & 0x00000008u) != 0) { 9300 _impl_.token_url_.ClearNonDefaultToEmpty(); 9301 } 9302 if ((cached_has_bits & 0x00000010u) != 0) { 9303 ABSL_DCHECK(_impl_.scopes_ != nullptr); 9304 _impl_.scopes_->Clear(); 9305 } 9306 } 9307 if ((cached_has_bits & 0x000000e0u) != 0) { 9308 ::memset(&_impl_.type_, 0, static_cast<::size_t>( 9309 reinterpret_cast<char*>(&_impl_.flow_) - 9310 reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.flow_)); 9311 } 9312 _impl_._has_bits_.Clear(); 9313 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 9314 } 9315 9316 #if defined(PROTOBUF_CUSTOM_VTABLE) 9317 ::uint8_t* PROTOBUF_NONNULL SecurityScheme::_InternalSerialize( 9318 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 9319 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 9320 const SecurityScheme& this_ = static_cast<const SecurityScheme&>(base); 9321 #else // PROTOBUF_CUSTOM_VTABLE 9322 ::uint8_t* PROTOBUF_NONNULL SecurityScheme::_InternalSerialize( 9323 ::uint8_t* PROTOBUF_NONNULL target, 9324 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 9325 const SecurityScheme& this_ = *this; 9326 #endif // PROTOBUF_CUSTOM_VTABLE 9327 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9328 ::uint32_t cached_has_bits = 0; 9329 (void)cached_has_bits; 9330 9331 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9332 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { 9333 if (this_._internal_type() != 0) { 9334 target = stream->EnsureSpace(target); 9335 target = ::_pbi::WireFormatLite::WriteEnumToArray( 9336 1, this_._internal_type(), target); 9337 } 9338 } 9339 9340 // string description = 2; 9341 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 9342 if (!this_._internal_description().empty()) { 9343 const std::string& _s = this_._internal_description(); 9344 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9345 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.description"); 9346 target = stream->WriteStringMaybeAliased(2, _s, target); 9347 } 9348 } 9349 9350 // string name = 3; 9351 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 9352 if (!this_._internal_name().empty()) { 9353 const std::string& _s = this_._internal_name(); 9354 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9355 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.name"); 9356 target = stream->WriteStringMaybeAliased(3, _s, target); 9357 } 9358 } 9359 9360 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9361 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) { 9362 if (this_._internal_in() != 0) { 9363 target = stream->EnsureSpace(target); 9364 target = ::_pbi::WireFormatLite::WriteEnumToArray( 9365 4, this_._internal_in(), target); 9366 } 9367 } 9368 9369 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9370 if ((this_._impl_._has_bits_[0] & 0x00000080u) != 0) { 9371 if (this_._internal_flow() != 0) { 9372 target = stream->EnsureSpace(target); 9373 target = ::_pbi::WireFormatLite::WriteEnumToArray( 9374 5, this_._internal_flow(), target); 9375 } 9376 } 9377 9378 // string authorization_url = 6; 9379 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 9380 if (!this_._internal_authorization_url().empty()) { 9381 const std::string& _s = this_._internal_authorization_url(); 9382 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9383 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.authorization_url"); 9384 target = stream->WriteStringMaybeAliased(6, _s, target); 9385 } 9386 } 9387 9388 // string token_url = 7; 9389 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 9390 if (!this_._internal_token_url().empty()) { 9391 const std::string& _s = this_._internal_token_url(); 9392 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9393 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.token_url"); 9394 target = stream->WriteStringMaybeAliased(7, _s, target); 9395 } 9396 } 9397 9398 cached_has_bits = this_._impl_._has_bits_[0]; 9399 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9400 if ((cached_has_bits & 0x00000010u) != 0) { 9401 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 9402 8, *this_._impl_.scopes_, this_._impl_.scopes_->GetCachedSize(), target, 9403 stream); 9404 } 9405 9406 // map<string, .google.protobuf.Value> extensions = 9; 9407 if (!this_._internal_extensions().empty()) { 9408 using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; 9409 using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 9410 _pbi::WireFormatLite::TYPE_STRING, 9411 _pbi::WireFormatLite::TYPE_MESSAGE>; 9412 const auto& field = this_._internal_extensions(); 9413 9414 if (stream->IsSerializationDeterministic() && field.size() > 1) { 9415 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 9416 target = WireHelper::InternalSerialize( 9417 9, entry.first, entry.second, target, stream); 9418 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9419 entry.first.data(), static_cast<int>(entry.first.length()), 9420 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions"); 9421 } 9422 } else { 9423 for (const auto& entry : field) { 9424 target = WireHelper::InternalSerialize( 9425 9, entry.first, entry.second, target, stream); 9426 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9427 entry.first.data(), static_cast<int>(entry.first.length()), 9428 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions"); 9429 } 9430 } 9431 } 9432 9433 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 9434 target = 9435 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 9436 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 9437 } 9438 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9439 return target; 9440 } 9441 9442 #if defined(PROTOBUF_CUSTOM_VTABLE) 9443 ::size_t SecurityScheme::ByteSizeLong(const MessageLite& base) { 9444 const SecurityScheme& this_ = static_cast<const SecurityScheme&>(base); 9445 #else // PROTOBUF_CUSTOM_VTABLE 9446 ::size_t SecurityScheme::ByteSizeLong() const { 9447 const SecurityScheme& this_ = *this; 9448 #endif // PROTOBUF_CUSTOM_VTABLE 9449 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9450 ::size_t total_size = 0; 9451 9452 ::uint32_t cached_has_bits = 0; 9453 // Prevent compiler warnings about cached_has_bits being unused 9454 (void)cached_has_bits; 9455 9456 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 9457 { 9458 // map<string, .google.protobuf.Value> extensions = 9; 9459 { 9460 total_size += 9461 1 * ::google::protobuf::internal::FromIntSize(this_._internal_extensions_size()); 9462 for (const auto& entry : this_._internal_extensions()) { 9463 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, 9464 _pbi::WireFormatLite::TYPE_STRING, 9465 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 9466 } 9467 } 9468 } 9469 cached_has_bits = this_._impl_._has_bits_[0]; 9470 if ((cached_has_bits & 0x000000ffu) != 0) { 9471 // string description = 2; 9472 if ((cached_has_bits & 0x00000001u) != 0) { 9473 if (!this_._internal_description().empty()) { 9474 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9475 this_._internal_description()); 9476 } 9477 } 9478 // string name = 3; 9479 if ((cached_has_bits & 0x00000002u) != 0) { 9480 if (!this_._internal_name().empty()) { 9481 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9482 this_._internal_name()); 9483 } 9484 } 9485 // string authorization_url = 6; 9486 if ((cached_has_bits & 0x00000004u) != 0) { 9487 if (!this_._internal_authorization_url().empty()) { 9488 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9489 this_._internal_authorization_url()); 9490 } 9491 } 9492 // string token_url = 7; 9493 if ((cached_has_bits & 0x00000008u) != 0) { 9494 if (!this_._internal_token_url().empty()) { 9495 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 9496 this_._internal_token_url()); 9497 } 9498 } 9499 // .grpc.gateway.protoc_gen_openapiv2.options.Scopes scopes = 8; 9500 if ((cached_has_bits & 0x00000010u) != 0) { 9501 total_size += 1 + 9502 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.scopes_); 9503 } 9504 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type type = 1; 9505 if ((cached_has_bits & 0x00000020u) != 0) { 9506 if (this_._internal_type() != 0) { 9507 total_size += 1 + 9508 ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); 9509 } 9510 } 9511 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In in = 4; 9512 if ((cached_has_bits & 0x00000040u) != 0) { 9513 if (this_._internal_in() != 0) { 9514 total_size += 1 + 9515 ::_pbi::WireFormatLite::EnumSize(this_._internal_in()); 9516 } 9517 } 9518 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow flow = 5; 9519 if ((cached_has_bits & 0x00000080u) != 0) { 9520 if (this_._internal_flow() != 0) { 9521 total_size += 1 + 9522 ::_pbi::WireFormatLite::EnumSize(this_._internal_flow()); 9523 } 9524 } 9525 } 9526 return this_.MaybeComputeUnknownFieldsSize(total_size, 9527 &this_._impl_._cached_size_); 9528 } 9529 9530 void SecurityScheme::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 9531 auto* const _this = static_cast<SecurityScheme*>(&to_msg); 9532 auto& from = static_cast<const SecurityScheme&>(from_msg); 9533 ::google::protobuf::Arena* arena = _this->GetArena(); 9534 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9535 ABSL_DCHECK_NE(&from, _this); 9536 ::uint32_t cached_has_bits = 0; 9537 (void) cached_has_bits; 9538 9539 _this->_impl_.extensions_.MergeFrom(from._impl_.extensions_); 9540 cached_has_bits = from._impl_._has_bits_[0]; 9541 if ((cached_has_bits & 0x000000ffu) != 0) { 9542 if ((cached_has_bits & 0x00000001u) != 0) { 9543 if (!from._internal_description().empty()) { 9544 _this->_internal_set_description(from._internal_description()); 9545 } else { 9546 if (_this->_impl_.description_.IsDefault()) { 9547 _this->_internal_set_description(""); 9548 } 9549 } 9550 } 9551 if ((cached_has_bits & 0x00000002u) != 0) { 9552 if (!from._internal_name().empty()) { 9553 _this->_internal_set_name(from._internal_name()); 9554 } else { 9555 if (_this->_impl_.name_.IsDefault()) { 9556 _this->_internal_set_name(""); 9557 } 9558 } 9559 } 9560 if ((cached_has_bits & 0x00000004u) != 0) { 9561 if (!from._internal_authorization_url().empty()) { 9562 _this->_internal_set_authorization_url(from._internal_authorization_url()); 9563 } else { 9564 if (_this->_impl_.authorization_url_.IsDefault()) { 9565 _this->_internal_set_authorization_url(""); 9566 } 9567 } 9568 } 9569 if ((cached_has_bits & 0x00000008u) != 0) { 9570 if (!from._internal_token_url().empty()) { 9571 _this->_internal_set_token_url(from._internal_token_url()); 9572 } else { 9573 if (_this->_impl_.token_url_.IsDefault()) { 9574 _this->_internal_set_token_url(""); 9575 } 9576 } 9577 } 9578 if ((cached_has_bits & 0x00000010u) != 0) { 9579 ABSL_DCHECK(from._impl_.scopes_ != nullptr); 9580 if (_this->_impl_.scopes_ == nullptr) { 9581 _this->_impl_.scopes_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.scopes_); 9582 } else { 9583 _this->_impl_.scopes_->MergeFrom(*from._impl_.scopes_); 9584 } 9585 } 9586 if ((cached_has_bits & 0x00000020u) != 0) { 9587 if (from._internal_type() != 0) { 9588 _this->_impl_.type_ = from._impl_.type_; 9589 } 9590 } 9591 if ((cached_has_bits & 0x00000040u) != 0) { 9592 if (from._internal_in() != 0) { 9593 _this->_impl_.in_ = from._impl_.in_; 9594 } 9595 } 9596 if ((cached_has_bits & 0x00000080u) != 0) { 9597 if (from._internal_flow() != 0) { 9598 _this->_impl_.flow_ = from._impl_.flow_; 9599 } 9600 } 9601 } 9602 _this->_impl_._has_bits_[0] |= cached_has_bits; 9603 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 9604 } 9605 9606 void SecurityScheme::CopyFrom(const SecurityScheme& from) { 9607 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme) 9608 if (&from == this) return; 9609 Clear(); 9610 MergeFrom(from); 9611 } 9612 9613 9614 void SecurityScheme::InternalSwap(SecurityScheme* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 9615 using std::swap; 9616 auto* arena = GetArena(); 9617 ABSL_DCHECK_EQ(arena, other->GetArena()); 9618 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 9619 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 9620 _impl_.extensions_.InternalSwap(&other->_impl_.extensions_); 9621 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena); 9622 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 9623 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.authorization_url_, &other->_impl_.authorization_url_, arena); 9624 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.token_url_, &other->_impl_.token_url_, arena); 9625 ::google::protobuf::internal::memswap< 9626 PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.flow_) 9627 + sizeof(SecurityScheme::_impl_.flow_) 9628 - PROTOBUF_FIELD_OFFSET(SecurityScheme, _impl_.scopes_)>( 9629 reinterpret_cast<char*>(&_impl_.scopes_), 9630 reinterpret_cast<char*>(&other->_impl_.scopes_)); 9631 } 9632 9633 ::google::protobuf::Metadata SecurityScheme::GetMetadata() const { 9634 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 9635 } 9636 // =================================================================== 9637 9638 class SecurityRequirement_SecurityRequirementValue::_Internal { 9639 public: 9640 }; 9641 9642 SecurityRequirement_SecurityRequirementValue::SecurityRequirement_SecurityRequirementValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9643 #if defined(PROTOBUF_CUSTOM_VTABLE) 9644 : ::google::protobuf::Message(arena, SecurityRequirement_SecurityRequirementValue_class_data_.base()) { 9645 #else // PROTOBUF_CUSTOM_VTABLE 9646 : ::google::protobuf::Message(arena) { 9647 #endif // PROTOBUF_CUSTOM_VTABLE 9648 SharedCtor(arena); 9649 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9650 } 9651 PROTOBUF_NDEBUG_INLINE SecurityRequirement_SecurityRequirementValue::Impl_::Impl_( 9652 ::google::protobuf::internal::InternalVisibility visibility, 9653 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 9654 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue& from_msg) 9655 : scope_{visibility, arena, from.scope_}, 9656 _cached_size_{0} {} 9657 9658 SecurityRequirement_SecurityRequirementValue::SecurityRequirement_SecurityRequirementValue( 9659 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 9660 const SecurityRequirement_SecurityRequirementValue& from) 9661 #if defined(PROTOBUF_CUSTOM_VTABLE) 9662 : ::google::protobuf::Message(arena, SecurityRequirement_SecurityRequirementValue_class_data_.base()) { 9663 #else // PROTOBUF_CUSTOM_VTABLE 9664 : ::google::protobuf::Message(arena) { 9665 #endif // PROTOBUF_CUSTOM_VTABLE 9666 SecurityRequirement_SecurityRequirementValue* const _this = this; 9667 (void)_this; 9668 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 9669 from._internal_metadata_); 9670 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 9671 9672 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9673 } 9674 PROTOBUF_NDEBUG_INLINE SecurityRequirement_SecurityRequirementValue::Impl_::Impl_( 9675 ::google::protobuf::internal::InternalVisibility visibility, 9676 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9677 : scope_{visibility, arena}, 9678 _cached_size_{0} {} 9679 9680 inline void SecurityRequirement_SecurityRequirementValue::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 9681 new (&_impl_) Impl_(internal_visibility(), arena); 9682 } 9683 SecurityRequirement_SecurityRequirementValue::~SecurityRequirement_SecurityRequirementValue() { 9684 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9685 SharedDtor(*this); 9686 } 9687 inline void SecurityRequirement_SecurityRequirementValue::SharedDtor(MessageLite& self) { 9688 SecurityRequirement_SecurityRequirementValue& this_ = static_cast<SecurityRequirement_SecurityRequirementValue&>(self); 9689 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 9690 ABSL_DCHECK(this_.GetArena() == nullptr); 9691 this_._impl_.~Impl_(); 9692 } 9693 9694 inline void* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::PlacementNew_( 9695 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 9696 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 9697 return ::new (mem) SecurityRequirement_SecurityRequirementValue(arena); 9698 } 9699 constexpr auto SecurityRequirement_SecurityRequirementValue::InternalNewImpl_() { 9700 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 9701 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_.scope_) + 9702 decltype(SecurityRequirement_SecurityRequirementValue::_impl_.scope_):: 9703 InternalGetArenaOffset( 9704 ::google::protobuf::Message::internal_visibility()), 9705 }); 9706 if (arena_bits.has_value()) { 9707 return ::google::protobuf::internal::MessageCreator::ZeroInit( 9708 sizeof(SecurityRequirement_SecurityRequirementValue), alignof(SecurityRequirement_SecurityRequirementValue), *arena_bits); 9709 } else { 9710 return ::google::protobuf::internal::MessageCreator(&SecurityRequirement_SecurityRequirementValue::PlacementNew_, 9711 sizeof(SecurityRequirement_SecurityRequirementValue), 9712 alignof(SecurityRequirement_SecurityRequirementValue)); 9713 } 9714 } 9715 constexpr auto SecurityRequirement_SecurityRequirementValue::InternalGenerateClassData_() { 9716 return ::google::protobuf::internal::ClassDataFull{ 9717 ::google::protobuf::internal::ClassData{ 9718 &_SecurityRequirement_SecurityRequirementValue_default_instance_._instance, 9719 &_table_.header, 9720 nullptr, // OnDemandRegisterArenaDtor 9721 nullptr, // IsInitialized 9722 &SecurityRequirement_SecurityRequirementValue::MergeImpl, 9723 ::google::protobuf::Message::GetNewImpl<SecurityRequirement_SecurityRequirementValue>(), 9724 #if defined(PROTOBUF_CUSTOM_VTABLE) 9725 &SecurityRequirement_SecurityRequirementValue::SharedDtor, 9726 ::google::protobuf::Message::GetClearImpl<SecurityRequirement_SecurityRequirementValue>(), &SecurityRequirement_SecurityRequirementValue::ByteSizeLong, 9727 &SecurityRequirement_SecurityRequirementValue::_InternalSerialize, 9728 #endif // PROTOBUF_CUSTOM_VTABLE 9729 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_._cached_size_), 9730 false, 9731 }, 9732 &SecurityRequirement_SecurityRequirementValue::kDescriptorMethods, 9733 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9734 nullptr, // tracker 9735 }; 9736 } 9737 9738 PROTOBUF_CONSTINIT AGONES_EXPORT 9739 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 9740 SecurityRequirement_SecurityRequirementValue_class_data_ = 9741 SecurityRequirement_SecurityRequirementValue::InternalGenerateClassData_(); 9742 9743 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::GetClassData() const { 9744 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityRequirement_SecurityRequirementValue_class_data_); 9745 ::google::protobuf::internal::PrefetchToLocalCache(SecurityRequirement_SecurityRequirementValue_class_data_.tc_table); 9746 return SecurityRequirement_SecurityRequirementValue_class_data_.base(); 9747 } 9748 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9749 const ::_pbi::TcParseTable<0, 1, 0, 100, 2> 9750 SecurityRequirement_SecurityRequirementValue::_table_ = { 9751 { 9752 0, // no _has_bits_ 9753 0, // no _extensions_ 9754 1, 0, // max_field_number, fast_idx_mask 9755 offsetof(decltype(_table_), field_lookup_table), 9756 4294967294, // skipmap 9757 offsetof(decltype(_table_), field_entries), 9758 1, // num_field_entries 9759 0, // num_aux_entries 9760 offsetof(decltype(_table_), field_names), // no aux_entries 9761 SecurityRequirement_SecurityRequirementValue_class_data_.base(), 9762 nullptr, // post_loop_handler 9763 ::_pbi::TcParser::GenericFallback, // fallback 9764 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9765 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>(), // to_prefetch 9766 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9767 }, {{ 9768 // repeated string scope = 1; 9769 {::_pbi::TcParser::FastUR1, 9770 {10, 63, 0, PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_.scope_)}}, 9771 }}, {{ 9772 65535, 65535 9773 }}, {{ 9774 // repeated string scope = 1; 9775 {PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementValue, _impl_.scope_), 0, 0, 9776 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 9777 }}, 9778 // no aux_entries 9779 {{ 9780 "\126\5\0\0\0\0\0\0" 9781 "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue" 9782 "scope" 9783 }}, 9784 }; 9785 PROTOBUF_NOINLINE void SecurityRequirement_SecurityRequirementValue::Clear() { 9786 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9787 ::google::protobuf::internal::TSanWrite(&_impl_); 9788 ::uint32_t cached_has_bits = 0; 9789 // Prevent compiler warnings about cached_has_bits being unused 9790 (void) cached_has_bits; 9791 9792 _impl_.scope_.Clear(); 9793 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 9794 } 9795 9796 #if defined(PROTOBUF_CUSTOM_VTABLE) 9797 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::_InternalSerialize( 9798 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 9799 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 9800 const SecurityRequirement_SecurityRequirementValue& this_ = static_cast<const SecurityRequirement_SecurityRequirementValue&>(base); 9801 #else // PROTOBUF_CUSTOM_VTABLE 9802 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementValue::_InternalSerialize( 9803 ::uint8_t* PROTOBUF_NONNULL target, 9804 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 9805 const SecurityRequirement_SecurityRequirementValue& this_ = *this; 9806 #endif // PROTOBUF_CUSTOM_VTABLE 9807 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9808 ::uint32_t cached_has_bits = 0; 9809 (void)cached_has_bits; 9810 9811 // repeated string scope = 1; 9812 for (int i = 0, n = this_._internal_scope_size(); i < n; ++i) { 9813 const auto& s = this_._internal_scope().Get(i); 9814 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 9815 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue.scope"); 9816 target = stream->WriteString(1, s, target); 9817 } 9818 9819 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 9820 target = 9821 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 9822 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 9823 } 9824 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9825 return target; 9826 } 9827 9828 #if defined(PROTOBUF_CUSTOM_VTABLE) 9829 ::size_t SecurityRequirement_SecurityRequirementValue::ByteSizeLong(const MessageLite& base) { 9830 const SecurityRequirement_SecurityRequirementValue& this_ = static_cast<const SecurityRequirement_SecurityRequirementValue&>(base); 9831 #else // PROTOBUF_CUSTOM_VTABLE 9832 ::size_t SecurityRequirement_SecurityRequirementValue::ByteSizeLong() const { 9833 const SecurityRequirement_SecurityRequirementValue& this_ = *this; 9834 #endif // PROTOBUF_CUSTOM_VTABLE 9835 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9836 ::size_t total_size = 0; 9837 9838 ::uint32_t cached_has_bits = 0; 9839 // Prevent compiler warnings about cached_has_bits being unused 9840 (void)cached_has_bits; 9841 9842 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 9843 { 9844 // repeated string scope = 1; 9845 { 9846 total_size += 9847 1 * ::google::protobuf::internal::FromIntSize(this_._internal_scope().size()); 9848 for (int i = 0, n = this_._internal_scope().size(); i < n; ++i) { 9849 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 9850 this_._internal_scope().Get(i)); 9851 } 9852 } 9853 } 9854 return this_.MaybeComputeUnknownFieldsSize(total_size, 9855 &this_._impl_._cached_size_); 9856 } 9857 9858 void SecurityRequirement_SecurityRequirementValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 9859 auto* const _this = static_cast<SecurityRequirement_SecurityRequirementValue*>(&to_msg); 9860 auto& from = static_cast<const SecurityRequirement_SecurityRequirementValue&>(from_msg); 9861 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9862 ABSL_DCHECK_NE(&from, _this); 9863 ::uint32_t cached_has_bits = 0; 9864 (void) cached_has_bits; 9865 9866 _this->_internal_mutable_scope()->MergeFrom(from._internal_scope()); 9867 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 9868 } 9869 9870 void SecurityRequirement_SecurityRequirementValue::CopyFrom(const SecurityRequirement_SecurityRequirementValue& from) { 9871 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue) 9872 if (&from == this) return; 9873 Clear(); 9874 MergeFrom(from); 9875 } 9876 9877 9878 void SecurityRequirement_SecurityRequirementValue::InternalSwap(SecurityRequirement_SecurityRequirementValue* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 9879 using std::swap; 9880 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 9881 _impl_.scope_.InternalSwap(&other->_impl_.scope_); 9882 } 9883 9884 ::google::protobuf::Metadata SecurityRequirement_SecurityRequirementValue::GetMetadata() const { 9885 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 9886 } 9887 // =================================================================== 9888 9889 #if defined(PROTOBUF_CUSTOM_VTABLE) 9890 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse() 9891 : SuperType(SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base()) {} 9892 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9893 : SuperType(arena, SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base()) {} 9894 #else // PROTOBUF_CUSTOM_VTABLE 9895 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse() : SuperType() {} 9896 SecurityRequirement_SecurityRequirementEntry_DoNotUse::SecurityRequirement_SecurityRequirementEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 9897 #endif // PROTOBUF_CUSTOM_VTABLE 9898 inline void* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementEntry_DoNotUse::PlacementNew_( 9899 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 9900 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 9901 return ::new (mem) SecurityRequirement_SecurityRequirementEntry_DoNotUse(arena); 9902 } 9903 constexpr auto SecurityRequirement_SecurityRequirementEntry_DoNotUse::InternalNewImpl_() { 9904 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SecurityRequirement_SecurityRequirementEntry_DoNotUse), 9905 alignof(SecurityRequirement_SecurityRequirementEntry_DoNotUse)); 9906 } 9907 constexpr auto SecurityRequirement_SecurityRequirementEntry_DoNotUse::InternalGenerateClassData_() { 9908 return ::google::protobuf::internal::ClassDataFull{ 9909 ::google::protobuf::internal::ClassData{ 9910 &_SecurityRequirement_SecurityRequirementEntry_DoNotUse_default_instance_._instance, 9911 &_table_.header, 9912 nullptr, // OnDemandRegisterArenaDtor 9913 nullptr, // IsInitialized 9914 &SecurityRequirement_SecurityRequirementEntry_DoNotUse::MergeImpl, 9915 ::google::protobuf::Message::GetNewImpl<SecurityRequirement_SecurityRequirementEntry_DoNotUse>(), 9916 #if defined(PROTOBUF_CUSTOM_VTABLE) 9917 &SecurityRequirement_SecurityRequirementEntry_DoNotUse::SharedDtor, 9918 static_cast<void (::google::protobuf::MessageLite::*)()>(&SecurityRequirement_SecurityRequirementEntry_DoNotUse::ClearImpl), 9919 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 9920 , 9921 #endif // PROTOBUF_CUSTOM_VTABLE 9922 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_._cached_size_), 9923 false, 9924 }, 9925 &SecurityRequirement_SecurityRequirementEntry_DoNotUse::kDescriptorMethods, 9926 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 9927 nullptr, // tracker 9928 }; 9929 } 9930 9931 PROTOBUF_CONSTINIT AGONES_EXPORT 9932 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 9933 SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_ = 9934 SecurityRequirement_SecurityRequirementEntry_DoNotUse::InternalGenerateClassData_(); 9935 9936 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityRequirement_SecurityRequirementEntry_DoNotUse::GetClassData() const { 9937 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_); 9938 ::google::protobuf::internal::PrefetchToLocalCache(SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.tc_table); 9939 return SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base(); 9940 } 9941 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 9942 const ::_pbi::TcParseTable<1, 2, 1, 98, 2> 9943 SecurityRequirement_SecurityRequirementEntry_DoNotUse::_table_ = { 9944 { 9945 PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_._has_bits_), 9946 0, // no _extensions_ 9947 2, 8, // max_field_number, fast_idx_mask 9948 offsetof(decltype(_table_), field_lookup_table), 9949 4294967292, // skipmap 9950 offsetof(decltype(_table_), field_entries), 9951 2, // num_field_entries 9952 1, // num_aux_entries 9953 offsetof(decltype(_table_), aux_entries), 9954 SecurityRequirement_SecurityRequirementEntry_DoNotUse_class_data_.base(), 9955 nullptr, // post_loop_handler 9956 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 9957 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 9958 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementEntry_DoNotUse>(), // to_prefetch 9959 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 9960 }, {{ 9961 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue value = 2; 9962 {::_pbi::TcParser::FastMtS1, 9963 {18, 1, 0, PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.value_)}}, 9964 // string key = 1; 9965 {::_pbi::TcParser::FastUS1, 9966 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.key_)}}, 9967 }}, {{ 9968 65535, 65535 9969 }}, {{ 9970 // string key = 1; 9971 {PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 9972 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 9973 // .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue value = 2; 9974 {PROTOBUF_FIELD_OFFSET(SecurityRequirement_SecurityRequirementEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 9975 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 9976 }}, 9977 {{ 9978 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>()}, 9979 }}, 9980 {{ 9981 "\126\3\0\0\0\0\0\0" 9982 "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry" 9983 "key" 9984 }}, 9985 }; 9986 // =================================================================== 9987 9988 class SecurityRequirement::_Internal { 9989 public: 9990 }; 9991 9992 SecurityRequirement::SecurityRequirement(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 9993 #if defined(PROTOBUF_CUSTOM_VTABLE) 9994 : ::google::protobuf::Message(arena, SecurityRequirement_class_data_.base()) { 9995 #else // PROTOBUF_CUSTOM_VTABLE 9996 : ::google::protobuf::Message(arena) { 9997 #endif // PROTOBUF_CUSTOM_VTABLE 9998 SharedCtor(arena); 9999 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10000 } 10001 PROTOBUF_NDEBUG_INLINE SecurityRequirement::Impl_::Impl_( 10002 ::google::protobuf::internal::InternalVisibility visibility, 10003 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 10004 const ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement& from_msg) 10005 : security_requirement_{visibility, arena, from.security_requirement_}, 10006 _cached_size_{0} {} 10007 10008 SecurityRequirement::SecurityRequirement( 10009 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 10010 const SecurityRequirement& from) 10011 #if defined(PROTOBUF_CUSTOM_VTABLE) 10012 : ::google::protobuf::Message(arena, SecurityRequirement_class_data_.base()) { 10013 #else // PROTOBUF_CUSTOM_VTABLE 10014 : ::google::protobuf::Message(arena) { 10015 #endif // PROTOBUF_CUSTOM_VTABLE 10016 SecurityRequirement* const _this = this; 10017 (void)_this; 10018 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 10019 from._internal_metadata_); 10020 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 10021 10022 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10023 } 10024 PROTOBUF_NDEBUG_INLINE SecurityRequirement::Impl_::Impl_( 10025 ::google::protobuf::internal::InternalVisibility visibility, 10026 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10027 : security_requirement_{visibility, arena}, 10028 _cached_size_{0} {} 10029 10030 inline void SecurityRequirement::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 10031 new (&_impl_) Impl_(internal_visibility(), arena); 10032 } 10033 SecurityRequirement::~SecurityRequirement() { 10034 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10035 SharedDtor(*this); 10036 } 10037 inline void SecurityRequirement::SharedDtor(MessageLite& self) { 10038 SecurityRequirement& this_ = static_cast<SecurityRequirement&>(self); 10039 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 10040 ABSL_DCHECK(this_.GetArena() == nullptr); 10041 this_._impl_.~Impl_(); 10042 } 10043 10044 inline void* PROTOBUF_NONNULL SecurityRequirement::PlacementNew_( 10045 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 10046 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 10047 return ::new (mem) SecurityRequirement(arena); 10048 } 10049 constexpr auto SecurityRequirement::InternalNewImpl_() { 10050 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 10051 PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_.security_requirement_) + 10052 decltype(SecurityRequirement::_impl_.security_requirement_):: 10053 InternalGetArenaOffset( 10054 ::google::protobuf::Message::internal_visibility()), 10055 PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_.security_requirement_) + 10056 decltype(SecurityRequirement::_impl_.security_requirement_):: 10057 InternalGetArenaOffsetAlt( 10058 ::google::protobuf::Message::internal_visibility()), 10059 }); 10060 if (arena_bits.has_value()) { 10061 return ::google::protobuf::internal::MessageCreator::CopyInit( 10062 sizeof(SecurityRequirement), alignof(SecurityRequirement), *arena_bits); 10063 } else { 10064 return ::google::protobuf::internal::MessageCreator(&SecurityRequirement::PlacementNew_, 10065 sizeof(SecurityRequirement), 10066 alignof(SecurityRequirement)); 10067 } 10068 } 10069 constexpr auto SecurityRequirement::InternalGenerateClassData_() { 10070 return ::google::protobuf::internal::ClassDataFull{ 10071 ::google::protobuf::internal::ClassData{ 10072 &_SecurityRequirement_default_instance_._instance, 10073 &_table_.header, 10074 nullptr, // OnDemandRegisterArenaDtor 10075 nullptr, // IsInitialized 10076 &SecurityRequirement::MergeImpl, 10077 ::google::protobuf::Message::GetNewImpl<SecurityRequirement>(), 10078 #if defined(PROTOBUF_CUSTOM_VTABLE) 10079 &SecurityRequirement::SharedDtor, 10080 ::google::protobuf::Message::GetClearImpl<SecurityRequirement>(), &SecurityRequirement::ByteSizeLong, 10081 &SecurityRequirement::_InternalSerialize, 10082 #endif // PROTOBUF_CUSTOM_VTABLE 10083 PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_._cached_size_), 10084 false, 10085 }, 10086 &SecurityRequirement::kDescriptorMethods, 10087 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 10088 nullptr, // tracker 10089 }; 10090 } 10091 10092 PROTOBUF_CONSTINIT AGONES_EXPORT 10093 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 10094 SecurityRequirement_class_data_ = 10095 SecurityRequirement::InternalGenerateClassData_(); 10096 10097 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL SecurityRequirement::GetClassData() const { 10098 ::google::protobuf::internal::PrefetchToLocalCache(&SecurityRequirement_class_data_); 10099 ::google::protobuf::internal::PrefetchToLocalCache(SecurityRequirement_class_data_.tc_table); 10100 return SecurityRequirement_class_data_.base(); 10101 } 10102 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 10103 const ::_pbi::TcParseTable<0, 1, 2, 90, 2> 10104 SecurityRequirement::_table_ = { 10105 { 10106 0, // no _has_bits_ 10107 0, // no _extensions_ 10108 1, 0, // max_field_number, fast_idx_mask 10109 offsetof(decltype(_table_), field_lookup_table), 10110 4294967294, // skipmap 10111 offsetof(decltype(_table_), field_entries), 10112 1, // num_field_entries 10113 2, // num_aux_entries 10114 offsetof(decltype(_table_), aux_entries), 10115 SecurityRequirement_class_data_.base(), 10116 nullptr, // post_loop_handler 10117 ::_pbi::TcParser::GenericFallback, // fallback 10118 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 10119 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement>(), // to_prefetch 10120 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 10121 }, {{ 10122 {::_pbi::TcParser::MiniParse, {}}, 10123 }}, {{ 10124 65535, 65535 10125 }}, {{ 10126 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 10127 {PROTOBUF_FIELD_OFFSET(SecurityRequirement, _impl_.security_requirement_), 0, 0, 10128 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 10129 }}, 10130 {{ 10131 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 10132 9, 11, 10133 0)}, 10134 {::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>()}, 10135 }}, 10136 {{ 10137 "\75\24\0\0\0\0\0\0" 10138 "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement" 10139 "security_requirement" 10140 }}, 10141 }; 10142 PROTOBUF_NOINLINE void SecurityRequirement::Clear() { 10143 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10144 ::google::protobuf::internal::TSanWrite(&_impl_); 10145 ::uint32_t cached_has_bits = 0; 10146 // Prevent compiler warnings about cached_has_bits being unused 10147 (void) cached_has_bits; 10148 10149 _impl_.security_requirement_.Clear(); 10150 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 10151 } 10152 10153 #if defined(PROTOBUF_CUSTOM_VTABLE) 10154 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement::_InternalSerialize( 10155 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 10156 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 10157 const SecurityRequirement& this_ = static_cast<const SecurityRequirement&>(base); 10158 #else // PROTOBUF_CUSTOM_VTABLE 10159 ::uint8_t* PROTOBUF_NONNULL SecurityRequirement::_InternalSerialize( 10160 ::uint8_t* PROTOBUF_NONNULL target, 10161 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 10162 const SecurityRequirement& this_ = *this; 10163 #endif // PROTOBUF_CUSTOM_VTABLE 10164 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10165 ::uint32_t cached_has_bits = 0; 10166 (void)cached_has_bits; 10167 10168 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 10169 if (!this_._internal_security_requirement().empty()) { 10170 using MapType = ::google::protobuf::Map<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue>; 10171 using WireHelper = _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, 10172 _pbi::WireFormatLite::TYPE_STRING, 10173 _pbi::WireFormatLite::TYPE_MESSAGE>; 10174 const auto& field = this_._internal_security_requirement(); 10175 10176 if (stream->IsSerializationDeterministic() && field.size() > 1) { 10177 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 10178 target = WireHelper::InternalSerialize( 10179 1, entry.first, entry.second, target, stream); 10180 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10181 entry.first.data(), static_cast<int>(entry.first.length()), 10182 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement"); 10183 } 10184 } else { 10185 for (const auto& entry : field) { 10186 target = WireHelper::InternalSerialize( 10187 1, entry.first, entry.second, target, stream); 10188 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10189 entry.first.data(), static_cast<int>(entry.first.length()), 10190 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement"); 10191 } 10192 } 10193 } 10194 10195 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 10196 target = 10197 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 10198 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 10199 } 10200 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10201 return target; 10202 } 10203 10204 #if defined(PROTOBUF_CUSTOM_VTABLE) 10205 ::size_t SecurityRequirement::ByteSizeLong(const MessageLite& base) { 10206 const SecurityRequirement& this_ = static_cast<const SecurityRequirement&>(base); 10207 #else // PROTOBUF_CUSTOM_VTABLE 10208 ::size_t SecurityRequirement::ByteSizeLong() const { 10209 const SecurityRequirement& this_ = *this; 10210 #endif // PROTOBUF_CUSTOM_VTABLE 10211 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10212 ::size_t total_size = 0; 10213 10214 ::uint32_t cached_has_bits = 0; 10215 // Prevent compiler warnings about cached_has_bits being unused 10216 (void)cached_has_bits; 10217 10218 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 10219 { 10220 // map<string, .grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue> security_requirement = 1; 10221 { 10222 total_size += 10223 1 * ::google::protobuf::internal::FromIntSize(this_._internal_security_requirement_size()); 10224 for (const auto& entry : this_._internal_security_requirement()) { 10225 total_size += _pbi::MapEntryFuncs<std::string, ::grpc::gateway::protoc_gen_openapiv2::options::SecurityRequirement_SecurityRequirementValue, 10226 _pbi::WireFormatLite::TYPE_STRING, 10227 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 10228 } 10229 } 10230 } 10231 return this_.MaybeComputeUnknownFieldsSize(total_size, 10232 &this_._impl_._cached_size_); 10233 } 10234 10235 void SecurityRequirement::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 10236 auto* const _this = static_cast<SecurityRequirement*>(&to_msg); 10237 auto& from = static_cast<const SecurityRequirement&>(from_msg); 10238 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10239 ABSL_DCHECK_NE(&from, _this); 10240 ::uint32_t cached_has_bits = 0; 10241 (void) cached_has_bits; 10242 10243 _this->_impl_.security_requirement_.MergeFrom(from._impl_.security_requirement_); 10244 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 10245 } 10246 10247 void SecurityRequirement::CopyFrom(const SecurityRequirement& from) { 10248 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement) 10249 if (&from == this) return; 10250 Clear(); 10251 MergeFrom(from); 10252 } 10253 10254 10255 void SecurityRequirement::InternalSwap(SecurityRequirement* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 10256 using std::swap; 10257 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 10258 _impl_.security_requirement_.InternalSwap(&other->_impl_.security_requirement_); 10259 } 10260 10261 ::google::protobuf::Metadata SecurityRequirement::GetMetadata() const { 10262 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 10263 } 10264 // =================================================================== 10265 10266 #if defined(PROTOBUF_CUSTOM_VTABLE) 10267 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse() 10268 : SuperType(Scopes_ScopeEntry_DoNotUse_class_data_.base()) {} 10269 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10270 : SuperType(arena, Scopes_ScopeEntry_DoNotUse_class_data_.base()) {} 10271 #else // PROTOBUF_CUSTOM_VTABLE 10272 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse() : SuperType() {} 10273 Scopes_ScopeEntry_DoNotUse::Scopes_ScopeEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 10274 #endif // PROTOBUF_CUSTOM_VTABLE 10275 inline void* PROTOBUF_NONNULL Scopes_ScopeEntry_DoNotUse::PlacementNew_( 10276 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 10277 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 10278 return ::new (mem) Scopes_ScopeEntry_DoNotUse(arena); 10279 } 10280 constexpr auto Scopes_ScopeEntry_DoNotUse::InternalNewImpl_() { 10281 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Scopes_ScopeEntry_DoNotUse), 10282 alignof(Scopes_ScopeEntry_DoNotUse)); 10283 } 10284 constexpr auto Scopes_ScopeEntry_DoNotUse::InternalGenerateClassData_() { 10285 return ::google::protobuf::internal::ClassDataFull{ 10286 ::google::protobuf::internal::ClassData{ 10287 &_Scopes_ScopeEntry_DoNotUse_default_instance_._instance, 10288 &_table_.header, 10289 nullptr, // OnDemandRegisterArenaDtor 10290 nullptr, // IsInitialized 10291 &Scopes_ScopeEntry_DoNotUse::MergeImpl, 10292 ::google::protobuf::Message::GetNewImpl<Scopes_ScopeEntry_DoNotUse>(), 10293 #if defined(PROTOBUF_CUSTOM_VTABLE) 10294 &Scopes_ScopeEntry_DoNotUse::SharedDtor, 10295 static_cast<void (::google::protobuf::MessageLite::*)()>(&Scopes_ScopeEntry_DoNotUse::ClearImpl), 10296 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 10297 , 10298 #endif // PROTOBUF_CUSTOM_VTABLE 10299 PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_._cached_size_), 10300 false, 10301 }, 10302 &Scopes_ScopeEntry_DoNotUse::kDescriptorMethods, 10303 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 10304 nullptr, // tracker 10305 }; 10306 } 10307 10308 PROTOBUF_CONSTINIT AGONES_EXPORT 10309 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 10310 Scopes_ScopeEntry_DoNotUse_class_data_ = 10311 Scopes_ScopeEntry_DoNotUse::InternalGenerateClassData_(); 10312 10313 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Scopes_ScopeEntry_DoNotUse::GetClassData() const { 10314 ::google::protobuf::internal::PrefetchToLocalCache(&Scopes_ScopeEntry_DoNotUse_class_data_); 10315 ::google::protobuf::internal::PrefetchToLocalCache(Scopes_ScopeEntry_DoNotUse_class_data_.tc_table); 10316 return Scopes_ScopeEntry_DoNotUse_class_data_.base(); 10317 } 10318 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 10319 const ::_pbi::TcParseTable<1, 2, 0, 76, 2> 10320 Scopes_ScopeEntry_DoNotUse::_table_ = { 10321 { 10322 PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_._has_bits_), 10323 0, // no _extensions_ 10324 2, 8, // max_field_number, fast_idx_mask 10325 offsetof(decltype(_table_), field_lookup_table), 10326 4294967292, // skipmap 10327 offsetof(decltype(_table_), field_entries), 10328 2, // num_field_entries 10329 0, // num_aux_entries 10330 offsetof(decltype(_table_), field_names), // no aux_entries 10331 Scopes_ScopeEntry_DoNotUse_class_data_.base(), 10332 nullptr, // post_loop_handler 10333 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 10334 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 10335 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Scopes_ScopeEntry_DoNotUse>(), // to_prefetch 10336 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 10337 }, {{ 10338 // string value = 2; 10339 {::_pbi::TcParser::FastUS1, 10340 {18, 1, 0, PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.value_)}}, 10341 // string key = 1; 10342 {::_pbi::TcParser::FastUS1, 10343 {10, 0, 0, PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.key_)}}, 10344 }}, {{ 10345 65535, 65535 10346 }}, {{ 10347 // string key = 1; 10348 {PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 10349 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 10350 // string value = 2; 10351 {PROTOBUF_FIELD_OFFSET(Scopes_ScopeEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 10352 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 10353 }}, 10354 // no aux_entries 10355 {{ 10356 "\73\3\5\0\0\0\0\0" 10357 "grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry" 10358 "key" 10359 "value" 10360 }}, 10361 }; 10362 // =================================================================== 10363 10364 class Scopes::_Internal { 10365 public: 10366 }; 10367 10368 Scopes::Scopes(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10369 #if defined(PROTOBUF_CUSTOM_VTABLE) 10370 : ::google::protobuf::Message(arena, Scopes_class_data_.base()) { 10371 #else // PROTOBUF_CUSTOM_VTABLE 10372 : ::google::protobuf::Message(arena) { 10373 #endif // PROTOBUF_CUSTOM_VTABLE 10374 SharedCtor(arena); 10375 // @@protoc_insertion_point(arena_constructor:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10376 } 10377 PROTOBUF_NDEBUG_INLINE Scopes::Impl_::Impl_( 10378 ::google::protobuf::internal::InternalVisibility visibility, 10379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 10380 const ::grpc::gateway::protoc_gen_openapiv2::options::Scopes& from_msg) 10381 : scope_{visibility, arena, from.scope_}, 10382 _cached_size_{0} {} 10383 10384 Scopes::Scopes( 10385 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 10386 const Scopes& from) 10387 #if defined(PROTOBUF_CUSTOM_VTABLE) 10388 : ::google::protobuf::Message(arena, Scopes_class_data_.base()) { 10389 #else // PROTOBUF_CUSTOM_VTABLE 10390 : ::google::protobuf::Message(arena) { 10391 #endif // PROTOBUF_CUSTOM_VTABLE 10392 Scopes* const _this = this; 10393 (void)_this; 10394 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 10395 from._internal_metadata_); 10396 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 10397 10398 // @@protoc_insertion_point(copy_constructor:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10399 } 10400 PROTOBUF_NDEBUG_INLINE Scopes::Impl_::Impl_( 10401 ::google::protobuf::internal::InternalVisibility visibility, 10402 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 10403 : scope_{visibility, arena}, 10404 _cached_size_{0} {} 10405 10406 inline void Scopes::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 10407 new (&_impl_) Impl_(internal_visibility(), arena); 10408 } 10409 Scopes::~Scopes() { 10410 // @@protoc_insertion_point(destructor:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10411 SharedDtor(*this); 10412 } 10413 inline void Scopes::SharedDtor(MessageLite& self) { 10414 Scopes& this_ = static_cast<Scopes&>(self); 10415 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 10416 ABSL_DCHECK(this_.GetArena() == nullptr); 10417 this_._impl_.~Impl_(); 10418 } 10419 10420 inline void* PROTOBUF_NONNULL Scopes::PlacementNew_( 10421 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 10422 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 10423 return ::new (mem) Scopes(arena); 10424 } 10425 constexpr auto Scopes::InternalNewImpl_() { 10426 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 10427 PROTOBUF_FIELD_OFFSET(Scopes, _impl_.scope_) + 10428 decltype(Scopes::_impl_.scope_):: 10429 InternalGetArenaOffset( 10430 ::google::protobuf::Message::internal_visibility()), 10431 PROTOBUF_FIELD_OFFSET(Scopes, _impl_.scope_) + 10432 decltype(Scopes::_impl_.scope_):: 10433 InternalGetArenaOffsetAlt( 10434 ::google::protobuf::Message::internal_visibility()), 10435 }); 10436 if (arena_bits.has_value()) { 10437 return ::google::protobuf::internal::MessageCreator::CopyInit( 10438 sizeof(Scopes), alignof(Scopes), *arena_bits); 10439 } else { 10440 return ::google::protobuf::internal::MessageCreator(&Scopes::PlacementNew_, 10441 sizeof(Scopes), 10442 alignof(Scopes)); 10443 } 10444 } 10445 constexpr auto Scopes::InternalGenerateClassData_() { 10446 return ::google::protobuf::internal::ClassDataFull{ 10447 ::google::protobuf::internal::ClassData{ 10448 &_Scopes_default_instance_._instance, 10449 &_table_.header, 10450 nullptr, // OnDemandRegisterArenaDtor 10451 nullptr, // IsInitialized 10452 &Scopes::MergeImpl, 10453 ::google::protobuf::Message::GetNewImpl<Scopes>(), 10454 #if defined(PROTOBUF_CUSTOM_VTABLE) 10455 &Scopes::SharedDtor, 10456 ::google::protobuf::Message::GetClearImpl<Scopes>(), &Scopes::ByteSizeLong, 10457 &Scopes::_InternalSerialize, 10458 #endif // PROTOBUF_CUSTOM_VTABLE 10459 PROTOBUF_FIELD_OFFSET(Scopes, _impl_._cached_size_), 10460 false, 10461 }, 10462 &Scopes::kDescriptorMethods, 10463 &descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto, 10464 nullptr, // tracker 10465 }; 10466 } 10467 10468 PROTOBUF_CONSTINIT AGONES_EXPORT 10469 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 10470 Scopes_class_data_ = 10471 Scopes::InternalGenerateClassData_(); 10472 10473 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Scopes::GetClassData() const { 10474 ::google::protobuf::internal::PrefetchToLocalCache(&Scopes_class_data_); 10475 ::google::protobuf::internal::PrefetchToLocalCache(Scopes_class_data_.tc_table); 10476 return Scopes_class_data_.base(); 10477 } 10478 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 10479 const ::_pbi::TcParseTable<0, 1, 1, 62, 2> 10480 Scopes::_table_ = { 10481 { 10482 0, // no _has_bits_ 10483 0, // no _extensions_ 10484 1, 0, // max_field_number, fast_idx_mask 10485 offsetof(decltype(_table_), field_lookup_table), 10486 4294967294, // skipmap 10487 offsetof(decltype(_table_), field_entries), 10488 1, // num_field_entries 10489 1, // num_aux_entries 10490 offsetof(decltype(_table_), aux_entries), 10491 Scopes_class_data_.base(), 10492 nullptr, // post_loop_handler 10493 ::_pbi::TcParser::GenericFallback, // fallback 10494 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 10495 ::_pbi::TcParser::GetTable<::grpc::gateway::protoc_gen_openapiv2::options::Scopes>(), // to_prefetch 10496 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 10497 }, {{ 10498 {::_pbi::TcParser::MiniParse, {}}, 10499 }}, {{ 10500 65535, 65535 10501 }}, {{ 10502 // map<string, string> scope = 1; 10503 {PROTOBUF_FIELD_OFFSET(Scopes, _impl_.scope_), 0, 0, 10504 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 10505 }}, 10506 {{ 10507 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 10508 9, 9, 10509 0)}, 10510 }}, 10511 {{ 10512 "\60\5\0\0\0\0\0\0" 10513 "grpc.gateway.protoc_gen_openapiv2.options.Scopes" 10514 "scope" 10515 }}, 10516 }; 10517 PROTOBUF_NOINLINE void Scopes::Clear() { 10518 // @@protoc_insertion_point(message_clear_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10519 ::google::protobuf::internal::TSanWrite(&_impl_); 10520 ::uint32_t cached_has_bits = 0; 10521 // Prevent compiler warnings about cached_has_bits being unused 10522 (void) cached_has_bits; 10523 10524 _impl_.scope_.Clear(); 10525 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 10526 } 10527 10528 #if defined(PROTOBUF_CUSTOM_VTABLE) 10529 ::uint8_t* PROTOBUF_NONNULL Scopes::_InternalSerialize( 10530 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 10531 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 10532 const Scopes& this_ = static_cast<const Scopes&>(base); 10533 #else // PROTOBUF_CUSTOM_VTABLE 10534 ::uint8_t* PROTOBUF_NONNULL Scopes::_InternalSerialize( 10535 ::uint8_t* PROTOBUF_NONNULL target, 10536 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 10537 const Scopes& this_ = *this; 10538 #endif // PROTOBUF_CUSTOM_VTABLE 10539 // @@protoc_insertion_point(serialize_to_array_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10540 ::uint32_t cached_has_bits = 0; 10541 (void)cached_has_bits; 10542 10543 // map<string, string> scope = 1; 10544 if (!this_._internal_scope().empty()) { 10545 using MapType = ::google::protobuf::Map<std::string, std::string>; 10546 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string, 10547 _pbi::WireFormatLite::TYPE_STRING, 10548 _pbi::WireFormatLite::TYPE_STRING>; 10549 const auto& field = this_._internal_scope(); 10550 10551 if (stream->IsSerializationDeterministic() && field.size() > 1) { 10552 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 10553 target = WireHelper::InternalSerialize( 10554 1, entry.first, entry.second, target, stream); 10555 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10556 entry.first.data(), static_cast<int>(entry.first.length()), 10557 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10558 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10559 entry.second.data(), static_cast<int>(entry.second.length()), 10560 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10561 } 10562 } else { 10563 for (const auto& entry : field) { 10564 target = WireHelper::InternalSerialize( 10565 1, entry.first, entry.second, target, stream); 10566 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10567 entry.first.data(), static_cast<int>(entry.first.length()), 10568 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10569 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 10570 entry.second.data(), static_cast<int>(entry.second.length()), 10571 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope"); 10572 } 10573 } 10574 } 10575 10576 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 10577 target = 10578 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 10579 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 10580 } 10581 // @@protoc_insertion_point(serialize_to_array_end:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10582 return target; 10583 } 10584 10585 #if defined(PROTOBUF_CUSTOM_VTABLE) 10586 ::size_t Scopes::ByteSizeLong(const MessageLite& base) { 10587 const Scopes& this_ = static_cast<const Scopes&>(base); 10588 #else // PROTOBUF_CUSTOM_VTABLE 10589 ::size_t Scopes::ByteSizeLong() const { 10590 const Scopes& this_ = *this; 10591 #endif // PROTOBUF_CUSTOM_VTABLE 10592 // @@protoc_insertion_point(message_byte_size_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10593 ::size_t total_size = 0; 10594 10595 ::uint32_t cached_has_bits = 0; 10596 // Prevent compiler warnings about cached_has_bits being unused 10597 (void)cached_has_bits; 10598 10599 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 10600 { 10601 // map<string, string> scope = 1; 10602 { 10603 total_size += 10604 1 * ::google::protobuf::internal::FromIntSize(this_._internal_scope_size()); 10605 for (const auto& entry : this_._internal_scope()) { 10606 total_size += _pbi::MapEntryFuncs<std::string, std::string, 10607 _pbi::WireFormatLite::TYPE_STRING, 10608 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second); 10609 } 10610 } 10611 } 10612 return this_.MaybeComputeUnknownFieldsSize(total_size, 10613 &this_._impl_._cached_size_); 10614 } 10615 10616 void Scopes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 10617 auto* const _this = static_cast<Scopes*>(&to_msg); 10618 auto& from = static_cast<const Scopes&>(from_msg); 10619 // @@protoc_insertion_point(class_specific_merge_from_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10620 ABSL_DCHECK_NE(&from, _this); 10621 ::uint32_t cached_has_bits = 0; 10622 (void) cached_has_bits; 10623 10624 _this->_impl_.scope_.MergeFrom(from._impl_.scope_); 10625 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 10626 } 10627 10628 void Scopes::CopyFrom(const Scopes& from) { 10629 // @@protoc_insertion_point(class_specific_copy_from_start:grpc.gateway.protoc_gen_openapiv2.options.Scopes) 10630 if (&from == this) return; 10631 Clear(); 10632 MergeFrom(from); 10633 } 10634 10635 10636 void Scopes::InternalSwap(Scopes* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 10637 using std::swap; 10638 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 10639 _impl_.scope_.InternalSwap(&other->_impl_.scope_); 10640 } 10641 10642 ::google::protobuf::Metadata Scopes::GetMetadata() const { 10643 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 10644 } 10645 // @@protoc_insertion_point(namespace_scope) 10646 } // namespace options 10647 } // namespace protoc_gen_openapiv2 10648 } // namespace gateway 10649 } // namespace grpc 10650 namespace google { 10651 namespace protobuf { 10652 } // namespace protobuf 10653 } // namespace google 10654 // @@protoc_insertion_point(global_scope) 10655 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type 10656 _static_init2_ [[maybe_unused]] = 10657 (::_pbi::AddDescriptors(&descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fopenapiv2_2eproto), 10658 ::std::false_type{}); 10659 #include "google/protobuf/port_undef.inc"