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