agones.dev/agones@v1.53.0/sdks/cpp/src/agones/sdk.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: sdk.proto 19 // Protobuf C++ Version: 6.30.0 20 21 #include "sdk.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 agones { 43 namespace dev { 44 namespace sdk { 45 46 inline constexpr KeyValue::Impl_::Impl_( 47 ::_pbi::ConstantInitialized) noexcept 48 : _cached_size_{0}, 49 key_( 50 &::google::protobuf::internal::fixed_address_empty_string, 51 ::_pbi::ConstantInitialized()), 52 value_( 53 &::google::protobuf::internal::fixed_address_empty_string, 54 ::_pbi::ConstantInitialized()) {} 55 56 template <typename> 57 PROTOBUF_CONSTEXPR KeyValue::KeyValue(::_pbi::ConstantInitialized) 58 #if defined(PROTOBUF_CUSTOM_VTABLE) 59 : ::google::protobuf::Message(KeyValue_class_data_.base()), 60 #else // PROTOBUF_CUSTOM_VTABLE 61 : ::google::protobuf::Message(), 62 #endif // PROTOBUF_CUSTOM_VTABLE 63 _impl_(::_pbi::ConstantInitialized()) { 64 } 65 struct KeyValueDefaultTypeInternal { 66 PROTOBUF_CONSTEXPR KeyValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 67 ~KeyValueDefaultTypeInternal() {} 68 union { 69 KeyValue _instance; 70 }; 71 }; 72 73 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 74 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KeyValueDefaultTypeInternal _KeyValue_default_instance_; 75 76 inline constexpr GameServer_Status_Port::Impl_::Impl_( 77 ::_pbi::ConstantInitialized) noexcept 78 : _cached_size_{0}, 79 name_( 80 &::google::protobuf::internal::fixed_address_empty_string, 81 ::_pbi::ConstantInitialized()), 82 port_{0} {} 83 84 template <typename> 85 PROTOBUF_CONSTEXPR GameServer_Status_Port::GameServer_Status_Port(::_pbi::ConstantInitialized) 86 #if defined(PROTOBUF_CUSTOM_VTABLE) 87 : ::google::protobuf::Message(GameServer_Status_Port_class_data_.base()), 88 #else // PROTOBUF_CUSTOM_VTABLE 89 : ::google::protobuf::Message(), 90 #endif // PROTOBUF_CUSTOM_VTABLE 91 _impl_(::_pbi::ConstantInitialized()) { 92 } 93 struct GameServer_Status_PortDefaultTypeInternal { 94 PROTOBUF_CONSTEXPR GameServer_Status_PortDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 95 ~GameServer_Status_PortDefaultTypeInternal() {} 96 union { 97 GameServer_Status_Port _instance; 98 }; 99 }; 100 101 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 102 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_PortDefaultTypeInternal _GameServer_Status_Port_default_instance_; 103 104 inline constexpr GameServer_Status_PlayerStatus::Impl_::Impl_( 105 ::_pbi::ConstantInitialized) noexcept 106 : _cached_size_{0}, 107 ids_{}, 108 count_{::int64_t{0}}, 109 capacity_{::int64_t{0}} {} 110 111 template <typename> 112 PROTOBUF_CONSTEXPR GameServer_Status_PlayerStatus::GameServer_Status_PlayerStatus(::_pbi::ConstantInitialized) 113 #if defined(PROTOBUF_CUSTOM_VTABLE) 114 : ::google::protobuf::Message(GameServer_Status_PlayerStatus_class_data_.base()), 115 #else // PROTOBUF_CUSTOM_VTABLE 116 : ::google::protobuf::Message(), 117 #endif // PROTOBUF_CUSTOM_VTABLE 118 _impl_(::_pbi::ConstantInitialized()) { 119 } 120 struct GameServer_Status_PlayerStatusDefaultTypeInternal { 121 PROTOBUF_CONSTEXPR GameServer_Status_PlayerStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 122 ~GameServer_Status_PlayerStatusDefaultTypeInternal() {} 123 union { 124 GameServer_Status_PlayerStatus _instance; 125 }; 126 }; 127 128 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 129 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_PlayerStatusDefaultTypeInternal _GameServer_Status_PlayerStatus_default_instance_; 130 131 inline constexpr GameServer_Status_ListStatus::Impl_::Impl_( 132 ::_pbi::ConstantInitialized) noexcept 133 : _cached_size_{0}, 134 values_{}, 135 capacity_{::int64_t{0}} {} 136 137 template <typename> 138 PROTOBUF_CONSTEXPR GameServer_Status_ListStatus::GameServer_Status_ListStatus(::_pbi::ConstantInitialized) 139 #if defined(PROTOBUF_CUSTOM_VTABLE) 140 : ::google::protobuf::Message(GameServer_Status_ListStatus_class_data_.base()), 141 #else // PROTOBUF_CUSTOM_VTABLE 142 : ::google::protobuf::Message(), 143 #endif // PROTOBUF_CUSTOM_VTABLE 144 _impl_(::_pbi::ConstantInitialized()) { 145 } 146 struct GameServer_Status_ListStatusDefaultTypeInternal { 147 PROTOBUF_CONSTEXPR GameServer_Status_ListStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 148 ~GameServer_Status_ListStatusDefaultTypeInternal() {} 149 union { 150 GameServer_Status_ListStatus _instance; 151 }; 152 }; 153 154 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 155 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_ListStatusDefaultTypeInternal _GameServer_Status_ListStatus_default_instance_; 156 157 inline constexpr GameServer_Status_CounterStatus::Impl_::Impl_( 158 ::_pbi::ConstantInitialized) noexcept 159 : _cached_size_{0}, 160 count_{::int64_t{0}}, 161 capacity_{::int64_t{0}} {} 162 163 template <typename> 164 PROTOBUF_CONSTEXPR GameServer_Status_CounterStatus::GameServer_Status_CounterStatus(::_pbi::ConstantInitialized) 165 #if defined(PROTOBUF_CUSTOM_VTABLE) 166 : ::google::protobuf::Message(GameServer_Status_CounterStatus_class_data_.base()), 167 #else // PROTOBUF_CUSTOM_VTABLE 168 : ::google::protobuf::Message(), 169 #endif // PROTOBUF_CUSTOM_VTABLE 170 _impl_(::_pbi::ConstantInitialized()) { 171 } 172 struct GameServer_Status_CounterStatusDefaultTypeInternal { 173 PROTOBUF_CONSTEXPR GameServer_Status_CounterStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 174 ~GameServer_Status_CounterStatusDefaultTypeInternal() {} 175 union { 176 GameServer_Status_CounterStatus _instance; 177 }; 178 }; 179 180 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 181 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_CounterStatusDefaultTypeInternal _GameServer_Status_CounterStatus_default_instance_; 182 183 inline constexpr GameServer_Status_Address::Impl_::Impl_( 184 ::_pbi::ConstantInitialized) noexcept 185 : _cached_size_{0}, 186 type_( 187 &::google::protobuf::internal::fixed_address_empty_string, 188 ::_pbi::ConstantInitialized()), 189 address_( 190 &::google::protobuf::internal::fixed_address_empty_string, 191 ::_pbi::ConstantInitialized()) {} 192 193 template <typename> 194 PROTOBUF_CONSTEXPR GameServer_Status_Address::GameServer_Status_Address(::_pbi::ConstantInitialized) 195 #if defined(PROTOBUF_CUSTOM_VTABLE) 196 : ::google::protobuf::Message(GameServer_Status_Address_class_data_.base()), 197 #else // PROTOBUF_CUSTOM_VTABLE 198 : ::google::protobuf::Message(), 199 #endif // PROTOBUF_CUSTOM_VTABLE 200 _impl_(::_pbi::ConstantInitialized()) { 201 } 202 struct GameServer_Status_AddressDefaultTypeInternal { 203 PROTOBUF_CONSTEXPR GameServer_Status_AddressDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 204 ~GameServer_Status_AddressDefaultTypeInternal() {} 205 union { 206 GameServer_Status_Address _instance; 207 }; 208 }; 209 210 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 211 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_AddressDefaultTypeInternal _GameServer_Status_Address_default_instance_; 212 213 inline constexpr GameServer_Spec_Health::Impl_::Impl_( 214 ::_pbi::ConstantInitialized) noexcept 215 : _cached_size_{0}, 216 disabled_{false}, 217 period_seconds_{0}, 218 failure_threshold_{0}, 219 initial_delay_seconds_{0} {} 220 221 template <typename> 222 PROTOBUF_CONSTEXPR GameServer_Spec_Health::GameServer_Spec_Health(::_pbi::ConstantInitialized) 223 #if defined(PROTOBUF_CUSTOM_VTABLE) 224 : ::google::protobuf::Message(GameServer_Spec_Health_class_data_.base()), 225 #else // PROTOBUF_CUSTOM_VTABLE 226 : ::google::protobuf::Message(), 227 #endif // PROTOBUF_CUSTOM_VTABLE 228 _impl_(::_pbi::ConstantInitialized()) { 229 } 230 struct GameServer_Spec_HealthDefaultTypeInternal { 231 PROTOBUF_CONSTEXPR GameServer_Spec_HealthDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 232 ~GameServer_Spec_HealthDefaultTypeInternal() {} 233 union { 234 GameServer_Spec_Health _instance; 235 }; 236 }; 237 238 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 239 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Spec_HealthDefaultTypeInternal _GameServer_Spec_Health_default_instance_; 240 template <typename> 241 PROTOBUF_CONSTEXPR GameServer_ObjectMeta_LabelsEntry_DoNotUse::GameServer_ObjectMeta_LabelsEntry_DoNotUse(::_pbi::ConstantInitialized) 242 #if defined(PROTOBUF_CUSTOM_VTABLE) 243 : GameServer_ObjectMeta_LabelsEntry_DoNotUse::MapEntry(GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_.base()){} 244 #else // PROTOBUF_CUSTOM_VTABLE 245 : GameServer_ObjectMeta_LabelsEntry_DoNotUse::MapEntry() { 246 } 247 #endif // PROTOBUF_CUSTOM_VTABLE 248 struct GameServer_ObjectMeta_LabelsEntry_DoNotUseDefaultTypeInternal { 249 PROTOBUF_CONSTEXPR GameServer_ObjectMeta_LabelsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 250 ~GameServer_ObjectMeta_LabelsEntry_DoNotUseDefaultTypeInternal() {} 251 union { 252 GameServer_ObjectMeta_LabelsEntry_DoNotUse _instance; 253 }; 254 }; 255 256 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 257 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_ObjectMeta_LabelsEntry_DoNotUseDefaultTypeInternal _GameServer_ObjectMeta_LabelsEntry_DoNotUse_default_instance_; 258 template <typename> 259 PROTOBUF_CONSTEXPR GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse(::_pbi::ConstantInitialized) 260 #if defined(PROTOBUF_CUSTOM_VTABLE) 261 : GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::MapEntry(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_.base()){} 262 #else // PROTOBUF_CUSTOM_VTABLE 263 : GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::MapEntry() { 264 } 265 #endif // PROTOBUF_CUSTOM_VTABLE 266 struct GameServer_ObjectMeta_AnnotationsEntry_DoNotUseDefaultTypeInternal { 267 PROTOBUF_CONSTEXPR GameServer_ObjectMeta_AnnotationsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 268 ~GameServer_ObjectMeta_AnnotationsEntry_DoNotUseDefaultTypeInternal() {} 269 union { 270 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse _instance; 271 }; 272 }; 273 274 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 275 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_ObjectMeta_AnnotationsEntry_DoNotUseDefaultTypeInternal _GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_default_instance_; 276 template <typename> 277 PROTOBUF_CONSTEXPR Empty::Empty(::_pbi::ConstantInitialized) 278 #if defined(PROTOBUF_CUSTOM_VTABLE) 279 : ::google::protobuf::internal::ZeroFieldsBase(Empty_class_data_.base()){} 280 #else // PROTOBUF_CUSTOM_VTABLE 281 : ::google::protobuf::internal::ZeroFieldsBase() { 282 } 283 #endif // PROTOBUF_CUSTOM_VTABLE 284 struct EmptyDefaultTypeInternal { 285 PROTOBUF_CONSTEXPR EmptyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 286 ~EmptyDefaultTypeInternal() {} 287 union { 288 Empty _instance; 289 }; 290 }; 291 292 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 293 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_; 294 295 inline constexpr Duration::Impl_::Impl_( 296 ::_pbi::ConstantInitialized) noexcept 297 : _cached_size_{0}, 298 seconds_{::int64_t{0}} {} 299 300 template <typename> 301 PROTOBUF_CONSTEXPR Duration::Duration(::_pbi::ConstantInitialized) 302 #if defined(PROTOBUF_CUSTOM_VTABLE) 303 : ::google::protobuf::Message(Duration_class_data_.base()), 304 #else // PROTOBUF_CUSTOM_VTABLE 305 : ::google::protobuf::Message(), 306 #endif // PROTOBUF_CUSTOM_VTABLE 307 _impl_(::_pbi::ConstantInitialized()) { 308 } 309 struct DurationDefaultTypeInternal { 310 PROTOBUF_CONSTEXPR DurationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 311 ~DurationDefaultTypeInternal() {} 312 union { 313 Duration _instance; 314 }; 315 }; 316 317 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 318 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DurationDefaultTypeInternal _Duration_default_instance_; 319 template <typename> 320 PROTOBUF_CONSTEXPR GameServer_Status_ListsEntry_DoNotUse::GameServer_Status_ListsEntry_DoNotUse(::_pbi::ConstantInitialized) 321 #if defined(PROTOBUF_CUSTOM_VTABLE) 322 : GameServer_Status_ListsEntry_DoNotUse::MapEntry(GameServer_Status_ListsEntry_DoNotUse_class_data_.base()){} 323 #else // PROTOBUF_CUSTOM_VTABLE 324 : GameServer_Status_ListsEntry_DoNotUse::MapEntry() { 325 } 326 #endif // PROTOBUF_CUSTOM_VTABLE 327 struct GameServer_Status_ListsEntry_DoNotUseDefaultTypeInternal { 328 PROTOBUF_CONSTEXPR GameServer_Status_ListsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 329 ~GameServer_Status_ListsEntry_DoNotUseDefaultTypeInternal() {} 330 union { 331 GameServer_Status_ListsEntry_DoNotUse _instance; 332 }; 333 }; 334 335 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 336 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_ListsEntry_DoNotUseDefaultTypeInternal _GameServer_Status_ListsEntry_DoNotUse_default_instance_; 337 template <typename> 338 PROTOBUF_CONSTEXPR GameServer_Status_CountersEntry_DoNotUse::GameServer_Status_CountersEntry_DoNotUse(::_pbi::ConstantInitialized) 339 #if defined(PROTOBUF_CUSTOM_VTABLE) 340 : GameServer_Status_CountersEntry_DoNotUse::MapEntry(GameServer_Status_CountersEntry_DoNotUse_class_data_.base()){} 341 #else // PROTOBUF_CUSTOM_VTABLE 342 : GameServer_Status_CountersEntry_DoNotUse::MapEntry() { 343 } 344 #endif // PROTOBUF_CUSTOM_VTABLE 345 struct GameServer_Status_CountersEntry_DoNotUseDefaultTypeInternal { 346 PROTOBUF_CONSTEXPR GameServer_Status_CountersEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 347 ~GameServer_Status_CountersEntry_DoNotUseDefaultTypeInternal() {} 348 union { 349 GameServer_Status_CountersEntry_DoNotUse _instance; 350 }; 351 }; 352 353 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 354 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_Status_CountersEntry_DoNotUseDefaultTypeInternal _GameServer_Status_CountersEntry_DoNotUse_default_instance_; 355 356 inline constexpr GameServer_Spec::Impl_::Impl_( 357 ::_pbi::ConstantInitialized) noexcept 358 : _cached_size_{0}, 359 health_{nullptr} {} 360 361 template <typename> 362 PROTOBUF_CONSTEXPR GameServer_Spec::GameServer_Spec(::_pbi::ConstantInitialized) 363 #if defined(PROTOBUF_CUSTOM_VTABLE) 364 : ::google::protobuf::Message(GameServer_Spec_class_data_.base()), 365 #else // PROTOBUF_CUSTOM_VTABLE 366 : ::google::protobuf::Message(), 367 #endif // PROTOBUF_CUSTOM_VTABLE 368 _impl_(::_pbi::ConstantInitialized()) { 369 } 370 struct GameServer_SpecDefaultTypeInternal { 371 PROTOBUF_CONSTEXPR GameServer_SpecDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 372 ~GameServer_SpecDefaultTypeInternal() {} 373 union { 374 GameServer_Spec _instance; 375 }; 376 }; 377 378 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 379 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_SpecDefaultTypeInternal _GameServer_Spec_default_instance_; 380 381 inline constexpr GameServer_ObjectMeta::Impl_::Impl_( 382 ::_pbi::ConstantInitialized) noexcept 383 : _cached_size_{0}, 384 annotations_{}, 385 labels_{}, 386 name_( 387 &::google::protobuf::internal::fixed_address_empty_string, 388 ::_pbi::ConstantInitialized()), 389 namespace__( 390 &::google::protobuf::internal::fixed_address_empty_string, 391 ::_pbi::ConstantInitialized()), 392 uid_( 393 &::google::protobuf::internal::fixed_address_empty_string, 394 ::_pbi::ConstantInitialized()), 395 resource_version_( 396 &::google::protobuf::internal::fixed_address_empty_string, 397 ::_pbi::ConstantInitialized()), 398 generation_{::int64_t{0}}, 399 creation_timestamp_{::int64_t{0}}, 400 deletion_timestamp_{::int64_t{0}} {} 401 402 template <typename> 403 PROTOBUF_CONSTEXPR GameServer_ObjectMeta::GameServer_ObjectMeta(::_pbi::ConstantInitialized) 404 #if defined(PROTOBUF_CUSTOM_VTABLE) 405 : ::google::protobuf::Message(GameServer_ObjectMeta_class_data_.base()), 406 #else // PROTOBUF_CUSTOM_VTABLE 407 : ::google::protobuf::Message(), 408 #endif // PROTOBUF_CUSTOM_VTABLE 409 _impl_(::_pbi::ConstantInitialized()) { 410 } 411 struct GameServer_ObjectMetaDefaultTypeInternal { 412 PROTOBUF_CONSTEXPR GameServer_ObjectMetaDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 413 ~GameServer_ObjectMetaDefaultTypeInternal() {} 414 union { 415 GameServer_ObjectMeta _instance; 416 }; 417 }; 418 419 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 420 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_ObjectMetaDefaultTypeInternal _GameServer_ObjectMeta_default_instance_; 421 422 inline constexpr GameServer_Status::Impl_::Impl_( 423 ::_pbi::ConstantInitialized) noexcept 424 : _cached_size_{0}, 425 ports_{}, 426 counters_{}, 427 lists_{}, 428 addresses_{}, 429 state_( 430 &::google::protobuf::internal::fixed_address_empty_string, 431 ::_pbi::ConstantInitialized()), 432 address_( 433 &::google::protobuf::internal::fixed_address_empty_string, 434 ::_pbi::ConstantInitialized()), 435 players_{nullptr} {} 436 437 template <typename> 438 PROTOBUF_CONSTEXPR GameServer_Status::GameServer_Status(::_pbi::ConstantInitialized) 439 #if defined(PROTOBUF_CUSTOM_VTABLE) 440 : ::google::protobuf::Message(GameServer_Status_class_data_.base()), 441 #else // PROTOBUF_CUSTOM_VTABLE 442 : ::google::protobuf::Message(), 443 #endif // PROTOBUF_CUSTOM_VTABLE 444 _impl_(::_pbi::ConstantInitialized()) { 445 } 446 struct GameServer_StatusDefaultTypeInternal { 447 PROTOBUF_CONSTEXPR GameServer_StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 448 ~GameServer_StatusDefaultTypeInternal() {} 449 union { 450 GameServer_Status _instance; 451 }; 452 }; 453 454 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 455 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServer_StatusDefaultTypeInternal _GameServer_Status_default_instance_; 456 457 inline constexpr GameServer::Impl_::Impl_( 458 ::_pbi::ConstantInitialized) noexcept 459 : _cached_size_{0}, 460 object_meta_{nullptr}, 461 spec_{nullptr}, 462 status_{nullptr} {} 463 464 template <typename> 465 PROTOBUF_CONSTEXPR GameServer::GameServer(::_pbi::ConstantInitialized) 466 #if defined(PROTOBUF_CUSTOM_VTABLE) 467 : ::google::protobuf::Message(GameServer_class_data_.base()), 468 #else // PROTOBUF_CUSTOM_VTABLE 469 : ::google::protobuf::Message(), 470 #endif // PROTOBUF_CUSTOM_VTABLE 471 _impl_(::_pbi::ConstantInitialized()) { 472 } 473 struct GameServerDefaultTypeInternal { 474 PROTOBUF_CONSTEXPR GameServerDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} 475 ~GameServerDefaultTypeInternal() {} 476 union { 477 GameServer _instance; 478 }; 479 }; 480 481 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AGONES_EXPORT 482 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServerDefaultTypeInternal _GameServer_default_instance_; 483 } // namespace sdk 484 } // namespace dev 485 } // namespace agones 486 static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE 487 file_level_enum_descriptors_sdk_2eproto = nullptr; 488 static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE 489 file_level_service_descriptors_sdk_2eproto = nullptr; 490 const ::uint32_t 491 TableStruct_sdk_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( 492 protodesc_cold) = { 493 ~0u, // no _has_bits_ 494 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::Empty, _internal_metadata_), 495 ~0u, // no _extensions_ 496 ~0u, // no _oneof_case_ 497 ~0u, // no _weak_field_map_ 498 ~0u, // no _inlined_string_donated_ 499 ~0u, // no _split_ 500 ~0u, // no sizeof(Split) 501 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::KeyValue, _impl_._has_bits_), 502 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::KeyValue, _internal_metadata_), 503 ~0u, // no _extensions_ 504 ~0u, // no _oneof_case_ 505 ~0u, // no _weak_field_map_ 506 ~0u, // no _inlined_string_donated_ 507 ~0u, // no _split_ 508 ~0u, // no sizeof(Split) 509 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::KeyValue, _impl_.key_), 510 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::KeyValue, _impl_.value_), 511 0, 512 1, 513 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::Duration, _impl_._has_bits_), 514 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::Duration, _internal_metadata_), 515 ~0u, // no _extensions_ 516 ~0u, // no _oneof_case_ 517 ~0u, // no _weak_field_map_ 518 ~0u, // no _inlined_string_donated_ 519 ~0u, // no _split_ 520 ~0u, // no sizeof(Split) 521 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::Duration, _impl_.seconds_), 522 0, 523 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_._has_bits_), 524 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _internal_metadata_), 525 ~0u, // no _extensions_ 526 ~0u, // no _oneof_case_ 527 ~0u, // no _weak_field_map_ 528 ~0u, // no _inlined_string_donated_ 529 ~0u, // no _split_ 530 ~0u, // no sizeof(Split) 531 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_.key_), 532 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_.value_), 533 0, 534 1, 535 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_._has_bits_), 536 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_LabelsEntry_DoNotUse, _internal_metadata_), 537 ~0u, // no _extensions_ 538 ~0u, // no _oneof_case_ 539 ~0u, // no _weak_field_map_ 540 ~0u, // no _inlined_string_donated_ 541 ~0u, // no _split_ 542 ~0u, // no sizeof(Split) 543 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_.key_), 544 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_.value_), 545 0, 546 1, 547 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_._has_bits_), 548 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _internal_metadata_), 549 ~0u, // no _extensions_ 550 ~0u, // no _oneof_case_ 551 ~0u, // no _weak_field_map_ 552 ~0u, // no _inlined_string_donated_ 553 ~0u, // no _split_ 554 ~0u, // no sizeof(Split) 555 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.name_), 556 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.namespace__), 557 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.uid_), 558 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.resource_version_), 559 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.generation_), 560 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.creation_timestamp_), 561 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.deletion_timestamp_), 562 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.annotations_), 563 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_ObjectMeta, _impl_.labels_), 564 0, 565 1, 566 2, 567 3, 568 4, 569 5, 570 6, 571 ~0u, 572 ~0u, 573 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec_Health, _impl_._has_bits_), 574 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec_Health, _internal_metadata_), 575 ~0u, // no _extensions_ 576 ~0u, // no _oneof_case_ 577 ~0u, // no _weak_field_map_ 578 ~0u, // no _inlined_string_donated_ 579 ~0u, // no _split_ 580 ~0u, // no sizeof(Split) 581 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec_Health, _impl_.disabled_), 582 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec_Health, _impl_.period_seconds_), 583 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec_Health, _impl_.failure_threshold_), 584 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec_Health, _impl_.initial_delay_seconds_), 585 0, 586 1, 587 2, 588 3, 589 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec, _impl_._has_bits_), 590 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec, _internal_metadata_), 591 ~0u, // no _extensions_ 592 ~0u, // no _oneof_case_ 593 ~0u, // no _weak_field_map_ 594 ~0u, // no _inlined_string_donated_ 595 ~0u, // no _split_ 596 ~0u, // no sizeof(Split) 597 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Spec, _impl_.health_), 598 0, 599 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Address, _impl_._has_bits_), 600 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Address, _internal_metadata_), 601 ~0u, // no _extensions_ 602 ~0u, // no _oneof_case_ 603 ~0u, // no _weak_field_map_ 604 ~0u, // no _inlined_string_donated_ 605 ~0u, // no _split_ 606 ~0u, // no sizeof(Split) 607 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Address, _impl_.type_), 608 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Address, _impl_.address_), 609 0, 610 1, 611 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Port, _impl_._has_bits_), 612 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Port, _internal_metadata_), 613 ~0u, // no _extensions_ 614 ~0u, // no _oneof_case_ 615 ~0u, // no _weak_field_map_ 616 ~0u, // no _inlined_string_donated_ 617 ~0u, // no _split_ 618 ~0u, // no sizeof(Split) 619 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Port, _impl_.name_), 620 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_Port, _impl_.port_), 621 0, 622 1, 623 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_PlayerStatus, _impl_._has_bits_), 624 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_PlayerStatus, _internal_metadata_), 625 ~0u, // no _extensions_ 626 ~0u, // no _oneof_case_ 627 ~0u, // no _weak_field_map_ 628 ~0u, // no _inlined_string_donated_ 629 ~0u, // no _split_ 630 ~0u, // no sizeof(Split) 631 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_PlayerStatus, _impl_.count_), 632 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_PlayerStatus, _impl_.capacity_), 633 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_PlayerStatus, _impl_.ids_), 634 0, 635 1, 636 ~0u, 637 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CounterStatus, _impl_._has_bits_), 638 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CounterStatus, _internal_metadata_), 639 ~0u, // no _extensions_ 640 ~0u, // no _oneof_case_ 641 ~0u, // no _weak_field_map_ 642 ~0u, // no _inlined_string_donated_ 643 ~0u, // no _split_ 644 ~0u, // no sizeof(Split) 645 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CounterStatus, _impl_.count_), 646 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CounterStatus, _impl_.capacity_), 647 0, 648 1, 649 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListStatus, _impl_._has_bits_), 650 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListStatus, _internal_metadata_), 651 ~0u, // no _extensions_ 652 ~0u, // no _oneof_case_ 653 ~0u, // no _weak_field_map_ 654 ~0u, // no _inlined_string_donated_ 655 ~0u, // no _split_ 656 ~0u, // no sizeof(Split) 657 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListStatus, _impl_.capacity_), 658 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListStatus, _impl_.values_), 659 0, 660 ~0u, 661 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CountersEntry_DoNotUse, _impl_._has_bits_), 662 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CountersEntry_DoNotUse, _internal_metadata_), 663 ~0u, // no _extensions_ 664 ~0u, // no _oneof_case_ 665 ~0u, // no _weak_field_map_ 666 ~0u, // no _inlined_string_donated_ 667 ~0u, // no _split_ 668 ~0u, // no sizeof(Split) 669 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CountersEntry_DoNotUse, _impl_.key_), 670 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_CountersEntry_DoNotUse, _impl_.value_), 671 0, 672 1, 673 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListsEntry_DoNotUse, _impl_._has_bits_), 674 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListsEntry_DoNotUse, _internal_metadata_), 675 ~0u, // no _extensions_ 676 ~0u, // no _oneof_case_ 677 ~0u, // no _weak_field_map_ 678 ~0u, // no _inlined_string_donated_ 679 ~0u, // no _split_ 680 ~0u, // no sizeof(Split) 681 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListsEntry_DoNotUse, _impl_.key_), 682 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status_ListsEntry_DoNotUse, _impl_.value_), 683 0, 684 1, 685 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_._has_bits_), 686 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _internal_metadata_), 687 ~0u, // no _extensions_ 688 ~0u, // no _oneof_case_ 689 ~0u, // no _weak_field_map_ 690 ~0u, // no _inlined_string_donated_ 691 ~0u, // no _split_ 692 ~0u, // no sizeof(Split) 693 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.state_), 694 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.address_), 695 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.addresses_), 696 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.ports_), 697 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.players_), 698 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.counters_), 699 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer_Status, _impl_.lists_), 700 0, 701 1, 702 ~0u, 703 ~0u, 704 2, 705 ~0u, 706 ~0u, 707 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer, _impl_._has_bits_), 708 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer, _internal_metadata_), 709 ~0u, // no _extensions_ 710 ~0u, // no _oneof_case_ 711 ~0u, // no _weak_field_map_ 712 ~0u, // no _inlined_string_donated_ 713 ~0u, // no _split_ 714 ~0u, // no sizeof(Split) 715 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer, _impl_.object_meta_), 716 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer, _impl_.spec_), 717 PROTOBUF_FIELD_OFFSET(::agones::dev::sdk::GameServer, _impl_.status_), 718 0, 719 1, 720 2, 721 }; 722 723 static const ::_pbi::MigrationSchema 724 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { 725 {0, -1, -1, sizeof(::agones::dev::sdk::Empty)}, 726 {8, 18, -1, sizeof(::agones::dev::sdk::KeyValue)}, 727 {20, 29, -1, sizeof(::agones::dev::sdk::Duration)}, 728 {30, 40, -1, sizeof(::agones::dev::sdk::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse)}, 729 {42, 52, -1, sizeof(::agones::dev::sdk::GameServer_ObjectMeta_LabelsEntry_DoNotUse)}, 730 {54, 71, -1, sizeof(::agones::dev::sdk::GameServer_ObjectMeta)}, 731 {80, 92, -1, sizeof(::agones::dev::sdk::GameServer_Spec_Health)}, 732 {96, 105, -1, sizeof(::agones::dev::sdk::GameServer_Spec)}, 733 {106, 116, -1, sizeof(::agones::dev::sdk::GameServer_Status_Address)}, 734 {118, 128, -1, sizeof(::agones::dev::sdk::GameServer_Status_Port)}, 735 {130, 141, -1, sizeof(::agones::dev::sdk::GameServer_Status_PlayerStatus)}, 736 {144, 154, -1, sizeof(::agones::dev::sdk::GameServer_Status_CounterStatus)}, 737 {156, 166, -1, sizeof(::agones::dev::sdk::GameServer_Status_ListStatus)}, 738 {168, 178, -1, sizeof(::agones::dev::sdk::GameServer_Status_CountersEntry_DoNotUse)}, 739 {180, 190, -1, sizeof(::agones::dev::sdk::GameServer_Status_ListsEntry_DoNotUse)}, 740 {192, 207, -1, sizeof(::agones::dev::sdk::GameServer_Status)}, 741 {214, 225, -1, sizeof(::agones::dev::sdk::GameServer)}, 742 }; 743 static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = { 744 &::agones::dev::sdk::_Empty_default_instance_._instance, 745 &::agones::dev::sdk::_KeyValue_default_instance_._instance, 746 &::agones::dev::sdk::_Duration_default_instance_._instance, 747 &::agones::dev::sdk::_GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_default_instance_._instance, 748 &::agones::dev::sdk::_GameServer_ObjectMeta_LabelsEntry_DoNotUse_default_instance_._instance, 749 &::agones::dev::sdk::_GameServer_ObjectMeta_default_instance_._instance, 750 &::agones::dev::sdk::_GameServer_Spec_Health_default_instance_._instance, 751 &::agones::dev::sdk::_GameServer_Spec_default_instance_._instance, 752 &::agones::dev::sdk::_GameServer_Status_Address_default_instance_._instance, 753 &::agones::dev::sdk::_GameServer_Status_Port_default_instance_._instance, 754 &::agones::dev::sdk::_GameServer_Status_PlayerStatus_default_instance_._instance, 755 &::agones::dev::sdk::_GameServer_Status_CounterStatus_default_instance_._instance, 756 &::agones::dev::sdk::_GameServer_Status_ListStatus_default_instance_._instance, 757 &::agones::dev::sdk::_GameServer_Status_CountersEntry_DoNotUse_default_instance_._instance, 758 &::agones::dev::sdk::_GameServer_Status_ListsEntry_DoNotUse_default_instance_._instance, 759 &::agones::dev::sdk::_GameServer_Status_default_instance_._instance, 760 &::agones::dev::sdk::_GameServer_default_instance_._instance, 761 }; 762 const char descriptor_table_protodef_sdk_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( 763 protodesc_cold) = { 764 "\n\tsdk.proto\022\016agones.dev.sdk\032\034google/api/" 765 "annotations.proto\032.protoc-gen-openapiv2/" 766 "options/annotations.proto\"\007\n\005Empty\"&\n\010Ke" 767 "yValue\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\033\n\010Du" 768 "ration\022\017\n\007seconds\030\001 \001(\003\"\213\014\n\nGameServer\022:" 769 "\n\013object_meta\030\001 \001(\0132%.agones.dev.sdk.Gam" 770 "eServer.ObjectMeta\022-\n\004spec\030\002 \001(\0132\037.agone" 771 "s.dev.sdk.GameServer.Spec\0221\n\006status\030\003 \001(" 772 "\0132!.agones.dev.sdk.GameServer.Status\032\223\003\n" 773 "\nObjectMeta\022\014\n\004name\030\001 \001(\t\022\021\n\tnamespace\030\002" 774 " \001(\t\022\013\n\003uid\030\003 \001(\t\022\030\n\020resource_version\030\004 " 775 "\001(\t\022\022\n\ngeneration\030\005 \001(\003\022\032\n\022creation_time" 776 "stamp\030\006 \001(\003\022\032\n\022deletion_timestamp\030\007 \001(\003\022" 777 "K\n\013annotations\030\010 \003(\01326.agones.dev.sdk.Ga" 778 "meServer.ObjectMeta.AnnotationsEntry\022A\n\006" 779 "labels\030\t \003(\01321.agones.dev.sdk.GameServer" 780 ".ObjectMeta.LabelsEntry\0322\n\020AnnotationsEn" 781 "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013L" 782 "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" 783 "8\001\032\273\001\n\004Spec\0226\n\006health\030\001 \001(\0132&.agones.dev" 784 ".sdk.GameServer.Spec.Health\032{\n\006Health\022\037\n" 785 "\010disabled\030\001 \001(\010B\r\222A\n\242\002\007boolean\022\026\n\016period" 786 "_seconds\030\002 \001(\005\022\031\n\021failure_threshold\030\003 \001(" 787 "\005\022\035\n\025initial_delay_seconds\030\004 \001(\005\032\212\006\n\006Sta" 788 "tus\022\r\n\005state\030\001 \001(\t\022\017\n\007address\030\002 \001(\t\022<\n\ta" 789 "ddresses\030\007 \003(\0132).agones.dev.sdk.GameServ" 790 "er.Status.Address\0225\n\005ports\030\003 \003(\0132&.agone" 791 "s.dev.sdk.GameServer.Status.Port\022\?\n\007play" 792 "ers\030\004 \001(\0132..agones.dev.sdk.GameServer.St" 793 "atus.PlayerStatus\022A\n\010counters\030\005 \003(\0132/.ag" 794 "ones.dev.sdk.GameServer.Status.CountersE" 795 "ntry\022;\n\005lists\030\006 \003(\0132,.agones.dev.sdk.Gam" 796 "eServer.Status.ListsEntry\032(\n\007Address\022\014\n\004" 797 "type\030\001 \001(\t\022\017\n\007address\030\002 \001(\t\032\"\n\004Port\022\014\n\004n" 798 "ame\030\001 \001(\t\022\014\n\004port\030\002 \001(\005\032<\n\014PlayerStatus\022" 799 "\r\n\005count\030\001 \001(\003\022\020\n\010capacity\030\002 \001(\003\022\013\n\003ids\030" 800 "\003 \003(\t\0320\n\rCounterStatus\022\r\n\005count\030\001 \001(\003\022\020\n" 801 "\010capacity\030\002 \001(\003\032.\n\nListStatus\022\020\n\010capacit" 802 "y\030\001 \001(\003\022\016\n\006values\030\002 \003(\t\032`\n\rCountersEntry" 803 "\022\013\n\003key\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.agones.de" 804 "v.sdk.GameServer.Status.CounterStatus:\0028" 805 "\001\032Z\n\nListsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 " 806 "\001(\0132,.agones.dev.sdk.GameServer.Status.L" 807 "istStatus:\0028\0012\206\006\n\003SDK\022H\n\005Ready\022\025.agones." 808 "dev.sdk.Empty\032\025.agones.dev.sdk.Empty\"\021\202\323" 809 "\344\223\002\013\"\006/ready:\001*\022N\n\010Allocate\022\025.agones.dev" 810 ".sdk.Empty\032\025.agones.dev.sdk.Empty\"\024\202\323\344\223\002" 811 "\016\"\t/allocate:\001*\022N\n\010Shutdown\022\025.agones.dev" 812 ".sdk.Empty\032\025.agones.dev.sdk.Empty\"\024\202\323\344\223\002" 813 "\016\"\t/shutdown:\001*\022L\n\006Health\022\025.agones.dev.s" 814 "dk.Empty\032\025.agones.dev.sdk.Empty\"\022\202\323\344\223\002\014\"" 815 "\007/health:\001*(\001\022W\n\rGetGameServer\022\025.agones." 816 "dev.sdk.Empty\032\032.agones.dev.sdk.GameServe" 817 "r\"\023\202\323\344\223\002\r\022\013/gameserver\022a\n\017WatchGameServe" 818 "r\022\025.agones.dev.sdk.Empty\032\032.agones.dev.sd" 819 "k.GameServer\"\031\202\323\344\223\002\023\022\021/watch/gameserver0" 820 "\001\022W\n\010SetLabel\022\030.agones.dev.sdk.KeyValue\032" 821 "\025.agones.dev.sdk.Empty\"\032\202\323\344\223\002\024\032\017/metadat" 822 "a/label:\001*\022a\n\rSetAnnotation\022\030.agones.dev" 823 ".sdk.KeyValue\032\025.agones.dev.sdk.Empty\"\037\202\323" 824 "\344\223\002\031\032\024/metadata/annotation:\001*\022O\n\007Reserve" 825 "\022\030.agones.dev.sdk.Duration\032\025.agones.dev." 826 "sdk.Empty\"\023\202\323\344\223\002\r\"\010/reserve:\001*BOZ\005./sdk\222" 827 "AE\022\034\n\tsdk.proto2\017version not set*\001\0012\020app" 828 "lication/json:\020application/jsonb\006proto3" 829 }; 830 static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const 831 descriptor_table_sdk_2eproto_deps[2] = { 832 &::descriptor_table_google_2fapi_2fannotations_2eproto, 833 &::descriptor_table_protoc_2dgen_2dopenapiv2_2foptions_2fannotations_2eproto, 834 }; 835 static ::absl::once_flag descriptor_table_sdk_2eproto_once; 836 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_sdk_2eproto = { 837 false, 838 false, 839 2599, 840 descriptor_table_protodef_sdk_2eproto, 841 "sdk.proto", 842 &descriptor_table_sdk_2eproto_once, 843 descriptor_table_sdk_2eproto_deps, 844 2, 845 17, 846 schemas, 847 file_default_instances, 848 TableStruct_sdk_2eproto::offsets, 849 file_level_enum_descriptors_sdk_2eproto, 850 file_level_service_descriptors_sdk_2eproto, 851 }; 852 namespace agones { 853 namespace dev { 854 namespace sdk { 855 // =================================================================== 856 857 class Empty::_Internal { 858 public: 859 }; 860 861 Empty::Empty(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 862 #if defined(PROTOBUF_CUSTOM_VTABLE) 863 : ::google::protobuf::internal::ZeroFieldsBase(arena, Empty_class_data_.base()) { 864 #else // PROTOBUF_CUSTOM_VTABLE 865 : ::google::protobuf::internal::ZeroFieldsBase(arena) { 866 #endif // PROTOBUF_CUSTOM_VTABLE 867 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.Empty) 868 } 869 Empty::Empty( 870 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 871 const Empty& from) 872 #if defined(PROTOBUF_CUSTOM_VTABLE) 873 : ::google::protobuf::internal::ZeroFieldsBase(arena, Empty_class_data_.base()) { 874 #else // PROTOBUF_CUSTOM_VTABLE 875 : ::google::protobuf::internal::ZeroFieldsBase(arena) { 876 #endif // PROTOBUF_CUSTOM_VTABLE 877 Empty* const _this = this; 878 (void)_this; 879 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 880 from._internal_metadata_); 881 882 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.Empty) 883 } 884 885 inline void* PROTOBUF_NONNULL Empty::PlacementNew_( 886 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 887 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 888 return ::new (mem) Empty(arena); 889 } 890 constexpr auto Empty::InternalNewImpl_() { 891 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Empty), 892 alignof(Empty)); 893 } 894 constexpr auto Empty::InternalGenerateClassData_() { 895 return ::google::protobuf::internal::ClassDataFull{ 896 ::google::protobuf::internal::ClassData{ 897 &_Empty_default_instance_._instance, 898 &_table_.header, 899 nullptr, // OnDemandRegisterArenaDtor 900 nullptr, // IsInitialized 901 &Empty::MergeImpl, 902 ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<Empty>(), 903 #if defined(PROTOBUF_CUSTOM_VTABLE) 904 &Empty::SharedDtor, 905 ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<Empty>(), &Empty::ByteSizeLong, 906 &Empty::_InternalSerialize, 907 #endif // PROTOBUF_CUSTOM_VTABLE 908 PROTOBUF_FIELD_OFFSET(Empty, _impl_._cached_size_), 909 false, 910 }, 911 &Empty::kDescriptorMethods, 912 &descriptor_table_sdk_2eproto, 913 nullptr, // tracker 914 }; 915 } 916 917 PROTOBUF_CONSTINIT AGONES_EXPORT 918 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 919 Empty_class_data_ = 920 Empty::InternalGenerateClassData_(); 921 922 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Empty::GetClassData() const { 923 ::google::protobuf::internal::PrefetchToLocalCache(&Empty_class_data_); 924 ::google::protobuf::internal::PrefetchToLocalCache(Empty_class_data_.tc_table); 925 return Empty_class_data_.base(); 926 } 927 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 928 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> 929 Empty::_table_ = { 930 { 931 0, // no _has_bits_ 932 0, // no _extensions_ 933 0, 0, // max_field_number, fast_idx_mask 934 offsetof(decltype(_table_), field_lookup_table), 935 4294967295, // skipmap 936 offsetof(decltype(_table_), field_names), // no field_entries 937 0, // num_field_entries 938 0, // num_aux_entries 939 offsetof(decltype(_table_), field_names), // no aux_entries 940 Empty_class_data_.base(), 941 nullptr, // post_loop_handler 942 ::_pbi::TcParser::GenericFallback, // fallback 943 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 944 ::_pbi::TcParser::GetTable<::agones::dev::sdk::Empty>(), // to_prefetch 945 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 946 }, {{ 947 {::_pbi::TcParser::MiniParse, {}}, 948 }}, {{ 949 65535, 65535 950 }}, // no field_entries, or aux_entries 951 {{ 952 }}, 953 }; 954 955 956 957 958 959 960 961 ::google::protobuf::Metadata Empty::GetMetadata() const { 962 return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); 963 } 964 // =================================================================== 965 966 class KeyValue::_Internal { 967 public: 968 using HasBits = 969 decltype(std::declval<KeyValue>()._impl_._has_bits_); 970 static constexpr ::int32_t kHasBitsOffset = 971 8 * PROTOBUF_FIELD_OFFSET(KeyValue, _impl_._has_bits_); 972 }; 973 974 KeyValue::KeyValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 975 #if defined(PROTOBUF_CUSTOM_VTABLE) 976 : ::google::protobuf::Message(arena, KeyValue_class_data_.base()) { 977 #else // PROTOBUF_CUSTOM_VTABLE 978 : ::google::protobuf::Message(arena) { 979 #endif // PROTOBUF_CUSTOM_VTABLE 980 SharedCtor(arena); 981 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.KeyValue) 982 } 983 PROTOBUF_NDEBUG_INLINE KeyValue::Impl_::Impl_( 984 ::google::protobuf::internal::InternalVisibility visibility, 985 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 986 const ::agones::dev::sdk::KeyValue& from_msg) 987 : _has_bits_{from._has_bits_}, 988 _cached_size_{0}, 989 key_(arena, from.key_), 990 value_(arena, from.value_) {} 991 992 KeyValue::KeyValue( 993 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 994 const KeyValue& from) 995 #if defined(PROTOBUF_CUSTOM_VTABLE) 996 : ::google::protobuf::Message(arena, KeyValue_class_data_.base()) { 997 #else // PROTOBUF_CUSTOM_VTABLE 998 : ::google::protobuf::Message(arena) { 999 #endif // PROTOBUF_CUSTOM_VTABLE 1000 KeyValue* const _this = this; 1001 (void)_this; 1002 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 1003 from._internal_metadata_); 1004 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 1005 1006 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.KeyValue) 1007 } 1008 PROTOBUF_NDEBUG_INLINE KeyValue::Impl_::Impl_( 1009 ::google::protobuf::internal::InternalVisibility visibility, 1010 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1011 : _cached_size_{0}, 1012 key_(arena), 1013 value_(arena) {} 1014 1015 inline void KeyValue::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 1016 new (&_impl_) Impl_(internal_visibility(), arena); 1017 } 1018 KeyValue::~KeyValue() { 1019 // @@protoc_insertion_point(destructor:agones.dev.sdk.KeyValue) 1020 SharedDtor(*this); 1021 } 1022 inline void KeyValue::SharedDtor(MessageLite& self) { 1023 KeyValue& this_ = static_cast<KeyValue&>(self); 1024 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 1025 ABSL_DCHECK(this_.GetArena() == nullptr); 1026 this_._impl_.key_.Destroy(); 1027 this_._impl_.value_.Destroy(); 1028 this_._impl_.~Impl_(); 1029 } 1030 1031 inline void* PROTOBUF_NONNULL KeyValue::PlacementNew_( 1032 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1033 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1034 return ::new (mem) KeyValue(arena); 1035 } 1036 constexpr auto KeyValue::InternalNewImpl_() { 1037 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(KeyValue), 1038 alignof(KeyValue)); 1039 } 1040 constexpr auto KeyValue::InternalGenerateClassData_() { 1041 return ::google::protobuf::internal::ClassDataFull{ 1042 ::google::protobuf::internal::ClassData{ 1043 &_KeyValue_default_instance_._instance, 1044 &_table_.header, 1045 nullptr, // OnDemandRegisterArenaDtor 1046 nullptr, // IsInitialized 1047 &KeyValue::MergeImpl, 1048 ::google::protobuf::Message::GetNewImpl<KeyValue>(), 1049 #if defined(PROTOBUF_CUSTOM_VTABLE) 1050 &KeyValue::SharedDtor, 1051 ::google::protobuf::Message::GetClearImpl<KeyValue>(), &KeyValue::ByteSizeLong, 1052 &KeyValue::_InternalSerialize, 1053 #endif // PROTOBUF_CUSTOM_VTABLE 1054 PROTOBUF_FIELD_OFFSET(KeyValue, _impl_._cached_size_), 1055 false, 1056 }, 1057 &KeyValue::kDescriptorMethods, 1058 &descriptor_table_sdk_2eproto, 1059 nullptr, // tracker 1060 }; 1061 } 1062 1063 PROTOBUF_CONSTINIT AGONES_EXPORT 1064 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1065 KeyValue_class_data_ = 1066 KeyValue::InternalGenerateClassData_(); 1067 1068 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL KeyValue::GetClassData() const { 1069 ::google::protobuf::internal::PrefetchToLocalCache(&KeyValue_class_data_); 1070 ::google::protobuf::internal::PrefetchToLocalCache(KeyValue_class_data_.tc_table); 1071 return KeyValue_class_data_.base(); 1072 } 1073 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1074 const ::_pbi::TcParseTable<1, 2, 0, 40, 2> 1075 KeyValue::_table_ = { 1076 { 1077 PROTOBUF_FIELD_OFFSET(KeyValue, _impl_._has_bits_), 1078 0, // no _extensions_ 1079 2, 8, // max_field_number, fast_idx_mask 1080 offsetof(decltype(_table_), field_lookup_table), 1081 4294967292, // skipmap 1082 offsetof(decltype(_table_), field_entries), 1083 2, // num_field_entries 1084 0, // num_aux_entries 1085 offsetof(decltype(_table_), field_names), // no aux_entries 1086 KeyValue_class_data_.base(), 1087 nullptr, // post_loop_handler 1088 ::_pbi::TcParser::GenericFallback, // fallback 1089 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1090 ::_pbi::TcParser::GetTable<::agones::dev::sdk::KeyValue>(), // to_prefetch 1091 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1092 }, {{ 1093 // string value = 2; 1094 {::_pbi::TcParser::FastUS1, 1095 {18, 1, 0, PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.value_)}}, 1096 // string key = 1; 1097 {::_pbi::TcParser::FastUS1, 1098 {10, 0, 0, PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.key_)}}, 1099 }}, {{ 1100 65535, 65535 1101 }}, {{ 1102 // string key = 1; 1103 {PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1104 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1105 // string value = 2; 1106 {PROTOBUF_FIELD_OFFSET(KeyValue, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1107 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1108 }}, 1109 // no aux_entries 1110 {{ 1111 "\27\3\5\0\0\0\0\0" 1112 "agones.dev.sdk.KeyValue" 1113 "key" 1114 "value" 1115 }}, 1116 }; 1117 PROTOBUF_NOINLINE void KeyValue::Clear() { 1118 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.KeyValue) 1119 ::google::protobuf::internal::TSanWrite(&_impl_); 1120 ::uint32_t cached_has_bits = 0; 1121 // Prevent compiler warnings about cached_has_bits being unused 1122 (void) cached_has_bits; 1123 1124 cached_has_bits = _impl_._has_bits_[0]; 1125 if ((cached_has_bits & 0x00000003u) != 0) { 1126 if ((cached_has_bits & 0x00000001u) != 0) { 1127 _impl_.key_.ClearNonDefaultToEmpty(); 1128 } 1129 if ((cached_has_bits & 0x00000002u) != 0) { 1130 _impl_.value_.ClearNonDefaultToEmpty(); 1131 } 1132 } 1133 _impl_._has_bits_.Clear(); 1134 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 1135 } 1136 1137 #if defined(PROTOBUF_CUSTOM_VTABLE) 1138 ::uint8_t* PROTOBUF_NONNULL KeyValue::_InternalSerialize( 1139 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 1140 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 1141 const KeyValue& this_ = static_cast<const KeyValue&>(base); 1142 #else // PROTOBUF_CUSTOM_VTABLE 1143 ::uint8_t* PROTOBUF_NONNULL KeyValue::_InternalSerialize( 1144 ::uint8_t* PROTOBUF_NONNULL target, 1145 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1146 const KeyValue& this_ = *this; 1147 #endif // PROTOBUF_CUSTOM_VTABLE 1148 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.KeyValue) 1149 ::uint32_t cached_has_bits = 0; 1150 (void)cached_has_bits; 1151 1152 // string key = 1; 1153 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 1154 if (!this_._internal_key().empty()) { 1155 const std::string& _s = this_._internal_key(); 1156 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 1157 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.KeyValue.key"); 1158 target = stream->WriteStringMaybeAliased(1, _s, target); 1159 } 1160 } 1161 1162 // string value = 2; 1163 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 1164 if (!this_._internal_value().empty()) { 1165 const std::string& _s = this_._internal_value(); 1166 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 1167 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.KeyValue.value"); 1168 target = stream->WriteStringMaybeAliased(2, _s, target); 1169 } 1170 } 1171 1172 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 1173 target = 1174 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 1175 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 1176 } 1177 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.KeyValue) 1178 return target; 1179 } 1180 1181 #if defined(PROTOBUF_CUSTOM_VTABLE) 1182 ::size_t KeyValue::ByteSizeLong(const MessageLite& base) { 1183 const KeyValue& this_ = static_cast<const KeyValue&>(base); 1184 #else // PROTOBUF_CUSTOM_VTABLE 1185 ::size_t KeyValue::ByteSizeLong() const { 1186 const KeyValue& this_ = *this; 1187 #endif // PROTOBUF_CUSTOM_VTABLE 1188 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.KeyValue) 1189 ::size_t total_size = 0; 1190 1191 ::uint32_t cached_has_bits = 0; 1192 // Prevent compiler warnings about cached_has_bits being unused 1193 (void)cached_has_bits; 1194 1195 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 1196 cached_has_bits = this_._impl_._has_bits_[0]; 1197 if ((cached_has_bits & 0x00000003u) != 0) { 1198 // string key = 1; 1199 if ((cached_has_bits & 0x00000001u) != 0) { 1200 if (!this_._internal_key().empty()) { 1201 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 1202 this_._internal_key()); 1203 } 1204 } 1205 // string value = 2; 1206 if ((cached_has_bits & 0x00000002u) != 0) { 1207 if (!this_._internal_value().empty()) { 1208 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 1209 this_._internal_value()); 1210 } 1211 } 1212 } 1213 return this_.MaybeComputeUnknownFieldsSize(total_size, 1214 &this_._impl_._cached_size_); 1215 } 1216 1217 void KeyValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 1218 auto* const _this = static_cast<KeyValue*>(&to_msg); 1219 auto& from = static_cast<const KeyValue&>(from_msg); 1220 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.KeyValue) 1221 ABSL_DCHECK_NE(&from, _this); 1222 ::uint32_t cached_has_bits = 0; 1223 (void) cached_has_bits; 1224 1225 cached_has_bits = from._impl_._has_bits_[0]; 1226 if ((cached_has_bits & 0x00000003u) != 0) { 1227 if ((cached_has_bits & 0x00000001u) != 0) { 1228 if (!from._internal_key().empty()) { 1229 _this->_internal_set_key(from._internal_key()); 1230 } else { 1231 if (_this->_impl_.key_.IsDefault()) { 1232 _this->_internal_set_key(""); 1233 } 1234 } 1235 } 1236 if ((cached_has_bits & 0x00000002u) != 0) { 1237 if (!from._internal_value().empty()) { 1238 _this->_internal_set_value(from._internal_value()); 1239 } else { 1240 if (_this->_impl_.value_.IsDefault()) { 1241 _this->_internal_set_value(""); 1242 } 1243 } 1244 } 1245 } 1246 _this->_impl_._has_bits_[0] |= cached_has_bits; 1247 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 1248 } 1249 1250 void KeyValue::CopyFrom(const KeyValue& from) { 1251 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.KeyValue) 1252 if (&from == this) return; 1253 Clear(); 1254 MergeFrom(from); 1255 } 1256 1257 1258 void KeyValue::InternalSwap(KeyValue* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 1259 using std::swap; 1260 auto* arena = GetArena(); 1261 ABSL_DCHECK_EQ(arena, other->GetArena()); 1262 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 1263 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 1264 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.key_, &other->_impl_.key_, arena); 1265 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena); 1266 } 1267 1268 ::google::protobuf::Metadata KeyValue::GetMetadata() const { 1269 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 1270 } 1271 // =================================================================== 1272 1273 class Duration::_Internal { 1274 public: 1275 using HasBits = 1276 decltype(std::declval<Duration>()._impl_._has_bits_); 1277 static constexpr ::int32_t kHasBitsOffset = 1278 8 * PROTOBUF_FIELD_OFFSET(Duration, _impl_._has_bits_); 1279 }; 1280 1281 Duration::Duration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1282 #if defined(PROTOBUF_CUSTOM_VTABLE) 1283 : ::google::protobuf::Message(arena, Duration_class_data_.base()) { 1284 #else // PROTOBUF_CUSTOM_VTABLE 1285 : ::google::protobuf::Message(arena) { 1286 #endif // PROTOBUF_CUSTOM_VTABLE 1287 SharedCtor(arena); 1288 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.Duration) 1289 } 1290 Duration::Duration( 1291 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Duration& from) 1292 #if defined(PROTOBUF_CUSTOM_VTABLE) 1293 : ::google::protobuf::Message(arena, Duration_class_data_.base()), 1294 #else // PROTOBUF_CUSTOM_VTABLE 1295 : ::google::protobuf::Message(arena), 1296 #endif // PROTOBUF_CUSTOM_VTABLE 1297 _impl_(from._impl_) { 1298 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 1299 from._internal_metadata_); 1300 } 1301 PROTOBUF_NDEBUG_INLINE Duration::Impl_::Impl_( 1302 ::google::protobuf::internal::InternalVisibility visibility, 1303 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1304 : _cached_size_{0} {} 1305 1306 inline void Duration::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 1307 new (&_impl_) Impl_(internal_visibility(), arena); 1308 _impl_.seconds_ = {}; 1309 } 1310 Duration::~Duration() { 1311 // @@protoc_insertion_point(destructor:agones.dev.sdk.Duration) 1312 SharedDtor(*this); 1313 } 1314 inline void Duration::SharedDtor(MessageLite& self) { 1315 Duration& this_ = static_cast<Duration&>(self); 1316 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 1317 ABSL_DCHECK(this_.GetArena() == nullptr); 1318 this_._impl_.~Impl_(); 1319 } 1320 1321 inline void* PROTOBUF_NONNULL Duration::PlacementNew_( 1322 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1323 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1324 return ::new (mem) Duration(arena); 1325 } 1326 constexpr auto Duration::InternalNewImpl_() { 1327 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Duration), 1328 alignof(Duration)); 1329 } 1330 constexpr auto Duration::InternalGenerateClassData_() { 1331 return ::google::protobuf::internal::ClassDataFull{ 1332 ::google::protobuf::internal::ClassData{ 1333 &_Duration_default_instance_._instance, 1334 &_table_.header, 1335 nullptr, // OnDemandRegisterArenaDtor 1336 nullptr, // IsInitialized 1337 &Duration::MergeImpl, 1338 ::google::protobuf::Message::GetNewImpl<Duration>(), 1339 #if defined(PROTOBUF_CUSTOM_VTABLE) 1340 &Duration::SharedDtor, 1341 ::google::protobuf::Message::GetClearImpl<Duration>(), &Duration::ByteSizeLong, 1342 &Duration::_InternalSerialize, 1343 #endif // PROTOBUF_CUSTOM_VTABLE 1344 PROTOBUF_FIELD_OFFSET(Duration, _impl_._cached_size_), 1345 false, 1346 }, 1347 &Duration::kDescriptorMethods, 1348 &descriptor_table_sdk_2eproto, 1349 nullptr, // tracker 1350 }; 1351 } 1352 1353 PROTOBUF_CONSTINIT AGONES_EXPORT 1354 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1355 Duration_class_data_ = 1356 Duration::InternalGenerateClassData_(); 1357 1358 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL Duration::GetClassData() const { 1359 ::google::protobuf::internal::PrefetchToLocalCache(&Duration_class_data_); 1360 ::google::protobuf::internal::PrefetchToLocalCache(Duration_class_data_.tc_table); 1361 return Duration_class_data_.base(); 1362 } 1363 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1364 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> 1365 Duration::_table_ = { 1366 { 1367 PROTOBUF_FIELD_OFFSET(Duration, _impl_._has_bits_), 1368 0, // no _extensions_ 1369 1, 0, // max_field_number, fast_idx_mask 1370 offsetof(decltype(_table_), field_lookup_table), 1371 4294967294, // skipmap 1372 offsetof(decltype(_table_), field_entries), 1373 1, // num_field_entries 1374 0, // num_aux_entries 1375 offsetof(decltype(_table_), field_names), // no aux_entries 1376 Duration_class_data_.base(), 1377 nullptr, // post_loop_handler 1378 ::_pbi::TcParser::GenericFallback, // fallback 1379 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1380 ::_pbi::TcParser::GetTable<::agones::dev::sdk::Duration>(), // to_prefetch 1381 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1382 }, {{ 1383 // int64 seconds = 1; 1384 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Duration, _impl_.seconds_), 0>(), 1385 {8, 0, 0, PROTOBUF_FIELD_OFFSET(Duration, _impl_.seconds_)}}, 1386 }}, {{ 1387 65535, 65535 1388 }}, {{ 1389 // int64 seconds = 1; 1390 {PROTOBUF_FIELD_OFFSET(Duration, _impl_.seconds_), _Internal::kHasBitsOffset + 0, 0, 1391 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 1392 }}, 1393 // no aux_entries 1394 {{ 1395 }}, 1396 }; 1397 PROTOBUF_NOINLINE void Duration::Clear() { 1398 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.Duration) 1399 ::google::protobuf::internal::TSanWrite(&_impl_); 1400 ::uint32_t cached_has_bits = 0; 1401 // Prevent compiler warnings about cached_has_bits being unused 1402 (void) cached_has_bits; 1403 1404 _impl_.seconds_ = ::int64_t{0}; 1405 _impl_._has_bits_.Clear(); 1406 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 1407 } 1408 1409 #if defined(PROTOBUF_CUSTOM_VTABLE) 1410 ::uint8_t* PROTOBUF_NONNULL Duration::_InternalSerialize( 1411 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 1412 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 1413 const Duration& this_ = static_cast<const Duration&>(base); 1414 #else // PROTOBUF_CUSTOM_VTABLE 1415 ::uint8_t* PROTOBUF_NONNULL Duration::_InternalSerialize( 1416 ::uint8_t* PROTOBUF_NONNULL target, 1417 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1418 const Duration& this_ = *this; 1419 #endif // PROTOBUF_CUSTOM_VTABLE 1420 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.Duration) 1421 ::uint32_t cached_has_bits = 0; 1422 (void)cached_has_bits; 1423 1424 // int64 seconds = 1; 1425 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 1426 if (this_._internal_seconds() != 0) { 1427 target = 1428 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>( 1429 stream, this_._internal_seconds(), target); 1430 } 1431 } 1432 1433 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 1434 target = 1435 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 1436 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 1437 } 1438 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.Duration) 1439 return target; 1440 } 1441 1442 #if defined(PROTOBUF_CUSTOM_VTABLE) 1443 ::size_t Duration::ByteSizeLong(const MessageLite& base) { 1444 const Duration& this_ = static_cast<const Duration&>(base); 1445 #else // PROTOBUF_CUSTOM_VTABLE 1446 ::size_t Duration::ByteSizeLong() const { 1447 const Duration& this_ = *this; 1448 #endif // PROTOBUF_CUSTOM_VTABLE 1449 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.Duration) 1450 ::size_t total_size = 0; 1451 1452 ::uint32_t cached_has_bits = 0; 1453 // Prevent compiler warnings about cached_has_bits being unused 1454 (void)cached_has_bits; 1455 1456 { 1457 // int64 seconds = 1; 1458 cached_has_bits = this_._impl_._has_bits_[0]; 1459 if ((cached_has_bits & 0x00000001u) != 0) { 1460 if (this_._internal_seconds() != 0) { 1461 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 1462 this_._internal_seconds()); 1463 } 1464 } 1465 } 1466 return this_.MaybeComputeUnknownFieldsSize(total_size, 1467 &this_._impl_._cached_size_); 1468 } 1469 1470 void Duration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 1471 auto* const _this = static_cast<Duration*>(&to_msg); 1472 auto& from = static_cast<const Duration&>(from_msg); 1473 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.Duration) 1474 ABSL_DCHECK_NE(&from, _this); 1475 ::uint32_t cached_has_bits = 0; 1476 (void) cached_has_bits; 1477 1478 cached_has_bits = from._impl_._has_bits_[0]; 1479 if ((cached_has_bits & 0x00000001u) != 0) { 1480 if (from._internal_seconds() != 0) { 1481 _this->_impl_.seconds_ = from._impl_.seconds_; 1482 } 1483 } 1484 _this->_impl_._has_bits_[0] |= cached_has_bits; 1485 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 1486 } 1487 1488 void Duration::CopyFrom(const Duration& from) { 1489 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.Duration) 1490 if (&from == this) return; 1491 Clear(); 1492 MergeFrom(from); 1493 } 1494 1495 1496 void Duration::InternalSwap(Duration* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 1497 using std::swap; 1498 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 1499 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 1500 swap(_impl_.seconds_, other->_impl_.seconds_); 1501 } 1502 1503 ::google::protobuf::Metadata Duration::GetMetadata() const { 1504 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 1505 } 1506 // =================================================================== 1507 1508 #if defined(PROTOBUF_CUSTOM_VTABLE) 1509 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse() 1510 : SuperType(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_.base()) {} 1511 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1512 : SuperType(arena, GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_.base()) {} 1513 #else // PROTOBUF_CUSTOM_VTABLE 1514 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse() : SuperType() {} 1515 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 1516 #endif // PROTOBUF_CUSTOM_VTABLE 1517 inline void* PROTOBUF_NONNULL GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::PlacementNew_( 1518 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1519 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1520 return ::new (mem) GameServer_ObjectMeta_AnnotationsEntry_DoNotUse(arena); 1521 } 1522 constexpr auto GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::InternalNewImpl_() { 1523 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse), 1524 alignof(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse)); 1525 } 1526 constexpr auto GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::InternalGenerateClassData_() { 1527 return ::google::protobuf::internal::ClassDataFull{ 1528 ::google::protobuf::internal::ClassData{ 1529 &_GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_default_instance_._instance, 1530 &_table_.header, 1531 nullptr, // OnDemandRegisterArenaDtor 1532 nullptr, // IsInitialized 1533 &GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::MergeImpl, 1534 ::google::protobuf::Message::GetNewImpl<GameServer_ObjectMeta_AnnotationsEntry_DoNotUse>(), 1535 #if defined(PROTOBUF_CUSTOM_VTABLE) 1536 &GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::SharedDtor, 1537 static_cast<void (::google::protobuf::MessageLite::*)()>(&GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::ClearImpl), 1538 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 1539 , 1540 #endif // PROTOBUF_CUSTOM_VTABLE 1541 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_._cached_size_), 1542 false, 1543 }, 1544 &GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::kDescriptorMethods, 1545 &descriptor_table_sdk_2eproto, 1546 nullptr, // tracker 1547 }; 1548 } 1549 1550 PROTOBUF_CONSTINIT AGONES_EXPORT 1551 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1552 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_ = 1553 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::InternalGenerateClassData_(); 1554 1555 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::GetClassData() const { 1556 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_); 1557 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_.tc_table); 1558 return GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_.base(); 1559 } 1560 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1561 const ::_pbi::TcParseTable<1, 2, 0, 70, 2> 1562 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse::_table_ = { 1563 { 1564 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_._has_bits_), 1565 0, // no _extensions_ 1566 2, 8, // max_field_number, fast_idx_mask 1567 offsetof(decltype(_table_), field_lookup_table), 1568 4294967292, // skipmap 1569 offsetof(decltype(_table_), field_entries), 1570 2, // num_field_entries 1571 0, // num_aux_entries 1572 offsetof(decltype(_table_), field_names), // no aux_entries 1573 GameServer_ObjectMeta_AnnotationsEntry_DoNotUse_class_data_.base(), 1574 nullptr, // post_loop_handler 1575 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 1576 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1577 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_ObjectMeta_AnnotationsEntry_DoNotUse>(), // to_prefetch 1578 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1579 }, {{ 1580 // string value = 2; 1581 {::_pbi::TcParser::FastUS1, 1582 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_.value_)}}, 1583 // string key = 1; 1584 {::_pbi::TcParser::FastUS1, 1585 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_.key_)}}, 1586 }}, {{ 1587 65535, 65535 1588 }}, {{ 1589 // string key = 1; 1590 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1591 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1592 // string value = 2; 1593 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_AnnotationsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1594 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1595 }}, 1596 // no aux_entries 1597 {{ 1598 "\65\3\5\0\0\0\0\0" 1599 "agones.dev.sdk.GameServer.ObjectMeta.AnnotationsEntry" 1600 "key" 1601 "value" 1602 }}, 1603 }; 1604 // =================================================================== 1605 1606 #if defined(PROTOBUF_CUSTOM_VTABLE) 1607 GameServer_ObjectMeta_LabelsEntry_DoNotUse::GameServer_ObjectMeta_LabelsEntry_DoNotUse() 1608 : SuperType(GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_.base()) {} 1609 GameServer_ObjectMeta_LabelsEntry_DoNotUse::GameServer_ObjectMeta_LabelsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1610 : SuperType(arena, GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_.base()) {} 1611 #else // PROTOBUF_CUSTOM_VTABLE 1612 GameServer_ObjectMeta_LabelsEntry_DoNotUse::GameServer_ObjectMeta_LabelsEntry_DoNotUse() : SuperType() {} 1613 GameServer_ObjectMeta_LabelsEntry_DoNotUse::GameServer_ObjectMeta_LabelsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 1614 #endif // PROTOBUF_CUSTOM_VTABLE 1615 inline void* PROTOBUF_NONNULL GameServer_ObjectMeta_LabelsEntry_DoNotUse::PlacementNew_( 1616 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1617 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1618 return ::new (mem) GameServer_ObjectMeta_LabelsEntry_DoNotUse(arena); 1619 } 1620 constexpr auto GameServer_ObjectMeta_LabelsEntry_DoNotUse::InternalNewImpl_() { 1621 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GameServer_ObjectMeta_LabelsEntry_DoNotUse), 1622 alignof(GameServer_ObjectMeta_LabelsEntry_DoNotUse)); 1623 } 1624 constexpr auto GameServer_ObjectMeta_LabelsEntry_DoNotUse::InternalGenerateClassData_() { 1625 return ::google::protobuf::internal::ClassDataFull{ 1626 ::google::protobuf::internal::ClassData{ 1627 &_GameServer_ObjectMeta_LabelsEntry_DoNotUse_default_instance_._instance, 1628 &_table_.header, 1629 nullptr, // OnDemandRegisterArenaDtor 1630 nullptr, // IsInitialized 1631 &GameServer_ObjectMeta_LabelsEntry_DoNotUse::MergeImpl, 1632 ::google::protobuf::Message::GetNewImpl<GameServer_ObjectMeta_LabelsEntry_DoNotUse>(), 1633 #if defined(PROTOBUF_CUSTOM_VTABLE) 1634 &GameServer_ObjectMeta_LabelsEntry_DoNotUse::SharedDtor, 1635 static_cast<void (::google::protobuf::MessageLite::*)()>(&GameServer_ObjectMeta_LabelsEntry_DoNotUse::ClearImpl), 1636 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 1637 , 1638 #endif // PROTOBUF_CUSTOM_VTABLE 1639 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_._cached_size_), 1640 false, 1641 }, 1642 &GameServer_ObjectMeta_LabelsEntry_DoNotUse::kDescriptorMethods, 1643 &descriptor_table_sdk_2eproto, 1644 nullptr, // tracker 1645 }; 1646 } 1647 1648 PROTOBUF_CONSTINIT AGONES_EXPORT 1649 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1650 GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_ = 1651 GameServer_ObjectMeta_LabelsEntry_DoNotUse::InternalGenerateClassData_(); 1652 1653 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_ObjectMeta_LabelsEntry_DoNotUse::GetClassData() const { 1654 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_); 1655 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_.tc_table); 1656 return GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_.base(); 1657 } 1658 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1659 const ::_pbi::TcParseTable<1, 2, 0, 65, 2> 1660 GameServer_ObjectMeta_LabelsEntry_DoNotUse::_table_ = { 1661 { 1662 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_._has_bits_), 1663 0, // no _extensions_ 1664 2, 8, // max_field_number, fast_idx_mask 1665 offsetof(decltype(_table_), field_lookup_table), 1666 4294967292, // skipmap 1667 offsetof(decltype(_table_), field_entries), 1668 2, // num_field_entries 1669 0, // num_aux_entries 1670 offsetof(decltype(_table_), field_names), // no aux_entries 1671 GameServer_ObjectMeta_LabelsEntry_DoNotUse_class_data_.base(), 1672 nullptr, // post_loop_handler 1673 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 1674 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1675 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_ObjectMeta_LabelsEntry_DoNotUse>(), // to_prefetch 1676 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1677 }, {{ 1678 // string value = 2; 1679 {::_pbi::TcParser::FastUS1, 1680 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_.value_)}}, 1681 // string key = 1; 1682 {::_pbi::TcParser::FastUS1, 1683 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_.key_)}}, 1684 }}, {{ 1685 65535, 65535 1686 }}, {{ 1687 // string key = 1; 1688 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 1689 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1690 // string value = 2; 1691 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta_LabelsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 1692 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1693 }}, 1694 // no aux_entries 1695 {{ 1696 "\60\3\5\0\0\0\0\0" 1697 "agones.dev.sdk.GameServer.ObjectMeta.LabelsEntry" 1698 "key" 1699 "value" 1700 }}, 1701 }; 1702 // =================================================================== 1703 1704 class GameServer_ObjectMeta::_Internal { 1705 public: 1706 using HasBits = 1707 decltype(std::declval<GameServer_ObjectMeta>()._impl_._has_bits_); 1708 static constexpr ::int32_t kHasBitsOffset = 1709 8 * PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_._has_bits_); 1710 }; 1711 1712 GameServer_ObjectMeta::GameServer_ObjectMeta(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1713 #if defined(PROTOBUF_CUSTOM_VTABLE) 1714 : ::google::protobuf::Message(arena, GameServer_ObjectMeta_class_data_.base()) { 1715 #else // PROTOBUF_CUSTOM_VTABLE 1716 : ::google::protobuf::Message(arena) { 1717 #endif // PROTOBUF_CUSTOM_VTABLE 1718 SharedCtor(arena); 1719 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.ObjectMeta) 1720 } 1721 PROTOBUF_NDEBUG_INLINE GameServer_ObjectMeta::Impl_::Impl_( 1722 ::google::protobuf::internal::InternalVisibility visibility, 1723 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 1724 const ::agones::dev::sdk::GameServer_ObjectMeta& from_msg) 1725 : _has_bits_{from._has_bits_}, 1726 _cached_size_{0}, 1727 annotations_{visibility, arena, from.annotations_}, 1728 labels_{visibility, arena, from.labels_}, 1729 name_(arena, from.name_), 1730 namespace__(arena, from.namespace__), 1731 uid_(arena, from.uid_), 1732 resource_version_(arena, from.resource_version_) {} 1733 1734 GameServer_ObjectMeta::GameServer_ObjectMeta( 1735 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 1736 const GameServer_ObjectMeta& from) 1737 #if defined(PROTOBUF_CUSTOM_VTABLE) 1738 : ::google::protobuf::Message(arena, GameServer_ObjectMeta_class_data_.base()) { 1739 #else // PROTOBUF_CUSTOM_VTABLE 1740 : ::google::protobuf::Message(arena) { 1741 #endif // PROTOBUF_CUSTOM_VTABLE 1742 GameServer_ObjectMeta* const _this = this; 1743 (void)_this; 1744 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 1745 from._internal_metadata_); 1746 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 1747 ::memcpy(reinterpret_cast<char *>(&_impl_) + 1748 offsetof(Impl_, generation_), 1749 reinterpret_cast<const char *>(&from._impl_) + 1750 offsetof(Impl_, generation_), 1751 offsetof(Impl_, deletion_timestamp_) - 1752 offsetof(Impl_, generation_) + 1753 sizeof(Impl_::deletion_timestamp_)); 1754 1755 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.ObjectMeta) 1756 } 1757 PROTOBUF_NDEBUG_INLINE GameServer_ObjectMeta::Impl_::Impl_( 1758 ::google::protobuf::internal::InternalVisibility visibility, 1759 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 1760 : _cached_size_{0}, 1761 annotations_{visibility, arena}, 1762 labels_{visibility, arena}, 1763 name_(arena), 1764 namespace__(arena), 1765 uid_(arena), 1766 resource_version_(arena) {} 1767 1768 inline void GameServer_ObjectMeta::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 1769 new (&_impl_) Impl_(internal_visibility(), arena); 1770 ::memset(reinterpret_cast<char *>(&_impl_) + 1771 offsetof(Impl_, generation_), 1772 0, 1773 offsetof(Impl_, deletion_timestamp_) - 1774 offsetof(Impl_, generation_) + 1775 sizeof(Impl_::deletion_timestamp_)); 1776 } 1777 GameServer_ObjectMeta::~GameServer_ObjectMeta() { 1778 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.ObjectMeta) 1779 SharedDtor(*this); 1780 } 1781 inline void GameServer_ObjectMeta::SharedDtor(MessageLite& self) { 1782 GameServer_ObjectMeta& this_ = static_cast<GameServer_ObjectMeta&>(self); 1783 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 1784 ABSL_DCHECK(this_.GetArena() == nullptr); 1785 this_._impl_.name_.Destroy(); 1786 this_._impl_.namespace__.Destroy(); 1787 this_._impl_.uid_.Destroy(); 1788 this_._impl_.resource_version_.Destroy(); 1789 this_._impl_.~Impl_(); 1790 } 1791 1792 inline void* PROTOBUF_NONNULL GameServer_ObjectMeta::PlacementNew_( 1793 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 1794 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 1795 return ::new (mem) GameServer_ObjectMeta(arena); 1796 } 1797 constexpr auto GameServer_ObjectMeta::InternalNewImpl_() { 1798 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 1799 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.annotations_) + 1800 decltype(GameServer_ObjectMeta::_impl_.annotations_):: 1801 InternalGetArenaOffset( 1802 ::google::protobuf::Message::internal_visibility()), 1803 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.annotations_) + 1804 decltype(GameServer_ObjectMeta::_impl_.annotations_):: 1805 InternalGetArenaOffsetAlt( 1806 ::google::protobuf::Message::internal_visibility()), 1807 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.labels_) + 1808 decltype(GameServer_ObjectMeta::_impl_.labels_):: 1809 InternalGetArenaOffset( 1810 ::google::protobuf::Message::internal_visibility()), 1811 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.labels_) + 1812 decltype(GameServer_ObjectMeta::_impl_.labels_):: 1813 InternalGetArenaOffsetAlt( 1814 ::google::protobuf::Message::internal_visibility()), 1815 }); 1816 if (arena_bits.has_value()) { 1817 return ::google::protobuf::internal::MessageCreator::CopyInit( 1818 sizeof(GameServer_ObjectMeta), alignof(GameServer_ObjectMeta), *arena_bits); 1819 } else { 1820 return ::google::protobuf::internal::MessageCreator(&GameServer_ObjectMeta::PlacementNew_, 1821 sizeof(GameServer_ObjectMeta), 1822 alignof(GameServer_ObjectMeta)); 1823 } 1824 } 1825 constexpr auto GameServer_ObjectMeta::InternalGenerateClassData_() { 1826 return ::google::protobuf::internal::ClassDataFull{ 1827 ::google::protobuf::internal::ClassData{ 1828 &_GameServer_ObjectMeta_default_instance_._instance, 1829 &_table_.header, 1830 nullptr, // OnDemandRegisterArenaDtor 1831 nullptr, // IsInitialized 1832 &GameServer_ObjectMeta::MergeImpl, 1833 ::google::protobuf::Message::GetNewImpl<GameServer_ObjectMeta>(), 1834 #if defined(PROTOBUF_CUSTOM_VTABLE) 1835 &GameServer_ObjectMeta::SharedDtor, 1836 ::google::protobuf::Message::GetClearImpl<GameServer_ObjectMeta>(), &GameServer_ObjectMeta::ByteSizeLong, 1837 &GameServer_ObjectMeta::_InternalSerialize, 1838 #endif // PROTOBUF_CUSTOM_VTABLE 1839 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_._cached_size_), 1840 false, 1841 }, 1842 &GameServer_ObjectMeta::kDescriptorMethods, 1843 &descriptor_table_sdk_2eproto, 1844 nullptr, // tracker 1845 }; 1846 } 1847 1848 PROTOBUF_CONSTINIT AGONES_EXPORT 1849 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 1850 GameServer_ObjectMeta_class_data_ = 1851 GameServer_ObjectMeta::InternalGenerateClassData_(); 1852 1853 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_ObjectMeta::GetClassData() const { 1854 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_ObjectMeta_class_data_); 1855 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_ObjectMeta_class_data_.tc_table); 1856 return GameServer_ObjectMeta_class_data_.base(); 1857 } 1858 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 1859 const ::_pbi::TcParseTable<3, 9, 2, 102, 2> 1860 GameServer_ObjectMeta::_table_ = { 1861 { 1862 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_._has_bits_), 1863 0, // no _extensions_ 1864 9, 56, // max_field_number, fast_idx_mask 1865 offsetof(decltype(_table_), field_lookup_table), 1866 4294966784, // skipmap 1867 offsetof(decltype(_table_), field_entries), 1868 9, // num_field_entries 1869 2, // num_aux_entries 1870 offsetof(decltype(_table_), aux_entries), 1871 GameServer_ObjectMeta_class_data_.base(), 1872 nullptr, // post_loop_handler 1873 ::_pbi::TcParser::GenericFallback, // fallback 1874 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 1875 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_ObjectMeta>(), // to_prefetch 1876 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 1877 }, {{ 1878 {::_pbi::TcParser::MiniParse, {}}, 1879 // string name = 1; 1880 {::_pbi::TcParser::FastUS1, 1881 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.name_)}}, 1882 // string namespace = 2; 1883 {::_pbi::TcParser::FastUS1, 1884 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.namespace__)}}, 1885 // string uid = 3; 1886 {::_pbi::TcParser::FastUS1, 1887 {26, 2, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.uid_)}}, 1888 // string resource_version = 4; 1889 {::_pbi::TcParser::FastUS1, 1890 {34, 3, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.resource_version_)}}, 1891 // int64 generation = 5; 1892 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_ObjectMeta, _impl_.generation_), 4>(), 1893 {40, 4, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.generation_)}}, 1894 // int64 creation_timestamp = 6; 1895 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_ObjectMeta, _impl_.creation_timestamp_), 5>(), 1896 {48, 5, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.creation_timestamp_)}}, 1897 // int64 deletion_timestamp = 7; 1898 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_ObjectMeta, _impl_.deletion_timestamp_), 6>(), 1899 {56, 6, 0, PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.deletion_timestamp_)}}, 1900 }}, {{ 1901 65535, 65535 1902 }}, {{ 1903 // string name = 1; 1904 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, 1905 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1906 // string namespace = 2; 1907 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.namespace__), _Internal::kHasBitsOffset + 1, 0, 1908 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1909 // string uid = 3; 1910 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.uid_), _Internal::kHasBitsOffset + 2, 0, 1911 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1912 // string resource_version = 4; 1913 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.resource_version_), _Internal::kHasBitsOffset + 3, 0, 1914 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 1915 // int64 generation = 5; 1916 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.generation_), _Internal::kHasBitsOffset + 4, 0, 1917 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 1918 // int64 creation_timestamp = 6; 1919 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.creation_timestamp_), _Internal::kHasBitsOffset + 5, 0, 1920 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 1921 // int64 deletion_timestamp = 7; 1922 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.deletion_timestamp_), _Internal::kHasBitsOffset + 6, 0, 1923 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 1924 // map<string, string> annotations = 8; 1925 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.annotations_), -1, 0, 1926 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 1927 // map<string, string> labels = 9; 1928 {PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.labels_), -1, 1, 1929 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 1930 }}, 1931 {{ 1932 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 1933 9, 9, 1934 0)}, 1935 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 1936 9, 9, 1937 0)}, 1938 }}, 1939 {{ 1940 "\44\4\11\3\20\0\0\0\13\6\0\0\0\0\0\0" 1941 "agones.dev.sdk.GameServer.ObjectMeta" 1942 "name" 1943 "namespace" 1944 "uid" 1945 "resource_version" 1946 "annotations" 1947 "labels" 1948 }}, 1949 }; 1950 PROTOBUF_NOINLINE void GameServer_ObjectMeta::Clear() { 1951 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.ObjectMeta) 1952 ::google::protobuf::internal::TSanWrite(&_impl_); 1953 ::uint32_t cached_has_bits = 0; 1954 // Prevent compiler warnings about cached_has_bits being unused 1955 (void) cached_has_bits; 1956 1957 _impl_.annotations_.Clear(); 1958 _impl_.labels_.Clear(); 1959 cached_has_bits = _impl_._has_bits_[0]; 1960 if ((cached_has_bits & 0x0000000fu) != 0) { 1961 if ((cached_has_bits & 0x00000001u) != 0) { 1962 _impl_.name_.ClearNonDefaultToEmpty(); 1963 } 1964 if ((cached_has_bits & 0x00000002u) != 0) { 1965 _impl_.namespace__.ClearNonDefaultToEmpty(); 1966 } 1967 if ((cached_has_bits & 0x00000004u) != 0) { 1968 _impl_.uid_.ClearNonDefaultToEmpty(); 1969 } 1970 if ((cached_has_bits & 0x00000008u) != 0) { 1971 _impl_.resource_version_.ClearNonDefaultToEmpty(); 1972 } 1973 } 1974 if ((cached_has_bits & 0x00000070u) != 0) { 1975 ::memset(&_impl_.generation_, 0, static_cast<::size_t>( 1976 reinterpret_cast<char*>(&_impl_.deletion_timestamp_) - 1977 reinterpret_cast<char*>(&_impl_.generation_)) + sizeof(_impl_.deletion_timestamp_)); 1978 } 1979 _impl_._has_bits_.Clear(); 1980 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 1981 } 1982 1983 #if defined(PROTOBUF_CUSTOM_VTABLE) 1984 ::uint8_t* PROTOBUF_NONNULL GameServer_ObjectMeta::_InternalSerialize( 1985 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 1986 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 1987 const GameServer_ObjectMeta& this_ = static_cast<const GameServer_ObjectMeta&>(base); 1988 #else // PROTOBUF_CUSTOM_VTABLE 1989 ::uint8_t* PROTOBUF_NONNULL GameServer_ObjectMeta::_InternalSerialize( 1990 ::uint8_t* PROTOBUF_NONNULL target, 1991 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 1992 const GameServer_ObjectMeta& this_ = *this; 1993 #endif // PROTOBUF_CUSTOM_VTABLE 1994 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.ObjectMeta) 1995 ::uint32_t cached_has_bits = 0; 1996 (void)cached_has_bits; 1997 1998 // string name = 1; 1999 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 2000 if (!this_._internal_name().empty()) { 2001 const std::string& _s = this_._internal_name(); 2002 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2003 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.name"); 2004 target = stream->WriteStringMaybeAliased(1, _s, target); 2005 } 2006 } 2007 2008 // string namespace = 2; 2009 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 2010 if (!this_._internal_namespace_().empty()) { 2011 const std::string& _s = this_._internal_namespace_(); 2012 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2013 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.namespace"); 2014 target = stream->WriteStringMaybeAliased(2, _s, target); 2015 } 2016 } 2017 2018 // string uid = 3; 2019 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 2020 if (!this_._internal_uid().empty()) { 2021 const std::string& _s = this_._internal_uid(); 2022 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2023 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.uid"); 2024 target = stream->WriteStringMaybeAliased(3, _s, target); 2025 } 2026 } 2027 2028 // string resource_version = 4; 2029 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 2030 if (!this_._internal_resource_version().empty()) { 2031 const std::string& _s = this_._internal_resource_version(); 2032 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2033 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.resource_version"); 2034 target = stream->WriteStringMaybeAliased(4, _s, target); 2035 } 2036 } 2037 2038 // int64 generation = 5; 2039 if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { 2040 if (this_._internal_generation() != 0) { 2041 target = 2042 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>( 2043 stream, this_._internal_generation(), target); 2044 } 2045 } 2046 2047 // int64 creation_timestamp = 6; 2048 if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { 2049 if (this_._internal_creation_timestamp() != 0) { 2050 target = 2051 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>( 2052 stream, this_._internal_creation_timestamp(), target); 2053 } 2054 } 2055 2056 // int64 deletion_timestamp = 7; 2057 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) { 2058 if (this_._internal_deletion_timestamp() != 0) { 2059 target = 2060 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>( 2061 stream, this_._internal_deletion_timestamp(), target); 2062 } 2063 } 2064 2065 // map<string, string> annotations = 8; 2066 if (!this_._internal_annotations().empty()) { 2067 using MapType = ::google::protobuf::Map<std::string, std::string>; 2068 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string, 2069 _pbi::WireFormatLite::TYPE_STRING, 2070 _pbi::WireFormatLite::TYPE_STRING>; 2071 const auto& field = this_._internal_annotations(); 2072 2073 if (stream->IsSerializationDeterministic() && field.size() > 1) { 2074 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 2075 target = WireHelper::InternalSerialize( 2076 8, entry.first, entry.second, target, stream); 2077 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2078 entry.first.data(), static_cast<int>(entry.first.length()), 2079 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.annotations"); 2080 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2081 entry.second.data(), static_cast<int>(entry.second.length()), 2082 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.annotations"); 2083 } 2084 } else { 2085 for (const auto& entry : field) { 2086 target = WireHelper::InternalSerialize( 2087 8, entry.first, entry.second, target, stream); 2088 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2089 entry.first.data(), static_cast<int>(entry.first.length()), 2090 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.annotations"); 2091 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2092 entry.second.data(), static_cast<int>(entry.second.length()), 2093 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.annotations"); 2094 } 2095 } 2096 } 2097 2098 // map<string, string> labels = 9; 2099 if (!this_._internal_labels().empty()) { 2100 using MapType = ::google::protobuf::Map<std::string, std::string>; 2101 using WireHelper = _pbi::MapEntryFuncs<std::string, std::string, 2102 _pbi::WireFormatLite::TYPE_STRING, 2103 _pbi::WireFormatLite::TYPE_STRING>; 2104 const auto& field = this_._internal_labels(); 2105 2106 if (stream->IsSerializationDeterministic() && field.size() > 1) { 2107 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 2108 target = WireHelper::InternalSerialize( 2109 9, entry.first, entry.second, target, stream); 2110 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2111 entry.first.data(), static_cast<int>(entry.first.length()), 2112 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.labels"); 2113 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2114 entry.second.data(), static_cast<int>(entry.second.length()), 2115 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.labels"); 2116 } 2117 } else { 2118 for (const auto& entry : field) { 2119 target = WireHelper::InternalSerialize( 2120 9, entry.first, entry.second, target, stream); 2121 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2122 entry.first.data(), static_cast<int>(entry.first.length()), 2123 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.labels"); 2124 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 2125 entry.second.data(), static_cast<int>(entry.second.length()), 2126 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.ObjectMeta.labels"); 2127 } 2128 } 2129 } 2130 2131 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 2132 target = 2133 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 2134 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 2135 } 2136 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.ObjectMeta) 2137 return target; 2138 } 2139 2140 #if defined(PROTOBUF_CUSTOM_VTABLE) 2141 ::size_t GameServer_ObjectMeta::ByteSizeLong(const MessageLite& base) { 2142 const GameServer_ObjectMeta& this_ = static_cast<const GameServer_ObjectMeta&>(base); 2143 #else // PROTOBUF_CUSTOM_VTABLE 2144 ::size_t GameServer_ObjectMeta::ByteSizeLong() const { 2145 const GameServer_ObjectMeta& this_ = *this; 2146 #endif // PROTOBUF_CUSTOM_VTABLE 2147 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.ObjectMeta) 2148 ::size_t total_size = 0; 2149 2150 ::uint32_t cached_has_bits = 0; 2151 // Prevent compiler warnings about cached_has_bits being unused 2152 (void)cached_has_bits; 2153 2154 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 2155 { 2156 // map<string, string> annotations = 8; 2157 { 2158 total_size += 2159 1 * ::google::protobuf::internal::FromIntSize(this_._internal_annotations_size()); 2160 for (const auto& entry : this_._internal_annotations()) { 2161 total_size += _pbi::MapEntryFuncs<std::string, std::string, 2162 _pbi::WireFormatLite::TYPE_STRING, 2163 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second); 2164 } 2165 } 2166 // map<string, string> labels = 9; 2167 { 2168 total_size += 2169 1 * ::google::protobuf::internal::FromIntSize(this_._internal_labels_size()); 2170 for (const auto& entry : this_._internal_labels()) { 2171 total_size += _pbi::MapEntryFuncs<std::string, std::string, 2172 _pbi::WireFormatLite::TYPE_STRING, 2173 _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second); 2174 } 2175 } 2176 } 2177 cached_has_bits = this_._impl_._has_bits_[0]; 2178 if ((cached_has_bits & 0x0000007fu) != 0) { 2179 // string name = 1; 2180 if ((cached_has_bits & 0x00000001u) != 0) { 2181 if (!this_._internal_name().empty()) { 2182 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2183 this_._internal_name()); 2184 } 2185 } 2186 // string namespace = 2; 2187 if ((cached_has_bits & 0x00000002u) != 0) { 2188 if (!this_._internal_namespace_().empty()) { 2189 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2190 this_._internal_namespace_()); 2191 } 2192 } 2193 // string uid = 3; 2194 if ((cached_has_bits & 0x00000004u) != 0) { 2195 if (!this_._internal_uid().empty()) { 2196 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2197 this_._internal_uid()); 2198 } 2199 } 2200 // string resource_version = 4; 2201 if ((cached_has_bits & 0x00000008u) != 0) { 2202 if (!this_._internal_resource_version().empty()) { 2203 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 2204 this_._internal_resource_version()); 2205 } 2206 } 2207 // int64 generation = 5; 2208 if ((cached_has_bits & 0x00000010u) != 0) { 2209 if (this_._internal_generation() != 0) { 2210 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 2211 this_._internal_generation()); 2212 } 2213 } 2214 // int64 creation_timestamp = 6; 2215 if ((cached_has_bits & 0x00000020u) != 0) { 2216 if (this_._internal_creation_timestamp() != 0) { 2217 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 2218 this_._internal_creation_timestamp()); 2219 } 2220 } 2221 // int64 deletion_timestamp = 7; 2222 if ((cached_has_bits & 0x00000040u) != 0) { 2223 if (this_._internal_deletion_timestamp() != 0) { 2224 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 2225 this_._internal_deletion_timestamp()); 2226 } 2227 } 2228 } 2229 return this_.MaybeComputeUnknownFieldsSize(total_size, 2230 &this_._impl_._cached_size_); 2231 } 2232 2233 void GameServer_ObjectMeta::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 2234 auto* const _this = static_cast<GameServer_ObjectMeta*>(&to_msg); 2235 auto& from = static_cast<const GameServer_ObjectMeta&>(from_msg); 2236 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.ObjectMeta) 2237 ABSL_DCHECK_NE(&from, _this); 2238 ::uint32_t cached_has_bits = 0; 2239 (void) cached_has_bits; 2240 2241 _this->_impl_.annotations_.MergeFrom(from._impl_.annotations_); 2242 _this->_impl_.labels_.MergeFrom(from._impl_.labels_); 2243 cached_has_bits = from._impl_._has_bits_[0]; 2244 if ((cached_has_bits & 0x0000007fu) != 0) { 2245 if ((cached_has_bits & 0x00000001u) != 0) { 2246 if (!from._internal_name().empty()) { 2247 _this->_internal_set_name(from._internal_name()); 2248 } else { 2249 if (_this->_impl_.name_.IsDefault()) { 2250 _this->_internal_set_name(""); 2251 } 2252 } 2253 } 2254 if ((cached_has_bits & 0x00000002u) != 0) { 2255 if (!from._internal_namespace_().empty()) { 2256 _this->_internal_set_namespace_(from._internal_namespace_()); 2257 } else { 2258 if (_this->_impl_.namespace__.IsDefault()) { 2259 _this->_internal_set_namespace_(""); 2260 } 2261 } 2262 } 2263 if ((cached_has_bits & 0x00000004u) != 0) { 2264 if (!from._internal_uid().empty()) { 2265 _this->_internal_set_uid(from._internal_uid()); 2266 } else { 2267 if (_this->_impl_.uid_.IsDefault()) { 2268 _this->_internal_set_uid(""); 2269 } 2270 } 2271 } 2272 if ((cached_has_bits & 0x00000008u) != 0) { 2273 if (!from._internal_resource_version().empty()) { 2274 _this->_internal_set_resource_version(from._internal_resource_version()); 2275 } else { 2276 if (_this->_impl_.resource_version_.IsDefault()) { 2277 _this->_internal_set_resource_version(""); 2278 } 2279 } 2280 } 2281 if ((cached_has_bits & 0x00000010u) != 0) { 2282 if (from._internal_generation() != 0) { 2283 _this->_impl_.generation_ = from._impl_.generation_; 2284 } 2285 } 2286 if ((cached_has_bits & 0x00000020u) != 0) { 2287 if (from._internal_creation_timestamp() != 0) { 2288 _this->_impl_.creation_timestamp_ = from._impl_.creation_timestamp_; 2289 } 2290 } 2291 if ((cached_has_bits & 0x00000040u) != 0) { 2292 if (from._internal_deletion_timestamp() != 0) { 2293 _this->_impl_.deletion_timestamp_ = from._impl_.deletion_timestamp_; 2294 } 2295 } 2296 } 2297 _this->_impl_._has_bits_[0] |= cached_has_bits; 2298 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 2299 } 2300 2301 void GameServer_ObjectMeta::CopyFrom(const GameServer_ObjectMeta& from) { 2302 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.ObjectMeta) 2303 if (&from == this) return; 2304 Clear(); 2305 MergeFrom(from); 2306 } 2307 2308 2309 void GameServer_ObjectMeta::InternalSwap(GameServer_ObjectMeta* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 2310 using std::swap; 2311 auto* arena = GetArena(); 2312 ABSL_DCHECK_EQ(arena, other->GetArena()); 2313 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 2314 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 2315 _impl_.annotations_.InternalSwap(&other->_impl_.annotations_); 2316 _impl_.labels_.InternalSwap(&other->_impl_.labels_); 2317 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 2318 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.namespace__, &other->_impl_.namespace__, arena); 2319 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uid_, &other->_impl_.uid_, arena); 2320 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.resource_version_, &other->_impl_.resource_version_, arena); 2321 ::google::protobuf::internal::memswap< 2322 PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.deletion_timestamp_) 2323 + sizeof(GameServer_ObjectMeta::_impl_.deletion_timestamp_) 2324 - PROTOBUF_FIELD_OFFSET(GameServer_ObjectMeta, _impl_.generation_)>( 2325 reinterpret_cast<char*>(&_impl_.generation_), 2326 reinterpret_cast<char*>(&other->_impl_.generation_)); 2327 } 2328 2329 ::google::protobuf::Metadata GameServer_ObjectMeta::GetMetadata() const { 2330 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 2331 } 2332 // =================================================================== 2333 2334 class GameServer_Spec_Health::_Internal { 2335 public: 2336 using HasBits = 2337 decltype(std::declval<GameServer_Spec_Health>()._impl_._has_bits_); 2338 static constexpr ::int32_t kHasBitsOffset = 2339 8 * PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_._has_bits_); 2340 }; 2341 2342 GameServer_Spec_Health::GameServer_Spec_Health(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2343 #if defined(PROTOBUF_CUSTOM_VTABLE) 2344 : ::google::protobuf::Message(arena, GameServer_Spec_Health_class_data_.base()) { 2345 #else // PROTOBUF_CUSTOM_VTABLE 2346 : ::google::protobuf::Message(arena) { 2347 #endif // PROTOBUF_CUSTOM_VTABLE 2348 SharedCtor(arena); 2349 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Spec.Health) 2350 } 2351 GameServer_Spec_Health::GameServer_Spec_Health( 2352 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GameServer_Spec_Health& from) 2353 #if defined(PROTOBUF_CUSTOM_VTABLE) 2354 : ::google::protobuf::Message(arena, GameServer_Spec_Health_class_data_.base()), 2355 #else // PROTOBUF_CUSTOM_VTABLE 2356 : ::google::protobuf::Message(arena), 2357 #endif // PROTOBUF_CUSTOM_VTABLE 2358 _impl_(from._impl_) { 2359 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 2360 from._internal_metadata_); 2361 } 2362 PROTOBUF_NDEBUG_INLINE GameServer_Spec_Health::Impl_::Impl_( 2363 ::google::protobuf::internal::InternalVisibility visibility, 2364 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2365 : _cached_size_{0} {} 2366 2367 inline void GameServer_Spec_Health::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 2368 new (&_impl_) Impl_(internal_visibility(), arena); 2369 ::memset(reinterpret_cast<char *>(&_impl_) + 2370 offsetof(Impl_, disabled_), 2371 0, 2372 offsetof(Impl_, initial_delay_seconds_) - 2373 offsetof(Impl_, disabled_) + 2374 sizeof(Impl_::initial_delay_seconds_)); 2375 } 2376 GameServer_Spec_Health::~GameServer_Spec_Health() { 2377 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Spec.Health) 2378 SharedDtor(*this); 2379 } 2380 inline void GameServer_Spec_Health::SharedDtor(MessageLite& self) { 2381 GameServer_Spec_Health& this_ = static_cast<GameServer_Spec_Health&>(self); 2382 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 2383 ABSL_DCHECK(this_.GetArena() == nullptr); 2384 this_._impl_.~Impl_(); 2385 } 2386 2387 inline void* PROTOBUF_NONNULL GameServer_Spec_Health::PlacementNew_( 2388 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2389 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2390 return ::new (mem) GameServer_Spec_Health(arena); 2391 } 2392 constexpr auto GameServer_Spec_Health::InternalNewImpl_() { 2393 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GameServer_Spec_Health), 2394 alignof(GameServer_Spec_Health)); 2395 } 2396 constexpr auto GameServer_Spec_Health::InternalGenerateClassData_() { 2397 return ::google::protobuf::internal::ClassDataFull{ 2398 ::google::protobuf::internal::ClassData{ 2399 &_GameServer_Spec_Health_default_instance_._instance, 2400 &_table_.header, 2401 nullptr, // OnDemandRegisterArenaDtor 2402 nullptr, // IsInitialized 2403 &GameServer_Spec_Health::MergeImpl, 2404 ::google::protobuf::Message::GetNewImpl<GameServer_Spec_Health>(), 2405 #if defined(PROTOBUF_CUSTOM_VTABLE) 2406 &GameServer_Spec_Health::SharedDtor, 2407 ::google::protobuf::Message::GetClearImpl<GameServer_Spec_Health>(), &GameServer_Spec_Health::ByteSizeLong, 2408 &GameServer_Spec_Health::_InternalSerialize, 2409 #endif // PROTOBUF_CUSTOM_VTABLE 2410 PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_._cached_size_), 2411 false, 2412 }, 2413 &GameServer_Spec_Health::kDescriptorMethods, 2414 &descriptor_table_sdk_2eproto, 2415 nullptr, // tracker 2416 }; 2417 } 2418 2419 PROTOBUF_CONSTINIT AGONES_EXPORT 2420 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 2421 GameServer_Spec_Health_class_data_ = 2422 GameServer_Spec_Health::InternalGenerateClassData_(); 2423 2424 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Spec_Health::GetClassData() const { 2425 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Spec_Health_class_data_); 2426 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Spec_Health_class_data_.tc_table); 2427 return GameServer_Spec_Health_class_data_.base(); 2428 } 2429 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2430 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> 2431 GameServer_Spec_Health::_table_ = { 2432 { 2433 PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_._has_bits_), 2434 0, // no _extensions_ 2435 4, 24, // max_field_number, fast_idx_mask 2436 offsetof(decltype(_table_), field_lookup_table), 2437 4294967280, // skipmap 2438 offsetof(decltype(_table_), field_entries), 2439 4, // num_field_entries 2440 0, // num_aux_entries 2441 offsetof(decltype(_table_), field_names), // no aux_entries 2442 GameServer_Spec_Health_class_data_.base(), 2443 nullptr, // post_loop_handler 2444 ::_pbi::TcParser::GenericFallback, // fallback 2445 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2446 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Spec_Health>(), // to_prefetch 2447 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2448 }, {{ 2449 // int32 initial_delay_seconds = 4; 2450 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GameServer_Spec_Health, _impl_.initial_delay_seconds_), 3>(), 2451 {32, 3, 0, PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.initial_delay_seconds_)}}, 2452 // bool disabled = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { 2453 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(GameServer_Spec_Health, _impl_.disabled_), 0>(), 2454 {8, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.disabled_)}}, 2455 // int32 period_seconds = 2; 2456 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GameServer_Spec_Health, _impl_.period_seconds_), 1>(), 2457 {16, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.period_seconds_)}}, 2458 // int32 failure_threshold = 3; 2459 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GameServer_Spec_Health, _impl_.failure_threshold_), 2>(), 2460 {24, 2, 0, PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.failure_threshold_)}}, 2461 }}, {{ 2462 65535, 65535 2463 }}, {{ 2464 // bool disabled = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { 2465 {PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.disabled_), _Internal::kHasBitsOffset + 0, 0, 2466 (0 | ::_fl::kFcOptional | ::_fl::kBool)}, 2467 // int32 period_seconds = 2; 2468 {PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.period_seconds_), _Internal::kHasBitsOffset + 1, 0, 2469 (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, 2470 // int32 failure_threshold = 3; 2471 {PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.failure_threshold_), _Internal::kHasBitsOffset + 2, 0, 2472 (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, 2473 // int32 initial_delay_seconds = 4; 2474 {PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.initial_delay_seconds_), _Internal::kHasBitsOffset + 3, 0, 2475 (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, 2476 }}, 2477 // no aux_entries 2478 {{ 2479 }}, 2480 }; 2481 PROTOBUF_NOINLINE void GameServer_Spec_Health::Clear() { 2482 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Spec.Health) 2483 ::google::protobuf::internal::TSanWrite(&_impl_); 2484 ::uint32_t cached_has_bits = 0; 2485 // Prevent compiler warnings about cached_has_bits being unused 2486 (void) cached_has_bits; 2487 2488 cached_has_bits = _impl_._has_bits_[0]; 2489 if ((cached_has_bits & 0x0000000fu) != 0) { 2490 ::memset(&_impl_.disabled_, 0, static_cast<::size_t>( 2491 reinterpret_cast<char*>(&_impl_.initial_delay_seconds_) - 2492 reinterpret_cast<char*>(&_impl_.disabled_)) + sizeof(_impl_.initial_delay_seconds_)); 2493 } 2494 _impl_._has_bits_.Clear(); 2495 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 2496 } 2497 2498 #if defined(PROTOBUF_CUSTOM_VTABLE) 2499 ::uint8_t* PROTOBUF_NONNULL GameServer_Spec_Health::_InternalSerialize( 2500 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 2501 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 2502 const GameServer_Spec_Health& this_ = static_cast<const GameServer_Spec_Health&>(base); 2503 #else // PROTOBUF_CUSTOM_VTABLE 2504 ::uint8_t* PROTOBUF_NONNULL GameServer_Spec_Health::_InternalSerialize( 2505 ::uint8_t* PROTOBUF_NONNULL target, 2506 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2507 const GameServer_Spec_Health& this_ = *this; 2508 #endif // PROTOBUF_CUSTOM_VTABLE 2509 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Spec.Health) 2510 ::uint32_t cached_has_bits = 0; 2511 (void)cached_has_bits; 2512 2513 // bool disabled = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { 2514 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 2515 if (this_._internal_disabled() != 0) { 2516 target = stream->EnsureSpace(target); 2517 target = ::_pbi::WireFormatLite::WriteBoolToArray( 2518 1, this_._internal_disabled(), target); 2519 } 2520 } 2521 2522 // int32 period_seconds = 2; 2523 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 2524 if (this_._internal_period_seconds() != 0) { 2525 target = 2526 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( 2527 stream, this_._internal_period_seconds(), target); 2528 } 2529 } 2530 2531 // int32 failure_threshold = 3; 2532 if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { 2533 if (this_._internal_failure_threshold() != 0) { 2534 target = 2535 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( 2536 stream, this_._internal_failure_threshold(), target); 2537 } 2538 } 2539 2540 // int32 initial_delay_seconds = 4; 2541 if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { 2542 if (this_._internal_initial_delay_seconds() != 0) { 2543 target = 2544 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>( 2545 stream, this_._internal_initial_delay_seconds(), target); 2546 } 2547 } 2548 2549 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 2550 target = 2551 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 2552 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 2553 } 2554 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Spec.Health) 2555 return target; 2556 } 2557 2558 #if defined(PROTOBUF_CUSTOM_VTABLE) 2559 ::size_t GameServer_Spec_Health::ByteSizeLong(const MessageLite& base) { 2560 const GameServer_Spec_Health& this_ = static_cast<const GameServer_Spec_Health&>(base); 2561 #else // PROTOBUF_CUSTOM_VTABLE 2562 ::size_t GameServer_Spec_Health::ByteSizeLong() const { 2563 const GameServer_Spec_Health& this_ = *this; 2564 #endif // PROTOBUF_CUSTOM_VTABLE 2565 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Spec.Health) 2566 ::size_t total_size = 0; 2567 2568 ::uint32_t cached_has_bits = 0; 2569 // Prevent compiler warnings about cached_has_bits being unused 2570 (void)cached_has_bits; 2571 2572 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 2573 cached_has_bits = this_._impl_._has_bits_[0]; 2574 if ((cached_has_bits & 0x0000000fu) != 0) { 2575 // bool disabled = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { 2576 if ((cached_has_bits & 0x00000001u) != 0) { 2577 if (this_._internal_disabled() != 0) { 2578 total_size += 2; 2579 } 2580 } 2581 // int32 period_seconds = 2; 2582 if ((cached_has_bits & 0x00000002u) != 0) { 2583 if (this_._internal_period_seconds() != 0) { 2584 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( 2585 this_._internal_period_seconds()); 2586 } 2587 } 2588 // int32 failure_threshold = 3; 2589 if ((cached_has_bits & 0x00000004u) != 0) { 2590 if (this_._internal_failure_threshold() != 0) { 2591 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( 2592 this_._internal_failure_threshold()); 2593 } 2594 } 2595 // int32 initial_delay_seconds = 4; 2596 if ((cached_has_bits & 0x00000008u) != 0) { 2597 if (this_._internal_initial_delay_seconds() != 0) { 2598 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( 2599 this_._internal_initial_delay_seconds()); 2600 } 2601 } 2602 } 2603 return this_.MaybeComputeUnknownFieldsSize(total_size, 2604 &this_._impl_._cached_size_); 2605 } 2606 2607 void GameServer_Spec_Health::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 2608 auto* const _this = static_cast<GameServer_Spec_Health*>(&to_msg); 2609 auto& from = static_cast<const GameServer_Spec_Health&>(from_msg); 2610 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Spec.Health) 2611 ABSL_DCHECK_NE(&from, _this); 2612 ::uint32_t cached_has_bits = 0; 2613 (void) cached_has_bits; 2614 2615 cached_has_bits = from._impl_._has_bits_[0]; 2616 if ((cached_has_bits & 0x0000000fu) != 0) { 2617 if ((cached_has_bits & 0x00000001u) != 0) { 2618 if (from._internal_disabled() != 0) { 2619 _this->_impl_.disabled_ = from._impl_.disabled_; 2620 } 2621 } 2622 if ((cached_has_bits & 0x00000002u) != 0) { 2623 if (from._internal_period_seconds() != 0) { 2624 _this->_impl_.period_seconds_ = from._impl_.period_seconds_; 2625 } 2626 } 2627 if ((cached_has_bits & 0x00000004u) != 0) { 2628 if (from._internal_failure_threshold() != 0) { 2629 _this->_impl_.failure_threshold_ = from._impl_.failure_threshold_; 2630 } 2631 } 2632 if ((cached_has_bits & 0x00000008u) != 0) { 2633 if (from._internal_initial_delay_seconds() != 0) { 2634 _this->_impl_.initial_delay_seconds_ = from._impl_.initial_delay_seconds_; 2635 } 2636 } 2637 } 2638 _this->_impl_._has_bits_[0] |= cached_has_bits; 2639 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 2640 } 2641 2642 void GameServer_Spec_Health::CopyFrom(const GameServer_Spec_Health& from) { 2643 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Spec.Health) 2644 if (&from == this) return; 2645 Clear(); 2646 MergeFrom(from); 2647 } 2648 2649 2650 void GameServer_Spec_Health::InternalSwap(GameServer_Spec_Health* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 2651 using std::swap; 2652 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 2653 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 2654 ::google::protobuf::internal::memswap< 2655 PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.initial_delay_seconds_) 2656 + sizeof(GameServer_Spec_Health::_impl_.initial_delay_seconds_) 2657 - PROTOBUF_FIELD_OFFSET(GameServer_Spec_Health, _impl_.disabled_)>( 2658 reinterpret_cast<char*>(&_impl_.disabled_), 2659 reinterpret_cast<char*>(&other->_impl_.disabled_)); 2660 } 2661 2662 ::google::protobuf::Metadata GameServer_Spec_Health::GetMetadata() const { 2663 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 2664 } 2665 // =================================================================== 2666 2667 class GameServer_Spec::_Internal { 2668 public: 2669 using HasBits = 2670 decltype(std::declval<GameServer_Spec>()._impl_._has_bits_); 2671 static constexpr ::int32_t kHasBitsOffset = 2672 8 * PROTOBUF_FIELD_OFFSET(GameServer_Spec, _impl_._has_bits_); 2673 }; 2674 2675 GameServer_Spec::GameServer_Spec(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2676 #if defined(PROTOBUF_CUSTOM_VTABLE) 2677 : ::google::protobuf::Message(arena, GameServer_Spec_class_data_.base()) { 2678 #else // PROTOBUF_CUSTOM_VTABLE 2679 : ::google::protobuf::Message(arena) { 2680 #endif // PROTOBUF_CUSTOM_VTABLE 2681 SharedCtor(arena); 2682 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Spec) 2683 } 2684 PROTOBUF_NDEBUG_INLINE GameServer_Spec::Impl_::Impl_( 2685 ::google::protobuf::internal::InternalVisibility visibility, 2686 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2687 const ::agones::dev::sdk::GameServer_Spec& from_msg) 2688 : _has_bits_{from._has_bits_}, 2689 _cached_size_{0} {} 2690 2691 GameServer_Spec::GameServer_Spec( 2692 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 2693 const GameServer_Spec& from) 2694 #if defined(PROTOBUF_CUSTOM_VTABLE) 2695 : ::google::protobuf::Message(arena, GameServer_Spec_class_data_.base()) { 2696 #else // PROTOBUF_CUSTOM_VTABLE 2697 : ::google::protobuf::Message(arena) { 2698 #endif // PROTOBUF_CUSTOM_VTABLE 2699 GameServer_Spec* const _this = this; 2700 (void)_this; 2701 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 2702 from._internal_metadata_); 2703 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 2704 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 2705 _impl_.health_ = ((cached_has_bits & 0x00000001u) != 0) 2706 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.health_) 2707 : nullptr; 2708 2709 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.Spec) 2710 } 2711 PROTOBUF_NDEBUG_INLINE GameServer_Spec::Impl_::Impl_( 2712 ::google::protobuf::internal::InternalVisibility visibility, 2713 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2714 : _cached_size_{0} {} 2715 2716 inline void GameServer_Spec::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 2717 new (&_impl_) Impl_(internal_visibility(), arena); 2718 _impl_.health_ = {}; 2719 } 2720 GameServer_Spec::~GameServer_Spec() { 2721 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Spec) 2722 SharedDtor(*this); 2723 } 2724 inline void GameServer_Spec::SharedDtor(MessageLite& self) { 2725 GameServer_Spec& this_ = static_cast<GameServer_Spec&>(self); 2726 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 2727 ABSL_DCHECK(this_.GetArena() == nullptr); 2728 delete this_._impl_.health_; 2729 this_._impl_.~Impl_(); 2730 } 2731 2732 inline void* PROTOBUF_NONNULL GameServer_Spec::PlacementNew_( 2733 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2734 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2735 return ::new (mem) GameServer_Spec(arena); 2736 } 2737 constexpr auto GameServer_Spec::InternalNewImpl_() { 2738 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GameServer_Spec), 2739 alignof(GameServer_Spec)); 2740 } 2741 constexpr auto GameServer_Spec::InternalGenerateClassData_() { 2742 return ::google::protobuf::internal::ClassDataFull{ 2743 ::google::protobuf::internal::ClassData{ 2744 &_GameServer_Spec_default_instance_._instance, 2745 &_table_.header, 2746 nullptr, // OnDemandRegisterArenaDtor 2747 nullptr, // IsInitialized 2748 &GameServer_Spec::MergeImpl, 2749 ::google::protobuf::Message::GetNewImpl<GameServer_Spec>(), 2750 #if defined(PROTOBUF_CUSTOM_VTABLE) 2751 &GameServer_Spec::SharedDtor, 2752 ::google::protobuf::Message::GetClearImpl<GameServer_Spec>(), &GameServer_Spec::ByteSizeLong, 2753 &GameServer_Spec::_InternalSerialize, 2754 #endif // PROTOBUF_CUSTOM_VTABLE 2755 PROTOBUF_FIELD_OFFSET(GameServer_Spec, _impl_._cached_size_), 2756 false, 2757 }, 2758 &GameServer_Spec::kDescriptorMethods, 2759 &descriptor_table_sdk_2eproto, 2760 nullptr, // tracker 2761 }; 2762 } 2763 2764 PROTOBUF_CONSTINIT AGONES_EXPORT 2765 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 2766 GameServer_Spec_class_data_ = 2767 GameServer_Spec::InternalGenerateClassData_(); 2768 2769 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Spec::GetClassData() const { 2770 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Spec_class_data_); 2771 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Spec_class_data_.tc_table); 2772 return GameServer_Spec_class_data_.base(); 2773 } 2774 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 2775 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> 2776 GameServer_Spec::_table_ = { 2777 { 2778 PROTOBUF_FIELD_OFFSET(GameServer_Spec, _impl_._has_bits_), 2779 0, // no _extensions_ 2780 1, 0, // max_field_number, fast_idx_mask 2781 offsetof(decltype(_table_), field_lookup_table), 2782 4294967294, // skipmap 2783 offsetof(decltype(_table_), field_entries), 2784 1, // num_field_entries 2785 1, // num_aux_entries 2786 offsetof(decltype(_table_), aux_entries), 2787 GameServer_Spec_class_data_.base(), 2788 nullptr, // post_loop_handler 2789 ::_pbi::TcParser::GenericFallback, // fallback 2790 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 2791 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Spec>(), // to_prefetch 2792 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 2793 }, {{ 2794 // .agones.dev.sdk.GameServer.Spec.Health health = 1; 2795 {::_pbi::TcParser::FastMtS1, 2796 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Spec, _impl_.health_)}}, 2797 }}, {{ 2798 65535, 65535 2799 }}, {{ 2800 // .agones.dev.sdk.GameServer.Spec.Health health = 1; 2801 {PROTOBUF_FIELD_OFFSET(GameServer_Spec, _impl_.health_), _Internal::kHasBitsOffset + 0, 0, 2802 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 2803 }}, 2804 {{ 2805 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Spec_Health>()}, 2806 }}, 2807 {{ 2808 }}, 2809 }; 2810 PROTOBUF_NOINLINE void GameServer_Spec::Clear() { 2811 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Spec) 2812 ::google::protobuf::internal::TSanWrite(&_impl_); 2813 ::uint32_t cached_has_bits = 0; 2814 // Prevent compiler warnings about cached_has_bits being unused 2815 (void) cached_has_bits; 2816 2817 cached_has_bits = _impl_._has_bits_[0]; 2818 if ((cached_has_bits & 0x00000001u) != 0) { 2819 ABSL_DCHECK(_impl_.health_ != nullptr); 2820 _impl_.health_->Clear(); 2821 } 2822 _impl_._has_bits_.Clear(); 2823 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 2824 } 2825 2826 #if defined(PROTOBUF_CUSTOM_VTABLE) 2827 ::uint8_t* PROTOBUF_NONNULL GameServer_Spec::_InternalSerialize( 2828 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 2829 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 2830 const GameServer_Spec& this_ = static_cast<const GameServer_Spec&>(base); 2831 #else // PROTOBUF_CUSTOM_VTABLE 2832 ::uint8_t* PROTOBUF_NONNULL GameServer_Spec::_InternalSerialize( 2833 ::uint8_t* PROTOBUF_NONNULL target, 2834 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 2835 const GameServer_Spec& this_ = *this; 2836 #endif // PROTOBUF_CUSTOM_VTABLE 2837 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Spec) 2838 ::uint32_t cached_has_bits = 0; 2839 (void)cached_has_bits; 2840 2841 cached_has_bits = this_._impl_._has_bits_[0]; 2842 // .agones.dev.sdk.GameServer.Spec.Health health = 1; 2843 if ((cached_has_bits & 0x00000001u) != 0) { 2844 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 2845 1, *this_._impl_.health_, this_._impl_.health_->GetCachedSize(), target, 2846 stream); 2847 } 2848 2849 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 2850 target = 2851 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 2852 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 2853 } 2854 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Spec) 2855 return target; 2856 } 2857 2858 #if defined(PROTOBUF_CUSTOM_VTABLE) 2859 ::size_t GameServer_Spec::ByteSizeLong(const MessageLite& base) { 2860 const GameServer_Spec& this_ = static_cast<const GameServer_Spec&>(base); 2861 #else // PROTOBUF_CUSTOM_VTABLE 2862 ::size_t GameServer_Spec::ByteSizeLong() const { 2863 const GameServer_Spec& this_ = *this; 2864 #endif // PROTOBUF_CUSTOM_VTABLE 2865 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Spec) 2866 ::size_t total_size = 0; 2867 2868 ::uint32_t cached_has_bits = 0; 2869 // Prevent compiler warnings about cached_has_bits being unused 2870 (void)cached_has_bits; 2871 2872 { 2873 // .agones.dev.sdk.GameServer.Spec.Health health = 1; 2874 cached_has_bits = this_._impl_._has_bits_[0]; 2875 if ((cached_has_bits & 0x00000001u) != 0) { 2876 total_size += 1 + 2877 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.health_); 2878 } 2879 } 2880 return this_.MaybeComputeUnknownFieldsSize(total_size, 2881 &this_._impl_._cached_size_); 2882 } 2883 2884 void GameServer_Spec::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 2885 auto* const _this = static_cast<GameServer_Spec*>(&to_msg); 2886 auto& from = static_cast<const GameServer_Spec&>(from_msg); 2887 ::google::protobuf::Arena* arena = _this->GetArena(); 2888 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Spec) 2889 ABSL_DCHECK_NE(&from, _this); 2890 ::uint32_t cached_has_bits = 0; 2891 (void) cached_has_bits; 2892 2893 cached_has_bits = from._impl_._has_bits_[0]; 2894 if ((cached_has_bits & 0x00000001u) != 0) { 2895 ABSL_DCHECK(from._impl_.health_ != nullptr); 2896 if (_this->_impl_.health_ == nullptr) { 2897 _this->_impl_.health_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.health_); 2898 } else { 2899 _this->_impl_.health_->MergeFrom(*from._impl_.health_); 2900 } 2901 } 2902 _this->_impl_._has_bits_[0] |= cached_has_bits; 2903 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 2904 } 2905 2906 void GameServer_Spec::CopyFrom(const GameServer_Spec& from) { 2907 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Spec) 2908 if (&from == this) return; 2909 Clear(); 2910 MergeFrom(from); 2911 } 2912 2913 2914 void GameServer_Spec::InternalSwap(GameServer_Spec* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 2915 using std::swap; 2916 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 2917 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 2918 swap(_impl_.health_, other->_impl_.health_); 2919 } 2920 2921 ::google::protobuf::Metadata GameServer_Spec::GetMetadata() const { 2922 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 2923 } 2924 // =================================================================== 2925 2926 class GameServer_Status_Address::_Internal { 2927 public: 2928 using HasBits = 2929 decltype(std::declval<GameServer_Status_Address>()._impl_._has_bits_); 2930 static constexpr ::int32_t kHasBitsOffset = 2931 8 * PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_._has_bits_); 2932 }; 2933 2934 GameServer_Status_Address::GameServer_Status_Address(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2935 #if defined(PROTOBUF_CUSTOM_VTABLE) 2936 : ::google::protobuf::Message(arena, GameServer_Status_Address_class_data_.base()) { 2937 #else // PROTOBUF_CUSTOM_VTABLE 2938 : ::google::protobuf::Message(arena) { 2939 #endif // PROTOBUF_CUSTOM_VTABLE 2940 SharedCtor(arena); 2941 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Status.Address) 2942 } 2943 PROTOBUF_NDEBUG_INLINE GameServer_Status_Address::Impl_::Impl_( 2944 ::google::protobuf::internal::InternalVisibility visibility, 2945 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 2946 const ::agones::dev::sdk::GameServer_Status_Address& from_msg) 2947 : _has_bits_{from._has_bits_}, 2948 _cached_size_{0}, 2949 type_(arena, from.type_), 2950 address_(arena, from.address_) {} 2951 2952 GameServer_Status_Address::GameServer_Status_Address( 2953 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 2954 const GameServer_Status_Address& from) 2955 #if defined(PROTOBUF_CUSTOM_VTABLE) 2956 : ::google::protobuf::Message(arena, GameServer_Status_Address_class_data_.base()) { 2957 #else // PROTOBUF_CUSTOM_VTABLE 2958 : ::google::protobuf::Message(arena) { 2959 #endif // PROTOBUF_CUSTOM_VTABLE 2960 GameServer_Status_Address* const _this = this; 2961 (void)_this; 2962 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 2963 from._internal_metadata_); 2964 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 2965 2966 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.Status.Address) 2967 } 2968 PROTOBUF_NDEBUG_INLINE GameServer_Status_Address::Impl_::Impl_( 2969 ::google::protobuf::internal::InternalVisibility visibility, 2970 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 2971 : _cached_size_{0}, 2972 type_(arena), 2973 address_(arena) {} 2974 2975 inline void GameServer_Status_Address::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 2976 new (&_impl_) Impl_(internal_visibility(), arena); 2977 } 2978 GameServer_Status_Address::~GameServer_Status_Address() { 2979 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Status.Address) 2980 SharedDtor(*this); 2981 } 2982 inline void GameServer_Status_Address::SharedDtor(MessageLite& self) { 2983 GameServer_Status_Address& this_ = static_cast<GameServer_Status_Address&>(self); 2984 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 2985 ABSL_DCHECK(this_.GetArena() == nullptr); 2986 this_._impl_.type_.Destroy(); 2987 this_._impl_.address_.Destroy(); 2988 this_._impl_.~Impl_(); 2989 } 2990 2991 inline void* PROTOBUF_NONNULL GameServer_Status_Address::PlacementNew_( 2992 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 2993 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 2994 return ::new (mem) GameServer_Status_Address(arena); 2995 } 2996 constexpr auto GameServer_Status_Address::InternalNewImpl_() { 2997 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GameServer_Status_Address), 2998 alignof(GameServer_Status_Address)); 2999 } 3000 constexpr auto GameServer_Status_Address::InternalGenerateClassData_() { 3001 return ::google::protobuf::internal::ClassDataFull{ 3002 ::google::protobuf::internal::ClassData{ 3003 &_GameServer_Status_Address_default_instance_._instance, 3004 &_table_.header, 3005 nullptr, // OnDemandRegisterArenaDtor 3006 nullptr, // IsInitialized 3007 &GameServer_Status_Address::MergeImpl, 3008 ::google::protobuf::Message::GetNewImpl<GameServer_Status_Address>(), 3009 #if defined(PROTOBUF_CUSTOM_VTABLE) 3010 &GameServer_Status_Address::SharedDtor, 3011 ::google::protobuf::Message::GetClearImpl<GameServer_Status_Address>(), &GameServer_Status_Address::ByteSizeLong, 3012 &GameServer_Status_Address::_InternalSerialize, 3013 #endif // PROTOBUF_CUSTOM_VTABLE 3014 PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_._cached_size_), 3015 false, 3016 }, 3017 &GameServer_Status_Address::kDescriptorMethods, 3018 &descriptor_table_sdk_2eproto, 3019 nullptr, // tracker 3020 }; 3021 } 3022 3023 PROTOBUF_CONSTINIT AGONES_EXPORT 3024 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 3025 GameServer_Status_Address_class_data_ = 3026 GameServer_Status_Address::InternalGenerateClassData_(); 3027 3028 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_Address::GetClassData() const { 3029 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_Address_class_data_); 3030 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_Address_class_data_.tc_table); 3031 return GameServer_Status_Address_class_data_.base(); 3032 } 3033 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3034 const ::_pbi::TcParseTable<1, 2, 0, 60, 2> 3035 GameServer_Status_Address::_table_ = { 3036 { 3037 PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_._has_bits_), 3038 0, // no _extensions_ 3039 2, 8, // max_field_number, fast_idx_mask 3040 offsetof(decltype(_table_), field_lookup_table), 3041 4294967292, // skipmap 3042 offsetof(decltype(_table_), field_entries), 3043 2, // num_field_entries 3044 0, // num_aux_entries 3045 offsetof(decltype(_table_), field_names), // no aux_entries 3046 GameServer_Status_Address_class_data_.base(), 3047 nullptr, // post_loop_handler 3048 ::_pbi::TcParser::GenericFallback, // fallback 3049 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3050 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_Address>(), // to_prefetch 3051 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3052 }, {{ 3053 // string address = 2; 3054 {::_pbi::TcParser::FastUS1, 3055 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_.address_)}}, 3056 // string type = 1; 3057 {::_pbi::TcParser::FastUS1, 3058 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_.type_)}}, 3059 }}, {{ 3060 65535, 65535 3061 }}, {{ 3062 // string type = 1; 3063 {PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_.type_), _Internal::kHasBitsOffset + 0, 0, 3064 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3065 // string address = 2; 3066 {PROTOBUF_FIELD_OFFSET(GameServer_Status_Address, _impl_.address_), _Internal::kHasBitsOffset + 1, 0, 3067 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3068 }}, 3069 // no aux_entries 3070 {{ 3071 "\50\4\7\0\0\0\0\0" 3072 "agones.dev.sdk.GameServer.Status.Address" 3073 "type" 3074 "address" 3075 }}, 3076 }; 3077 PROTOBUF_NOINLINE void GameServer_Status_Address::Clear() { 3078 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Status.Address) 3079 ::google::protobuf::internal::TSanWrite(&_impl_); 3080 ::uint32_t cached_has_bits = 0; 3081 // Prevent compiler warnings about cached_has_bits being unused 3082 (void) cached_has_bits; 3083 3084 cached_has_bits = _impl_._has_bits_[0]; 3085 if ((cached_has_bits & 0x00000003u) != 0) { 3086 if ((cached_has_bits & 0x00000001u) != 0) { 3087 _impl_.type_.ClearNonDefaultToEmpty(); 3088 } 3089 if ((cached_has_bits & 0x00000002u) != 0) { 3090 _impl_.address_.ClearNonDefaultToEmpty(); 3091 } 3092 } 3093 _impl_._has_bits_.Clear(); 3094 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 3095 } 3096 3097 #if defined(PROTOBUF_CUSTOM_VTABLE) 3098 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_Address::_InternalSerialize( 3099 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 3100 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 3101 const GameServer_Status_Address& this_ = static_cast<const GameServer_Status_Address&>(base); 3102 #else // PROTOBUF_CUSTOM_VTABLE 3103 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_Address::_InternalSerialize( 3104 ::uint8_t* PROTOBUF_NONNULL target, 3105 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3106 const GameServer_Status_Address& this_ = *this; 3107 #endif // PROTOBUF_CUSTOM_VTABLE 3108 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Status.Address) 3109 ::uint32_t cached_has_bits = 0; 3110 (void)cached_has_bits; 3111 3112 // string type = 1; 3113 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 3114 if (!this_._internal_type().empty()) { 3115 const std::string& _s = this_._internal_type(); 3116 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3117 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.Address.type"); 3118 target = stream->WriteStringMaybeAliased(1, _s, target); 3119 } 3120 } 3121 3122 // string address = 2; 3123 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 3124 if (!this_._internal_address().empty()) { 3125 const std::string& _s = this_._internal_address(); 3126 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3127 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.Address.address"); 3128 target = stream->WriteStringMaybeAliased(2, _s, target); 3129 } 3130 } 3131 3132 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3133 target = 3134 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3135 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3136 } 3137 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Status.Address) 3138 return target; 3139 } 3140 3141 #if defined(PROTOBUF_CUSTOM_VTABLE) 3142 ::size_t GameServer_Status_Address::ByteSizeLong(const MessageLite& base) { 3143 const GameServer_Status_Address& this_ = static_cast<const GameServer_Status_Address&>(base); 3144 #else // PROTOBUF_CUSTOM_VTABLE 3145 ::size_t GameServer_Status_Address::ByteSizeLong() const { 3146 const GameServer_Status_Address& this_ = *this; 3147 #endif // PROTOBUF_CUSTOM_VTABLE 3148 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Status.Address) 3149 ::size_t total_size = 0; 3150 3151 ::uint32_t cached_has_bits = 0; 3152 // Prevent compiler warnings about cached_has_bits being unused 3153 (void)cached_has_bits; 3154 3155 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3156 cached_has_bits = this_._impl_._has_bits_[0]; 3157 if ((cached_has_bits & 0x00000003u) != 0) { 3158 // string type = 1; 3159 if ((cached_has_bits & 0x00000001u) != 0) { 3160 if (!this_._internal_type().empty()) { 3161 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3162 this_._internal_type()); 3163 } 3164 } 3165 // string address = 2; 3166 if ((cached_has_bits & 0x00000002u) != 0) { 3167 if (!this_._internal_address().empty()) { 3168 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3169 this_._internal_address()); 3170 } 3171 } 3172 } 3173 return this_.MaybeComputeUnknownFieldsSize(total_size, 3174 &this_._impl_._cached_size_); 3175 } 3176 3177 void GameServer_Status_Address::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3178 auto* const _this = static_cast<GameServer_Status_Address*>(&to_msg); 3179 auto& from = static_cast<const GameServer_Status_Address&>(from_msg); 3180 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Status.Address) 3181 ABSL_DCHECK_NE(&from, _this); 3182 ::uint32_t cached_has_bits = 0; 3183 (void) cached_has_bits; 3184 3185 cached_has_bits = from._impl_._has_bits_[0]; 3186 if ((cached_has_bits & 0x00000003u) != 0) { 3187 if ((cached_has_bits & 0x00000001u) != 0) { 3188 if (!from._internal_type().empty()) { 3189 _this->_internal_set_type(from._internal_type()); 3190 } else { 3191 if (_this->_impl_.type_.IsDefault()) { 3192 _this->_internal_set_type(""); 3193 } 3194 } 3195 } 3196 if ((cached_has_bits & 0x00000002u) != 0) { 3197 if (!from._internal_address().empty()) { 3198 _this->_internal_set_address(from._internal_address()); 3199 } else { 3200 if (_this->_impl_.address_.IsDefault()) { 3201 _this->_internal_set_address(""); 3202 } 3203 } 3204 } 3205 } 3206 _this->_impl_._has_bits_[0] |= cached_has_bits; 3207 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3208 } 3209 3210 void GameServer_Status_Address::CopyFrom(const GameServer_Status_Address& from) { 3211 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Status.Address) 3212 if (&from == this) return; 3213 Clear(); 3214 MergeFrom(from); 3215 } 3216 3217 3218 void GameServer_Status_Address::InternalSwap(GameServer_Status_Address* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3219 using std::swap; 3220 auto* arena = GetArena(); 3221 ABSL_DCHECK_EQ(arena, other->GetArena()); 3222 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3223 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3224 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, &other->_impl_.type_, arena); 3225 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.address_, &other->_impl_.address_, arena); 3226 } 3227 3228 ::google::protobuf::Metadata GameServer_Status_Address::GetMetadata() const { 3229 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3230 } 3231 // =================================================================== 3232 3233 class GameServer_Status_Port::_Internal { 3234 public: 3235 using HasBits = 3236 decltype(std::declval<GameServer_Status_Port>()._impl_._has_bits_); 3237 static constexpr ::int32_t kHasBitsOffset = 3238 8 * PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_._has_bits_); 3239 }; 3240 3241 GameServer_Status_Port::GameServer_Status_Port(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3242 #if defined(PROTOBUF_CUSTOM_VTABLE) 3243 : ::google::protobuf::Message(arena, GameServer_Status_Port_class_data_.base()) { 3244 #else // PROTOBUF_CUSTOM_VTABLE 3245 : ::google::protobuf::Message(arena) { 3246 #endif // PROTOBUF_CUSTOM_VTABLE 3247 SharedCtor(arena); 3248 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Status.Port) 3249 } 3250 PROTOBUF_NDEBUG_INLINE GameServer_Status_Port::Impl_::Impl_( 3251 ::google::protobuf::internal::InternalVisibility visibility, 3252 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 3253 const ::agones::dev::sdk::GameServer_Status_Port& from_msg) 3254 : _has_bits_{from._has_bits_}, 3255 _cached_size_{0}, 3256 name_(arena, from.name_) {} 3257 3258 GameServer_Status_Port::GameServer_Status_Port( 3259 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 3260 const GameServer_Status_Port& from) 3261 #if defined(PROTOBUF_CUSTOM_VTABLE) 3262 : ::google::protobuf::Message(arena, GameServer_Status_Port_class_data_.base()) { 3263 #else // PROTOBUF_CUSTOM_VTABLE 3264 : ::google::protobuf::Message(arena) { 3265 #endif // PROTOBUF_CUSTOM_VTABLE 3266 GameServer_Status_Port* const _this = this; 3267 (void)_this; 3268 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 3269 from._internal_metadata_); 3270 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 3271 _impl_.port_ = from._impl_.port_; 3272 3273 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.Status.Port) 3274 } 3275 PROTOBUF_NDEBUG_INLINE GameServer_Status_Port::Impl_::Impl_( 3276 ::google::protobuf::internal::InternalVisibility visibility, 3277 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3278 : _cached_size_{0}, 3279 name_(arena) {} 3280 3281 inline void GameServer_Status_Port::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 3282 new (&_impl_) Impl_(internal_visibility(), arena); 3283 _impl_.port_ = {}; 3284 } 3285 GameServer_Status_Port::~GameServer_Status_Port() { 3286 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Status.Port) 3287 SharedDtor(*this); 3288 } 3289 inline void GameServer_Status_Port::SharedDtor(MessageLite& self) { 3290 GameServer_Status_Port& this_ = static_cast<GameServer_Status_Port&>(self); 3291 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 3292 ABSL_DCHECK(this_.GetArena() == nullptr); 3293 this_._impl_.name_.Destroy(); 3294 this_._impl_.~Impl_(); 3295 } 3296 3297 inline void* PROTOBUF_NONNULL GameServer_Status_Port::PlacementNew_( 3298 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3299 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3300 return ::new (mem) GameServer_Status_Port(arena); 3301 } 3302 constexpr auto GameServer_Status_Port::InternalNewImpl_() { 3303 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GameServer_Status_Port), 3304 alignof(GameServer_Status_Port)); 3305 } 3306 constexpr auto GameServer_Status_Port::InternalGenerateClassData_() { 3307 return ::google::protobuf::internal::ClassDataFull{ 3308 ::google::protobuf::internal::ClassData{ 3309 &_GameServer_Status_Port_default_instance_._instance, 3310 &_table_.header, 3311 nullptr, // OnDemandRegisterArenaDtor 3312 nullptr, // IsInitialized 3313 &GameServer_Status_Port::MergeImpl, 3314 ::google::protobuf::Message::GetNewImpl<GameServer_Status_Port>(), 3315 #if defined(PROTOBUF_CUSTOM_VTABLE) 3316 &GameServer_Status_Port::SharedDtor, 3317 ::google::protobuf::Message::GetClearImpl<GameServer_Status_Port>(), &GameServer_Status_Port::ByteSizeLong, 3318 &GameServer_Status_Port::_InternalSerialize, 3319 #endif // PROTOBUF_CUSTOM_VTABLE 3320 PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_._cached_size_), 3321 false, 3322 }, 3323 &GameServer_Status_Port::kDescriptorMethods, 3324 &descriptor_table_sdk_2eproto, 3325 nullptr, // tracker 3326 }; 3327 } 3328 3329 PROTOBUF_CONSTINIT AGONES_EXPORT 3330 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 3331 GameServer_Status_Port_class_data_ = 3332 GameServer_Status_Port::InternalGenerateClassData_(); 3333 3334 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_Port::GetClassData() const { 3335 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_Port_class_data_); 3336 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_Port_class_data_.tc_table); 3337 return GameServer_Status_Port_class_data_.base(); 3338 } 3339 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3340 const ::_pbi::TcParseTable<1, 2, 0, 50, 2> 3341 GameServer_Status_Port::_table_ = { 3342 { 3343 PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_._has_bits_), 3344 0, // no _extensions_ 3345 2, 8, // max_field_number, fast_idx_mask 3346 offsetof(decltype(_table_), field_lookup_table), 3347 4294967292, // skipmap 3348 offsetof(decltype(_table_), field_entries), 3349 2, // num_field_entries 3350 0, // num_aux_entries 3351 offsetof(decltype(_table_), field_names), // no aux_entries 3352 GameServer_Status_Port_class_data_.base(), 3353 nullptr, // post_loop_handler 3354 ::_pbi::TcParser::GenericFallback, // fallback 3355 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3356 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_Port>(), // to_prefetch 3357 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3358 }, {{ 3359 // int32 port = 2; 3360 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GameServer_Status_Port, _impl_.port_), 1>(), 3361 {16, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_.port_)}}, 3362 // string name = 1; 3363 {::_pbi::TcParser::FastUS1, 3364 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_.name_)}}, 3365 }}, {{ 3366 65535, 65535 3367 }}, {{ 3368 // string name = 1; 3369 {PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, 3370 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 3371 // int32 port = 2; 3372 {PROTOBUF_FIELD_OFFSET(GameServer_Status_Port, _impl_.port_), _Internal::kHasBitsOffset + 1, 0, 3373 (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, 3374 }}, 3375 // no aux_entries 3376 {{ 3377 "\45\4\0\0\0\0\0\0" 3378 "agones.dev.sdk.GameServer.Status.Port" 3379 "name" 3380 }}, 3381 }; 3382 PROTOBUF_NOINLINE void GameServer_Status_Port::Clear() { 3383 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Status.Port) 3384 ::google::protobuf::internal::TSanWrite(&_impl_); 3385 ::uint32_t cached_has_bits = 0; 3386 // Prevent compiler warnings about cached_has_bits being unused 3387 (void) cached_has_bits; 3388 3389 cached_has_bits = _impl_._has_bits_[0]; 3390 if ((cached_has_bits & 0x00000001u) != 0) { 3391 _impl_.name_.ClearNonDefaultToEmpty(); 3392 } 3393 _impl_.port_ = 0; 3394 _impl_._has_bits_.Clear(); 3395 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 3396 } 3397 3398 #if defined(PROTOBUF_CUSTOM_VTABLE) 3399 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_Port::_InternalSerialize( 3400 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 3401 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 3402 const GameServer_Status_Port& this_ = static_cast<const GameServer_Status_Port&>(base); 3403 #else // PROTOBUF_CUSTOM_VTABLE 3404 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_Port::_InternalSerialize( 3405 ::uint8_t* PROTOBUF_NONNULL target, 3406 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3407 const GameServer_Status_Port& this_ = *this; 3408 #endif // PROTOBUF_CUSTOM_VTABLE 3409 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Status.Port) 3410 ::uint32_t cached_has_bits = 0; 3411 (void)cached_has_bits; 3412 3413 // string name = 1; 3414 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 3415 if (!this_._internal_name().empty()) { 3416 const std::string& _s = this_._internal_name(); 3417 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3418 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.Port.name"); 3419 target = stream->WriteStringMaybeAliased(1, _s, target); 3420 } 3421 } 3422 3423 // int32 port = 2; 3424 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 3425 if (this_._internal_port() != 0) { 3426 target = 3427 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( 3428 stream, this_._internal_port(), target); 3429 } 3430 } 3431 3432 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3433 target = 3434 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3435 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3436 } 3437 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Status.Port) 3438 return target; 3439 } 3440 3441 #if defined(PROTOBUF_CUSTOM_VTABLE) 3442 ::size_t GameServer_Status_Port::ByteSizeLong(const MessageLite& base) { 3443 const GameServer_Status_Port& this_ = static_cast<const GameServer_Status_Port&>(base); 3444 #else // PROTOBUF_CUSTOM_VTABLE 3445 ::size_t GameServer_Status_Port::ByteSizeLong() const { 3446 const GameServer_Status_Port& this_ = *this; 3447 #endif // PROTOBUF_CUSTOM_VTABLE 3448 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Status.Port) 3449 ::size_t total_size = 0; 3450 3451 ::uint32_t cached_has_bits = 0; 3452 // Prevent compiler warnings about cached_has_bits being unused 3453 (void)cached_has_bits; 3454 3455 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3456 cached_has_bits = this_._impl_._has_bits_[0]; 3457 if ((cached_has_bits & 0x00000003u) != 0) { 3458 // string name = 1; 3459 if ((cached_has_bits & 0x00000001u) != 0) { 3460 if (!this_._internal_name().empty()) { 3461 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 3462 this_._internal_name()); 3463 } 3464 } 3465 // int32 port = 2; 3466 if ((cached_has_bits & 0x00000002u) != 0) { 3467 if (this_._internal_port() != 0) { 3468 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( 3469 this_._internal_port()); 3470 } 3471 } 3472 } 3473 return this_.MaybeComputeUnknownFieldsSize(total_size, 3474 &this_._impl_._cached_size_); 3475 } 3476 3477 void GameServer_Status_Port::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3478 auto* const _this = static_cast<GameServer_Status_Port*>(&to_msg); 3479 auto& from = static_cast<const GameServer_Status_Port&>(from_msg); 3480 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Status.Port) 3481 ABSL_DCHECK_NE(&from, _this); 3482 ::uint32_t cached_has_bits = 0; 3483 (void) cached_has_bits; 3484 3485 cached_has_bits = from._impl_._has_bits_[0]; 3486 if ((cached_has_bits & 0x00000003u) != 0) { 3487 if ((cached_has_bits & 0x00000001u) != 0) { 3488 if (!from._internal_name().empty()) { 3489 _this->_internal_set_name(from._internal_name()); 3490 } else { 3491 if (_this->_impl_.name_.IsDefault()) { 3492 _this->_internal_set_name(""); 3493 } 3494 } 3495 } 3496 if ((cached_has_bits & 0x00000002u) != 0) { 3497 if (from._internal_port() != 0) { 3498 _this->_impl_.port_ = from._impl_.port_; 3499 } 3500 } 3501 } 3502 _this->_impl_._has_bits_[0] |= cached_has_bits; 3503 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3504 } 3505 3506 void GameServer_Status_Port::CopyFrom(const GameServer_Status_Port& from) { 3507 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Status.Port) 3508 if (&from == this) return; 3509 Clear(); 3510 MergeFrom(from); 3511 } 3512 3513 3514 void GameServer_Status_Port::InternalSwap(GameServer_Status_Port* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3515 using std::swap; 3516 auto* arena = GetArena(); 3517 ABSL_DCHECK_EQ(arena, other->GetArena()); 3518 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3519 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3520 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); 3521 swap(_impl_.port_, other->_impl_.port_); 3522 } 3523 3524 ::google::protobuf::Metadata GameServer_Status_Port::GetMetadata() const { 3525 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3526 } 3527 // =================================================================== 3528 3529 class GameServer_Status_PlayerStatus::_Internal { 3530 public: 3531 using HasBits = 3532 decltype(std::declval<GameServer_Status_PlayerStatus>()._impl_._has_bits_); 3533 static constexpr ::int32_t kHasBitsOffset = 3534 8 * PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_._has_bits_); 3535 }; 3536 3537 GameServer_Status_PlayerStatus::GameServer_Status_PlayerStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3538 #if defined(PROTOBUF_CUSTOM_VTABLE) 3539 : ::google::protobuf::Message(arena, GameServer_Status_PlayerStatus_class_data_.base()) { 3540 #else // PROTOBUF_CUSTOM_VTABLE 3541 : ::google::protobuf::Message(arena) { 3542 #endif // PROTOBUF_CUSTOM_VTABLE 3543 SharedCtor(arena); 3544 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Status.PlayerStatus) 3545 } 3546 PROTOBUF_NDEBUG_INLINE GameServer_Status_PlayerStatus::Impl_::Impl_( 3547 ::google::protobuf::internal::InternalVisibility visibility, 3548 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 3549 const ::agones::dev::sdk::GameServer_Status_PlayerStatus& from_msg) 3550 : _has_bits_{from._has_bits_}, 3551 _cached_size_{0}, 3552 ids_{visibility, arena, from.ids_} {} 3553 3554 GameServer_Status_PlayerStatus::GameServer_Status_PlayerStatus( 3555 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 3556 const GameServer_Status_PlayerStatus& from) 3557 #if defined(PROTOBUF_CUSTOM_VTABLE) 3558 : ::google::protobuf::Message(arena, GameServer_Status_PlayerStatus_class_data_.base()) { 3559 #else // PROTOBUF_CUSTOM_VTABLE 3560 : ::google::protobuf::Message(arena) { 3561 #endif // PROTOBUF_CUSTOM_VTABLE 3562 GameServer_Status_PlayerStatus* const _this = this; 3563 (void)_this; 3564 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 3565 from._internal_metadata_); 3566 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 3567 ::memcpy(reinterpret_cast<char *>(&_impl_) + 3568 offsetof(Impl_, count_), 3569 reinterpret_cast<const char *>(&from._impl_) + 3570 offsetof(Impl_, count_), 3571 offsetof(Impl_, capacity_) - 3572 offsetof(Impl_, count_) + 3573 sizeof(Impl_::capacity_)); 3574 3575 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.Status.PlayerStatus) 3576 } 3577 PROTOBUF_NDEBUG_INLINE GameServer_Status_PlayerStatus::Impl_::Impl_( 3578 ::google::protobuf::internal::InternalVisibility visibility, 3579 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3580 : _cached_size_{0}, 3581 ids_{visibility, arena} {} 3582 3583 inline void GameServer_Status_PlayerStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 3584 new (&_impl_) Impl_(internal_visibility(), arena); 3585 ::memset(reinterpret_cast<char *>(&_impl_) + 3586 offsetof(Impl_, count_), 3587 0, 3588 offsetof(Impl_, capacity_) - 3589 offsetof(Impl_, count_) + 3590 sizeof(Impl_::capacity_)); 3591 } 3592 GameServer_Status_PlayerStatus::~GameServer_Status_PlayerStatus() { 3593 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Status.PlayerStatus) 3594 SharedDtor(*this); 3595 } 3596 inline void GameServer_Status_PlayerStatus::SharedDtor(MessageLite& self) { 3597 GameServer_Status_PlayerStatus& this_ = static_cast<GameServer_Status_PlayerStatus&>(self); 3598 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 3599 ABSL_DCHECK(this_.GetArena() == nullptr); 3600 this_._impl_.~Impl_(); 3601 } 3602 3603 inline void* PROTOBUF_NONNULL GameServer_Status_PlayerStatus::PlacementNew_( 3604 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3605 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3606 return ::new (mem) GameServer_Status_PlayerStatus(arena); 3607 } 3608 constexpr auto GameServer_Status_PlayerStatus::InternalNewImpl_() { 3609 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 3610 PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.ids_) + 3611 decltype(GameServer_Status_PlayerStatus::_impl_.ids_):: 3612 InternalGetArenaOffset( 3613 ::google::protobuf::Message::internal_visibility()), 3614 }); 3615 if (arena_bits.has_value()) { 3616 return ::google::protobuf::internal::MessageCreator::ZeroInit( 3617 sizeof(GameServer_Status_PlayerStatus), alignof(GameServer_Status_PlayerStatus), *arena_bits); 3618 } else { 3619 return ::google::protobuf::internal::MessageCreator(&GameServer_Status_PlayerStatus::PlacementNew_, 3620 sizeof(GameServer_Status_PlayerStatus), 3621 alignof(GameServer_Status_PlayerStatus)); 3622 } 3623 } 3624 constexpr auto GameServer_Status_PlayerStatus::InternalGenerateClassData_() { 3625 return ::google::protobuf::internal::ClassDataFull{ 3626 ::google::protobuf::internal::ClassData{ 3627 &_GameServer_Status_PlayerStatus_default_instance_._instance, 3628 &_table_.header, 3629 nullptr, // OnDemandRegisterArenaDtor 3630 nullptr, // IsInitialized 3631 &GameServer_Status_PlayerStatus::MergeImpl, 3632 ::google::protobuf::Message::GetNewImpl<GameServer_Status_PlayerStatus>(), 3633 #if defined(PROTOBUF_CUSTOM_VTABLE) 3634 &GameServer_Status_PlayerStatus::SharedDtor, 3635 ::google::protobuf::Message::GetClearImpl<GameServer_Status_PlayerStatus>(), &GameServer_Status_PlayerStatus::ByteSizeLong, 3636 &GameServer_Status_PlayerStatus::_InternalSerialize, 3637 #endif // PROTOBUF_CUSTOM_VTABLE 3638 PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_._cached_size_), 3639 false, 3640 }, 3641 &GameServer_Status_PlayerStatus::kDescriptorMethods, 3642 &descriptor_table_sdk_2eproto, 3643 nullptr, // tracker 3644 }; 3645 } 3646 3647 PROTOBUF_CONSTINIT AGONES_EXPORT 3648 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 3649 GameServer_Status_PlayerStatus_class_data_ = 3650 GameServer_Status_PlayerStatus::InternalGenerateClassData_(); 3651 3652 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_PlayerStatus::GetClassData() const { 3653 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_PlayerStatus_class_data_); 3654 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_PlayerStatus_class_data_.tc_table); 3655 return GameServer_Status_PlayerStatus_class_data_.base(); 3656 } 3657 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3658 const ::_pbi::TcParseTable<2, 3, 0, 57, 2> 3659 GameServer_Status_PlayerStatus::_table_ = { 3660 { 3661 PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_._has_bits_), 3662 0, // no _extensions_ 3663 3, 24, // max_field_number, fast_idx_mask 3664 offsetof(decltype(_table_), field_lookup_table), 3665 4294967288, // skipmap 3666 offsetof(decltype(_table_), field_entries), 3667 3, // num_field_entries 3668 0, // num_aux_entries 3669 offsetof(decltype(_table_), field_names), // no aux_entries 3670 GameServer_Status_PlayerStatus_class_data_.base(), 3671 nullptr, // post_loop_handler 3672 ::_pbi::TcParser::GenericFallback, // fallback 3673 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3674 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_PlayerStatus>(), // to_prefetch 3675 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3676 }, {{ 3677 {::_pbi::TcParser::MiniParse, {}}, 3678 // int64 count = 1; 3679 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_Status_PlayerStatus, _impl_.count_), 0>(), 3680 {8, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.count_)}}, 3681 // int64 capacity = 2; 3682 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_Status_PlayerStatus, _impl_.capacity_), 1>(), 3683 {16, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.capacity_)}}, 3684 // repeated string ids = 3; 3685 {::_pbi::TcParser::FastUR1, 3686 {26, 63, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.ids_)}}, 3687 }}, {{ 3688 65535, 65535 3689 }}, {{ 3690 // int64 count = 1; 3691 {PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.count_), _Internal::kHasBitsOffset + 0, 0, 3692 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 3693 // int64 capacity = 2; 3694 {PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.capacity_), _Internal::kHasBitsOffset + 1, 0, 3695 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 3696 // repeated string ids = 3; 3697 {PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.ids_), -1, 0, 3698 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 3699 }}, 3700 // no aux_entries 3701 {{ 3702 "\55\0\0\3\0\0\0\0" 3703 "agones.dev.sdk.GameServer.Status.PlayerStatus" 3704 "ids" 3705 }}, 3706 }; 3707 PROTOBUF_NOINLINE void GameServer_Status_PlayerStatus::Clear() { 3708 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Status.PlayerStatus) 3709 ::google::protobuf::internal::TSanWrite(&_impl_); 3710 ::uint32_t cached_has_bits = 0; 3711 // Prevent compiler warnings about cached_has_bits being unused 3712 (void) cached_has_bits; 3713 3714 _impl_.ids_.Clear(); 3715 cached_has_bits = _impl_._has_bits_[0]; 3716 if ((cached_has_bits & 0x00000003u) != 0) { 3717 ::memset(&_impl_.count_, 0, static_cast<::size_t>( 3718 reinterpret_cast<char*>(&_impl_.capacity_) - 3719 reinterpret_cast<char*>(&_impl_.count_)) + sizeof(_impl_.capacity_)); 3720 } 3721 _impl_._has_bits_.Clear(); 3722 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 3723 } 3724 3725 #if defined(PROTOBUF_CUSTOM_VTABLE) 3726 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_PlayerStatus::_InternalSerialize( 3727 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 3728 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 3729 const GameServer_Status_PlayerStatus& this_ = static_cast<const GameServer_Status_PlayerStatus&>(base); 3730 #else // PROTOBUF_CUSTOM_VTABLE 3731 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_PlayerStatus::_InternalSerialize( 3732 ::uint8_t* PROTOBUF_NONNULL target, 3733 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 3734 const GameServer_Status_PlayerStatus& this_ = *this; 3735 #endif // PROTOBUF_CUSTOM_VTABLE 3736 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Status.PlayerStatus) 3737 ::uint32_t cached_has_bits = 0; 3738 (void)cached_has_bits; 3739 3740 // int64 count = 1; 3741 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 3742 if (this_._internal_count() != 0) { 3743 target = 3744 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>( 3745 stream, this_._internal_count(), target); 3746 } 3747 } 3748 3749 // int64 capacity = 2; 3750 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 3751 if (this_._internal_capacity() != 0) { 3752 target = 3753 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>( 3754 stream, this_._internal_capacity(), target); 3755 } 3756 } 3757 3758 // repeated string ids = 3; 3759 for (int i = 0, n = this_._internal_ids_size(); i < n; ++i) { 3760 const auto& s = this_._internal_ids().Get(i); 3761 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 3762 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.PlayerStatus.ids"); 3763 target = stream->WriteString(3, s, target); 3764 } 3765 3766 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 3767 target = 3768 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 3769 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 3770 } 3771 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Status.PlayerStatus) 3772 return target; 3773 } 3774 3775 #if defined(PROTOBUF_CUSTOM_VTABLE) 3776 ::size_t GameServer_Status_PlayerStatus::ByteSizeLong(const MessageLite& base) { 3777 const GameServer_Status_PlayerStatus& this_ = static_cast<const GameServer_Status_PlayerStatus&>(base); 3778 #else // PROTOBUF_CUSTOM_VTABLE 3779 ::size_t GameServer_Status_PlayerStatus::ByteSizeLong() const { 3780 const GameServer_Status_PlayerStatus& this_ = *this; 3781 #endif // PROTOBUF_CUSTOM_VTABLE 3782 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Status.PlayerStatus) 3783 ::size_t total_size = 0; 3784 3785 ::uint32_t cached_has_bits = 0; 3786 // Prevent compiler warnings about cached_has_bits being unused 3787 (void)cached_has_bits; 3788 3789 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 3790 { 3791 // repeated string ids = 3; 3792 { 3793 total_size += 3794 1 * ::google::protobuf::internal::FromIntSize(this_._internal_ids().size()); 3795 for (int i = 0, n = this_._internal_ids().size(); i < n; ++i) { 3796 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 3797 this_._internal_ids().Get(i)); 3798 } 3799 } 3800 } 3801 cached_has_bits = this_._impl_._has_bits_[0]; 3802 if ((cached_has_bits & 0x00000003u) != 0) { 3803 // int64 count = 1; 3804 if ((cached_has_bits & 0x00000001u) != 0) { 3805 if (this_._internal_count() != 0) { 3806 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 3807 this_._internal_count()); 3808 } 3809 } 3810 // int64 capacity = 2; 3811 if ((cached_has_bits & 0x00000002u) != 0) { 3812 if (this_._internal_capacity() != 0) { 3813 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 3814 this_._internal_capacity()); 3815 } 3816 } 3817 } 3818 return this_.MaybeComputeUnknownFieldsSize(total_size, 3819 &this_._impl_._cached_size_); 3820 } 3821 3822 void GameServer_Status_PlayerStatus::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 3823 auto* const _this = static_cast<GameServer_Status_PlayerStatus*>(&to_msg); 3824 auto& from = static_cast<const GameServer_Status_PlayerStatus&>(from_msg); 3825 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Status.PlayerStatus) 3826 ABSL_DCHECK_NE(&from, _this); 3827 ::uint32_t cached_has_bits = 0; 3828 (void) cached_has_bits; 3829 3830 _this->_internal_mutable_ids()->MergeFrom(from._internal_ids()); 3831 cached_has_bits = from._impl_._has_bits_[0]; 3832 if ((cached_has_bits & 0x00000003u) != 0) { 3833 if ((cached_has_bits & 0x00000001u) != 0) { 3834 if (from._internal_count() != 0) { 3835 _this->_impl_.count_ = from._impl_.count_; 3836 } 3837 } 3838 if ((cached_has_bits & 0x00000002u) != 0) { 3839 if (from._internal_capacity() != 0) { 3840 _this->_impl_.capacity_ = from._impl_.capacity_; 3841 } 3842 } 3843 } 3844 _this->_impl_._has_bits_[0] |= cached_has_bits; 3845 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 3846 } 3847 3848 void GameServer_Status_PlayerStatus::CopyFrom(const GameServer_Status_PlayerStatus& from) { 3849 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Status.PlayerStatus) 3850 if (&from == this) return; 3851 Clear(); 3852 MergeFrom(from); 3853 } 3854 3855 3856 void GameServer_Status_PlayerStatus::InternalSwap(GameServer_Status_PlayerStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 3857 using std::swap; 3858 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 3859 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 3860 _impl_.ids_.InternalSwap(&other->_impl_.ids_); 3861 ::google::protobuf::internal::memswap< 3862 PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.capacity_) 3863 + sizeof(GameServer_Status_PlayerStatus::_impl_.capacity_) 3864 - PROTOBUF_FIELD_OFFSET(GameServer_Status_PlayerStatus, _impl_.count_)>( 3865 reinterpret_cast<char*>(&_impl_.count_), 3866 reinterpret_cast<char*>(&other->_impl_.count_)); 3867 } 3868 3869 ::google::protobuf::Metadata GameServer_Status_PlayerStatus::GetMetadata() const { 3870 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 3871 } 3872 // =================================================================== 3873 3874 class GameServer_Status_CounterStatus::_Internal { 3875 public: 3876 using HasBits = 3877 decltype(std::declval<GameServer_Status_CounterStatus>()._impl_._has_bits_); 3878 static constexpr ::int32_t kHasBitsOffset = 3879 8 * PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_._has_bits_); 3880 }; 3881 3882 GameServer_Status_CounterStatus::GameServer_Status_CounterStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3883 #if defined(PROTOBUF_CUSTOM_VTABLE) 3884 : ::google::protobuf::Message(arena, GameServer_Status_CounterStatus_class_data_.base()) { 3885 #else // PROTOBUF_CUSTOM_VTABLE 3886 : ::google::protobuf::Message(arena) { 3887 #endif // PROTOBUF_CUSTOM_VTABLE 3888 SharedCtor(arena); 3889 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Status.CounterStatus) 3890 } 3891 GameServer_Status_CounterStatus::GameServer_Status_CounterStatus( 3892 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GameServer_Status_CounterStatus& from) 3893 #if defined(PROTOBUF_CUSTOM_VTABLE) 3894 : ::google::protobuf::Message(arena, GameServer_Status_CounterStatus_class_data_.base()), 3895 #else // PROTOBUF_CUSTOM_VTABLE 3896 : ::google::protobuf::Message(arena), 3897 #endif // PROTOBUF_CUSTOM_VTABLE 3898 _impl_(from._impl_) { 3899 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 3900 from._internal_metadata_); 3901 } 3902 PROTOBUF_NDEBUG_INLINE GameServer_Status_CounterStatus::Impl_::Impl_( 3903 ::google::protobuf::internal::InternalVisibility visibility, 3904 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 3905 : _cached_size_{0} {} 3906 3907 inline void GameServer_Status_CounterStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 3908 new (&_impl_) Impl_(internal_visibility(), arena); 3909 ::memset(reinterpret_cast<char *>(&_impl_) + 3910 offsetof(Impl_, count_), 3911 0, 3912 offsetof(Impl_, capacity_) - 3913 offsetof(Impl_, count_) + 3914 sizeof(Impl_::capacity_)); 3915 } 3916 GameServer_Status_CounterStatus::~GameServer_Status_CounterStatus() { 3917 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Status.CounterStatus) 3918 SharedDtor(*this); 3919 } 3920 inline void GameServer_Status_CounterStatus::SharedDtor(MessageLite& self) { 3921 GameServer_Status_CounterStatus& this_ = static_cast<GameServer_Status_CounterStatus&>(self); 3922 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 3923 ABSL_DCHECK(this_.GetArena() == nullptr); 3924 this_._impl_.~Impl_(); 3925 } 3926 3927 inline void* PROTOBUF_NONNULL GameServer_Status_CounterStatus::PlacementNew_( 3928 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 3929 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 3930 return ::new (mem) GameServer_Status_CounterStatus(arena); 3931 } 3932 constexpr auto GameServer_Status_CounterStatus::InternalNewImpl_() { 3933 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GameServer_Status_CounterStatus), 3934 alignof(GameServer_Status_CounterStatus)); 3935 } 3936 constexpr auto GameServer_Status_CounterStatus::InternalGenerateClassData_() { 3937 return ::google::protobuf::internal::ClassDataFull{ 3938 ::google::protobuf::internal::ClassData{ 3939 &_GameServer_Status_CounterStatus_default_instance_._instance, 3940 &_table_.header, 3941 nullptr, // OnDemandRegisterArenaDtor 3942 nullptr, // IsInitialized 3943 &GameServer_Status_CounterStatus::MergeImpl, 3944 ::google::protobuf::Message::GetNewImpl<GameServer_Status_CounterStatus>(), 3945 #if defined(PROTOBUF_CUSTOM_VTABLE) 3946 &GameServer_Status_CounterStatus::SharedDtor, 3947 ::google::protobuf::Message::GetClearImpl<GameServer_Status_CounterStatus>(), &GameServer_Status_CounterStatus::ByteSizeLong, 3948 &GameServer_Status_CounterStatus::_InternalSerialize, 3949 #endif // PROTOBUF_CUSTOM_VTABLE 3950 PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_._cached_size_), 3951 false, 3952 }, 3953 &GameServer_Status_CounterStatus::kDescriptorMethods, 3954 &descriptor_table_sdk_2eproto, 3955 nullptr, // tracker 3956 }; 3957 } 3958 3959 PROTOBUF_CONSTINIT AGONES_EXPORT 3960 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 3961 GameServer_Status_CounterStatus_class_data_ = 3962 GameServer_Status_CounterStatus::InternalGenerateClassData_(); 3963 3964 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_CounterStatus::GetClassData() const { 3965 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_CounterStatus_class_data_); 3966 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_CounterStatus_class_data_.tc_table); 3967 return GameServer_Status_CounterStatus_class_data_.base(); 3968 } 3969 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 3970 const ::_pbi::TcParseTable<1, 2, 0, 0, 2> 3971 GameServer_Status_CounterStatus::_table_ = { 3972 { 3973 PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_._has_bits_), 3974 0, // no _extensions_ 3975 2, 8, // max_field_number, fast_idx_mask 3976 offsetof(decltype(_table_), field_lookup_table), 3977 4294967292, // skipmap 3978 offsetof(decltype(_table_), field_entries), 3979 2, // num_field_entries 3980 0, // num_aux_entries 3981 offsetof(decltype(_table_), field_names), // no aux_entries 3982 GameServer_Status_CounterStatus_class_data_.base(), 3983 nullptr, // post_loop_handler 3984 ::_pbi::TcParser::GenericFallback, // fallback 3985 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 3986 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_CounterStatus>(), // to_prefetch 3987 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 3988 }, {{ 3989 // int64 capacity = 2; 3990 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_Status_CounterStatus, _impl_.capacity_), 1>(), 3991 {16, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_.capacity_)}}, 3992 // int64 count = 1; 3993 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_Status_CounterStatus, _impl_.count_), 0>(), 3994 {8, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_.count_)}}, 3995 }}, {{ 3996 65535, 65535 3997 }}, {{ 3998 // int64 count = 1; 3999 {PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_.count_), _Internal::kHasBitsOffset + 0, 0, 4000 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 4001 // int64 capacity = 2; 4002 {PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_.capacity_), _Internal::kHasBitsOffset + 1, 0, 4003 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 4004 }}, 4005 // no aux_entries 4006 {{ 4007 }}, 4008 }; 4009 PROTOBUF_NOINLINE void GameServer_Status_CounterStatus::Clear() { 4010 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Status.CounterStatus) 4011 ::google::protobuf::internal::TSanWrite(&_impl_); 4012 ::uint32_t cached_has_bits = 0; 4013 // Prevent compiler warnings about cached_has_bits being unused 4014 (void) cached_has_bits; 4015 4016 cached_has_bits = _impl_._has_bits_[0]; 4017 if ((cached_has_bits & 0x00000003u) != 0) { 4018 ::memset(&_impl_.count_, 0, static_cast<::size_t>( 4019 reinterpret_cast<char*>(&_impl_.capacity_) - 4020 reinterpret_cast<char*>(&_impl_.count_)) + sizeof(_impl_.capacity_)); 4021 } 4022 _impl_._has_bits_.Clear(); 4023 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 4024 } 4025 4026 #if defined(PROTOBUF_CUSTOM_VTABLE) 4027 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_CounterStatus::_InternalSerialize( 4028 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 4029 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 4030 const GameServer_Status_CounterStatus& this_ = static_cast<const GameServer_Status_CounterStatus&>(base); 4031 #else // PROTOBUF_CUSTOM_VTABLE 4032 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_CounterStatus::_InternalSerialize( 4033 ::uint8_t* PROTOBUF_NONNULL target, 4034 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4035 const GameServer_Status_CounterStatus& this_ = *this; 4036 #endif // PROTOBUF_CUSTOM_VTABLE 4037 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Status.CounterStatus) 4038 ::uint32_t cached_has_bits = 0; 4039 (void)cached_has_bits; 4040 4041 // int64 count = 1; 4042 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 4043 if (this_._internal_count() != 0) { 4044 target = 4045 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>( 4046 stream, this_._internal_count(), target); 4047 } 4048 } 4049 4050 // int64 capacity = 2; 4051 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 4052 if (this_._internal_capacity() != 0) { 4053 target = 4054 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>( 4055 stream, this_._internal_capacity(), target); 4056 } 4057 } 4058 4059 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 4060 target = 4061 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 4062 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 4063 } 4064 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Status.CounterStatus) 4065 return target; 4066 } 4067 4068 #if defined(PROTOBUF_CUSTOM_VTABLE) 4069 ::size_t GameServer_Status_CounterStatus::ByteSizeLong(const MessageLite& base) { 4070 const GameServer_Status_CounterStatus& this_ = static_cast<const GameServer_Status_CounterStatus&>(base); 4071 #else // PROTOBUF_CUSTOM_VTABLE 4072 ::size_t GameServer_Status_CounterStatus::ByteSizeLong() const { 4073 const GameServer_Status_CounterStatus& this_ = *this; 4074 #endif // PROTOBUF_CUSTOM_VTABLE 4075 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Status.CounterStatus) 4076 ::size_t total_size = 0; 4077 4078 ::uint32_t cached_has_bits = 0; 4079 // Prevent compiler warnings about cached_has_bits being unused 4080 (void)cached_has_bits; 4081 4082 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 4083 cached_has_bits = this_._impl_._has_bits_[0]; 4084 if ((cached_has_bits & 0x00000003u) != 0) { 4085 // int64 count = 1; 4086 if ((cached_has_bits & 0x00000001u) != 0) { 4087 if (this_._internal_count() != 0) { 4088 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 4089 this_._internal_count()); 4090 } 4091 } 4092 // int64 capacity = 2; 4093 if ((cached_has_bits & 0x00000002u) != 0) { 4094 if (this_._internal_capacity() != 0) { 4095 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 4096 this_._internal_capacity()); 4097 } 4098 } 4099 } 4100 return this_.MaybeComputeUnknownFieldsSize(total_size, 4101 &this_._impl_._cached_size_); 4102 } 4103 4104 void GameServer_Status_CounterStatus::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 4105 auto* const _this = static_cast<GameServer_Status_CounterStatus*>(&to_msg); 4106 auto& from = static_cast<const GameServer_Status_CounterStatus&>(from_msg); 4107 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Status.CounterStatus) 4108 ABSL_DCHECK_NE(&from, _this); 4109 ::uint32_t cached_has_bits = 0; 4110 (void) cached_has_bits; 4111 4112 cached_has_bits = from._impl_._has_bits_[0]; 4113 if ((cached_has_bits & 0x00000003u) != 0) { 4114 if ((cached_has_bits & 0x00000001u) != 0) { 4115 if (from._internal_count() != 0) { 4116 _this->_impl_.count_ = from._impl_.count_; 4117 } 4118 } 4119 if ((cached_has_bits & 0x00000002u) != 0) { 4120 if (from._internal_capacity() != 0) { 4121 _this->_impl_.capacity_ = from._impl_.capacity_; 4122 } 4123 } 4124 } 4125 _this->_impl_._has_bits_[0] |= cached_has_bits; 4126 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 4127 } 4128 4129 void GameServer_Status_CounterStatus::CopyFrom(const GameServer_Status_CounterStatus& from) { 4130 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Status.CounterStatus) 4131 if (&from == this) return; 4132 Clear(); 4133 MergeFrom(from); 4134 } 4135 4136 4137 void GameServer_Status_CounterStatus::InternalSwap(GameServer_Status_CounterStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 4138 using std::swap; 4139 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 4140 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 4141 ::google::protobuf::internal::memswap< 4142 PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_.capacity_) 4143 + sizeof(GameServer_Status_CounterStatus::_impl_.capacity_) 4144 - PROTOBUF_FIELD_OFFSET(GameServer_Status_CounterStatus, _impl_.count_)>( 4145 reinterpret_cast<char*>(&_impl_.count_), 4146 reinterpret_cast<char*>(&other->_impl_.count_)); 4147 } 4148 4149 ::google::protobuf::Metadata GameServer_Status_CounterStatus::GetMetadata() const { 4150 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 4151 } 4152 // =================================================================== 4153 4154 class GameServer_Status_ListStatus::_Internal { 4155 public: 4156 using HasBits = 4157 decltype(std::declval<GameServer_Status_ListStatus>()._impl_._has_bits_); 4158 static constexpr ::int32_t kHasBitsOffset = 4159 8 * PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_._has_bits_); 4160 }; 4161 4162 GameServer_Status_ListStatus::GameServer_Status_ListStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4163 #if defined(PROTOBUF_CUSTOM_VTABLE) 4164 : ::google::protobuf::Message(arena, GameServer_Status_ListStatus_class_data_.base()) { 4165 #else // PROTOBUF_CUSTOM_VTABLE 4166 : ::google::protobuf::Message(arena) { 4167 #endif // PROTOBUF_CUSTOM_VTABLE 4168 SharedCtor(arena); 4169 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Status.ListStatus) 4170 } 4171 PROTOBUF_NDEBUG_INLINE GameServer_Status_ListStatus::Impl_::Impl_( 4172 ::google::protobuf::internal::InternalVisibility visibility, 4173 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4174 const ::agones::dev::sdk::GameServer_Status_ListStatus& from_msg) 4175 : _has_bits_{from._has_bits_}, 4176 _cached_size_{0}, 4177 values_{visibility, arena, from.values_} {} 4178 4179 GameServer_Status_ListStatus::GameServer_Status_ListStatus( 4180 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 4181 const GameServer_Status_ListStatus& from) 4182 #if defined(PROTOBUF_CUSTOM_VTABLE) 4183 : ::google::protobuf::Message(arena, GameServer_Status_ListStatus_class_data_.base()) { 4184 #else // PROTOBUF_CUSTOM_VTABLE 4185 : ::google::protobuf::Message(arena) { 4186 #endif // PROTOBUF_CUSTOM_VTABLE 4187 GameServer_Status_ListStatus* const _this = this; 4188 (void)_this; 4189 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 4190 from._internal_metadata_); 4191 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 4192 _impl_.capacity_ = from._impl_.capacity_; 4193 4194 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.Status.ListStatus) 4195 } 4196 PROTOBUF_NDEBUG_INLINE GameServer_Status_ListStatus::Impl_::Impl_( 4197 ::google::protobuf::internal::InternalVisibility visibility, 4198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4199 : _cached_size_{0}, 4200 values_{visibility, arena} {} 4201 4202 inline void GameServer_Status_ListStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 4203 new (&_impl_) Impl_(internal_visibility(), arena); 4204 _impl_.capacity_ = {}; 4205 } 4206 GameServer_Status_ListStatus::~GameServer_Status_ListStatus() { 4207 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Status.ListStatus) 4208 SharedDtor(*this); 4209 } 4210 inline void GameServer_Status_ListStatus::SharedDtor(MessageLite& self) { 4211 GameServer_Status_ListStatus& this_ = static_cast<GameServer_Status_ListStatus&>(self); 4212 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 4213 ABSL_DCHECK(this_.GetArena() == nullptr); 4214 this_._impl_.~Impl_(); 4215 } 4216 4217 inline void* PROTOBUF_NONNULL GameServer_Status_ListStatus::PlacementNew_( 4218 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4219 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4220 return ::new (mem) GameServer_Status_ListStatus(arena); 4221 } 4222 constexpr auto GameServer_Status_ListStatus::InternalNewImpl_() { 4223 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 4224 PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_.values_) + 4225 decltype(GameServer_Status_ListStatus::_impl_.values_):: 4226 InternalGetArenaOffset( 4227 ::google::protobuf::Message::internal_visibility()), 4228 }); 4229 if (arena_bits.has_value()) { 4230 return ::google::protobuf::internal::MessageCreator::ZeroInit( 4231 sizeof(GameServer_Status_ListStatus), alignof(GameServer_Status_ListStatus), *arena_bits); 4232 } else { 4233 return ::google::protobuf::internal::MessageCreator(&GameServer_Status_ListStatus::PlacementNew_, 4234 sizeof(GameServer_Status_ListStatus), 4235 alignof(GameServer_Status_ListStatus)); 4236 } 4237 } 4238 constexpr auto GameServer_Status_ListStatus::InternalGenerateClassData_() { 4239 return ::google::protobuf::internal::ClassDataFull{ 4240 ::google::protobuf::internal::ClassData{ 4241 &_GameServer_Status_ListStatus_default_instance_._instance, 4242 &_table_.header, 4243 nullptr, // OnDemandRegisterArenaDtor 4244 nullptr, // IsInitialized 4245 &GameServer_Status_ListStatus::MergeImpl, 4246 ::google::protobuf::Message::GetNewImpl<GameServer_Status_ListStatus>(), 4247 #if defined(PROTOBUF_CUSTOM_VTABLE) 4248 &GameServer_Status_ListStatus::SharedDtor, 4249 ::google::protobuf::Message::GetClearImpl<GameServer_Status_ListStatus>(), &GameServer_Status_ListStatus::ByteSizeLong, 4250 &GameServer_Status_ListStatus::_InternalSerialize, 4251 #endif // PROTOBUF_CUSTOM_VTABLE 4252 PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_._cached_size_), 4253 false, 4254 }, 4255 &GameServer_Status_ListStatus::kDescriptorMethods, 4256 &descriptor_table_sdk_2eproto, 4257 nullptr, // tracker 4258 }; 4259 } 4260 4261 PROTOBUF_CONSTINIT AGONES_EXPORT 4262 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4263 GameServer_Status_ListStatus_class_data_ = 4264 GameServer_Status_ListStatus::InternalGenerateClassData_(); 4265 4266 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_ListStatus::GetClassData() const { 4267 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_ListStatus_class_data_); 4268 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_ListStatus_class_data_.tc_table); 4269 return GameServer_Status_ListStatus_class_data_.base(); 4270 } 4271 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4272 const ::_pbi::TcParseTable<1, 2, 0, 58, 2> 4273 GameServer_Status_ListStatus::_table_ = { 4274 { 4275 PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_._has_bits_), 4276 0, // no _extensions_ 4277 2, 8, // max_field_number, fast_idx_mask 4278 offsetof(decltype(_table_), field_lookup_table), 4279 4294967292, // skipmap 4280 offsetof(decltype(_table_), field_entries), 4281 2, // num_field_entries 4282 0, // num_aux_entries 4283 offsetof(decltype(_table_), field_names), // no aux_entries 4284 GameServer_Status_ListStatus_class_data_.base(), 4285 nullptr, // post_loop_handler 4286 ::_pbi::TcParser::GenericFallback, // fallback 4287 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4288 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_ListStatus>(), // to_prefetch 4289 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4290 }, {{ 4291 // repeated string values = 2; 4292 {::_pbi::TcParser::FastUR1, 4293 {18, 63, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_.values_)}}, 4294 // int64 capacity = 1; 4295 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GameServer_Status_ListStatus, _impl_.capacity_), 0>(), 4296 {8, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_.capacity_)}}, 4297 }}, {{ 4298 65535, 65535 4299 }}, {{ 4300 // int64 capacity = 1; 4301 {PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_.capacity_), _Internal::kHasBitsOffset + 0, 0, 4302 (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, 4303 // repeated string values = 2; 4304 {PROTOBUF_FIELD_OFFSET(GameServer_Status_ListStatus, _impl_.values_), -1, 0, 4305 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, 4306 }}, 4307 // no aux_entries 4308 {{ 4309 "\53\0\6\0\0\0\0\0" 4310 "agones.dev.sdk.GameServer.Status.ListStatus" 4311 "values" 4312 }}, 4313 }; 4314 PROTOBUF_NOINLINE void GameServer_Status_ListStatus::Clear() { 4315 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Status.ListStatus) 4316 ::google::protobuf::internal::TSanWrite(&_impl_); 4317 ::uint32_t cached_has_bits = 0; 4318 // Prevent compiler warnings about cached_has_bits being unused 4319 (void) cached_has_bits; 4320 4321 _impl_.values_.Clear(); 4322 _impl_.capacity_ = ::int64_t{0}; 4323 _impl_._has_bits_.Clear(); 4324 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 4325 } 4326 4327 #if defined(PROTOBUF_CUSTOM_VTABLE) 4328 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_ListStatus::_InternalSerialize( 4329 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 4330 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 4331 const GameServer_Status_ListStatus& this_ = static_cast<const GameServer_Status_ListStatus&>(base); 4332 #else // PROTOBUF_CUSTOM_VTABLE 4333 ::uint8_t* PROTOBUF_NONNULL GameServer_Status_ListStatus::_InternalSerialize( 4334 ::uint8_t* PROTOBUF_NONNULL target, 4335 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4336 const GameServer_Status_ListStatus& this_ = *this; 4337 #endif // PROTOBUF_CUSTOM_VTABLE 4338 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Status.ListStatus) 4339 ::uint32_t cached_has_bits = 0; 4340 (void)cached_has_bits; 4341 4342 // int64 capacity = 1; 4343 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 4344 if (this_._internal_capacity() != 0) { 4345 target = 4346 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>( 4347 stream, this_._internal_capacity(), target); 4348 } 4349 } 4350 4351 // repeated string values = 2; 4352 for (int i = 0, n = this_._internal_values_size(); i < n; ++i) { 4353 const auto& s = this_._internal_values().Get(i); 4354 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4355 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.ListStatus.values"); 4356 target = stream->WriteString(2, s, target); 4357 } 4358 4359 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 4360 target = 4361 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 4362 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 4363 } 4364 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Status.ListStatus) 4365 return target; 4366 } 4367 4368 #if defined(PROTOBUF_CUSTOM_VTABLE) 4369 ::size_t GameServer_Status_ListStatus::ByteSizeLong(const MessageLite& base) { 4370 const GameServer_Status_ListStatus& this_ = static_cast<const GameServer_Status_ListStatus&>(base); 4371 #else // PROTOBUF_CUSTOM_VTABLE 4372 ::size_t GameServer_Status_ListStatus::ByteSizeLong() const { 4373 const GameServer_Status_ListStatus& this_ = *this; 4374 #endif // PROTOBUF_CUSTOM_VTABLE 4375 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Status.ListStatus) 4376 ::size_t total_size = 0; 4377 4378 ::uint32_t cached_has_bits = 0; 4379 // Prevent compiler warnings about cached_has_bits being unused 4380 (void)cached_has_bits; 4381 4382 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 4383 { 4384 // repeated string values = 2; 4385 { 4386 total_size += 4387 1 * ::google::protobuf::internal::FromIntSize(this_._internal_values().size()); 4388 for (int i = 0, n = this_._internal_values().size(); i < n; ++i) { 4389 total_size += ::google::protobuf::internal::WireFormatLite::StringSize( 4390 this_._internal_values().Get(i)); 4391 } 4392 } 4393 } 4394 { 4395 // int64 capacity = 1; 4396 cached_has_bits = this_._impl_._has_bits_[0]; 4397 if ((cached_has_bits & 0x00000001u) != 0) { 4398 if (this_._internal_capacity() != 0) { 4399 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( 4400 this_._internal_capacity()); 4401 } 4402 } 4403 } 4404 return this_.MaybeComputeUnknownFieldsSize(total_size, 4405 &this_._impl_._cached_size_); 4406 } 4407 4408 void GameServer_Status_ListStatus::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 4409 auto* const _this = static_cast<GameServer_Status_ListStatus*>(&to_msg); 4410 auto& from = static_cast<const GameServer_Status_ListStatus&>(from_msg); 4411 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Status.ListStatus) 4412 ABSL_DCHECK_NE(&from, _this); 4413 ::uint32_t cached_has_bits = 0; 4414 (void) cached_has_bits; 4415 4416 _this->_internal_mutable_values()->MergeFrom(from._internal_values()); 4417 cached_has_bits = from._impl_._has_bits_[0]; 4418 if ((cached_has_bits & 0x00000001u) != 0) { 4419 if (from._internal_capacity() != 0) { 4420 _this->_impl_.capacity_ = from._impl_.capacity_; 4421 } 4422 } 4423 _this->_impl_._has_bits_[0] |= cached_has_bits; 4424 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 4425 } 4426 4427 void GameServer_Status_ListStatus::CopyFrom(const GameServer_Status_ListStatus& from) { 4428 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Status.ListStatus) 4429 if (&from == this) return; 4430 Clear(); 4431 MergeFrom(from); 4432 } 4433 4434 4435 void GameServer_Status_ListStatus::InternalSwap(GameServer_Status_ListStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 4436 using std::swap; 4437 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 4438 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 4439 _impl_.values_.InternalSwap(&other->_impl_.values_); 4440 swap(_impl_.capacity_, other->_impl_.capacity_); 4441 } 4442 4443 ::google::protobuf::Metadata GameServer_Status_ListStatus::GetMetadata() const { 4444 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 4445 } 4446 // =================================================================== 4447 4448 #if defined(PROTOBUF_CUSTOM_VTABLE) 4449 GameServer_Status_CountersEntry_DoNotUse::GameServer_Status_CountersEntry_DoNotUse() 4450 : SuperType(GameServer_Status_CountersEntry_DoNotUse_class_data_.base()) {} 4451 GameServer_Status_CountersEntry_DoNotUse::GameServer_Status_CountersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4452 : SuperType(arena, GameServer_Status_CountersEntry_DoNotUse_class_data_.base()) {} 4453 #else // PROTOBUF_CUSTOM_VTABLE 4454 GameServer_Status_CountersEntry_DoNotUse::GameServer_Status_CountersEntry_DoNotUse() : SuperType() {} 4455 GameServer_Status_CountersEntry_DoNotUse::GameServer_Status_CountersEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 4456 #endif // PROTOBUF_CUSTOM_VTABLE 4457 inline void* PROTOBUF_NONNULL GameServer_Status_CountersEntry_DoNotUse::PlacementNew_( 4458 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4459 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4460 return ::new (mem) GameServer_Status_CountersEntry_DoNotUse(arena); 4461 } 4462 constexpr auto GameServer_Status_CountersEntry_DoNotUse::InternalNewImpl_() { 4463 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GameServer_Status_CountersEntry_DoNotUse), 4464 alignof(GameServer_Status_CountersEntry_DoNotUse)); 4465 } 4466 constexpr auto GameServer_Status_CountersEntry_DoNotUse::InternalGenerateClassData_() { 4467 return ::google::protobuf::internal::ClassDataFull{ 4468 ::google::protobuf::internal::ClassData{ 4469 &_GameServer_Status_CountersEntry_DoNotUse_default_instance_._instance, 4470 &_table_.header, 4471 nullptr, // OnDemandRegisterArenaDtor 4472 nullptr, // IsInitialized 4473 &GameServer_Status_CountersEntry_DoNotUse::MergeImpl, 4474 ::google::protobuf::Message::GetNewImpl<GameServer_Status_CountersEntry_DoNotUse>(), 4475 #if defined(PROTOBUF_CUSTOM_VTABLE) 4476 &GameServer_Status_CountersEntry_DoNotUse::SharedDtor, 4477 static_cast<void (::google::protobuf::MessageLite::*)()>(&GameServer_Status_CountersEntry_DoNotUse::ClearImpl), 4478 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 4479 , 4480 #endif // PROTOBUF_CUSTOM_VTABLE 4481 PROTOBUF_FIELD_OFFSET(GameServer_Status_CountersEntry_DoNotUse, _impl_._cached_size_), 4482 false, 4483 }, 4484 &GameServer_Status_CountersEntry_DoNotUse::kDescriptorMethods, 4485 &descriptor_table_sdk_2eproto, 4486 nullptr, // tracker 4487 }; 4488 } 4489 4490 PROTOBUF_CONSTINIT AGONES_EXPORT 4491 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4492 GameServer_Status_CountersEntry_DoNotUse_class_data_ = 4493 GameServer_Status_CountersEntry_DoNotUse::InternalGenerateClassData_(); 4494 4495 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_CountersEntry_DoNotUse::GetClassData() const { 4496 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_CountersEntry_DoNotUse_class_data_); 4497 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_CountersEntry_DoNotUse_class_data_.tc_table); 4498 return GameServer_Status_CountersEntry_DoNotUse_class_data_.base(); 4499 } 4500 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4501 const ::_pbi::TcParseTable<1, 2, 1, 58, 2> 4502 GameServer_Status_CountersEntry_DoNotUse::_table_ = { 4503 { 4504 PROTOBUF_FIELD_OFFSET(GameServer_Status_CountersEntry_DoNotUse, _impl_._has_bits_), 4505 0, // no _extensions_ 4506 2, 8, // max_field_number, fast_idx_mask 4507 offsetof(decltype(_table_), field_lookup_table), 4508 4294967292, // skipmap 4509 offsetof(decltype(_table_), field_entries), 4510 2, // num_field_entries 4511 1, // num_aux_entries 4512 offsetof(decltype(_table_), aux_entries), 4513 GameServer_Status_CountersEntry_DoNotUse_class_data_.base(), 4514 nullptr, // post_loop_handler 4515 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4516 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4517 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_CountersEntry_DoNotUse>(), // to_prefetch 4518 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4519 }, {{ 4520 // .agones.dev.sdk.GameServer.Status.CounterStatus value = 2; 4521 {::_pbi::TcParser::FastMtS1, 4522 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_CountersEntry_DoNotUse, _impl_.value_)}}, 4523 // string key = 1; 4524 {::_pbi::TcParser::FastUS1, 4525 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_CountersEntry_DoNotUse, _impl_.key_)}}, 4526 }}, {{ 4527 65535, 65535 4528 }}, {{ 4529 // string key = 1; 4530 {PROTOBUF_FIELD_OFFSET(GameServer_Status_CountersEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4531 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4532 // .agones.dev.sdk.GameServer.Status.CounterStatus value = 2; 4533 {PROTOBUF_FIELD_OFFSET(GameServer_Status_CountersEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4534 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4535 }}, 4536 {{ 4537 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_CounterStatus>()}, 4538 }}, 4539 {{ 4540 "\56\3\0\0\0\0\0\0" 4541 "agones.dev.sdk.GameServer.Status.CountersEntry" 4542 "key" 4543 }}, 4544 }; 4545 // =================================================================== 4546 4547 #if defined(PROTOBUF_CUSTOM_VTABLE) 4548 GameServer_Status_ListsEntry_DoNotUse::GameServer_Status_ListsEntry_DoNotUse() 4549 : SuperType(GameServer_Status_ListsEntry_DoNotUse_class_data_.base()) {} 4550 GameServer_Status_ListsEntry_DoNotUse::GameServer_Status_ListsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4551 : SuperType(arena, GameServer_Status_ListsEntry_DoNotUse_class_data_.base()) {} 4552 #else // PROTOBUF_CUSTOM_VTABLE 4553 GameServer_Status_ListsEntry_DoNotUse::GameServer_Status_ListsEntry_DoNotUse() : SuperType() {} 4554 GameServer_Status_ListsEntry_DoNotUse::GameServer_Status_ListsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {} 4555 #endif // PROTOBUF_CUSTOM_VTABLE 4556 inline void* PROTOBUF_NONNULL GameServer_Status_ListsEntry_DoNotUse::PlacementNew_( 4557 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4558 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4559 return ::new (mem) GameServer_Status_ListsEntry_DoNotUse(arena); 4560 } 4561 constexpr auto GameServer_Status_ListsEntry_DoNotUse::InternalNewImpl_() { 4562 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GameServer_Status_ListsEntry_DoNotUse), 4563 alignof(GameServer_Status_ListsEntry_DoNotUse)); 4564 } 4565 constexpr auto GameServer_Status_ListsEntry_DoNotUse::InternalGenerateClassData_() { 4566 return ::google::protobuf::internal::ClassDataFull{ 4567 ::google::protobuf::internal::ClassData{ 4568 &_GameServer_Status_ListsEntry_DoNotUse_default_instance_._instance, 4569 &_table_.header, 4570 nullptr, // OnDemandRegisterArenaDtor 4571 nullptr, // IsInitialized 4572 &GameServer_Status_ListsEntry_DoNotUse::MergeImpl, 4573 ::google::protobuf::Message::GetNewImpl<GameServer_Status_ListsEntry_DoNotUse>(), 4574 #if defined(PROTOBUF_CUSTOM_VTABLE) 4575 &GameServer_Status_ListsEntry_DoNotUse::SharedDtor, 4576 static_cast<void (::google::protobuf::MessageLite::*)()>(&GameServer_Status_ListsEntry_DoNotUse::ClearImpl), 4577 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl 4578 , 4579 #endif // PROTOBUF_CUSTOM_VTABLE 4580 PROTOBUF_FIELD_OFFSET(GameServer_Status_ListsEntry_DoNotUse, _impl_._cached_size_), 4581 false, 4582 }, 4583 &GameServer_Status_ListsEntry_DoNotUse::kDescriptorMethods, 4584 &descriptor_table_sdk_2eproto, 4585 nullptr, // tracker 4586 }; 4587 } 4588 4589 PROTOBUF_CONSTINIT AGONES_EXPORT 4590 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4591 GameServer_Status_ListsEntry_DoNotUse_class_data_ = 4592 GameServer_Status_ListsEntry_DoNotUse::InternalGenerateClassData_(); 4593 4594 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status_ListsEntry_DoNotUse::GetClassData() const { 4595 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_ListsEntry_DoNotUse_class_data_); 4596 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_ListsEntry_DoNotUse_class_data_.tc_table); 4597 return GameServer_Status_ListsEntry_DoNotUse_class_data_.base(); 4598 } 4599 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4600 const ::_pbi::TcParseTable<1, 2, 1, 55, 2> 4601 GameServer_Status_ListsEntry_DoNotUse::_table_ = { 4602 { 4603 PROTOBUF_FIELD_OFFSET(GameServer_Status_ListsEntry_DoNotUse, _impl_._has_bits_), 4604 0, // no _extensions_ 4605 2, 8, // max_field_number, fast_idx_mask 4606 offsetof(decltype(_table_), field_lookup_table), 4607 4294967292, // skipmap 4608 offsetof(decltype(_table_), field_entries), 4609 2, // num_field_entries 4610 1, // num_aux_entries 4611 offsetof(decltype(_table_), aux_entries), 4612 GameServer_Status_ListsEntry_DoNotUse_class_data_.base(), 4613 nullptr, // post_loop_handler 4614 ::_pbi::TcParser::DiscardEverythingFallback, // fallback 4615 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4616 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_ListsEntry_DoNotUse>(), // to_prefetch 4617 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4618 }, {{ 4619 // .agones.dev.sdk.GameServer.Status.ListStatus value = 2; 4620 {::_pbi::TcParser::FastMtS1, 4621 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_ListsEntry_DoNotUse, _impl_.value_)}}, 4622 // string key = 1; 4623 {::_pbi::TcParser::FastUS1, 4624 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status_ListsEntry_DoNotUse, _impl_.key_)}}, 4625 }}, {{ 4626 65535, 65535 4627 }}, {{ 4628 // string key = 1; 4629 {PROTOBUF_FIELD_OFFSET(GameServer_Status_ListsEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, 4630 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4631 // .agones.dev.sdk.GameServer.Status.ListStatus value = 2; 4632 {PROTOBUF_FIELD_OFFSET(GameServer_Status_ListsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, 4633 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4634 }}, 4635 {{ 4636 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_ListStatus>()}, 4637 }}, 4638 {{ 4639 "\53\3\0\0\0\0\0\0" 4640 "agones.dev.sdk.GameServer.Status.ListsEntry" 4641 "key" 4642 }}, 4643 }; 4644 // =================================================================== 4645 4646 class GameServer_Status::_Internal { 4647 public: 4648 using HasBits = 4649 decltype(std::declval<GameServer_Status>()._impl_._has_bits_); 4650 static constexpr ::int32_t kHasBitsOffset = 4651 8 * PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_._has_bits_); 4652 }; 4653 4654 GameServer_Status::GameServer_Status(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4655 #if defined(PROTOBUF_CUSTOM_VTABLE) 4656 : ::google::protobuf::Message(arena, GameServer_Status_class_data_.base()) { 4657 #else // PROTOBUF_CUSTOM_VTABLE 4658 : ::google::protobuf::Message(arena) { 4659 #endif // PROTOBUF_CUSTOM_VTABLE 4660 SharedCtor(arena); 4661 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer.Status) 4662 } 4663 PROTOBUF_NDEBUG_INLINE GameServer_Status::Impl_::Impl_( 4664 ::google::protobuf::internal::InternalVisibility visibility, 4665 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 4666 const ::agones::dev::sdk::GameServer_Status& from_msg) 4667 : _has_bits_{from._has_bits_}, 4668 _cached_size_{0}, 4669 ports_{visibility, arena, from.ports_}, 4670 counters_{visibility, arena, from.counters_}, 4671 lists_{visibility, arena, from.lists_}, 4672 addresses_{visibility, arena, from.addresses_}, 4673 state_(arena, from.state_), 4674 address_(arena, from.address_) {} 4675 4676 GameServer_Status::GameServer_Status( 4677 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 4678 const GameServer_Status& from) 4679 #if defined(PROTOBUF_CUSTOM_VTABLE) 4680 : ::google::protobuf::Message(arena, GameServer_Status_class_data_.base()) { 4681 #else // PROTOBUF_CUSTOM_VTABLE 4682 : ::google::protobuf::Message(arena) { 4683 #endif // PROTOBUF_CUSTOM_VTABLE 4684 GameServer_Status* const _this = this; 4685 (void)_this; 4686 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 4687 from._internal_metadata_); 4688 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 4689 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 4690 _impl_.players_ = ((cached_has_bits & 0x00000004u) != 0) 4691 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.players_) 4692 : nullptr; 4693 4694 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer.Status) 4695 } 4696 PROTOBUF_NDEBUG_INLINE GameServer_Status::Impl_::Impl_( 4697 ::google::protobuf::internal::InternalVisibility visibility, 4698 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 4699 : _cached_size_{0}, 4700 ports_{visibility, arena}, 4701 counters_{visibility, arena}, 4702 lists_{visibility, arena}, 4703 addresses_{visibility, arena}, 4704 state_(arena), 4705 address_(arena) {} 4706 4707 inline void GameServer_Status::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 4708 new (&_impl_) Impl_(internal_visibility(), arena); 4709 _impl_.players_ = {}; 4710 } 4711 GameServer_Status::~GameServer_Status() { 4712 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer.Status) 4713 SharedDtor(*this); 4714 } 4715 inline void GameServer_Status::SharedDtor(MessageLite& self) { 4716 GameServer_Status& this_ = static_cast<GameServer_Status&>(self); 4717 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 4718 ABSL_DCHECK(this_.GetArena() == nullptr); 4719 this_._impl_.state_.Destroy(); 4720 this_._impl_.address_.Destroy(); 4721 delete this_._impl_.players_; 4722 this_._impl_.~Impl_(); 4723 } 4724 4725 inline void* PROTOBUF_NONNULL GameServer_Status::PlacementNew_( 4726 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 4727 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 4728 return ::new (mem) GameServer_Status(arena); 4729 } 4730 constexpr auto GameServer_Status::InternalNewImpl_() { 4731 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ 4732 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.addresses_) + 4733 decltype(GameServer_Status::_impl_.addresses_):: 4734 InternalGetArenaOffset( 4735 ::google::protobuf::Message::internal_visibility()), 4736 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.ports_) + 4737 decltype(GameServer_Status::_impl_.ports_):: 4738 InternalGetArenaOffset( 4739 ::google::protobuf::Message::internal_visibility()), 4740 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.counters_) + 4741 decltype(GameServer_Status::_impl_.counters_):: 4742 InternalGetArenaOffset( 4743 ::google::protobuf::Message::internal_visibility()), 4744 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.counters_) + 4745 decltype(GameServer_Status::_impl_.counters_):: 4746 InternalGetArenaOffsetAlt( 4747 ::google::protobuf::Message::internal_visibility()), 4748 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.lists_) + 4749 decltype(GameServer_Status::_impl_.lists_):: 4750 InternalGetArenaOffset( 4751 ::google::protobuf::Message::internal_visibility()), 4752 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.lists_) + 4753 decltype(GameServer_Status::_impl_.lists_):: 4754 InternalGetArenaOffsetAlt( 4755 ::google::protobuf::Message::internal_visibility()), 4756 }); 4757 if (arena_bits.has_value()) { 4758 return ::google::protobuf::internal::MessageCreator::CopyInit( 4759 sizeof(GameServer_Status), alignof(GameServer_Status), *arena_bits); 4760 } else { 4761 return ::google::protobuf::internal::MessageCreator(&GameServer_Status::PlacementNew_, 4762 sizeof(GameServer_Status), 4763 alignof(GameServer_Status)); 4764 } 4765 } 4766 constexpr auto GameServer_Status::InternalGenerateClassData_() { 4767 return ::google::protobuf::internal::ClassDataFull{ 4768 ::google::protobuf::internal::ClassData{ 4769 &_GameServer_Status_default_instance_._instance, 4770 &_table_.header, 4771 nullptr, // OnDemandRegisterArenaDtor 4772 nullptr, // IsInitialized 4773 &GameServer_Status::MergeImpl, 4774 ::google::protobuf::Message::GetNewImpl<GameServer_Status>(), 4775 #if defined(PROTOBUF_CUSTOM_VTABLE) 4776 &GameServer_Status::SharedDtor, 4777 ::google::protobuf::Message::GetClearImpl<GameServer_Status>(), &GameServer_Status::ByteSizeLong, 4778 &GameServer_Status::_InternalSerialize, 4779 #endif // PROTOBUF_CUSTOM_VTABLE 4780 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_._cached_size_), 4781 false, 4782 }, 4783 &GameServer_Status::kDescriptorMethods, 4784 &descriptor_table_sdk_2eproto, 4785 nullptr, // tracker 4786 }; 4787 } 4788 4789 PROTOBUF_CONSTINIT AGONES_EXPORT 4790 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 4791 GameServer_Status_class_data_ = 4792 GameServer_Status::InternalGenerateClassData_(); 4793 4794 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer_Status::GetClassData() const { 4795 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_Status_class_data_); 4796 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_Status_class_data_.tc_table); 4797 return GameServer_Status_class_data_.base(); 4798 } 4799 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 4800 const ::_pbi::TcParseTable<3, 7, 7, 66, 2> 4801 GameServer_Status::_table_ = { 4802 { 4803 PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_._has_bits_), 4804 0, // no _extensions_ 4805 7, 56, // max_field_number, fast_idx_mask 4806 offsetof(decltype(_table_), field_lookup_table), 4807 4294967168, // skipmap 4808 offsetof(decltype(_table_), field_entries), 4809 7, // num_field_entries 4810 7, // num_aux_entries 4811 offsetof(decltype(_table_), aux_entries), 4812 GameServer_Status_class_data_.base(), 4813 nullptr, // post_loop_handler 4814 ::_pbi::TcParser::GenericFallback, // fallback 4815 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 4816 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status>(), // to_prefetch 4817 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 4818 }, {{ 4819 {::_pbi::TcParser::MiniParse, {}}, 4820 // string state = 1; 4821 {::_pbi::TcParser::FastUS1, 4822 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.state_)}}, 4823 // string address = 2; 4824 {::_pbi::TcParser::FastUS1, 4825 {18, 1, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.address_)}}, 4826 // repeated .agones.dev.sdk.GameServer.Status.Port ports = 3; 4827 {::_pbi::TcParser::FastMtR1, 4828 {26, 63, 0, PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.ports_)}}, 4829 // .agones.dev.sdk.GameServer.Status.PlayerStatus players = 4; 4830 {::_pbi::TcParser::FastMtS1, 4831 {34, 2, 1, PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.players_)}}, 4832 {::_pbi::TcParser::MiniParse, {}}, 4833 {::_pbi::TcParser::MiniParse, {}}, 4834 // repeated .agones.dev.sdk.GameServer.Status.Address addresses = 7; 4835 {::_pbi::TcParser::FastMtR1, 4836 {58, 63, 2, PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.addresses_)}}, 4837 }}, {{ 4838 65535, 65535 4839 }}, {{ 4840 // string state = 1; 4841 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.state_), _Internal::kHasBitsOffset + 0, 0, 4842 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4843 // string address = 2; 4844 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.address_), _Internal::kHasBitsOffset + 1, 0, 4845 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, 4846 // repeated .agones.dev.sdk.GameServer.Status.Port ports = 3; 4847 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.ports_), -1, 0, 4848 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, 4849 // .agones.dev.sdk.GameServer.Status.PlayerStatus players = 4; 4850 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.players_), _Internal::kHasBitsOffset + 2, 1, 4851 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 4852 // map<string, .agones.dev.sdk.GameServer.Status.CounterStatus> counters = 5; 4853 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.counters_), -1, 3, 4854 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4855 // map<string, .agones.dev.sdk.GameServer.Status.ListStatus> lists = 6; 4856 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.lists_), -1, 5, 4857 (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, 4858 // repeated .agones.dev.sdk.GameServer.Status.Address addresses = 7; 4859 {PROTOBUF_FIELD_OFFSET(GameServer_Status, _impl_.addresses_), -1, 2, 4860 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, 4861 }}, 4862 {{ 4863 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_Port>()}, 4864 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_PlayerStatus>()}, 4865 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_Address>()}, 4866 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4867 9, 11, 4868 0)}, 4869 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_CounterStatus>()}, 4870 {::_pbi::TcParser::GetMapAuxInfo(1, 0, 0, 4871 9, 11, 4872 0)}, 4873 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status_ListStatus>()}, 4874 }}, 4875 {{ 4876 "\40\5\7\0\0\10\5\0" 4877 "agones.dev.sdk.GameServer.Status" 4878 "state" 4879 "address" 4880 "counters" 4881 "lists" 4882 }}, 4883 }; 4884 PROTOBUF_NOINLINE void GameServer_Status::Clear() { 4885 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer.Status) 4886 ::google::protobuf::internal::TSanWrite(&_impl_); 4887 ::uint32_t cached_has_bits = 0; 4888 // Prevent compiler warnings about cached_has_bits being unused 4889 (void) cached_has_bits; 4890 4891 _impl_.ports_.Clear(); 4892 _impl_.counters_.Clear(); 4893 _impl_.lists_.Clear(); 4894 _impl_.addresses_.Clear(); 4895 cached_has_bits = _impl_._has_bits_[0]; 4896 if ((cached_has_bits & 0x00000007u) != 0) { 4897 if ((cached_has_bits & 0x00000001u) != 0) { 4898 _impl_.state_.ClearNonDefaultToEmpty(); 4899 } 4900 if ((cached_has_bits & 0x00000002u) != 0) { 4901 _impl_.address_.ClearNonDefaultToEmpty(); 4902 } 4903 if ((cached_has_bits & 0x00000004u) != 0) { 4904 ABSL_DCHECK(_impl_.players_ != nullptr); 4905 _impl_.players_->Clear(); 4906 } 4907 } 4908 _impl_._has_bits_.Clear(); 4909 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 4910 } 4911 4912 #if defined(PROTOBUF_CUSTOM_VTABLE) 4913 ::uint8_t* PROTOBUF_NONNULL GameServer_Status::_InternalSerialize( 4914 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 4915 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 4916 const GameServer_Status& this_ = static_cast<const GameServer_Status&>(base); 4917 #else // PROTOBUF_CUSTOM_VTABLE 4918 ::uint8_t* PROTOBUF_NONNULL GameServer_Status::_InternalSerialize( 4919 ::uint8_t* PROTOBUF_NONNULL target, 4920 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 4921 const GameServer_Status& this_ = *this; 4922 #endif // PROTOBUF_CUSTOM_VTABLE 4923 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer.Status) 4924 ::uint32_t cached_has_bits = 0; 4925 (void)cached_has_bits; 4926 4927 // string state = 1; 4928 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { 4929 if (!this_._internal_state().empty()) { 4930 const std::string& _s = this_._internal_state(); 4931 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4932 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.state"); 4933 target = stream->WriteStringMaybeAliased(1, _s, target); 4934 } 4935 } 4936 4937 // string address = 2; 4938 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { 4939 if (!this_._internal_address().empty()) { 4940 const std::string& _s = this_._internal_address(); 4941 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4942 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.address"); 4943 target = stream->WriteStringMaybeAliased(2, _s, target); 4944 } 4945 } 4946 4947 // repeated .agones.dev.sdk.GameServer.Status.Port ports = 3; 4948 for (unsigned i = 0, n = static_cast<unsigned>( 4949 this_._internal_ports_size()); 4950 i < n; i++) { 4951 const auto& repfield = this_._internal_ports().Get(i); 4952 target = 4953 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4954 3, repfield, repfield.GetCachedSize(), 4955 target, stream); 4956 } 4957 4958 cached_has_bits = this_._impl_._has_bits_[0]; 4959 // .agones.dev.sdk.GameServer.Status.PlayerStatus players = 4; 4960 if ((cached_has_bits & 0x00000004u) != 0) { 4961 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 4962 4, *this_._impl_.players_, this_._impl_.players_->GetCachedSize(), target, 4963 stream); 4964 } 4965 4966 // map<string, .agones.dev.sdk.GameServer.Status.CounterStatus> counters = 5; 4967 if (!this_._internal_counters().empty()) { 4968 using MapType = ::google::protobuf::Map<std::string, ::agones::dev::sdk::GameServer_Status_CounterStatus>; 4969 using WireHelper = _pbi::MapEntryFuncs<std::string, ::agones::dev::sdk::GameServer_Status_CounterStatus, 4970 _pbi::WireFormatLite::TYPE_STRING, 4971 _pbi::WireFormatLite::TYPE_MESSAGE>; 4972 const auto& field = this_._internal_counters(); 4973 4974 if (stream->IsSerializationDeterministic() && field.size() > 1) { 4975 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 4976 target = WireHelper::InternalSerialize( 4977 5, entry.first, entry.second, target, stream); 4978 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4979 entry.first.data(), static_cast<int>(entry.first.length()), 4980 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.counters"); 4981 } 4982 } else { 4983 for (const auto& entry : field) { 4984 target = WireHelper::InternalSerialize( 4985 5, entry.first, entry.second, target, stream); 4986 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 4987 entry.first.data(), static_cast<int>(entry.first.length()), 4988 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.counters"); 4989 } 4990 } 4991 } 4992 4993 // map<string, .agones.dev.sdk.GameServer.Status.ListStatus> lists = 6; 4994 if (!this_._internal_lists().empty()) { 4995 using MapType = ::google::protobuf::Map<std::string, ::agones::dev::sdk::GameServer_Status_ListStatus>; 4996 using WireHelper = _pbi::MapEntryFuncs<std::string, ::agones::dev::sdk::GameServer_Status_ListStatus, 4997 _pbi::WireFormatLite::TYPE_STRING, 4998 _pbi::WireFormatLite::TYPE_MESSAGE>; 4999 const auto& field = this_._internal_lists(); 5000 5001 if (stream->IsSerializationDeterministic() && field.size() > 1) { 5002 for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { 5003 target = WireHelper::InternalSerialize( 5004 6, entry.first, entry.second, target, stream); 5005 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5006 entry.first.data(), static_cast<int>(entry.first.length()), 5007 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.lists"); 5008 } 5009 } else { 5010 for (const auto& entry : field) { 5011 target = WireHelper::InternalSerialize( 5012 6, entry.first, entry.second, target, stream); 5013 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( 5014 entry.first.data(), static_cast<int>(entry.first.length()), 5015 ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agones.dev.sdk.GameServer.Status.lists"); 5016 } 5017 } 5018 } 5019 5020 // repeated .agones.dev.sdk.GameServer.Status.Address addresses = 7; 5021 for (unsigned i = 0, n = static_cast<unsigned>( 5022 this_._internal_addresses_size()); 5023 i < n; i++) { 5024 const auto& repfield = this_._internal_addresses().Get(i); 5025 target = 5026 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 5027 7, repfield, repfield.GetCachedSize(), 5028 target, stream); 5029 } 5030 5031 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5032 target = 5033 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5034 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5035 } 5036 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer.Status) 5037 return target; 5038 } 5039 5040 #if defined(PROTOBUF_CUSTOM_VTABLE) 5041 ::size_t GameServer_Status::ByteSizeLong(const MessageLite& base) { 5042 const GameServer_Status& this_ = static_cast<const GameServer_Status&>(base); 5043 #else // PROTOBUF_CUSTOM_VTABLE 5044 ::size_t GameServer_Status::ByteSizeLong() const { 5045 const GameServer_Status& this_ = *this; 5046 #endif // PROTOBUF_CUSTOM_VTABLE 5047 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer.Status) 5048 ::size_t total_size = 0; 5049 5050 ::uint32_t cached_has_bits = 0; 5051 // Prevent compiler warnings about cached_has_bits being unused 5052 (void)cached_has_bits; 5053 5054 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5055 { 5056 // repeated .agones.dev.sdk.GameServer.Status.Port ports = 3; 5057 { 5058 total_size += 1UL * this_._internal_ports_size(); 5059 for (const auto& msg : this_._internal_ports()) { 5060 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); 5061 } 5062 } 5063 // map<string, .agones.dev.sdk.GameServer.Status.CounterStatus> counters = 5; 5064 { 5065 total_size += 5066 1 * ::google::protobuf::internal::FromIntSize(this_._internal_counters_size()); 5067 for (const auto& entry : this_._internal_counters()) { 5068 total_size += _pbi::MapEntryFuncs<std::string, ::agones::dev::sdk::GameServer_Status_CounterStatus, 5069 _pbi::WireFormatLite::TYPE_STRING, 5070 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 5071 } 5072 } 5073 // map<string, .agones.dev.sdk.GameServer.Status.ListStatus> lists = 6; 5074 { 5075 total_size += 5076 1 * ::google::protobuf::internal::FromIntSize(this_._internal_lists_size()); 5077 for (const auto& entry : this_._internal_lists()) { 5078 total_size += _pbi::MapEntryFuncs<std::string, ::agones::dev::sdk::GameServer_Status_ListStatus, 5079 _pbi::WireFormatLite::TYPE_STRING, 5080 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); 5081 } 5082 } 5083 // repeated .agones.dev.sdk.GameServer.Status.Address addresses = 7; 5084 { 5085 total_size += 1UL * this_._internal_addresses_size(); 5086 for (const auto& msg : this_._internal_addresses()) { 5087 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); 5088 } 5089 } 5090 } 5091 cached_has_bits = this_._impl_._has_bits_[0]; 5092 if ((cached_has_bits & 0x00000007u) != 0) { 5093 // string state = 1; 5094 if ((cached_has_bits & 0x00000001u) != 0) { 5095 if (!this_._internal_state().empty()) { 5096 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5097 this_._internal_state()); 5098 } 5099 } 5100 // string address = 2; 5101 if ((cached_has_bits & 0x00000002u) != 0) { 5102 if (!this_._internal_address().empty()) { 5103 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( 5104 this_._internal_address()); 5105 } 5106 } 5107 // .agones.dev.sdk.GameServer.Status.PlayerStatus players = 4; 5108 if ((cached_has_bits & 0x00000004u) != 0) { 5109 total_size += 1 + 5110 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.players_); 5111 } 5112 } 5113 return this_.MaybeComputeUnknownFieldsSize(total_size, 5114 &this_._impl_._cached_size_); 5115 } 5116 5117 void GameServer_Status::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5118 auto* const _this = static_cast<GameServer_Status*>(&to_msg); 5119 auto& from = static_cast<const GameServer_Status&>(from_msg); 5120 ::google::protobuf::Arena* arena = _this->GetArena(); 5121 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer.Status) 5122 ABSL_DCHECK_NE(&from, _this); 5123 ::uint32_t cached_has_bits = 0; 5124 (void) cached_has_bits; 5125 5126 _this->_internal_mutable_ports()->MergeFrom( 5127 from._internal_ports()); 5128 _this->_impl_.counters_.MergeFrom(from._impl_.counters_); 5129 _this->_impl_.lists_.MergeFrom(from._impl_.lists_); 5130 _this->_internal_mutable_addresses()->MergeFrom( 5131 from._internal_addresses()); 5132 cached_has_bits = from._impl_._has_bits_[0]; 5133 if ((cached_has_bits & 0x00000007u) != 0) { 5134 if ((cached_has_bits & 0x00000001u) != 0) { 5135 if (!from._internal_state().empty()) { 5136 _this->_internal_set_state(from._internal_state()); 5137 } else { 5138 if (_this->_impl_.state_.IsDefault()) { 5139 _this->_internal_set_state(""); 5140 } 5141 } 5142 } 5143 if ((cached_has_bits & 0x00000002u) != 0) { 5144 if (!from._internal_address().empty()) { 5145 _this->_internal_set_address(from._internal_address()); 5146 } else { 5147 if (_this->_impl_.address_.IsDefault()) { 5148 _this->_internal_set_address(""); 5149 } 5150 } 5151 } 5152 if ((cached_has_bits & 0x00000004u) != 0) { 5153 ABSL_DCHECK(from._impl_.players_ != nullptr); 5154 if (_this->_impl_.players_ == nullptr) { 5155 _this->_impl_.players_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.players_); 5156 } else { 5157 _this->_impl_.players_->MergeFrom(*from._impl_.players_); 5158 } 5159 } 5160 } 5161 _this->_impl_._has_bits_[0] |= cached_has_bits; 5162 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5163 } 5164 5165 void GameServer_Status::CopyFrom(const GameServer_Status& from) { 5166 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer.Status) 5167 if (&from == this) return; 5168 Clear(); 5169 MergeFrom(from); 5170 } 5171 5172 5173 void GameServer_Status::InternalSwap(GameServer_Status* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5174 using std::swap; 5175 auto* arena = GetArena(); 5176 ABSL_DCHECK_EQ(arena, other->GetArena()); 5177 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5178 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5179 _impl_.ports_.InternalSwap(&other->_impl_.ports_); 5180 _impl_.counters_.InternalSwap(&other->_impl_.counters_); 5181 _impl_.lists_.InternalSwap(&other->_impl_.lists_); 5182 _impl_.addresses_.InternalSwap(&other->_impl_.addresses_); 5183 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.state_, &other->_impl_.state_, arena); 5184 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.address_, &other->_impl_.address_, arena); 5185 swap(_impl_.players_, other->_impl_.players_); 5186 } 5187 5188 ::google::protobuf::Metadata GameServer_Status::GetMetadata() const { 5189 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5190 } 5191 // =================================================================== 5192 5193 class GameServer::_Internal { 5194 public: 5195 using HasBits = 5196 decltype(std::declval<GameServer>()._impl_._has_bits_); 5197 static constexpr ::int32_t kHasBitsOffset = 5198 8 * PROTOBUF_FIELD_OFFSET(GameServer, _impl_._has_bits_); 5199 }; 5200 5201 GameServer::GameServer(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5202 #if defined(PROTOBUF_CUSTOM_VTABLE) 5203 : ::google::protobuf::Message(arena, GameServer_class_data_.base()) { 5204 #else // PROTOBUF_CUSTOM_VTABLE 5205 : ::google::protobuf::Message(arena) { 5206 #endif // PROTOBUF_CUSTOM_VTABLE 5207 SharedCtor(arena); 5208 // @@protoc_insertion_point(arena_constructor:agones.dev.sdk.GameServer) 5209 } 5210 PROTOBUF_NDEBUG_INLINE GameServer::Impl_::Impl_( 5211 ::google::protobuf::internal::InternalVisibility visibility, 5212 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, 5213 const ::agones::dev::sdk::GameServer& from_msg) 5214 : _has_bits_{from._has_bits_}, 5215 _cached_size_{0} {} 5216 5217 GameServer::GameServer( 5218 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, 5219 const GameServer& from) 5220 #if defined(PROTOBUF_CUSTOM_VTABLE) 5221 : ::google::protobuf::Message(arena, GameServer_class_data_.base()) { 5222 #else // PROTOBUF_CUSTOM_VTABLE 5223 : ::google::protobuf::Message(arena) { 5224 #endif // PROTOBUF_CUSTOM_VTABLE 5225 GameServer* const _this = this; 5226 (void)_this; 5227 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( 5228 from._internal_metadata_); 5229 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); 5230 ::uint32_t cached_has_bits = _impl_._has_bits_[0]; 5231 _impl_.object_meta_ = ((cached_has_bits & 0x00000001u) != 0) 5232 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.object_meta_) 5233 : nullptr; 5234 _impl_.spec_ = ((cached_has_bits & 0x00000002u) != 0) 5235 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.spec_) 5236 : nullptr; 5237 _impl_.status_ = ((cached_has_bits & 0x00000004u) != 0) 5238 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_) 5239 : nullptr; 5240 5241 // @@protoc_insertion_point(copy_constructor:agones.dev.sdk.GameServer) 5242 } 5243 PROTOBUF_NDEBUG_INLINE GameServer::Impl_::Impl_( 5244 ::google::protobuf::internal::InternalVisibility visibility, 5245 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) 5246 : _cached_size_{0} {} 5247 5248 inline void GameServer::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { 5249 new (&_impl_) Impl_(internal_visibility(), arena); 5250 ::memset(reinterpret_cast<char *>(&_impl_) + 5251 offsetof(Impl_, object_meta_), 5252 0, 5253 offsetof(Impl_, status_) - 5254 offsetof(Impl_, object_meta_) + 5255 sizeof(Impl_::status_)); 5256 } 5257 GameServer::~GameServer() { 5258 // @@protoc_insertion_point(destructor:agones.dev.sdk.GameServer) 5259 SharedDtor(*this); 5260 } 5261 inline void GameServer::SharedDtor(MessageLite& self) { 5262 GameServer& this_ = static_cast<GameServer&>(self); 5263 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); 5264 ABSL_DCHECK(this_.GetArena() == nullptr); 5265 delete this_._impl_.object_meta_; 5266 delete this_._impl_.spec_; 5267 delete this_._impl_.status_; 5268 this_._impl_.~Impl_(); 5269 } 5270 5271 inline void* PROTOBUF_NONNULL GameServer::PlacementNew_( 5272 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, 5273 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { 5274 return ::new (mem) GameServer(arena); 5275 } 5276 constexpr auto GameServer::InternalNewImpl_() { 5277 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GameServer), 5278 alignof(GameServer)); 5279 } 5280 constexpr auto GameServer::InternalGenerateClassData_() { 5281 return ::google::protobuf::internal::ClassDataFull{ 5282 ::google::protobuf::internal::ClassData{ 5283 &_GameServer_default_instance_._instance, 5284 &_table_.header, 5285 nullptr, // OnDemandRegisterArenaDtor 5286 nullptr, // IsInitialized 5287 &GameServer::MergeImpl, 5288 ::google::protobuf::Message::GetNewImpl<GameServer>(), 5289 #if defined(PROTOBUF_CUSTOM_VTABLE) 5290 &GameServer::SharedDtor, 5291 ::google::protobuf::Message::GetClearImpl<GameServer>(), &GameServer::ByteSizeLong, 5292 &GameServer::_InternalSerialize, 5293 #endif // PROTOBUF_CUSTOM_VTABLE 5294 PROTOBUF_FIELD_OFFSET(GameServer, _impl_._cached_size_), 5295 false, 5296 }, 5297 &GameServer::kDescriptorMethods, 5298 &descriptor_table_sdk_2eproto, 5299 nullptr, // tracker 5300 }; 5301 } 5302 5303 PROTOBUF_CONSTINIT AGONES_EXPORT 5304 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull 5305 GameServer_class_data_ = 5306 GameServer::InternalGenerateClassData_(); 5307 5308 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GameServer::GetClassData() const { 5309 ::google::protobuf::internal::PrefetchToLocalCache(&GameServer_class_data_); 5310 ::google::protobuf::internal::PrefetchToLocalCache(GameServer_class_data_.tc_table); 5311 return GameServer_class_data_.base(); 5312 } 5313 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 5314 const ::_pbi::TcParseTable<2, 3, 3, 0, 2> 5315 GameServer::_table_ = { 5316 { 5317 PROTOBUF_FIELD_OFFSET(GameServer, _impl_._has_bits_), 5318 0, // no _extensions_ 5319 3, 24, // max_field_number, fast_idx_mask 5320 offsetof(decltype(_table_), field_lookup_table), 5321 4294967288, // skipmap 5322 offsetof(decltype(_table_), field_entries), 5323 3, // num_field_entries 5324 3, // num_aux_entries 5325 offsetof(decltype(_table_), aux_entries), 5326 GameServer_class_data_.base(), 5327 nullptr, // post_loop_handler 5328 ::_pbi::TcParser::GenericFallback, // fallback 5329 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE 5330 ::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer>(), // to_prefetch 5331 #endif // PROTOBUF_PREFETCH_PARSE_TABLE 5332 }, {{ 5333 {::_pbi::TcParser::MiniParse, {}}, 5334 // .agones.dev.sdk.GameServer.ObjectMeta object_meta = 1; 5335 {::_pbi::TcParser::FastMtS1, 5336 {10, 0, 0, PROTOBUF_FIELD_OFFSET(GameServer, _impl_.object_meta_)}}, 5337 // .agones.dev.sdk.GameServer.Spec spec = 2; 5338 {::_pbi::TcParser::FastMtS1, 5339 {18, 1, 1, PROTOBUF_FIELD_OFFSET(GameServer, _impl_.spec_)}}, 5340 // .agones.dev.sdk.GameServer.Status status = 3; 5341 {::_pbi::TcParser::FastMtS1, 5342 {26, 2, 2, PROTOBUF_FIELD_OFFSET(GameServer, _impl_.status_)}}, 5343 }}, {{ 5344 65535, 65535 5345 }}, {{ 5346 // .agones.dev.sdk.GameServer.ObjectMeta object_meta = 1; 5347 {PROTOBUF_FIELD_OFFSET(GameServer, _impl_.object_meta_), _Internal::kHasBitsOffset + 0, 0, 5348 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 5349 // .agones.dev.sdk.GameServer.Spec spec = 2; 5350 {PROTOBUF_FIELD_OFFSET(GameServer, _impl_.spec_), _Internal::kHasBitsOffset + 1, 1, 5351 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 5352 // .agones.dev.sdk.GameServer.Status status = 3; 5353 {PROTOBUF_FIELD_OFFSET(GameServer, _impl_.status_), _Internal::kHasBitsOffset + 2, 2, 5354 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, 5355 }}, 5356 {{ 5357 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_ObjectMeta>()}, 5358 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Spec>()}, 5359 {::_pbi::TcParser::GetTable<::agones::dev::sdk::GameServer_Status>()}, 5360 }}, 5361 {{ 5362 }}, 5363 }; 5364 PROTOBUF_NOINLINE void GameServer::Clear() { 5365 // @@protoc_insertion_point(message_clear_start:agones.dev.sdk.GameServer) 5366 ::google::protobuf::internal::TSanWrite(&_impl_); 5367 ::uint32_t cached_has_bits = 0; 5368 // Prevent compiler warnings about cached_has_bits being unused 5369 (void) cached_has_bits; 5370 5371 cached_has_bits = _impl_._has_bits_[0]; 5372 if ((cached_has_bits & 0x00000007u) != 0) { 5373 if ((cached_has_bits & 0x00000001u) != 0) { 5374 ABSL_DCHECK(_impl_.object_meta_ != nullptr); 5375 _impl_.object_meta_->Clear(); 5376 } 5377 if ((cached_has_bits & 0x00000002u) != 0) { 5378 ABSL_DCHECK(_impl_.spec_ != nullptr); 5379 _impl_.spec_->Clear(); 5380 } 5381 if ((cached_has_bits & 0x00000004u) != 0) { 5382 ABSL_DCHECK(_impl_.status_ != nullptr); 5383 _impl_.status_->Clear(); 5384 } 5385 } 5386 _impl_._has_bits_.Clear(); 5387 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); 5388 } 5389 5390 #if defined(PROTOBUF_CUSTOM_VTABLE) 5391 ::uint8_t* PROTOBUF_NONNULL GameServer::_InternalSerialize( 5392 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, 5393 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { 5394 const GameServer& this_ = static_cast<const GameServer&>(base); 5395 #else // PROTOBUF_CUSTOM_VTABLE 5396 ::uint8_t* PROTOBUF_NONNULL GameServer::_InternalSerialize( 5397 ::uint8_t* PROTOBUF_NONNULL target, 5398 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { 5399 const GameServer& this_ = *this; 5400 #endif // PROTOBUF_CUSTOM_VTABLE 5401 // @@protoc_insertion_point(serialize_to_array_start:agones.dev.sdk.GameServer) 5402 ::uint32_t cached_has_bits = 0; 5403 (void)cached_has_bits; 5404 5405 cached_has_bits = this_._impl_._has_bits_[0]; 5406 // .agones.dev.sdk.GameServer.ObjectMeta object_meta = 1; 5407 if ((cached_has_bits & 0x00000001u) != 0) { 5408 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 5409 1, *this_._impl_.object_meta_, this_._impl_.object_meta_->GetCachedSize(), target, 5410 stream); 5411 } 5412 5413 // .agones.dev.sdk.GameServer.Spec spec = 2; 5414 if ((cached_has_bits & 0x00000002u) != 0) { 5415 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 5416 2, *this_._impl_.spec_, this_._impl_.spec_->GetCachedSize(), target, 5417 stream); 5418 } 5419 5420 // .agones.dev.sdk.GameServer.Status status = 3; 5421 if ((cached_has_bits & 0x00000004u) != 0) { 5422 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( 5423 3, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, 5424 stream); 5425 } 5426 5427 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { 5428 target = 5429 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( 5430 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); 5431 } 5432 // @@protoc_insertion_point(serialize_to_array_end:agones.dev.sdk.GameServer) 5433 return target; 5434 } 5435 5436 #if defined(PROTOBUF_CUSTOM_VTABLE) 5437 ::size_t GameServer::ByteSizeLong(const MessageLite& base) { 5438 const GameServer& this_ = static_cast<const GameServer&>(base); 5439 #else // PROTOBUF_CUSTOM_VTABLE 5440 ::size_t GameServer::ByteSizeLong() const { 5441 const GameServer& this_ = *this; 5442 #endif // PROTOBUF_CUSTOM_VTABLE 5443 // @@protoc_insertion_point(message_byte_size_start:agones.dev.sdk.GameServer) 5444 ::size_t total_size = 0; 5445 5446 ::uint32_t cached_has_bits = 0; 5447 // Prevent compiler warnings about cached_has_bits being unused 5448 (void)cached_has_bits; 5449 5450 ::_pbi::Prefetch5LinesFrom7Lines(&this_); 5451 cached_has_bits = this_._impl_._has_bits_[0]; 5452 if ((cached_has_bits & 0x00000007u) != 0) { 5453 // .agones.dev.sdk.GameServer.ObjectMeta object_meta = 1; 5454 if ((cached_has_bits & 0x00000001u) != 0) { 5455 total_size += 1 + 5456 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.object_meta_); 5457 } 5458 // .agones.dev.sdk.GameServer.Spec spec = 2; 5459 if ((cached_has_bits & 0x00000002u) != 0) { 5460 total_size += 1 + 5461 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.spec_); 5462 } 5463 // .agones.dev.sdk.GameServer.Status status = 3; 5464 if ((cached_has_bits & 0x00000004u) != 0) { 5465 total_size += 1 + 5466 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); 5467 } 5468 } 5469 return this_.MaybeComputeUnknownFieldsSize(total_size, 5470 &this_._impl_._cached_size_); 5471 } 5472 5473 void GameServer::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { 5474 auto* const _this = static_cast<GameServer*>(&to_msg); 5475 auto& from = static_cast<const GameServer&>(from_msg); 5476 ::google::protobuf::Arena* arena = _this->GetArena(); 5477 // @@protoc_insertion_point(class_specific_merge_from_start:agones.dev.sdk.GameServer) 5478 ABSL_DCHECK_NE(&from, _this); 5479 ::uint32_t cached_has_bits = 0; 5480 (void) cached_has_bits; 5481 5482 cached_has_bits = from._impl_._has_bits_[0]; 5483 if ((cached_has_bits & 0x00000007u) != 0) { 5484 if ((cached_has_bits & 0x00000001u) != 0) { 5485 ABSL_DCHECK(from._impl_.object_meta_ != nullptr); 5486 if (_this->_impl_.object_meta_ == nullptr) { 5487 _this->_impl_.object_meta_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.object_meta_); 5488 } else { 5489 _this->_impl_.object_meta_->MergeFrom(*from._impl_.object_meta_); 5490 } 5491 } 5492 if ((cached_has_bits & 0x00000002u) != 0) { 5493 ABSL_DCHECK(from._impl_.spec_ != nullptr); 5494 if (_this->_impl_.spec_ == nullptr) { 5495 _this->_impl_.spec_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.spec_); 5496 } else { 5497 _this->_impl_.spec_->MergeFrom(*from._impl_.spec_); 5498 } 5499 } 5500 if ((cached_has_bits & 0x00000004u) != 0) { 5501 ABSL_DCHECK(from._impl_.status_ != nullptr); 5502 if (_this->_impl_.status_ == nullptr) { 5503 _this->_impl_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_); 5504 } else { 5505 _this->_impl_.status_->MergeFrom(*from._impl_.status_); 5506 } 5507 } 5508 } 5509 _this->_impl_._has_bits_[0] |= cached_has_bits; 5510 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); 5511 } 5512 5513 void GameServer::CopyFrom(const GameServer& from) { 5514 // @@protoc_insertion_point(class_specific_copy_from_start:agones.dev.sdk.GameServer) 5515 if (&from == this) return; 5516 Clear(); 5517 MergeFrom(from); 5518 } 5519 5520 5521 void GameServer::InternalSwap(GameServer* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { 5522 using std::swap; 5523 _internal_metadata_.InternalSwap(&other->_internal_metadata_); 5524 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); 5525 ::google::protobuf::internal::memswap< 5526 PROTOBUF_FIELD_OFFSET(GameServer, _impl_.status_) 5527 + sizeof(GameServer::_impl_.status_) 5528 - PROTOBUF_FIELD_OFFSET(GameServer, _impl_.object_meta_)>( 5529 reinterpret_cast<char*>(&_impl_.object_meta_), 5530 reinterpret_cast<char*>(&other->_impl_.object_meta_)); 5531 } 5532 5533 ::google::protobuf::Metadata GameServer::GetMetadata() const { 5534 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); 5535 } 5536 // @@protoc_insertion_point(namespace_scope) 5537 } // namespace sdk 5538 } // namespace dev 5539 } // namespace agones 5540 namespace google { 5541 namespace protobuf { 5542 } // namespace protobuf 5543 } // namespace google 5544 // @@protoc_insertion_point(global_scope) 5545 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type 5546 _static_init2_ [[maybe_unused]] = 5547 (::_pbi::AddDescriptors(&descriptor_table_sdk_2eproto), 5548 ::std::false_type{}); 5549 #include "google/protobuf/port_undef.inc"