From 27ebd182e7f1275d22239cfb3c4f210dcd6320ce Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 24 Jan 2026 08:37:47 +0000 Subject: [PATCH 01/41] Flatbuffers to Protobuf (#18082) Migrate from Flatbuffers to Protobuf to make some lawyers happy. Fixes https://github.com/RPCS3/rpcs3/issues/17894 --- .ci/build-mac.sh | 2 +- .gitmodules | 8 +- 3rdparty/CMakeLists.txt | 16 +- 3rdparty/flatbuffers | 1 - 3rdparty/protobuf/CMakeLists.txt | 27 + 3rdparty/protobuf/protobuf | 1 + 3rdparty/protobuf/protobuf_build.vcxproj | 111 + CMakeLists.txt | 2 +- buildfiles/msvc/rpcs3_default.props | 91 + rpcs3.sln | 8 + rpcs3/Emu/CMakeLists.txt | 5 +- rpcs3/Emu/NP/fb_helpers.cpp | 650 - rpcs3/Emu/NP/fb_helpers.h | 34 - rpcs3/Emu/NP/generated/np2_structs.fbs | 584 - rpcs3/Emu/NP/generated/np2_structs.pb.cc | 35690 +++++++++++++++ rpcs3/Emu/NP/generated/np2_structs.pb.h | 38096 ++++++++++++++++ rpcs3/Emu/NP/generated/np2_structs.proto | 687 + .../Emu/NP/generated/np2_structs_generated.h | 7429 --- rpcs3/Emu/NP/ip_address.cpp | 16 +- rpcs3/Emu/NP/ip_address.h | 5 +- rpcs3/Emu/NP/np_notifications.cpp | 51 +- rpcs3/Emu/NP/np_requests.cpp | 255 +- rpcs3/Emu/NP/np_requests_gui.cpp | 36 +- rpcs3/Emu/NP/pb_helpers.cpp | 635 + rpcs3/Emu/NP/pb_helpers.h | 35 + rpcs3/Emu/NP/rpcn_client.cpp | 1052 +- rpcs3/Emu/NP/rpcn_client.h | 20 +- rpcs3/emucore.vcxproj | 11 +- rpcs3/emucore.vcxproj.filters | 9 +- rpcs3/rpcs3.vcxproj | 140 +- rpcs3/tests/rpcs3_test.vcxproj | 2 +- 31 files changed, 76209 insertions(+), 9500 deletions(-) delete mode 160000 3rdparty/flatbuffers create mode 100644 3rdparty/protobuf/CMakeLists.txt create mode 160000 3rdparty/protobuf/protobuf create mode 100644 3rdparty/protobuf/protobuf_build.vcxproj delete mode 100644 rpcs3/Emu/NP/fb_helpers.cpp delete mode 100644 rpcs3/Emu/NP/fb_helpers.h delete mode 100644 rpcs3/Emu/NP/generated/np2_structs.fbs create mode 100644 rpcs3/Emu/NP/generated/np2_structs.pb.cc create mode 100644 rpcs3/Emu/NP/generated/np2_structs.pb.h create mode 100644 rpcs3/Emu/NP/generated/np2_structs.proto delete mode 100644 rpcs3/Emu/NP/generated/np2_structs_generated.h create mode 100644 rpcs3/Emu/NP/pb_helpers.cpp create mode 100644 rpcs3/Emu/NP/pb_helpers.h diff --git a/.ci/build-mac.sh b/.ci/build-mac.sh index 7c62fdc631..9eb27681b7 100755 --- a/.ci/build-mac.sh +++ b/.ci/build-mac.sh @@ -8,7 +8,7 @@ brew install -f --overwrite --quiet ccache "llvm@$LLVM_COMPILER_VER" brew link -f --overwrite --quiet "llvm@$LLVM_COMPILER_VER" if [ "$AARCH64" -eq 1 ]; then brew install -f --overwrite --quiet googletest opencv@4 sdl3 vulkan-headers vulkan-loader molten-vk - brew unlink --quiet ffmpeg fmt qtbase qtsvg qtdeclarative + brew unlink --quiet ffmpeg fmt qtbase qtsvg qtdeclarative protobuf else arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" arch -x86_64 /usr/local/bin/brew install -f --overwrite --quiet python@3.14 opencv@4 "llvm@$LLVM_COMPILER_VER" sdl3 vulkan-headers vulkan-loader molten-vk diff --git a/.gitmodules b/.gitmodules index 77fae5cf55..4c1c0f0f12 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,10 +52,6 @@ path = 3rdparty/wolfssl/wolfssl url = ../../wolfSSL/wolfssl.git ignore = dirty -[submodule "3rdparty/flatbuffers"] - path = 3rdparty/flatbuffers - url = ../../google/flatbuffers.git - ignore = dirty [submodule "3rdparty/cubeb/cubeb"] path = 3rdparty/cubeb/cubeb url = ../../mozilla/cubeb.git @@ -112,3 +108,7 @@ path = 3rdparty/feralinteractive/feralinteractive url = ../../FeralInteractive/gamemode.git ignore = dirty +[submodule "3rdparty/protobuf/protobuf"] + path = 3rdparty/protobuf/protobuf + url = ../../protocolbuffers/protobuf.git + ignore = dirty diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 3b2dc05f1f..b25afb8834 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -25,18 +25,8 @@ add_subdirectory(zstd EXCLUDE_FROM_ALL) # 7zip sdk add_subdirectory(7zip EXCLUDE_FROM_ALL) -add_library(3rdparty_flatbuffers INTERFACE) -if (USE_SYSTEM_FLATBUFFERS) - pkg_check_modules(FLATBUFFERS REQUIRED IMPORTED_TARGET flatbuffers>=2.0.0) - target_link_libraries(3rdparty_flatbuffers INTERFACE PkgConfig::FLATBUFFERS) - set(FBS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../rpcs3/Emu/NP/generated/") - execute_process(COMMAND flatc --cpp -o "${FBS_DIR}" "${FBS_DIR}/np2_structs.fbs" RESULT_VARIABLE FBS_CMD_ERROR) - if(FBS_CMD_ERROR AND NOT FBS_CMD_ERROR EQUAL 0) - message(FATAL_ERROR "flatc failed to regenerate flatbuffers headers.") - endif() -else() - target_include_directories(3rdparty_flatbuffers SYSTEM INTERFACE flatbuffers/include) -endif() +# Protobuf +add_subdirectory(protobuf EXCLUDE_FROM_ALL) # libPNG add_subdirectory(libpng EXCLUDE_FROM_ALL) @@ -372,7 +362,7 @@ endif() add_library(3rdparty::zlib ALIAS 3rdparty_zlib) add_library(3rdparty::zstd ALIAS 3rdparty_zstd) add_library(3rdparty::7zip ALIAS 3rdparty_7zip) -add_library(3rdparty::flatbuffers ALIAS 3rdparty_flatbuffers) +add_library(3rdparty::protobuf ALIAS 3rdparty_protobuf) add_library(3rdparty::pugixml ALIAS pugixml) add_library(3rdparty::glslang ALIAS 3rdparty_glslang) add_library(3rdparty::yaml-cpp ALIAS yaml-cpp) diff --git a/3rdparty/flatbuffers b/3rdparty/flatbuffers deleted file mode 160000 index 1872409707..0000000000 --- a/3rdparty/flatbuffers +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 187240970746d00bbd26b0f5873ed54d2477f9f3 diff --git a/3rdparty/protobuf/CMakeLists.txt b/3rdparty/protobuf/CMakeLists.txt new file mode 100644 index 0000000000..274e6110af --- /dev/null +++ b/3rdparty/protobuf/CMakeLists.txt @@ -0,0 +1,27 @@ +add_library(3rdparty_protobuf INTERFACE) +if (USE_SYSTEM_PROTOBUF) + pkg_check_modules(PROTOBUF REQUIRED IMPORTED_TARGET protobuf>=33.0.0) + target_link_libraries(3rdparty_protobuf INTERFACE PkgConfig::PROTOBUF) + set(PROTOBUF_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../rpcs3/Emu/NP/generated/") + execute_process(COMMAND protoc --cpp_out="${PROTOBUF_DIR}" --proto_path="${PROTOBUF_DIR}" np2_structs.proto RESULT_VARIABLE PROTOBUF_CMD_ERROR) + if(PROTOBUF_CMD_ERROR AND NOT PROTOBUF_CMD_ERROR EQUAL 0) + message(FATAL_ERROR "protoc failed to regenerate protobuf files.") + endif() +else() + option(protobuf_INSTALL "Install protobuf binaries and files" OFF) + option(protobuf_BUILD_TESTS "Build tests" OFF) + option(protobuf_BUILD_CONFORMANCE "Build conformance tests" OFF) + option(protobuf_BUILD_EXAMPLES "Build examples" OFF) + option(protobuf_BUILD_PROTOBUF_BINARIES "Build protobuf libraries and protoc compiler" ON) + option(protobuf_BUILD_PROTOC_BINARIES "Build libprotoc and protoc compiler" OFF) + option(protobuf_BUILD_LIBPROTOC "Build libprotoc" OFF) + option(protobuf_BUILD_LIBUPB "Build libupb" OFF) + option(protobuf_ALLOW_CCACHE "Adjust build flags to allow for ccache support." ON) + option(protobuf_DISABLE_RTTI "Remove runtime type information in the binaries" OFF) + option(protobuf_FORCE_FETCH_DEPENDENCIES "Force all dependencies to be downloaded from GitHub. Local installations will be ignored." OFF) + option(protobuf_LOCAL_DEPENDENCIES_ONLY "Prevent downloading any dependencies from GitHub. If this option is set, the dependency must be available locally as an installed package." OFF) + + add_subdirectory(protobuf EXCLUDE_FROM_ALL) + target_include_directories(3rdparty_protobuf SYSTEM INTERFACE protobuf/src) + target_link_libraries(3rdparty_protobuf INTERFACE libprotobuf) +endif() diff --git a/3rdparty/protobuf/protobuf b/3rdparty/protobuf/protobuf new file mode 160000 index 0000000000..edaa823d8b --- /dev/null +++ b/3rdparty/protobuf/protobuf @@ -0,0 +1 @@ +Subproject commit edaa823d8b36a8656d7b2b9241b7d0bfe50af878 diff --git a/3rdparty/protobuf/protobuf_build.vcxproj b/3rdparty/protobuf/protobuf_build.vcxproj new file mode 100644 index 0000000000..83c02058d1 --- /dev/null +++ b/3rdparty/protobuf/protobuf_build.vcxproj @@ -0,0 +1,111 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D} + MakeFileProj + + + + + + Makefile + true + + + Makefile + false + + + + x64 + + + + + + + + + + + call vsdevcmd.bat -arch=amd64 + if not exist "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" mkdir "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" + cd "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" + cmake -G Ninja -DCMAKE_CXX_COMPILER="cl.exe" -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=$(WindowsTargetPlatformVersion) -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -Dprotobuf_INSTALL=ON -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_BUILD_PROTOBUF_BINARIES=ON -Dprotobuf_BUILD_PROTOC_BINARIES=OFF -Dprotobuf_BUILD_LIBPROTOC=OFF -Dprotobuf_BUILD_LIBUPB=OFF -Dprotobuf_ALLOW_CCACHE=ON -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=ON "$(SolutionDir)3rdparty\protobuf\protobuf" + + call vsdevcmd.bat -arch=amd64 + if not exist "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" mkdir "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" + cd "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" + cmake -G Ninja -DCMAKE_CXX_COMPILER="cl.exe" -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX="$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build" -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=$(WindowsTargetPlatformVersion) -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL -Dprotobuf_INSTALL=ON -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_CONFORMANCE=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_BUILD_PROTOBUF_BINARIES=ON -Dprotobuf_BUILD_PROTOC_BINARIES=OFF -Dprotobuf_BUILD_LIBPROTOC=OFF -Dprotobuf_BUILD_LIBUPB=OFF -Dprotobuf_ALLOW_CCACHE=ON -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON -Dprotobuf_WITH_ZLIB=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF "$(SolutionDir)3rdparty\protobuf\protobuf" + + + echo Cleaning.. + rmdir /s /q "$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build" + cd "$(SolutionDir)build\tmp\protobuf_build-$(Configuration)-$(Platform)" + for /F "delims= eol=|" %%f in (' + dir /b ^| findstr /V "[^.]*\build[^.]*\.vcxproj"') do ( + echo Deleting .\%%f + if exist %%f\nul ( + rmdir .\%%f /s /q + ) else ( + del .\%%f /q + ) + ) + + + + + + $(SolutionDir)build\lib\$(Configuration)-$(Platform)\ + $(SolutionDir)build\tmp\$(ProjectName)-$(Configuration)-$(Platform)\ + + $(CmakeDebugCLI) + ninja + ninja install + + + $(CmakeCleanCLI) + $(CmakeDebugCLI) + ninja + ninja install + + + $(CmakeCleanCLI) + + + + + + $(SolutionDir)build\lib\$(Configuration)-$(Platform)\ + $(SolutionDir)build\tmp\$(ProjectName)-$(Configuration)-$(Platform)\ + + $(CmakeReleaseCLI) + ninja + ninja install + + + $(CmakeCleanCLI) + $(CmakeReleaseCLI) + ninja + ninja install + + + $(CmakeCleanCLI) + + + + + + + + diff --git a/CMakeLists.txt b/CMakeLists.txt index f459351379..65e415bdb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ option(USE_SYSTEM_CUBEB "Prefer system cubeb instead of the builtin one" OFF) option(USE_SYSTEM_CURL "Prefer system Curl instead of the prebuild one" ON) option(USE_SYSTEM_FAUDIO "Prefer system FAudio instead of the builtin one" OFF) option(USE_SYSTEM_FFMPEG "Prefer system ffmpeg instead of the prebuild one" OFF) -option(USE_SYSTEM_FLATBUFFERS "Prefer system flatbuffers instead of the builtin one" OFF) +option(USE_SYSTEM_PROTOBUF "Prefer system protobuf instead of the builtin one" OFF) option(USE_SYSTEM_GLSLANG "Prefer system glslang instead of the builtin one" OFF) option(USE_SYSTEM_HIDAPI "Prefer system hidapi instead of the builtin one" OFF) option(USE_SYSTEM_LIBPNG "Prefer system libpng instead of the builtin one" OFF) diff --git a/buildfiles/msvc/rpcs3_default.props b/buildfiles/msvc/rpcs3_default.props index 3cd3d25a94..b612560a8e 100644 --- a/buildfiles/msvc/rpcs3_default.props +++ b/buildfiles/msvc/rpcs3_default.props @@ -131,6 +131,97 @@ LLVMX86Info.lib; LLVMX86TargetMCA.lib; LLVMXRay.lib; + absl_log_severity.lib; + absl_raw_logging_internal.lib; + absl_spinlock_wait.lib; + absl_malloc_internal.lib; + absl_base.lib; + absl_throw_delegate.lib; + absl_scoped_set_env.lib; + absl_strerror.lib; + absl_poison.lib; + absl_tracing_internal.lib; + absl_hashtablez_sampler.lib; + absl_raw_hash_set.lib; + absl_crc_cpu_detect.lib; + absl_crc_internal.lib; + absl_crc32c.lib; + absl_crc_cord_state.lib; + absl_stacktrace.lib; + absl_symbolize.lib; + absl_examine_stack.lib; + absl_failure_signal_handler.lib; + absl_debugging_internal.lib; + absl_demangle_internal.lib; + absl_decode_rust_punycode.lib; + absl_demangle_rust.lib; + absl_utf8_for_code_point.lib; + absl_leak_check.lib; + absl_flags_program_name.lib; + absl_flags_config.lib; + absl_flags_marshalling.lib; + absl_flags_commandlineflag_internal.lib; + absl_flags_commandlineflag.lib; + absl_flags_private_handle_accessor.lib; + absl_flags_reflection.lib; + absl_flags_internal.lib; + absl_flags_usage_internal.lib; + absl_flags_usage.lib; + absl_flags_parse.lib; + absl_hash.lib; + absl_city.lib; + absl_low_level_hash.lib; + absl_log_internal_check_op.lib; + absl_log_internal_conditions.lib; + absl_log_internal_format.lib; + absl_log_internal_globals.lib; + absl_log_internal_proto.lib; + absl_log_internal_message.lib; + absl_log_internal_log_sink_set.lib; + absl_log_internal_nullguard.lib; + absl_die_if_null.lib; + absl_log_flags.lib; + absl_log_globals.lib; + absl_log_initialize.lib; + absl_log_sink.lib; + absl_log_internal_structured_proto.lib; + absl_vlog_config_internal.lib; + absl_log_internal_fnmatch.lib; + absl_int128.lib; + absl_exponential_biased.lib; + absl_periodic_sampler.lib; + absl_random_distributions.lib; + absl_random_seed_gen_exception.lib; + absl_random_seed_sequences.lib; + absl_random_internal_seed_material.lib; + absl_random_internal_entropy_pool.lib; + absl_random_internal_platform.lib; + absl_random_internal_randen.lib; + absl_random_internal_randen_slow.lib; + absl_random_internal_randen_hwaes.lib; + absl_random_internal_randen_hwaes_impl.lib; + absl_random_internal_distribution_test_util.lib; + absl_status.lib; + absl_statusor.lib; + absl_string_view.lib; + absl_strings.lib; + absl_strings_internal.lib; + absl_str_format_internal.lib; + absl_cord_internal.lib; + absl_cordz_functions.lib; + absl_cordz_handle.lib; + absl_cordz_info.lib; + absl_cordz_sample_token.lib; + absl_cord.lib; + absl_graphcycles_internal.lib; + absl_kernel_timeout_internal.lib; + absl_synchronization.lib; + absl_time.lib; + absl_civil_time.lib; + absl_time_zone.lib; + libutf8_validity.lib; + libutf8_range.lib; + libprotobuf-lite.lib; $(SolutionDir)3rdparty\ffmpeg\lib\windows\x86_64 8388608 diff --git a/rpcs3.sln b/rpcs3.sln index acc5528038..4cb0830474 100644 --- a/rpcs3.sln +++ b/rpcs3.sln @@ -9,11 +9,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "emucore", "rpcs3\emucore.vc {2C902C67-985C-4BE0-94A3-E0FE2EB929A3} = {2C902C67-985C-4BE0-94A3-E0FE2EB929A3} {3C67A2FF-4710-402A-BE3E-31B0CB0576DF} = {3C67A2FF-4710-402A-BE3E-31B0CB0576DF} {5228F863-E0DD-4DE7-AA7B-5C52B14CD4D0} = {5228F863-E0DD-4DE7-AA7B-5C52B14CD4D0} + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D} = {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D} {8846A9AA-5539-4C91-8301-F54260E1A07A} = {8846A9AA-5539-4C91-8301-F54260E1A07A} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "llvm_build", "3rdparty\llvm\llvm_build.vcxproj", "{8BC303AB-25BE-4276-8E57-73F171B2D672}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "protobuf_build", "3rdparty\protobuf\protobuf_build.vcxproj", "{7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}" +EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GLGSRender", "rpcs3\GLGSRender.vcxproj", "{3384223A-6D97-4799-9862-359F85312892}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "rpcs3.emu", "rpcs3.emu", "{10FBF193-D532-4CCF-B875-4C7091A7F6C2}" @@ -130,6 +133,10 @@ Global {C4A10229-4712-4BD2-B63E-50D93C67A038}.Release|x64.Build.0 = Release|x64 {8BC303AB-25BE-4276-8E57-73F171B2D672}.Debug|x64.ActiveCfg = Debug|x64 {8BC303AB-25BE-4276-8E57-73F171B2D672}.Release|x64.ActiveCfg = Release|x64 + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Debug|x64.ActiveCfg = Debug|x64 + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Debug|x64.Build.0 = Debug|x64 + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Release|x64.ActiveCfg = Release|x64 + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D}.Release|x64.Build.0 = Release|x64 {3384223A-6D97-4799-9862-359F85312892}.Debug|x64.ActiveCfg = Debug|x64 {3384223A-6D97-4799-9862-359F85312892}.Debug|x64.Build.0 = Debug|x64 {3384223A-6D97-4799-9862-359F85312892}.Release|x64.ActiveCfg = Release|x64 @@ -240,6 +247,7 @@ Global {AC40FF01-426E-4838-A317-66354CEFAE88} = {6C3B64A0-8F8A-4DC4-8C0B-D71EBEED7FA8} {C4A10229-4712-4BD2-B63E-50D93C67A038} = {10FBF193-D532-4CCF-B875-4C7091A7F6C2} {8BC303AB-25BE-4276-8E57-73F171B2D672} = {B0AC29FD-7B01-4B5E-9C8D-0A081E4C5668} + {7B3B4C5D-6E7F-8A9B-0C1D-2E3F4A5B6C7D} = {6C3B64A0-8F8A-4DC4-8C0B-D71EBEED7FA8} {3384223A-6D97-4799-9862-359F85312892} = {10FBF193-D532-4CCF-B875-4C7091A7F6C2} {78CB2F39-B809-4A06-8329-8C0A19119D3D} = {10FBF193-D532-4CCF-B875-4C7091A7F6C2} {EB33566E-DA7F-4D28-9077-88C0B7C77E35} = {6C3B64A0-8F8A-4DC4-8C0B-D71EBEED7FA8} diff --git a/rpcs3/Emu/CMakeLists.txt b/rpcs3/Emu/CMakeLists.txt index a4e1ae5d64..edb98a6fa8 100644 --- a/rpcs3/Emu/CMakeLists.txt +++ b/rpcs3/Emu/CMakeLists.txt @@ -432,7 +432,7 @@ target_sources(rpcs3_emu PRIVATE # Np target_sources(rpcs3_emu PRIVATE - NP/fb_helpers.cpp + NP/pb_helpers.cpp NP/np_cache.cpp NP/np_gui_cache.cpp NP/np_contexts.cpp @@ -452,6 +452,7 @@ target_sources(rpcs3_emu PRIVATE NP/upnp_config.cpp NP/upnp_handler.cpp NP/ip_address.cpp + NP/generated/np2_structs.pb.cc ) # Memory @@ -657,7 +658,7 @@ target_link_libraries(rpcs3_emu 3rdparty::soundtouch 3rdparty::miniupnpc 3rdparty::libevdev - 3rdparty::flatbuffers + 3rdparty::protobuf 3rdparty::pugixml 3rdparty::vulkanmemoryallocator Threads::Threads diff --git a/rpcs3/Emu/NP/fb_helpers.cpp b/rpcs3/Emu/NP/fb_helpers.cpp deleted file mode 100644 index 100c3e864c..0000000000 --- a/rpcs3/Emu/NP/fb_helpers.cpp +++ /dev/null @@ -1,650 +0,0 @@ -#include "stdafx.h" -#include "Emu/Cell/lv2/sys_process.h" -#include "fb_helpers.h" - -LOG_CHANNEL(rpcn_log, "rpcn"); - -namespace np -{ - void BinAttr_to_SceNpMatching2BinAttr(event_data& edata, const BinAttr* bin_attr, SceNpMatching2BinAttr* binattr_info) - { - binattr_info->id = bin_attr->id(); - binattr_info->size = bin_attr->data()->size(); - auto* ptr = edata.allocate(binattr_info->size, binattr_info->ptr); - for (flatbuffers::uoffset_t i = 0; i < bin_attr->data()->size(); i++) - { - ptr[i] = bin_attr->data()->Get(i); - } - } - - void BinAttrs_to_SceNpMatching2BinAttrs(event_data& edata, const flatbuffers::Vector>* fb_attr, SceNpMatching2BinAttr* binattr_info) - { - for (flatbuffers::uoffset_t i = 0; i < fb_attr->size(); i++) - { - auto cur_fb_attr = fb_attr->Get(i); - auto cur_binattr = binattr_info + i; - - BinAttr_to_SceNpMatching2BinAttr(edata, cur_fb_attr, cur_binattr); - } - } - - void RoomMemberBinAttrInternal_to_SceNpMatching2RoomMemberBinAttrInternal(event_data& edata, const RoomMemberBinAttrInternal* fb_attr, SceNpMatching2RoomMemberBinAttrInternal* binattr_info) - { - binattr_info->updateDate.tick = fb_attr->updateDate(); - BinAttr_to_SceNpMatching2BinAttr(edata, fb_attr->data(), &binattr_info->data); - } - - void RoomBinAttrInternal_to_SceNpMatching2RoomBinAttrInternal(event_data& edata, const BinAttrInternal* fb_attr, SceNpMatching2RoomBinAttrInternal* binattr_info) - { - binattr_info->updateDate.tick = fb_attr->updateDate(); - binattr_info->updateMemberId = fb_attr->updateMemberId(); - BinAttr_to_SceNpMatching2BinAttr(edata, fb_attr->data(), &binattr_info->data); - } - - void RoomGroup_to_SceNpMatching2RoomGroup(const RoomGroup* fb_group, SceNpMatching2RoomGroup* sce_group) - { - sce_group->groupId = fb_group->groupId(); - sce_group->withPassword = fb_group->withPassword(); - sce_group->withLabel = fb_group->label() ? 1 : 0; - if (fb_group->label()) - { - for (flatbuffers::uoffset_t l_index = 0; l_index < fb_group->label()->size(); l_index++) - { - sce_group->label.data[l_index] = fb_group->label()->Get(l_index); - } - } - sce_group->slotNum = fb_group->slotNum(); - sce_group->curGroupMemberNum = fb_group->curGroupMemberNum(); - } - - void RoomGroups_to_SceNpMatching2RoomGroups(const flatbuffers::Vector>* fb_groups, SceNpMatching2RoomGroup* sce_groups) - { - for (flatbuffers::uoffset_t i = 0; i < fb_groups->size(); i++) - { - const auto* fb_group = fb_groups->Get(i); - SceNpMatching2RoomGroup* sce_group = &sce_groups[i]; - RoomGroup_to_SceNpMatching2RoomGroup(fb_group, sce_group); - } - } - - void UserInfo_to_SceNpUserInfo(const UserInfo* user, SceNpUserInfo* user_info) - { - if (const auto npid = user->npId(); npid) - { - std::memcpy(user_info->userId.handle.data, npid->c_str(), std::min(16, npid->size())); - } - - if (const auto online_name = user->onlineName(); online_name) - { - std::memcpy(user_info->name.data, online_name->c_str(), std::min(48, online_name->size())); - } - - if (const auto avatar_url = user->avatarUrl(); avatar_url) - { - std::memcpy(user_info->icon.data, avatar_url->c_str(), std::min(127, avatar_url->size())); - } - } - - void UserInfo_to_SceNpUserInfo2(event_data& edata, const UserInfo* user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl) - { - if (user->npId()) - std::memcpy(user_info->npId.handle.data, user->npId()->c_str(), std::min(16, user->npId()->size())); - - if (include_onlinename && user->onlineName()) - { - auto* ptr = edata.allocate(sizeof(SceNpOnlineName), user_info->onlineName); - std::memcpy(ptr->data, user->onlineName()->c_str(), std::min(48, user->onlineName()->size())); - } - if (include_avatarurl && user->avatarUrl()) - { - auto* ptr = edata.allocate(sizeof(SceNpAvatarUrl), user_info->avatarUrl); - std::memcpy(ptr->data, user->avatarUrl()->c_str(), std::min(127, user->avatarUrl()->size())); - } - } - - void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const RoomDataExternal* room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl) - { - room_info->serverId = room->serverId(); - room_info->worldId = room->worldId(); - room_info->lobbyId = room->lobbyId(); - room_info->roomId = room->roomId(); - room_info->maxSlot = room->maxSlot(); - room_info->curMemberNum = room->curMemberNum(); - room_info->passwordSlotMask = room->passwordSlotMask(); - - s32 sdk_ver; - process_get_sdk_version(process_getpid(), sdk_ver); - - // Structure changed in sdk 3.3.0 - if (sdk_ver >= 0x330000) - { - room_info->publicSlotNum = room->publicSlotNum(); - room_info->privateSlotNum = room->privateSlotNum(); - room_info->openPublicSlotNum = room->openPublicSlotNum(); - room_info->openPrivateSlotNum = room->openPrivateSlotNum(); - } - else - { - room_info->publicSlotNum = 0; - room_info->privateSlotNum = 0; - room_info->openPublicSlotNum = 0; - room_info->openPrivateSlotNum = 0; - } - - if (auto owner = room->owner()) - { - auto* ptr_owner = edata.allocate(sizeof(SceNpUserInfo2), room_info->owner); - UserInfo_to_SceNpUserInfo2(edata, owner, ptr_owner, include_onlinename, include_avatarurl); - } - - if (room->roomGroup() && room->roomGroup()->size() != 0) - { - room_info->roomGroupNum = room->roomGroup()->size(); - auto* ptr_groups = edata.allocate(sizeof(SceNpMatching2RoomGroup) * room_info->roomGroupNum, room_info->roomGroup); - RoomGroups_to_SceNpMatching2RoomGroups(room->roomGroup(), ptr_groups); - } - - room_info->flagAttr = room->flagAttr(); - - if (room->roomSearchableIntAttrExternal() && room->roomSearchableIntAttrExternal()->size() != 0) - { - room_info->roomSearchableIntAttrExternalNum = room->roomSearchableIntAttrExternal()->size(); - auto* ptr_int_attr = edata.allocate(sizeof(SceNpMatching2IntAttr) * room_info->roomSearchableIntAttrExternalNum, room_info->roomSearchableIntAttrExternal); - for (flatbuffers::uoffset_t a_index = 0; a_index < room->roomSearchableIntAttrExternal()->size(); a_index++) - { - auto fb_int_attr = room->roomSearchableIntAttrExternal()->Get(a_index); - ptr_int_attr[a_index].id = fb_int_attr->id(); - ptr_int_attr[a_index].num = fb_int_attr->num(); - } - } - - if (room->roomSearchableBinAttrExternal() && room->roomSearchableBinAttrExternal()->size() != 0) - { - room_info->roomSearchableBinAttrExternalNum = room->roomSearchableBinAttrExternal()->size(); - auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2BinAttr) * room_info->roomSearchableBinAttrExternalNum, room_info->roomSearchableBinAttrExternal); - BinAttrs_to_SceNpMatching2BinAttrs(edata, room->roomSearchableBinAttrExternal(), ptr_bin_attr); - } - - if (room->roomBinAttrExternal() && room->roomBinAttrExternal()->size() != 0) - { - room_info->roomBinAttrExternalNum = room->roomBinAttrExternal()->size(); - auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2BinAttr) * room_info->roomBinAttrExternalNum, room_info->roomBinAttrExternal); - BinAttrs_to_SceNpMatching2BinAttrs(edata, room->roomBinAttrExternal(), ptr_bin_attr); - } - } - - void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const SearchRoomResponse* resp, SceNpMatching2SearchRoomResponse* search_resp) - { - search_resp->range.size = resp->rooms() ? resp->rooms()->size() : 0; - search_resp->range.startIndex = resp->startIndex(); - search_resp->range.total = resp->total(); - - SceNpMatching2RoomDataExternal* prev_room = nullptr; - for (flatbuffers::uoffset_t i = 0; i < search_resp->range.size; i++) - { - auto* fb_room = resp->rooms()->Get(i); - SceNpMatching2RoomDataExternal* cur_room; - cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : search_resp->roomDataExternal); - RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, fb_room, cur_room, true, true); - prev_room = cur_room; - } - } - - void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const GetRoomDataExternalListResponse* resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl) - { - get_resp->roomDataExternalNum = resp->rooms() ? resp->rooms()->size() : 0; - - SceNpMatching2RoomDataExternal* prev_room = nullptr; - for (flatbuffers::uoffset_t i = 0; i < get_resp->roomDataExternalNum; i++) - { - auto* fb_room = resp->rooms()->Get(i); - SceNpMatching2RoomDataExternal* cur_room; - - cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : get_resp->roomDataExternal); - - RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, fb_room, cur_room, include_onlinename, include_avatarurl); - prev_room = cur_room; - } - } - - u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const RoomDataInternal* resp, SceNpMatching2RoomDataInternal* room_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl) - { - u16 member_id = 0; - room_info->serverId = resp->serverId(); - room_info->worldId = resp->worldId(); - room_info->lobbyId = resp->lobbyId(); - room_info->roomId = resp->roomId(); - room_info->passwordSlotMask = resp->passwordSlotMask(); - room_info->maxSlot = resp->maxSlot(); - - if (resp->roomGroup() && resp->roomGroup()->size() != 0) - { - room_info->roomGroupNum = resp->roomGroup()->size(); - auto* ptr_groups = edata.allocate(sizeof(SceNpMatching2RoomGroup) * room_info->roomGroupNum, room_info->roomGroup); - RoomGroups_to_SceNpMatching2RoomGroups(resp->roomGroup(), ptr_groups); - } - - room_info->memberList.membersNum = static_cast(resp->memberList()->size()); - edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal) * room_info->memberList.membersNum, room_info->memberList.members); - - for (flatbuffers::uoffset_t i = 0; i < resp->memberList()->size(); i++) - { - auto fb_member = resp->memberList()->Get(i); - SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i]; - - if (i < (resp->memberList()->size() - 1)) - { - sce_member->next = room_info->memberList.members + i + 1; - edata.add_relocation(sce_member->next); - } - - RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, fb_member, room_info, sce_member, include_onlinename, include_avatarurl); - } - - for (u32 i = 0; i < room_info->memberList.membersNum; i++) - { - SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i]; - if (strcmp(sce_member->userInfo.npId.handle.data, npid.handle.data) == 0) - { - room_info->memberList.me = room_info->memberList.members + i; - edata.add_relocation(room_info->memberList.me); - member_id = sce_member->memberId; - break; - } - } - - for (u32 i = 0; i < room_info->memberList.membersNum; i++) - { - SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i]; - if (sce_member->memberId == resp->ownerId()) - { - room_info->memberList.owner = room_info->memberList.members + i; - edata.add_relocation(room_info->memberList.owner); - break; - } - } - - room_info->flagAttr = resp->flagAttr(); - - if (resp->roomBinAttrInternal() && resp->roomBinAttrInternal()->size() != 0) - { - room_info->roomBinAttrInternalNum = resp->roomBinAttrInternal()->size(); - auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2RoomBinAttrInternal) * room_info->roomBinAttrInternalNum, room_info->roomBinAttrInternal); - - for (u32 b_index = 0; b_index < room_info->roomBinAttrInternalNum; b_index++) - { - auto fb_bin_attr = resp->roomBinAttrInternal()->Get(b_index); - ptr_bin_attr[b_index].updateDate.tick = fb_bin_attr->updateDate(); - ptr_bin_attr[b_index].updateMemberId = fb_bin_attr->updateMemberId(); - - ptr_bin_attr[b_index].data.id = fb_bin_attr->data()->id(); - ptr_bin_attr[b_index].data.size = fb_bin_attr->data()->data()->size(); - auto* ptr_bin_attr_data = edata.allocate(ptr_bin_attr[b_index].data.size, ptr_bin_attr[b_index].data.ptr); - for (flatbuffers::uoffset_t tmp_index = 0; tmp_index < ptr_bin_attr[b_index].data.size; tmp_index++) - { - ptr_bin_attr_data[tmp_index] = fb_bin_attr->data()->data()->Get(tmp_index); - } - } - } - - return member_id; - } - - void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const RoomMemberDataInternal* member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl) - { - UserInfo_to_SceNpUserInfo2(edata, member_data->userInfo(), &sce_member_data->userInfo, include_onlinename, include_avatarurl); - sce_member_data->joinDate.tick = member_data->joinDate(); - sce_member_data->memberId = member_data->memberId(); - sce_member_data->teamId = member_data->teamId(); - - if (const auto* fb_roomgroup = member_data->roomGroup()) - { - if (room_info) - { - // If we have SceNpMatching2RoomDataInternal available we point the pointers to the group there - sce_member_data->roomGroup = room_info->roomGroup + (fb_roomgroup->groupId() - 1); - edata.add_relocation(sce_member_data->roomGroup); - } - else - { - // Otherwise we allocate for it - auto* ptr_group = edata.allocate(sizeof(SceNpMatching2RoomGroup), sce_member_data->roomGroup); - RoomGroup_to_SceNpMatching2RoomGroup(fb_roomgroup, ptr_group); - } - } - - sce_member_data->natType = member_data->natType(); - sce_member_data->flagAttr = member_data->flagAttr(); - - if (member_data->roomMemberBinAttrInternal() && member_data->roomMemberBinAttrInternal()->size() != 0) - { - sce_member_data->roomMemberBinAttrInternalNum = member_data->roomMemberBinAttrInternal()->size(); - auto* sce_binattrs = edata.allocate(sizeof(SceNpMatching2RoomMemberBinAttrInternal) * sce_member_data->roomMemberBinAttrInternalNum, sce_member_data->roomMemberBinAttrInternal); - for (u32 b_index = 0; b_index < sce_member_data->roomMemberBinAttrInternalNum; b_index++) - { - const auto fb_battr = member_data->roomMemberBinAttrInternal()->Get(b_index); - sce_binattrs[b_index].updateDate.tick = fb_battr->updateDate(); - - sce_binattrs[b_index].data.id = fb_battr->data()->id(); - sce_binattrs[b_index].data.size = fb_battr->data()->data()->size(); - auto* sce_binattr_data = edata.allocate(sce_binattrs[b_index].data.size, sce_binattrs[b_index].data.ptr); - for (flatbuffers::uoffset_t tmp_index = 0; tmp_index < sce_binattrs[b_index].data.size; tmp_index++) - { - sce_binattr_data[tmp_index] = fb_battr->data()->data()->Get(tmp_index); - } - } - } - } - - void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const RoomMemberUpdateInfo* update_info, SceNpMatching2RoomMemberUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl) - { - sce_update_info->eventCause = 0; - if (update_info->optData()) - { - sce_update_info->optData.length = update_info->optData()->data()->size(); - for (flatbuffers::uoffset_t i = 0; i < 16; i++) - { - sce_update_info->optData.data[i] = update_info->optData()->data()->Get(i); - } - } - - if (update_info->roomMemberDataInternal()) - { - auto fb_member = update_info->roomMemberDataInternal(); - auto* ptr_roomemberinternal = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), sce_update_info->roomMemberDataInternal); - - // TODO: Pass room_info - RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, fb_member, nullptr, ptr_roomemberinternal, include_onlinename, include_avatarurl); - } - } - - void RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(const RoomUpdateInfo* update_info, SceNpMatching2RoomUpdateInfo* sce_update_info) - { - sce_update_info->errorCode = 0; - sce_update_info->eventCause = 0; - if (update_info->optData()) - { - sce_update_info->optData.length = update_info->optData()->data()->size(); - for (flatbuffers::uoffset_t i = 0; i < 16; i++) - { - sce_update_info->optData.data[i] = update_info->optData()->data()->Get(i); - } - } - } - - void RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(event_data& edata, const RoomDataInternalUpdateInfo* update_info, SceNpMatching2RoomDataInternalUpdateInfo* sce_update_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl) - { - auto* sce_room_data = edata.allocate(sizeof(SceNpMatching2RoomDataInternal), sce_update_info->newRoomDataInternal); - RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, update_info->newRoomDataInternal(), sce_room_data, npid, include_onlinename, include_avatarurl); - - if (sce_room_data->flagAttr != update_info->prevFlagAttr()) - { - sce_update_info->newFlagAttr = sce_update_info->newRoomDataInternal.ptr(&SceNpMatching2RoomDataInternal::flagAttr); - edata.add_relocation(sce_update_info->newFlagAttr); - auto* ptr_sce_prevflag = edata.allocate(sizeof(SceNpMatching2FlagAttr), sce_update_info->prevFlagAttr); - *ptr_sce_prevflag = update_info->prevFlagAttr(); - } - - if (sce_room_data->passwordSlotMask != update_info->prevRoomPasswordSlotMask()) - { - sce_update_info->newRoomPasswordSlotMask = sce_update_info->newRoomDataInternal.ptr(&SceNpMatching2RoomDataInternal::passwordSlotMask); - edata.add_relocation(sce_update_info->newRoomPasswordSlotMask); - auto* ptr_sce_prevpass = edata.allocate(sizeof(SceNpMatching2RoomPasswordSlotMask), sce_update_info->prevRoomPasswordSlotMask); - *ptr_sce_prevpass = update_info->prevRoomPasswordSlotMask(); - } - - if (update_info->newRoomGroup() && update_info->newRoomGroup()->size() != 0) - { - rpcn_log.todo("RoomDataInternalUpdateInfo::newRoomGroup"); - // TODO - // sce_update_info->newRoomGroupNum = update_info->newRoomGroup()->size(); - // vm::ptr group_info(allocate(sizeof(SceNpMatching2RoomGroup) * sce_update_info->newRoomGroupNum)); - // RoomGroups_to_SceNpMatching2RoomGroup(update_info->newRoomGroup(), group_info); - // sce_update_info->newRoomGroup = group_info; - } - - if (update_info->newRoomBinAttrInternal() && update_info->newRoomBinAttrInternal()->size() != 0) - { - const auto get_ptr_for_binattr = [&](u16 binattr_id) -> vm::bptr - { - vm::bptr ret_ptr = sce_room_data->roomBinAttrInternal; - for (u32 i = 0; i < sce_room_data->roomBinAttrInternalNum; i++) - { - if (ret_ptr->data.id == binattr_id) - return ret_ptr; - - ret_ptr++; - } - rpcn_log.fatal("RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo: Couldn't find matching roomBinAttrInternal!"); - return vm::null; - }; - - sce_update_info->newRoomBinAttrInternalNum = update_info->newRoomBinAttrInternal()->size(); - edata.allocate_ptr_array(sce_update_info->newRoomBinAttrInternalNum, sce_update_info->newRoomBinAttrInternal); - for (u32 i = 0; i < sce_update_info->newRoomBinAttrInternalNum; i++) - { - sce_update_info->newRoomBinAttrInternal[i] = get_ptr_for_binattr(update_info->newRoomBinAttrInternal()->Get(i)); - } - } - } - - void RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(event_data& edata, const RoomMemberDataInternalUpdateInfo* update_info, SceNpMatching2RoomMemberDataInternalUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl) - { - auto* sce_room_member_data = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), sce_update_info->newRoomMemberDataInternal); - RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, update_info->newRoomMemberDataInternal(), nullptr, sce_room_member_data, include_onlinename, include_avatarurl); - - if (sce_update_info->newRoomMemberDataInternal->flagAttr != update_info->prevFlagAttr()) - { - sce_update_info->newFlagAttr = sce_update_info->newRoomMemberDataInternal.ptr(&SceNpMatching2RoomMemberDataInternal::flagAttr); - edata.add_relocation(sce_update_info->newFlagAttr); - auto* ptr_sce_prevflag = edata.allocate(sizeof(SceNpMatching2FlagAttr), sce_update_info->prevFlagAttr); - *ptr_sce_prevflag = update_info->prevFlagAttr(); - } - - if (sce_update_info->newRoomMemberDataInternal->teamId != update_info->prevTeamId()) - { - sce_update_info->newTeamId = sce_update_info->newRoomMemberDataInternal.ptr(&SceNpMatching2RoomMemberDataInternal::teamId); - edata.add_relocation(sce_update_info->newTeamId); - } - - if (update_info->newRoomMemberBinAttrInternal() && update_info->newRoomMemberBinAttrInternal()->size() != 0) - { - const auto get_ptr_for_binattr = [&](u16 binattr_id) -> vm::bptr - { - vm::bptr ret_ptr = sce_room_member_data->roomMemberBinAttrInternal; - for (u32 i = 0; i < sce_room_member_data->roomMemberBinAttrInternalNum; i++) - { - if (ret_ptr->data.id == binattr_id) - return ret_ptr; - - ret_ptr++; - } - rpcn_log.fatal("RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo: Couldn't find matching roomMemberBinAttrInternal!"); - return vm::null; - }; - - sce_update_info->newRoomMemberBinAttrInternalNum = update_info->newRoomMemberBinAttrInternal()->size(); - edata.allocate_ptr_array(sce_update_info->newRoomMemberBinAttrInternalNum, sce_update_info->newRoomMemberBinAttrInternal); - for (u32 i = 0; i < sce_update_info->newRoomMemberBinAttrInternalNum; i++) - { - sce_update_info->newRoomMemberBinAttrInternal[i] = get_ptr_for_binattr(update_info->newRoomMemberBinAttrInternal()->Get(i)); - } - } - } - - void GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(const GetPingInfoResponse* resp, SceNpMatching2SignalingGetPingInfoResponse* sce_resp) - { - sce_resp->serverId = resp->serverId(); - sce_resp->worldId = resp->worldId(); - sce_resp->roomId = resp->roomId(); - sce_resp->rtt = resp->rtt(); - } - - void RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(event_data& edata, const RoomMessageInfo* mi, SceNpMatching2RoomMessageInfo* sce_mi, bool include_onlinename, bool include_avatarurl) - { - sce_mi->filtered = mi->filtered(); - sce_mi->castType = mi->castType(); - - if (sce_mi->castType != SCE_NP_MATCHING2_CASTTYPE_BROADCAST) - { - edata.allocate(sizeof(SceNpMatching2RoomMessageDestination), sce_mi->dst); - } - - switch (sce_mi->castType) - { - case SCE_NP_MATCHING2_CASTTYPE_BROADCAST: break; - case SCE_NP_MATCHING2_CASTTYPE_UNICAST: sce_mi->dst->unicastTarget = mi->dst()->Get(0); break; - case SCE_NP_MATCHING2_CASTTYPE_MULTICAST: - { - sce_mi->dst->multicastTarget.memberIdNum = mi->dst()->size(); - edata.allocate(sizeof(u16) * mi->dst()->size(), sce_mi->dst->multicastTarget.memberId); - for (u32 i = 0; i < mi->dst()->size(); i++) - { - sce_mi->dst->multicastTarget.memberId[i] = mi->dst()->Get(i); - } - break; - } - case SCE_NP_MATCHING2_CASTTYPE_MULTICAST_TEAM: sce_mi->dst->multicastTargetTeamId = ::narrow(mi->dst()->Get(0)); break; - default: ensure(false); - } - - if (auto src_member = mi->srcMember()) - { - auto* ptr_sce_userinfo = edata.allocate(sizeof(SceNpUserInfo2), sce_mi->srcMember); - UserInfo_to_SceNpUserInfo2(edata, src_member, ptr_sce_userinfo, include_onlinename, include_avatarurl); - } - - if (auto msg = mi->msg()) - { - sce_mi->msgLen = msg->size(); - auto* ptr_msg_data = static_cast(edata.allocate(msg->size(), sce_mi->msg)); - for (u32 i = 0; i < msg->size(); i++) - { - ptr_msg_data[i] = msg->Get(i); - } - } - } - - void MatchingRoomStatus_to_SceNpMatchingRoomStatus(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingRoomStatus* room_status) - { - const auto* vec_id = resp->id(); - ensure(vec_id && vec_id->size() == 28, "Invalid room id in MatchingRoomStatus"); - - for (flatbuffers::uoffset_t i = 0; i < 28; i++) - { - room_status->id.opt[i] = vec_id->Get(i); - } - - // In some events the member list can be empty - if (const auto* members = resp->members(); members && members->size()) - { - room_status->num = members->size(); - SceNpMatchingRoomMember* prev_member{}; - - for (flatbuffers::uoffset_t i = 0; i < members->size(); i++) - { - auto* cur_member = edata.allocate(sizeof(SceNpMatchingRoomMember), (i > 0) ? prev_member->next : room_status->members); - const auto* member = members->Get(i); - ensure(member && member->info(), "Invalid member in MatchingRoomStatus list"); - - cur_member->owner = member->owner() ? 1 : 0; - UserInfo_to_SceNpUserInfo(member->info(), &cur_member->user_info); - - prev_member = cur_member; - } - } - - if (const auto* kick_npid = resp->kick_actor(); kick_npid) - { - auto* npid = edata.allocate(sizeof(SceNpId), room_status->kick_actor); - std::memcpy(npid->handle.data, kick_npid->c_str(), std::min(16, kick_npid->size())); - } - - if (const auto* opt = resp->opt(); opt && opt->size()) - { - room_status->opt_len = opt->size(); - u8* opt_data = static_cast(edata.allocate(opt->size(), room_status->opt)); - - for (flatbuffers::uoffset_t i = 0; i < opt->size(); i++) - { - opt_data[i] = opt->Get(i); - } - } - } - - void MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingJoinedRoomInfo* room_info) - { - // The use of SceNpLobbyId is unclear as it is never specified by the client except in further operations, so we always set it to a series of 0 and a 1 - room_info->lobbyid.opt[27] = 1; - MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp, &room_info->room_status); - } - - void MatchingAttr_to_SceNpMatchingAttr(event_data& edata, const flatbuffers::Vector>* attr_list, vm::bptr& first_attr) - { - if (attr_list) - { - SceNpMatchingAttr* cur_attr = nullptr; - - for (flatbuffers::uoffset_t i_attr = 0; i_attr < attr_list->size(); i_attr++) - { - const auto* attr = attr_list->Get(i_attr); - cur_attr = edata.allocate(sizeof(SceNpMatchingAttr), cur_attr ? cur_attr->next : first_attr); - - ensure(attr); - cur_attr->type = attr->attr_type(); - cur_attr->id = attr->attr_id(); - if (attr->data()) - { - if (attr->data()->size()) - { - cur_attr->value.data.size = attr->data()->size(); - u8* data_ptr = static_cast(edata.allocate(attr->data()->size(), cur_attr->value.data.ptr)); - memcpy(data_ptr, attr->data()->data(), attr->data()->size()); - } - } - else - { - cur_attr->value.num = attr->num(); - } - } - } - } - - void MatchingRoom_to_SceNpMatchingRoom(event_data& edata, const MatchingRoom* resp, SceNpMatchingRoom* room) - { - ensure(room && resp->id() && resp->id()->size() == sizeof(SceNpRoomId::opt)); - memcpy(room->id.opt, resp->id()->data(), sizeof(SceNpRoomId::opt)); - MatchingAttr_to_SceNpMatchingAttr(edata, resp->attr(), room->attr); - } - - void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const MatchingRoomList* resp, SceNpMatchingRoomList* room_list) - { - // The use of SceNpLobbyId is unclear as it is never specified by the client except in further operations, so we always set it to a series of 0 and a 1 - room_list->lobbyid.opt[27] = 1; - room_list->range.start = resp->start(); - room_list->range.total = resp->total(); - - if (auto rooms = resp->rooms(); rooms) - { - room_list->range.results = rooms->size(); - - SceNpMatchingRoom* cur_room = nullptr; - - for (flatbuffers::uoffset_t i = 0; i < rooms->size(); i++) - { - const auto* room = rooms->Get(i); - cur_room = edata.allocate(sizeof(SceNpMatchingRoom), cur_room ? cur_room->next : room_list->head); - MatchingRoom_to_SceNpMatchingRoom(edata, room, cur_room); - } - } - } - - void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const MatchingSearchJoinRoomInfo* resp, SceNpMatchingSearchJoinRoomInfo* room_info) - { - ensure(resp->room()); - room_info->lobbyid.opt[27] = 1; - MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp->room(), &room_info->room_status); - MatchingAttr_to_SceNpMatchingAttr(edata, resp->attr(), room_info->attr); - } - -} // namespace np diff --git a/rpcs3/Emu/NP/fb_helpers.h b/rpcs3/Emu/NP/fb_helpers.h deleted file mode 100644 index 6b92cfba37..0000000000 --- a/rpcs3/Emu/NP/fb_helpers.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once - -#include "Emu/Cell/Modules/sceNp.h" -#include "Emu/Cell/Modules/sceNp2.h" -#include "np_event_data.h" -#include "generated/np2_structs_generated.h" - -namespace np -{ - void BinAttr_to_SceNpMatching2BinAttr(event_data& edata, const BinAttr* bin_attr, SceNpMatching2BinAttr* binattr_info); - void BinAttrs_to_SceNpMatching2BinAttrs(event_data& edata, const flatbuffers::Vector>* fb_attr, SceNpMatching2BinAttr* binattr_info); - void RoomMemberBinAttrInternal_to_SceNpMatching2RoomMemberBinAttrInternal(event_data& edata, const RoomMemberBinAttrInternal* fb_attr, SceNpMatching2RoomMemberBinAttrInternal* binattr_info); - void RoomBinAttrInternal_to_SceNpMatching2RoomBinAttrInternal(event_data& edata, const BinAttrInternal* fb_attr, SceNpMatching2RoomBinAttrInternal* binattr_info); - void RoomGroup_to_SceNpMatching2RoomGroup(const RoomGroup* fb_group, SceNpMatching2RoomGroup* sce_group); - void RoomGroups_to_SceNpMatching2RoomGroups(const flatbuffers::Vector>* fb_groups, SceNpMatching2RoomGroup* sce_groups); - void UserInfo_to_SceNpUserInfo(const UserInfo* user, SceNpUserInfo* user_info); - void UserInfo_to_SceNpUserInfo2(event_data& edata, const UserInfo* user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl); - void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const RoomDataExternal* room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl); - void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const SearchRoomResponse* resp, SceNpMatching2SearchRoomResponse* search_resp); - void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const GetRoomDataExternalListResponse* resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl); - u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const RoomDataInternal* resp, SceNpMatching2RoomDataInternal* room_resp, const SceNpId& npid, bool include_onlinename, bool include_avatarurl); - void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const RoomMemberDataInternal* member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl); - void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const RoomMemberUpdateInfo* resp, SceNpMatching2RoomMemberUpdateInfo* room_info, bool include_onlinename, bool include_avatarurl); - void RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(const RoomUpdateInfo* update_info, SceNpMatching2RoomUpdateInfo* sce_update_info); - void GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(const GetPingInfoResponse* resp, SceNpMatching2SignalingGetPingInfoResponse* sce_resp); - void RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(event_data& edata, const RoomMessageInfo* mi, SceNpMatching2RoomMessageInfo* sce_mi, bool include_onlinename, bool include_avatarurl); - void RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(event_data& edata, const RoomDataInternalUpdateInfo* update_info, SceNpMatching2RoomDataInternalUpdateInfo* sce_update_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl); - void RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(event_data& edata, const RoomMemberDataInternalUpdateInfo* update_info, SceNpMatching2RoomMemberDataInternalUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl); - void MatchingRoomStatus_to_SceNpMatchingRoomStatus(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingRoomStatus* room_status); - void MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(event_data& edata, const MatchingRoomStatus* resp, SceNpMatchingJoinedRoomInfo* room_info); - void MatchingRoom_to_SceNpMatchingRoom(event_data& edata, const MatchingRoom* resp, SceNpMatchingRoom* room); - void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const MatchingRoomList* resp, SceNpMatchingRoomList* room_list); - void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const MatchingSearchJoinRoomInfo* resp, SceNpMatchingSearchJoinRoomInfo* room_info); -} // namespace np diff --git a/rpcs3/Emu/NP/generated/np2_structs.fbs b/rpcs3/Emu/NP/generated/np2_structs.fbs deleted file mode 100644 index 9ca6e4a437..0000000000 --- a/rpcs3/Emu/NP/generated/np2_structs.fbs +++ /dev/null @@ -1,584 +0,0 @@ -table SignalingAddr { - ip:[uint8]; - port:uint16; -} - -table MatchingSignalingInfo { - npid:string; - addr:SignalingAddr; -} - -table Matching2SignalingInfo { - member_id:uint16; - addr:SignalingAddr; -} - -table BinAttr { - id:uint16; - data:[uint8]; -} - -table IntAttr { - id:uint16; - num:uint32; -} - -table RoomMemberBinAttrInternal { - updateDate:uint64; - data:BinAttr; -} - -table BinAttrInternal { - updateDate:uint64; - updateMemberId:uint16; - data:BinAttr; -} - -table OptParam { - type:uint8; - flag:uint8; - hubMemberId:uint16 ; -} - -table GroupConfig { - slotNum:uint32; - label:[uint8]; - withPassword:bool; -} - -table UserInfo { - npId:string; - onlineName:string; - avatarUrl:string; -} - -table RoomMemberDataInternal { - userInfo:UserInfo; - joinDate:uint64; - memberId:uint16; - teamId:uint8; - roomGroup:RoomGroup; - natType:uint8; - flagAttr:uint32; - roomMemberBinAttrInternal:[RoomMemberBinAttrInternal]; -} - -table RoomGroup { - groupId:uint8; - withPassword:bool; - label:[uint8]; - slotNum:uint32; - curGroupMemberNum:uint32; -} - -table RoomDataInternal { - serverId:uint16; - worldId:uint32; - lobbyId:uint64; - roomId:uint64; - passwordSlotMask:uint64; - maxSlot:uint32; - memberList:[RoomMemberDataInternal]; - ownerId:uint16; - roomGroup:[RoomGroup]; - flagAttr:uint32; - roomBinAttrInternal:[BinAttrInternal]; -} - -table RoomDataExternal { - serverId:uint16; - worldId:uint32; - publicSlotNum:uint16; - privateSlotNum:uint16; - lobbyId:uint64; - roomId:uint64; - openPublicSlotNum:uint16; - maxSlot:uint16; - openPrivateSlotNum:uint16; - curMemberNum:uint16; - passwordSlotMask:uint64; - owner:UserInfo; - roomGroup:[RoomGroup]; - flagAttr:uint32; - roomSearchableIntAttrExternal:[IntAttr]; - roomSearchableBinAttrExternal:[BinAttr]; - roomBinAttrExternal:[BinAttr]; -} - -table IntSearchFilter { - searchOperator:uint8; - attr:IntAttr; -} - -table BinSearchFilter { - searchOperator:uint8; - attr:BinAttr; -} - -table PresenceOptionData { - data:[uint8]; - len:uint32; -} - -table RoomGroupPasswordConfig { - groupId:uint8; - withPassword:bool; -} - -table SearchRoomRequest { - option:int32; - worldId:uint32; - lobbyId:uint64; - rangeFilter_startIndex:uint32; - rangeFilter_max:uint32; - flagFilter:uint32; - flagAttr:uint32; - intFilter:[IntSearchFilter]; - binFilter:[BinSearchFilter]; - attrId:[uint16]; -} - -table SearchRoomResponse { - startIndex:uint32; - total:uint32; - rooms:[RoomDataExternal]; -} - -table CreateJoinRoomRequest { - worldId:uint32; - lobbyId:uint64; - maxSlot:uint32; - flagAttr:uint32; - roomBinAttrInternal:[BinAttr]; - roomSearchableIntAttrExternal:[IntAttr]; - roomSearchableBinAttrExternal:[BinAttr]; - roomBinAttrExternal:[BinAttr]; - roomPassword:[uint8]; - groupConfig:[GroupConfig]; - passwordSlotMask:uint64; - allowedUser:[string]; - blockedUser:[string]; - - joinRoomGroupLabel:[uint8]; - roomMemberBinAttrInternal:[BinAttr]; - teamId:uint8; - sigOptParam:OptParam; -} - -table JoinRoomRequest { - roomId:uint64; - roomPassword:[uint8]; - joinRoomGroupLabel:[uint8]; - roomMemberBinAttrInternal:[BinAttr]; - optData:PresenceOptionData; - teamId:uint8; -} - -table JoinRoomResponse { - room_data: RoomDataInternal; - signaling_data: [Matching2SignalingInfo]; -} - -table LeaveRoomRequest { - roomId:uint64; - optData:PresenceOptionData; -} - -table GetRoomDataExternalListRequest { - roomIds:[uint64]; - attrIds:[uint16]; -} - -table GetRoomDataExternalListResponse { - rooms:[RoomDataExternal]; -} - -table SetRoomDataExternalRequest { - roomId:uint64; - roomSearchableIntAttrExternal:[IntAttr]; - roomSearchableBinAttrExternal:[BinAttr]; - roomBinAttrExternal:[BinAttr]; -} - -table SetRoomDataInternalRequest { - roomId:uint64; - flagFilter:uint32; - flagAttr:uint32; - roomBinAttrInternal:[BinAttr]; - passwordConfig:[RoomGroupPasswordConfig]; - passwordSlotMask:[uint64]; - ownerPrivilegeRank:[uint16]; -} - -table GetRoomMemberDataInternalRequest { - roomId:uint64; - memberId:uint16; - attrId:[uint16]; -} - -table SetRoomMemberDataInternalRequest { - roomId:uint64; - memberId:uint16; - teamId:uint8; - roomMemberBinAttrInternal:[BinAttr]; -} - -table SetUserInfo { - serverId:uint16; - userBinAttr:[BinAttr]; -} - -table GetRoomDataInternalRequest { - roomId:uint64; - attrId:[uint16]; -} - -table RoomMemberUpdateInfo { - roomMemberDataInternal:RoomMemberDataInternal; - eventCause:uint8; - optData:PresenceOptionData; -} - -table NotificationUserJoinedRoom { - room_id:uint64; - update_info:RoomMemberUpdateInfo; - signaling:SignalingAddr; -} - -table RoomUpdateInfo { - eventCause:uint8; - errorCode:int32; - optData:PresenceOptionData; -} - -table RoomDataInternalUpdateInfo { - newRoomDataInternal:RoomDataInternal; - prevFlagAttr:uint32; - prevRoomPasswordSlotMask:uint64; - newRoomGroup:[uint8]; - newRoomBinAttrInternal:[uint16]; -} - -table RoomMemberDataInternalUpdateInfo { - newRoomMemberDataInternal:RoomMemberDataInternal; - prevFlagAttr:uint32; - prevTeamId:uint8; - newRoomMemberBinAttrInternal:[uint16]; -} - -table GetPingInfoResponse { - serverId:uint16; - worldId:uint32; - roomId:uint64; - rtt:uint32; -} - -table SendRoomMessageRequest { - roomId:uint64; - castType:uint8; - dst:[uint16]; - msg:[uint8]; - option:uint8; -} - -table RoomMessageInfo { - filtered:bool; - castType:uint8; - dst:[uint16]; - srcMember:UserInfo; - msg:[uint8]; -} - -table MessageDetails { - communicationId:string; - msgId:uint64; - mainType:uint16; - subType:uint16; - msgFeatures:uint32; - subject:string; - body:string; - data:[uint8]; -} - -table SendMessageRequest { - message:[uint8] (nested_flatbuffer: "MessageDetails"); - npids:[string]; -} - -table BoardInfo { - rankLimit:uint32; - updateMode:uint32; - sortMode:uint32; - uploadNumLimit:uint32; - uploadSizeLimit:uint32; -} - -table RecordScoreRequest { - boardId:uint32; - pcId:int32; - score:int64; - comment:string; - data:[uint8]; -} - -table GetScoreRangeRequest { - boardId:uint32; - startRank:uint32; - numRanks:uint32; - withComment:bool; - withGameInfo:bool; -} - -table ScoreNpIdPcId { - npid:string; - pcId:int32; -} - -table GetScoreNpIdRequest { - boardId:uint32; - npids:[ScoreNpIdPcId]; - withComment:bool; - withGameInfo:bool; -} - -table GetScoreFriendsRequest { - boardId:uint32; - include_self:bool; - max:uint32; - withComment:bool; - withGameInfo:bool; -} - -table ScoreRankData { - npId:string; - onlineName:string; - pcId:int32; - rank:uint32; - score:int64; - hasGameData:bool; - recordDate:uint64; -} - -table ScoreInfo { - data:[uint8]; -} - -table GetScoreResponse { - rankArray:[ScoreRankData]; - commentArray:[string]; - infoArray:[ScoreInfo]; - lastSortDate:uint64; - totalRecord:uint32; -} - -table RecordScoreGameDataRequest { - boardId:uint32; - pcId:int32; - score:int64; -} - -table GetScoreGameDataRequest { - boardId:uint32; - npId:string; - pcId:int32; -} - -table TusUser { - vuser:bool; - npid:string; -} - -table TusVariable { - ownerId:string; - hasData:bool; - lastChangedDate:uint64; - lastChangedAuthorId:string; - variable:int64; - oldVariable:int64; -} - -table TusVarResponse { - vars:[TusVariable]; -} - -table TusSetMultiSlotVariableRequest { - user:TusUser; - slotIdArray:[int32]; - variableArray:[int64]; -} - -table TusGetMultiSlotVariableRequest { - user:TusUser; - slotIdArray:[int32]; -} - -table TusGetMultiUserVariableRequest { - users:[TusUser]; - slotId:int32; -} - -table TusGetFriendsVariableRequest { - slotId:int32; - includeSelf:bool; - sortType:int32; - arrayNum:uint32; -} - -table TusAddAndGetVariableRequest { - user:TusUser; - slotId:int32; - inVariable:int64; - isLastChangedDate:[uint64]; - isLastChangedAuthorId:string; -} - -table TusTryAndSetVariableRequest { - user:TusUser; - slotId:int32; - opeType:int32; - variable:int64; - isLastChangedDate:[uint64]; - isLastChangedAuthorId:string; - compareValue:[int64]; -} - -table TusDeleteMultiSlotVariableRequest { - user:TusUser; - slotIdArray:[int32]; -} - -table TusSetDataRequest { - user:TusUser; - slotId:int32; - data:[uint8]; - info:[uint8]; - isLastChangedDate:[uint64]; - isLastChangedAuthorId:string; -} - -table TusDataStatus { - ownerId:string; - hasData:bool; - lastChangedDate:uint64; - lastChangedAuthorId:string; - info:[uint8]; -} - -table TusData { - status: TusDataStatus; - data:[uint8]; -} - -table TusDataStatusResponse { - status: [TusDataStatus]; -} - -table TusGetDataRequest { - user:TusUser; - slotId:int32; -} - -table TusGetMultiSlotDataStatusRequest { - user:TusUser; - slotIdArray:[int32]; -} - -table TusGetMultiUserDataStatusRequest { - users:[TusUser]; - slotId:int32; -} - -table TusGetFriendsDataStatusRequest { - slotId:int32; - includeSelf:bool; - sortType:int32; - arrayNum:uint32; -} - -table TusDeleteMultiSlotDataRequest { - user:TusUser; - slotIdArray:[int32]; -} - -table SetPresenceRequest { - title:string; - status:string; - comment:string; - data:[uint8]; -} - -table MatchingSearchCondition { - attr_type:uint32; - attr_id:uint32; - comp_op:uint32; - comp_value:uint32; -} - -table MatchingAttr { - attr_type:uint32; - attr_id:uint32; - num:uint32; - data:[uint8]; -} - -table CreateRoomGUIRequest { - total_slots:uint32; - private_slots:uint32; - privilege_grant:bool; - stealth:bool; - game_attrs:[MatchingAttr]; -} - -table GUIUserInfo { - info:UserInfo; - owner:bool; -} - -table MatchingRoomStatus { - id:[uint8]; - members:[GUIUserInfo]; - kick_actor:string; - opt:[uint8]; -} - -table GetRoomListGUIRequest { - range_start:uint32; - range_max:uint32; - conds:[MatchingSearchCondition]; - attrs:[MatchingAttr]; -} - -table MatchingRoom { - id:[uint8]; - attr:[MatchingAttr]; -} - -table MatchingRoomList { - start:uint32; - total:uint32; - rooms:[MatchingRoom]; -} - -table MatchingGuiRoomId { - id:[uint8]; -} - -table SetRoomSearchFlagGUI { - roomid:[uint8]; - stealth:bool; -} - -table QuickMatchGUIRequest { - conds:[MatchingSearchCondition]; - available_num:uint32; -} - -table SearchJoinRoomGUIRequest { - conds:[MatchingSearchCondition]; - attrs:[MatchingAttr]; -} - -table MatchingSearchJoinRoomInfo { - room:MatchingRoomStatus; - attr:[MatchingAttr]; -} diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.cc b/rpcs3/Emu/NP/generated/np2_structs.pb.cc new file mode 100644 index 0000000000..756b12b0dc --- /dev/null +++ b/rpcs3/Emu/NP/generated/np2_structs.pb.cc @@ -0,0 +1,35690 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: np2_structs.proto +// Protobuf C++ Version: 6.33.4 + +#include "np2_structs.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/io/zero_copy_stream_impl_lite.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace np2_structs { + +inline constexpr uint8::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + value_{0u} {} + +template +PROTOBUF_CONSTEXPR uint8::uint8(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(uint8_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct uint8DefaultTypeInternal { + PROTOBUF_CONSTEXPR uint8DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~uint8DefaultTypeInternal() {} + union { + uint8 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 uint8DefaultTypeInternal _uint8_default_instance_; + +inline constexpr uint16::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + value_{0u} {} + +template +PROTOBUF_CONSTEXPR uint16::uint16(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(uint16_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct uint16DefaultTypeInternal { + PROTOBUF_CONSTEXPR uint16DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~uint16DefaultTypeInternal() {} + union { + uint16 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 uint16DefaultTypeInternal _uint16_default_instance_; + +inline constexpr UserInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + onlinename_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + avatarurl_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR UserInfo::UserInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(UserInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct UserInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR UserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UserInfoDefaultTypeInternal() {} + union { + UserInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserInfoDefaultTypeInternal _UserInfo_default_instance_; + +inline constexpr TusVariable::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + ownerid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + lastchangedauthorid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + lastchangeddate_{::uint64_t{0u}}, + variable_{::int64_t{0}}, + oldvariable_{::int64_t{0}}, + hasdata_{false} {} + +template +PROTOBUF_CONSTEXPR TusVariable::TusVariable(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusVariable_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusVariableDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusVariableDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusVariableDefaultTypeInternal() {} + union { + TusVariable _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusVariableDefaultTypeInternal _TusVariable_default_instance_; + +inline constexpr TusUser::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + vuser_{false} {} + +template +PROTOBUF_CONSTEXPR TusUser::TusUser(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusUser_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusUserDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusUserDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusUserDefaultTypeInternal() {} + union { + TusUser _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusUserDefaultTypeInternal _TusUser_default_instance_; + +inline constexpr TusGetFriendsVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotid_{0}, + includeself_{false}, + sorttype_{0}, + arraynum_{0u} {} + +template +PROTOBUF_CONSTEXPR TusGetFriendsVariableRequest::TusGetFriendsVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetFriendsVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetFriendsVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetFriendsVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetFriendsVariableRequestDefaultTypeInternal() {} + union { + TusGetFriendsVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetFriendsVariableRequestDefaultTypeInternal _TusGetFriendsVariableRequest_default_instance_; + +inline constexpr TusGetFriendsDataStatusRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotid_{0}, + includeself_{false}, + sorttype_{0}, + arraynum_{0u} {} + +template +PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetFriendsDataStatusRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetFriendsDataStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetFriendsDataStatusRequestDefaultTypeInternal() {} + union { + TusGetFriendsDataStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetFriendsDataStatusRequestDefaultTypeInternal _TusGetFriendsDataStatusRequest_default_instance_; + +inline constexpr TusDataStatus::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + ownerid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + lastchangedauthorid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + info_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + lastchangeddate_{::uint64_t{0u}}, + hasdata_{false} {} + +template +PROTOBUF_CONSTEXPR TusDataStatus::TusDataStatus(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusDataStatus_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusDataStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusDataStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusDataStatusDefaultTypeInternal() {} + union { + TusDataStatus _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataStatusDefaultTypeInternal _TusDataStatus_default_instance_; + +inline constexpr SetRoomSearchFlagGUI::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roomid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + stealth_{false} {} + +template +PROTOBUF_CONSTEXPR SetRoomSearchFlagGUI::SetRoomSearchFlagGUI(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SetRoomSearchFlagGUI_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SetRoomSearchFlagGUIDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetRoomSearchFlagGUIDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetRoomSearchFlagGUIDefaultTypeInternal() {} + union { + SetRoomSearchFlagGUI _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomSearchFlagGUIDefaultTypeInternal _SetRoomSearchFlagGUI_default_instance_; + +inline constexpr SetPresenceRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + title_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + status_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + comment_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR SetPresenceRequest::SetPresenceRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SetPresenceRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SetPresenceRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetPresenceRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetPresenceRequestDefaultTypeInternal() {} + union { + SetPresenceRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetPresenceRequestDefaultTypeInternal _SetPresenceRequest_default_instance_; + +inline constexpr SendMessageRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npids_{}, + message_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR SendMessageRequest::SendMessageRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SendMessageRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SendMessageRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SendMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SendMessageRequestDefaultTypeInternal() {} + union { + SendMessageRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendMessageRequestDefaultTypeInternal _SendMessageRequest_default_instance_; + +inline constexpr ScoreRankData::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + onlinename_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + pcid_{0}, + rank_{0u}, + score_{::int64_t{0}}, + recorddate_{::uint64_t{0u}}, + hasgamedata_{false} {} + +template +PROTOBUF_CONSTEXPR ScoreRankData::ScoreRankData(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(ScoreRankData_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ScoreRankDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScoreRankDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ScoreRankDataDefaultTypeInternal() {} + union { + ScoreRankData _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreRankDataDefaultTypeInternal _ScoreRankData_default_instance_; + +inline constexpr ScoreNpIdPcId::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + pcid_{0} {} + +template +PROTOBUF_CONSTEXPR ScoreNpIdPcId::ScoreNpIdPcId(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(ScoreNpIdPcId_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ScoreNpIdPcIdDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScoreNpIdPcIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ScoreNpIdPcIdDefaultTypeInternal() {} + union { + ScoreNpIdPcId _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreNpIdPcIdDefaultTypeInternal _ScoreNpIdPcId_default_instance_; + +inline constexpr ScoreInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR ScoreInfo::ScoreInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(ScoreInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ScoreInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR ScoreInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ScoreInfoDefaultTypeInternal() {} + union { + ScoreInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreInfoDefaultTypeInternal _ScoreInfo_default_instance_; + +inline constexpr RecordScoreRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + comment_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + boardid_{0u}, + pcid_{0}, + score_{::int64_t{0}} {} + +template +PROTOBUF_CONSTEXPR RecordScoreRequest::RecordScoreRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RecordScoreRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RecordScoreRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR RecordScoreRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RecordScoreRequestDefaultTypeInternal() {} + union { + RecordScoreRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecordScoreRequestDefaultTypeInternal _RecordScoreRequest_default_instance_; + +inline constexpr RecordScoreGameDataRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + boardid_{0u}, + pcid_{0}, + score_{::int64_t{0}} {} + +template +PROTOBUF_CONSTEXPR RecordScoreGameDataRequest::RecordScoreGameDataRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RecordScoreGameDataRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RecordScoreGameDataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR RecordScoreGameDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RecordScoreGameDataRequestDefaultTypeInternal() {} + union { + RecordScoreGameDataRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RecordScoreGameDataRequestDefaultTypeInternal _RecordScoreGameDataRequest_default_instance_; + +inline constexpr PresenceOptionData::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + len_{0u} {} + +template +PROTOBUF_CONSTEXPR PresenceOptionData::PresenceOptionData(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(PresenceOptionData_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct PresenceOptionDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR PresenceOptionDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PresenceOptionDataDefaultTypeInternal() {} + union { + PresenceOptionData _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PresenceOptionDataDefaultTypeInternal _PresenceOptionData_default_instance_; + +inline constexpr MatchingSearchCondition::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + attr_type_{0u}, + attr_id_{0u}, + comp_op_{0u}, + comp_value_{0u} {} + +template +PROTOBUF_CONSTEXPR MatchingSearchCondition::MatchingSearchCondition(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingSearchCondition_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingSearchConditionDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingSearchConditionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingSearchConditionDefaultTypeInternal() {} + union { + MatchingSearchCondition _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSearchConditionDefaultTypeInternal _MatchingSearchCondition_default_instance_; + +inline constexpr MatchingGuiRoomId::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR MatchingGuiRoomId::MatchingGuiRoomId(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingGuiRoomId_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingGuiRoomIdDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingGuiRoomIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingGuiRoomIdDefaultTypeInternal() {} + union { + MatchingGuiRoomId _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingGuiRoomIdDefaultTypeInternal _MatchingGuiRoomId_default_instance_; + +inline constexpr MatchingAttr::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + attr_type_{0u}, + attr_id_{0u}, + num_{0u} {} + +template +PROTOBUF_CONSTEXPR MatchingAttr::MatchingAttr(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingAttr_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingAttrDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingAttrDefaultTypeInternal() {} + union { + MatchingAttr _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingAttrDefaultTypeInternal _MatchingAttr_default_instance_; + +inline constexpr GroupConfig::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + label_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + slotnum_{0u}, + withpassword_{false} {} + +template +PROTOBUF_CONSTEXPR GroupConfig::GroupConfig(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GroupConfig_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GroupConfigDefaultTypeInternal { + PROTOBUF_CONSTEXPR GroupConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GroupConfigDefaultTypeInternal() {} + union { + GroupConfig _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GroupConfigDefaultTypeInternal _GroupConfig_default_instance_; + +inline constexpr GetScoreRangeRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + boardid_{0u}, + startrank_{0u}, + numranks_{0u}, + withcomment_{false}, + withgameinfo_{false} {} + +template +PROTOBUF_CONSTEXPR GetScoreRangeRequest::GetScoreRangeRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetScoreRangeRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetScoreRangeRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetScoreRangeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetScoreRangeRequestDefaultTypeInternal() {} + union { + GetScoreRangeRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreRangeRequestDefaultTypeInternal _GetScoreRangeRequest_default_instance_; + +inline constexpr GetScoreGameDataRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + boardid_{0u}, + pcid_{0} {} + +template +PROTOBUF_CONSTEXPR GetScoreGameDataRequest::GetScoreGameDataRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetScoreGameDataRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetScoreGameDataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetScoreGameDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetScoreGameDataRequestDefaultTypeInternal() {} + union { + GetScoreGameDataRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreGameDataRequestDefaultTypeInternal _GetScoreGameDataRequest_default_instance_; + +inline constexpr GetScoreFriendsRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + boardid_{0u}, + max_{0u}, + include_self_{false}, + withcomment_{false}, + withgameinfo_{false} {} + +template +PROTOBUF_CONSTEXPR GetScoreFriendsRequest::GetScoreFriendsRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetScoreFriendsRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetScoreFriendsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetScoreFriendsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetScoreFriendsRequestDefaultTypeInternal() {} + union { + GetScoreFriendsRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreFriendsRequestDefaultTypeInternal _GetScoreFriendsRequest_default_instance_; + +inline constexpr BoardInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + ranklimit_{0u}, + updatemode_{0u}, + sortmode_{0u}, + uploadnumlimit_{0u}, + uploadsizelimit_{0u} {} + +template +PROTOBUF_CONSTEXPR BoardInfo::BoardInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(BoardInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BoardInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR BoardInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BoardInfoDefaultTypeInternal() {} + union { + BoardInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoardInfoDefaultTypeInternal _BoardInfo_default_instance_; + +inline constexpr TusVarResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + vars_{} {} + +template +PROTOBUF_CONSTEXPR TusVarResponse::TusVarResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusVarResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusVarResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusVarResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusVarResponseDefaultTypeInternal() {} + union { + TusVarResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusVarResponseDefaultTypeInternal _TusVarResponse_default_instance_; + +inline constexpr TusTryAndSetVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + islastchangeddate_{}, + _islastchangeddate_cached_byte_size_{0}, + comparevalue_{}, + _comparevalue_cached_byte_size_{0}, + islastchangedauthorid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + user_{nullptr}, + slotid_{0}, + opetype_{0}, + variable_{::int64_t{0}} {} + +template +PROTOBUF_CONSTEXPR TusTryAndSetVariableRequest::TusTryAndSetVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusTryAndSetVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusTryAndSetVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusTryAndSetVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusTryAndSetVariableRequestDefaultTypeInternal() {} + union { + TusTryAndSetVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusTryAndSetVariableRequestDefaultTypeInternal _TusTryAndSetVariableRequest_default_instance_; + +inline constexpr TusSetMultiSlotVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotidarray_{}, + _slotidarray_cached_byte_size_{0}, + variablearray_{}, + _variablearray_cached_byte_size_{0}, + user_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusSetMultiSlotVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusSetMultiSlotVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusSetMultiSlotVariableRequestDefaultTypeInternal() {} + union { + TusSetMultiSlotVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusSetMultiSlotVariableRequestDefaultTypeInternal _TusSetMultiSlotVariableRequest_default_instance_; + +inline constexpr TusSetDataRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + islastchangeddate_{}, + _islastchangeddate_cached_byte_size_{0}, + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + info_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + islastchangedauthorid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + user_{nullptr}, + slotid_{0} {} + +template +PROTOBUF_CONSTEXPR TusSetDataRequest::TusSetDataRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusSetDataRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusSetDataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusSetDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusSetDataRequestDefaultTypeInternal() {} + union { + TusSetDataRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusSetDataRequestDefaultTypeInternal _TusSetDataRequest_default_instance_; + +inline constexpr TusGetMultiUserVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + users_{}, + slotid_{0} {} + +template +PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetMultiUserVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetMultiUserVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetMultiUserVariableRequestDefaultTypeInternal() {} + union { + TusGetMultiUserVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiUserVariableRequestDefaultTypeInternal _TusGetMultiUserVariableRequest_default_instance_; + +inline constexpr TusGetMultiUserDataStatusRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + users_{}, + slotid_{0} {} + +template +PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetMultiUserDataStatusRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetMultiUserDataStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetMultiUserDataStatusRequestDefaultTypeInternal() {} + union { + TusGetMultiUserDataStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiUserDataStatusRequestDefaultTypeInternal _TusGetMultiUserDataStatusRequest_default_instance_; + +inline constexpr TusGetMultiSlotVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotidarray_{}, + _slotidarray_cached_byte_size_{0}, + user_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetMultiSlotVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetMultiSlotVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetMultiSlotVariableRequestDefaultTypeInternal() {} + union { + TusGetMultiSlotVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiSlotVariableRequestDefaultTypeInternal _TusGetMultiSlotVariableRequest_default_instance_; + +inline constexpr TusGetMultiSlotDataStatusRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotidarray_{}, + _slotidarray_cached_byte_size_{0}, + user_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetMultiSlotDataStatusRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetMultiSlotDataStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetMultiSlotDataStatusRequestDefaultTypeInternal() {} + union { + TusGetMultiSlotDataStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetMultiSlotDataStatusRequestDefaultTypeInternal _TusGetMultiSlotDataStatusRequest_default_instance_; + +inline constexpr TusGetDataRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + user_{nullptr}, + slotid_{0} {} + +template +PROTOBUF_CONSTEXPR TusGetDataRequest::TusGetDataRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusGetDataRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusGetDataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusGetDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusGetDataRequestDefaultTypeInternal() {} + union { + TusGetDataRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusGetDataRequestDefaultTypeInternal _TusGetDataRequest_default_instance_; + +inline constexpr TusDeleteMultiSlotVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotidarray_{}, + _slotidarray_cached_byte_size_{0}, + user_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusDeleteMultiSlotVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusDeleteMultiSlotVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusDeleteMultiSlotVariableRequestDefaultTypeInternal() {} + union { + TusDeleteMultiSlotVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDeleteMultiSlotVariableRequestDefaultTypeInternal _TusDeleteMultiSlotVariableRequest_default_instance_; + +inline constexpr TusDeleteMultiSlotDataRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + slotidarray_{}, + _slotidarray_cached_byte_size_{0}, + user_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusDeleteMultiSlotDataRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusDeleteMultiSlotDataRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusDeleteMultiSlotDataRequestDefaultTypeInternal() {} + union { + TusDeleteMultiSlotDataRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDeleteMultiSlotDataRequestDefaultTypeInternal _TusDeleteMultiSlotDataRequest_default_instance_; + +inline constexpr TusDataStatusResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + status_{} {} + +template +PROTOBUF_CONSTEXPR TusDataStatusResponse::TusDataStatusResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusDataStatusResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusDataStatusResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusDataStatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusDataStatusResponseDefaultTypeInternal() {} + union { + TusDataStatusResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataStatusResponseDefaultTypeInternal _TusDataStatusResponse_default_instance_; + +inline constexpr TusData::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + status_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TusData::TusData(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusData_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusDataDefaultTypeInternal() {} + union { + TusData _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusDataDefaultTypeInternal _TusData_default_instance_; + +inline constexpr TusAddAndGetVariableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + islastchangeddate_{}, + _islastchangeddate_cached_byte_size_{0}, + islastchangedauthorid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + user_{nullptr}, + invariable_{::int64_t{0}}, + slotid_{0} {} + +template +PROTOBUF_CONSTEXPR TusAddAndGetVariableRequest::TusAddAndGetVariableRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(TusAddAndGetVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TusAddAndGetVariableRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TusAddAndGetVariableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TusAddAndGetVariableRequestDefaultTypeInternal() {} + union { + TusAddAndGetVariableRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TusAddAndGetVariableRequestDefaultTypeInternal _TusAddAndGetVariableRequest_default_instance_; + +inline constexpr SignalingAddr::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + ip_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + port_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SignalingAddr::SignalingAddr(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SignalingAddr_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SignalingAddrDefaultTypeInternal { + PROTOBUF_CONSTEXPR SignalingAddrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SignalingAddrDefaultTypeInternal() {} + union { + SignalingAddr _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SignalingAddrDefaultTypeInternal _SignalingAddr_default_instance_; + +inline constexpr SendRoomMessageRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + dst_{}, + msg_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + casttype_{nullptr}, + option_{nullptr}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR SendRoomMessageRequest::SendRoomMessageRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SendRoomMessageRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SendRoomMessageRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SendRoomMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SendRoomMessageRequestDefaultTypeInternal() {} + union { + SendRoomMessageRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendRoomMessageRequestDefaultTypeInternal _SendRoomMessageRequest_default_instance_; + +inline constexpr SearchJoinRoomGUIRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + conds_{}, + attrs_{} {} + +template +PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SearchJoinRoomGUIRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SearchJoinRoomGUIRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SearchJoinRoomGUIRequestDefaultTypeInternal() {} + union { + SearchJoinRoomGUIRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchJoinRoomGUIRequestDefaultTypeInternal _SearchJoinRoomGUIRequest_default_instance_; + +inline constexpr RoomUpdateInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + eventcause_{nullptr}, + optdata_{nullptr}, + errorcode_{0} {} + +template +PROTOBUF_CONSTEXPR RoomUpdateInfo::RoomUpdateInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomUpdateInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomUpdateInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomUpdateInfoDefaultTypeInternal() {} + union { + RoomUpdateInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomUpdateInfoDefaultTypeInternal _RoomUpdateInfo_default_instance_; + +inline constexpr RoomMessageInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + dst_{}, + msg_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + casttype_{nullptr}, + srcmember_{nullptr}, + filtered_{false} {} + +template +PROTOBUF_CONSTEXPR RoomMessageInfo::RoomMessageInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomMessageInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomMessageInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomMessageInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomMessageInfoDefaultTypeInternal() {} + union { + RoomMessageInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMessageInfoDefaultTypeInternal _RoomMessageInfo_default_instance_; + +inline constexpr RoomGroupPasswordConfig::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + groupid_{nullptr}, + withpassword_{false} {} + +template +PROTOBUF_CONSTEXPR RoomGroupPasswordConfig::RoomGroupPasswordConfig(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomGroupPasswordConfig_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomGroupPasswordConfigDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomGroupPasswordConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomGroupPasswordConfigDefaultTypeInternal() {} + union { + RoomGroupPasswordConfig _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomGroupPasswordConfigDefaultTypeInternal _RoomGroupPasswordConfig_default_instance_; + +inline constexpr RoomGroup::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + label_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + groupid_{nullptr}, + withpassword_{false}, + slotnum_{0u}, + curgroupmembernum_{0u} {} + +template +PROTOBUF_CONSTEXPR RoomGroup::RoomGroup(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomGroup_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomGroupDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomGroupDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomGroupDefaultTypeInternal() {} + union { + RoomGroup _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomGroupDefaultTypeInternal _RoomGroup_default_instance_; + +inline constexpr QuickMatchGUIRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + conds_{}, + available_num_{0u} {} + +template +PROTOBUF_CONSTEXPR QuickMatchGUIRequest::QuickMatchGUIRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(QuickMatchGUIRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct QuickMatchGUIRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR QuickMatchGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~QuickMatchGUIRequestDefaultTypeInternal() {} + union { + QuickMatchGUIRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuickMatchGUIRequestDefaultTypeInternal _QuickMatchGUIRequest_default_instance_; + +inline constexpr OptParam::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + type_{nullptr}, + flag_{nullptr}, + hubmemberid_{nullptr} {} + +template +PROTOBUF_CONSTEXPR OptParam::OptParam(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(OptParam_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OptParamDefaultTypeInternal { + PROTOBUF_CONSTEXPR OptParamDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OptParamDefaultTypeInternal() {} + union { + OptParam _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OptParamDefaultTypeInternal _OptParam_default_instance_; + +inline constexpr MessageDetails::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + communicationid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + subject_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + body_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + maintype_{nullptr}, + subtype_{nullptr}, + msgid_{::uint64_t{0u}}, + msgfeatures_{0u} {} + +template +PROTOBUF_CONSTEXPR MessageDetails::MessageDetails(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MessageDetails_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MessageDetailsDefaultTypeInternal { + PROTOBUF_CONSTEXPR MessageDetailsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MessageDetailsDefaultTypeInternal() {} + union { + MessageDetails _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDetailsDefaultTypeInternal _MessageDetails_default_instance_; + +inline constexpr MatchingRoom::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + attr_{}, + id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR MatchingRoom::MatchingRoom(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingRoom_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingRoomDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingRoomDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingRoomDefaultTypeInternal() {} + union { + MatchingRoom _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomDefaultTypeInternal _MatchingRoom_default_instance_; + +inline constexpr LeaveRoomRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + optdata_{nullptr}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR LeaveRoomRequest::LeaveRoomRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(LeaveRoomRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct LeaveRoomRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR LeaveRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LeaveRoomRequestDefaultTypeInternal() {} + union { + LeaveRoomRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveRoomRequestDefaultTypeInternal _LeaveRoomRequest_default_instance_; + +inline constexpr IntAttr::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + id_{nullptr}, + num_{0u} {} + +template +PROTOBUF_CONSTEXPR IntAttr::IntAttr(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(IntAttr_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct IntAttrDefaultTypeInternal { + PROTOBUF_CONSTEXPR IntAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~IntAttrDefaultTypeInternal() {} + union { + IntAttr _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntAttrDefaultTypeInternal _IntAttr_default_instance_; + +inline constexpr GetScoreResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + rankarray_{}, + commentarray_{}, + infoarray_{}, + lastsortdate_{::uint64_t{0u}}, + totalrecord_{0u} {} + +template +PROTOBUF_CONSTEXPR GetScoreResponse::GetScoreResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetScoreResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetScoreResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetScoreResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetScoreResponseDefaultTypeInternal() {} + union { + GetScoreResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreResponseDefaultTypeInternal _GetScoreResponse_default_instance_; + +inline constexpr GetScoreNpIdRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npids_{}, + boardid_{0u}, + withcomment_{false}, + withgameinfo_{false} {} + +template +PROTOBUF_CONSTEXPR GetScoreNpIdRequest::GetScoreNpIdRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetScoreNpIdRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetScoreNpIdRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetScoreNpIdRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetScoreNpIdRequestDefaultTypeInternal() {} + union { + GetScoreNpIdRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetScoreNpIdRequestDefaultTypeInternal _GetScoreNpIdRequest_default_instance_; + +inline constexpr GetRoomMemberDataInternalRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + attrid_{}, + memberid_{nullptr}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetRoomMemberDataInternalRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetRoomMemberDataInternalRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRoomMemberDataInternalRequestDefaultTypeInternal() {} + union { + GetRoomMemberDataInternalRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomMemberDataInternalRequestDefaultTypeInternal _GetRoomMemberDataInternalRequest_default_instance_; + +inline constexpr GetRoomListGUIRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + conds_{}, + attrs_{}, + range_start_{0u}, + range_max_{0u} {} + +template +PROTOBUF_CONSTEXPR GetRoomListGUIRequest::GetRoomListGUIRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetRoomListGUIRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetRoomListGUIRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRoomListGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRoomListGUIRequestDefaultTypeInternal() {} + union { + GetRoomListGUIRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomListGUIRequestDefaultTypeInternal _GetRoomListGUIRequest_default_instance_; + +inline constexpr GetRoomDataInternalRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + attrid_{}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR GetRoomDataInternalRequest::GetRoomDataInternalRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetRoomDataInternalRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetRoomDataInternalRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRoomDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRoomDataInternalRequestDefaultTypeInternal() {} + union { + GetRoomDataInternalRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataInternalRequestDefaultTypeInternal _GetRoomDataInternalRequest_default_instance_; + +inline constexpr GetRoomDataExternalListRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roomids_{}, + _roomids_cached_byte_size_{0}, + attrids_{} {} + +template +PROTOBUF_CONSTEXPR GetRoomDataExternalListRequest::GetRoomDataExternalListRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetRoomDataExternalListRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetRoomDataExternalListRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRoomDataExternalListRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRoomDataExternalListRequestDefaultTypeInternal() {} + union { + GetRoomDataExternalListRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataExternalListRequestDefaultTypeInternal _GetRoomDataExternalListRequest_default_instance_; + +inline constexpr GetPingInfoResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + serverid_{nullptr}, + roomid_{::uint64_t{0u}}, + worldid_{0u}, + rtt_{0u} {} + +template +PROTOBUF_CONSTEXPR GetPingInfoResponse::GetPingInfoResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetPingInfoResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetPingInfoResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetPingInfoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetPingInfoResponseDefaultTypeInternal() {} + union { + GetPingInfoResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPingInfoResponseDefaultTypeInternal _GetPingInfoResponse_default_instance_; + +inline constexpr GUIUserInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + info_{nullptr}, + owner_{false} {} + +template +PROTOBUF_CONSTEXPR GUIUserInfo::GUIUserInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GUIUserInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GUIUserInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR GUIUserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GUIUserInfoDefaultTypeInternal() {} + union { + GUIUserInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GUIUserInfoDefaultTypeInternal _GUIUserInfo_default_instance_; + +inline constexpr CreateRoomGUIRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + game_attrs_{}, + total_slots_{0u}, + private_slots_{0u}, + privilege_grant_{false}, + stealth_{false} {} + +template +PROTOBUF_CONSTEXPR CreateRoomGUIRequest::CreateRoomGUIRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(CreateRoomGUIRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CreateRoomGUIRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CreateRoomGUIRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CreateRoomGUIRequestDefaultTypeInternal() {} + union { + CreateRoomGUIRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRoomGUIRequestDefaultTypeInternal _CreateRoomGUIRequest_default_instance_; + +inline constexpr BinAttr::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + data_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + id_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BinAttr::BinAttr(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(BinAttr_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BinAttrDefaultTypeInternal { + PROTOBUF_CONSTEXPR BinAttrDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BinAttrDefaultTypeInternal() {} + union { + BinAttr _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinAttrDefaultTypeInternal _BinAttr_default_instance_; + +inline constexpr SetUserInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + userbinattr_{}, + serverid_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SetUserInfo::SetUserInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SetUserInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SetUserInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetUserInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetUserInfoDefaultTypeInternal() {} + union { + SetUserInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetUserInfoDefaultTypeInternal _SetUserInfo_default_instance_; + +inline constexpr SetRoomMemberDataInternalRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roommemberbinattrinternal_{}, + memberid_{nullptr}, + teamid_{nullptr}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SetRoomMemberDataInternalRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SetRoomMemberDataInternalRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetRoomMemberDataInternalRequestDefaultTypeInternal() {} + union { + SetRoomMemberDataInternalRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomMemberDataInternalRequestDefaultTypeInternal _SetRoomMemberDataInternalRequest_default_instance_; + +inline constexpr SetRoomDataInternalRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roombinattrinternal_{}, + passwordconfig_{}, + passwordslotmask_{}, + _passwordslotmask_cached_byte_size_{0}, + ownerprivilegerank_{}, + roomid_{::uint64_t{0u}}, + flagfilter_{0u}, + flagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR SetRoomDataInternalRequest::SetRoomDataInternalRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SetRoomDataInternalRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SetRoomDataInternalRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetRoomDataInternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetRoomDataInternalRequestDefaultTypeInternal() {} + union { + SetRoomDataInternalRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomDataInternalRequestDefaultTypeInternal _SetRoomDataInternalRequest_default_instance_; + +inline constexpr SetRoomDataExternalRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roomsearchableintattrexternal_{}, + roomsearchablebinattrexternal_{}, + roombinattrexternal_{}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR SetRoomDataExternalRequest::SetRoomDataExternalRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SetRoomDataExternalRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SetRoomDataExternalRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetRoomDataExternalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetRoomDataExternalRequestDefaultTypeInternal() {} + union { + SetRoomDataExternalRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRoomDataExternalRequestDefaultTypeInternal _SetRoomDataExternalRequest_default_instance_; + +inline constexpr RoomMemberBinAttrInternal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + data_{nullptr}, + updatedate_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomMemberBinAttrInternal_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomMemberBinAttrInternalDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomMemberBinAttrInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomMemberBinAttrInternalDefaultTypeInternal() {} + union { + RoomMemberBinAttrInternal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberBinAttrInternalDefaultTypeInternal _RoomMemberBinAttrInternal_default_instance_; + +inline constexpr RoomDataExternal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roomgroup_{}, + roomsearchableintattrexternal_{}, + roomsearchablebinattrexternal_{}, + roombinattrexternal_{}, + serverid_{nullptr}, + publicslotnum_{nullptr}, + privateslotnum_{nullptr}, + openpublicslotnum_{nullptr}, + maxslot_{nullptr}, + openprivateslotnum_{nullptr}, + curmembernum_{nullptr}, + owner_{nullptr}, + lobbyid_{::uint64_t{0u}}, + roomid_{::uint64_t{0u}}, + worldid_{0u}, + flagattr_{0u}, + passwordslotmask_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR RoomDataExternal::RoomDataExternal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomDataExternal_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomDataExternalDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomDataExternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomDataExternalDefaultTypeInternal() {} + union { + RoomDataExternal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataExternalDefaultTypeInternal _RoomDataExternal_default_instance_; + +inline constexpr MatchingSignalingInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + npid_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + addr_{nullptr} {} + +template +PROTOBUF_CONSTEXPR MatchingSignalingInfo::MatchingSignalingInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingSignalingInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingSignalingInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingSignalingInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingSignalingInfoDefaultTypeInternal() {} + union { + MatchingSignalingInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSignalingInfoDefaultTypeInternal _MatchingSignalingInfo_default_instance_; + +inline constexpr MatchingRoomStatus::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + members_{}, + id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + kick_actor_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + opt_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()) {} + +template +PROTOBUF_CONSTEXPR MatchingRoomStatus::MatchingRoomStatus(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingRoomStatus_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingRoomStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingRoomStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingRoomStatusDefaultTypeInternal() {} + union { + MatchingRoomStatus _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomStatusDefaultTypeInternal _MatchingRoomStatus_default_instance_; + +inline constexpr MatchingRoomList::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + rooms_{}, + start_{0u}, + total_{0u} {} + +template +PROTOBUF_CONSTEXPR MatchingRoomList::MatchingRoomList(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingRoomList_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingRoomListDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingRoomListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingRoomListDefaultTypeInternal() {} + union { + MatchingRoomList _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingRoomListDefaultTypeInternal _MatchingRoomList_default_instance_; + +inline constexpr Matching2SignalingInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + member_id_{nullptr}, + addr_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Matching2SignalingInfo::Matching2SignalingInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(Matching2SignalingInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Matching2SignalingInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR Matching2SignalingInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Matching2SignalingInfoDefaultTypeInternal() {} + union { + Matching2SignalingInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Matching2SignalingInfoDefaultTypeInternal _Matching2SignalingInfo_default_instance_; + +inline constexpr JoinRoomRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roommemberbinattrinternal_{}, + roompassword_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + joinroomgrouplabel_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + optdata_{nullptr}, + teamid_{nullptr}, + roomid_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR JoinRoomRequest::JoinRoomRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(JoinRoomRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct JoinRoomRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR JoinRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~JoinRoomRequestDefaultTypeInternal() {} + union { + JoinRoomRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomRequestDefaultTypeInternal _JoinRoomRequest_default_instance_; + +inline constexpr IntSearchFilter::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + searchoperator_{nullptr}, + attr_{nullptr} {} + +template +PROTOBUF_CONSTEXPR IntSearchFilter::IntSearchFilter(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(IntSearchFilter_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct IntSearchFilterDefaultTypeInternal { + PROTOBUF_CONSTEXPR IntSearchFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~IntSearchFilterDefaultTypeInternal() {} + union { + IntSearchFilter _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntSearchFilterDefaultTypeInternal _IntSearchFilter_default_instance_; + +inline constexpr CreateJoinRoomRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roombinattrinternal_{}, + roomsearchableintattrexternal_{}, + roomsearchablebinattrexternal_{}, + roombinattrexternal_{}, + groupconfig_{}, + alloweduser_{}, + blockeduser_{}, + roommemberbinattrinternal_{}, + roompassword_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + joinroomgrouplabel_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + teamid_{nullptr}, + sigoptparam_{nullptr}, + lobbyid_{::uint64_t{0u}}, + worldid_{0u}, + maxslot_{0u}, + passwordslotmask_{::uint64_t{0u}}, + flagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR CreateJoinRoomRequest::CreateJoinRoomRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(CreateJoinRoomRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CreateJoinRoomRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CreateJoinRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CreateJoinRoomRequestDefaultTypeInternal() {} + union { + CreateJoinRoomRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateJoinRoomRequestDefaultTypeInternal _CreateJoinRoomRequest_default_instance_; + +inline constexpr BinSearchFilter::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + searchoperator_{nullptr}, + attr_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BinSearchFilter::BinSearchFilter(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(BinSearchFilter_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BinSearchFilterDefaultTypeInternal { + PROTOBUF_CONSTEXPR BinSearchFilterDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BinSearchFilterDefaultTypeInternal() {} + union { + BinSearchFilter _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinSearchFilterDefaultTypeInternal _BinSearchFilter_default_instance_; + +inline constexpr BinAttrInternal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + updatememberid_{nullptr}, + data_{nullptr}, + updatedate_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR BinAttrInternal::BinAttrInternal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(BinAttrInternal_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BinAttrInternalDefaultTypeInternal { + PROTOBUF_CONSTEXPR BinAttrInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BinAttrInternalDefaultTypeInternal() {} + union { + BinAttrInternal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinAttrInternalDefaultTypeInternal _BinAttrInternal_default_instance_; + +inline constexpr SearchRoomResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + rooms_{}, + startindex_{0u}, + total_{0u} {} + +template +PROTOBUF_CONSTEXPR SearchRoomResponse::SearchRoomResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SearchRoomResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SearchRoomResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR SearchRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SearchRoomResponseDefaultTypeInternal() {} + union { + SearchRoomResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchRoomResponseDefaultTypeInternal _SearchRoomResponse_default_instance_; + +inline constexpr SearchRoomRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + intfilter_{}, + binfilter_{}, + attrid_{}, + option_{0}, + worldid_{0u}, + lobbyid_{::uint64_t{0u}}, + rangefilter_startindex_{0u}, + rangefilter_max_{0u}, + flagfilter_{0u}, + flagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR SearchRoomRequest::SearchRoomRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(SearchRoomRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SearchRoomRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SearchRoomRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SearchRoomRequestDefaultTypeInternal() {} + union { + SearchRoomRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SearchRoomRequestDefaultTypeInternal _SearchRoomRequest_default_instance_; + +inline constexpr RoomMemberDataInternal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roommemberbinattrinternal_{}, + userinfo_{nullptr}, + teamid_{nullptr}, + roomgroup_{nullptr}, + nattype_{nullptr}, + joindate_{::uint64_t{0u}}, + memberid_{0u}, + flagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR RoomMemberDataInternal::RoomMemberDataInternal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomMemberDataInternal_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomMemberDataInternalDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomMemberDataInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomMemberDataInternalDefaultTypeInternal() {} + union { + RoomMemberDataInternal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataInternalDefaultTypeInternal _RoomMemberDataInternal_default_instance_; + +inline constexpr MatchingSearchJoinRoomInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + attr_{}, + room_{nullptr} {} + +template +PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(MatchingSearchJoinRoomInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MatchingSearchJoinRoomInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchingSearchJoinRoomInfoDefaultTypeInternal() {} + union { + MatchingSearchJoinRoomInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchingSearchJoinRoomInfoDefaultTypeInternal _MatchingSearchJoinRoomInfo_default_instance_; + +inline constexpr GetRoomDataExternalListResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + rooms_{} {} + +template +PROTOBUF_CONSTEXPR GetRoomDataExternalListResponse::GetRoomDataExternalListResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetRoomDataExternalListResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetRoomDataExternalListResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRoomDataExternalListResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRoomDataExternalListResponseDefaultTypeInternal() {} + union { + GetRoomDataExternalListResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomDataExternalListResponseDefaultTypeInternal _GetRoomDataExternalListResponse_default_instance_; + +inline constexpr RoomMemberUpdateInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + roommemberdatainternal_{nullptr}, + eventcause_{nullptr}, + optdata_{nullptr} {} + +template +PROTOBUF_CONSTEXPR RoomMemberUpdateInfo::RoomMemberUpdateInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomMemberUpdateInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomMemberUpdateInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomMemberUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomMemberUpdateInfoDefaultTypeInternal() {} + union { + RoomMemberUpdateInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberUpdateInfoDefaultTypeInternal _RoomMemberUpdateInfo_default_instance_; + +inline constexpr RoomMemberDataInternalUpdateInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + newroommemberbinattrinternal_{}, + newroommemberdatainternal_{nullptr}, + prevteamid_{nullptr}, + prevflagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomMemberDataInternalUpdateInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomMemberDataInternalUpdateInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomMemberDataInternalUpdateInfoDefaultTypeInternal() {} + union { + RoomMemberDataInternalUpdateInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataInternalUpdateInfoDefaultTypeInternal _RoomMemberDataInternalUpdateInfo_default_instance_; + +inline constexpr RoomDataInternal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + memberlist_{}, + roomgroup_{}, + roombinattrinternal_{}, + serverid_{nullptr}, + ownerid_{nullptr}, + lobbyid_{::uint64_t{0u}}, + roomid_{::uint64_t{0u}}, + worldid_{0u}, + maxslot_{0u}, + passwordslotmask_{::uint64_t{0u}}, + flagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR RoomDataInternal::RoomDataInternal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomDataInternal_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomDataInternalDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomDataInternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomDataInternalDefaultTypeInternal() {} + union { + RoomDataInternal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataInternalDefaultTypeInternal _RoomDataInternal_default_instance_; + +inline constexpr RoomDataInternalUpdateInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + newroombinattrinternal_{}, + newroomgroup_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + newroomdatainternal_{nullptr}, + prevroompasswordslotmask_{::uint64_t{0u}}, + prevflagattr_{0u} {} + +template +PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomDataInternalUpdateInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomDataInternalUpdateInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomDataInternalUpdateInfoDefaultTypeInternal() {} + union { + RoomDataInternalUpdateInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomDataInternalUpdateInfoDefaultTypeInternal _RoomDataInternalUpdateInfo_default_instance_; + +inline constexpr NotificationUserJoinedRoom::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + update_info_{nullptr}, + signaling_{nullptr}, + room_id_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR NotificationUserJoinedRoom::NotificationUserJoinedRoom(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(NotificationUserJoinedRoom_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct NotificationUserJoinedRoomDefaultTypeInternal { + PROTOBUF_CONSTEXPR NotificationUserJoinedRoomDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~NotificationUserJoinedRoomDefaultTypeInternal() {} + union { + NotificationUserJoinedRoom _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NotificationUserJoinedRoomDefaultTypeInternal _NotificationUserJoinedRoom_default_instance_; + +inline constexpr JoinRoomResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + signaling_data_{}, + room_data_{nullptr} {} + +template +PROTOBUF_CONSTEXPR JoinRoomResponse::JoinRoomResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(JoinRoomResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct JoinRoomResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR JoinRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~JoinRoomResponseDefaultTypeInternal() {} + union { + JoinRoomResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomResponseDefaultTypeInternal _JoinRoomResponse_default_instance_; +} // namespace np2_structs +namespace np2_structs { +// =================================================================== + +class uint8::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(uint8, _impl_._has_bits_); +}; + +uint8::uint8(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, uint8_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.uint8) +} +uint8::uint8( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint8& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, uint8_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE uint8::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void uint8::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +uint8::~uint8() { + // @@protoc_insertion_point(destructor:np2_structs.uint8) + SharedDtor(*this); +} +inline void uint8::SharedDtor(MessageLite& self) { + uint8& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL uint8::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) uint8(arena); +} +constexpr auto uint8::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(uint8), + alignof(uint8)); +} +constexpr auto uint8::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<18>{ + { + &_uint8_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &uint8::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &uint8::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &uint8::ByteSizeLong, + &uint8::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(uint8, _impl_._cached_size_), + true, + }, + "np2_structs.uint8", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<18> uint8_class_data_ = + uint8::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +uint8::GetClassData() const { + return uint8_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +uint8::_table_ = { + { + PROTOBUF_FIELD_OFFSET(uint8, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + uint8_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::uint8>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 value = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(uint8, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 value = 1; + {PROTOBUF_FIELD_OFFSET(uint8, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void uint8::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.uint8) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL uint8::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const uint8& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL uint8::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const uint8& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.uint8) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 value = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_value() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_value(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.uint8) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t uint8::ByteSizeLong(const MessageLite& base) { + const uint8& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t uint8::ByteSizeLong() const { + const uint8& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.uint8) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint32 value = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_value() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_value()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void uint8::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.uint8) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_value() != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void uint8::CopyFrom(const uint8& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.uint8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void uint8::InternalSwap(uint8* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.value_, other->_impl_.value_); +} + +// =================================================================== + +class uint16::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(uint16, _impl_._has_bits_); +}; + +uint16::uint16(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, uint16_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.uint16) +} +uint16::uint16( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint16& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, uint16_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE uint16::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void uint16::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +uint16::~uint16() { + // @@protoc_insertion_point(destructor:np2_structs.uint16) + SharedDtor(*this); +} +inline void uint16::SharedDtor(MessageLite& self) { + uint16& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL uint16::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) uint16(arena); +} +constexpr auto uint16::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(uint16), + alignof(uint16)); +} +constexpr auto uint16::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<19>{ + { + &_uint16_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &uint16::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &uint16::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &uint16::ByteSizeLong, + &uint16::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(uint16, _impl_._cached_size_), + true, + }, + "np2_structs.uint16", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<19> uint16_class_data_ = + uint16::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +uint16::GetClassData() const { + return uint16_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +uint16::_table_ = { + { + PROTOBUF_FIELD_OFFSET(uint16, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + uint16_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::uint16>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 value = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(uint16, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 value = 1; + {PROTOBUF_FIELD_OFFSET(uint16, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void uint16::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.uint16) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL uint16::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const uint16& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL uint16::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const uint16& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.uint16) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 value = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_value() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_value(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.uint16) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t uint16::ByteSizeLong(const MessageLite& base) { + const uint16& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t uint16::ByteSizeLong() const { + const uint16& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.uint16) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint32 value = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_value() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_value()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void uint16::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.uint16) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_value() != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void uint16::CopyFrom(const uint16& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.uint16) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void uint16::InternalSwap(uint16* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.value_, other->_impl_.value_); +} + +// =================================================================== + +class SignalingAddr::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._has_bits_); +}; + +SignalingAddr::SignalingAddr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SignalingAddr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SignalingAddr) +} +PROTOBUF_NDEBUG_INLINE SignalingAddr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SignalingAddr& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + ip_(arena, from.ip_) {} + +SignalingAddr::SignalingAddr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SignalingAddr& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SignalingAddr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SignalingAddr* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.port_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.port_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.SignalingAddr) +} +PROTOBUF_NDEBUG_INLINE SignalingAddr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + ip_(arena) {} + +inline void SignalingAddr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.port_ = {}; +} +SignalingAddr::~SignalingAddr() { + // @@protoc_insertion_point(destructor:np2_structs.SignalingAddr) + SharedDtor(*this); +} +inline void SignalingAddr::SharedDtor(MessageLite& self) { + SignalingAddr& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.ip_.Destroy(); + delete this_._impl_.port_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SignalingAddr::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SignalingAddr(arena); +} +constexpr auto SignalingAddr::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SignalingAddr), + alignof(SignalingAddr)); +} +constexpr auto SignalingAddr::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<26>{ + { + &_SignalingAddr_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SignalingAddr::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SignalingAddr::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SignalingAddr::ByteSizeLong, + &SignalingAddr::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._cached_size_), + true, + }, + "np2_structs.SignalingAddr", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<26> SignalingAddr_class_data_ = + SignalingAddr::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SignalingAddr::GetClassData() const { + return SignalingAddr_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +SignalingAddr::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SignalingAddr_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.uint16 port = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.port_)}}, + // bytes ip = 1; + {::_pbi::TcParser::FastBS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.ip_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes ip = 1; + {PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.ip_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // .np2_structs.uint16 port = 2; + {PROTOBUF_FIELD_OFFSET(SignalingAddr, _impl_.port_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SignalingAddr::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SignalingAddr) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.ip_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.port_ != nullptr); + _impl_.port_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SignalingAddr::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SignalingAddr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SignalingAddr::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SignalingAddr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SignalingAddr) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes ip = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_ip().empty()) { + const ::std::string& _s = this_._internal_ip(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + // .np2_structs.uint16 port = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.port_, this_._impl_.port_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SignalingAddr) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SignalingAddr::ByteSizeLong(const MessageLite& base) { + const SignalingAddr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SignalingAddr::ByteSizeLong() const { + const SignalingAddr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SignalingAddr) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // bytes ip = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_ip().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_ip()); + } + } + // .np2_structs.uint16 port = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.port_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SignalingAddr::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SignalingAddr) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_ip().empty()) { + _this->_internal_set_ip(from._internal_ip()); + } else { + if (_this->_impl_.ip_.IsDefault()) { + _this->_internal_set_ip(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.port_ != nullptr); + if (_this->_impl_.port_ == nullptr) { + _this->_impl_.port_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.port_); + } else { + _this->_impl_.port_->MergeFrom(*from._impl_.port_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SignalingAddr::CopyFrom(const SignalingAddr& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SignalingAddr) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SignalingAddr::InternalSwap(SignalingAddr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_, &other->_impl_.ip_, arena); + swap(_impl_.port_, other->_impl_.port_); +} + +// =================================================================== + +class MatchingSignalingInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._has_bits_); +}; + +MatchingSignalingInfo::MatchingSignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingSignalingInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSignalingInfo) +} +PROTOBUF_NDEBUG_INLINE MatchingSignalingInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingSignalingInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npid_(arena, from.npid_) {} + +MatchingSignalingInfo::MatchingSignalingInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingSignalingInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingSignalingInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingSignalingInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.addr_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingSignalingInfo) +} +PROTOBUF_NDEBUG_INLINE MatchingSignalingInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npid_(arena) {} + +inline void MatchingSignalingInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.addr_ = {}; +} +MatchingSignalingInfo::~MatchingSignalingInfo() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingSignalingInfo) + SharedDtor(*this); +} +inline void MatchingSignalingInfo::SharedDtor(MessageLite& self) { + MatchingSignalingInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.npid_.Destroy(); + delete this_._impl_.addr_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingSignalingInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingSignalingInfo(arena); +} +constexpr auto MatchingSignalingInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingSignalingInfo), + alignof(MatchingSignalingInfo)); +} +constexpr auto MatchingSignalingInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<34>{ + { + &_MatchingSignalingInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingSignalingInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingSignalingInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingSignalingInfo::ByteSizeLong, + &MatchingSignalingInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingSignalingInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<34> MatchingSignalingInfo_class_data_ = + MatchingSignalingInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingSignalingInfo::GetClassData() const { + return MatchingSignalingInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 46, 2> +MatchingSignalingInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + MatchingSignalingInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingSignalingInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.SignalingAddr addr = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.addr_)}}, + // string npid = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.npid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string npid = 1; + {PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .np2_structs.SignalingAddr addr = 2; + {PROTOBUF_FIELD_OFFSET(MatchingSignalingInfo, _impl_.addr_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()}, + }}, + {{ + "\41\4\0\0\0\0\0\0" + "np2_structs.MatchingSignalingInfo" + "npid" + }}, +}; +PROTOBUF_NOINLINE void MatchingSignalingInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSignalingInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.npid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.addr_ != nullptr); + _impl_.addr_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingSignalingInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingSignalingInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingSignalingInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingSignalingInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSignalingInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string npid = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + const ::std::string& _s = this_._internal_npid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MatchingSignalingInfo.npid"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // .np2_structs.SignalingAddr addr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.addr_, this_._impl_.addr_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSignalingInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingSignalingInfo::ByteSizeLong(const MessageLite& base) { + const MatchingSignalingInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingSignalingInfo::ByteSizeLong() const { + const MatchingSignalingInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSignalingInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // string npid = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npid()); + } + } + // .np2_structs.SignalingAddr addr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.addr_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingSignalingInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSignalingInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_npid().empty()) { + _this->_internal_set_npid(from._internal_npid()); + } else { + if (_this->_impl_.npid_.IsDefault()) { + _this->_internal_set_npid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.addr_ != nullptr); + if (_this->_impl_.addr_ == nullptr) { + _this->_impl_.addr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_); + } else { + _this->_impl_.addr_->MergeFrom(*from._impl_.addr_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingSignalingInfo::CopyFrom(const MatchingSignalingInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSignalingInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingSignalingInfo::InternalSwap(MatchingSignalingInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena); + swap(_impl_.addr_, other->_impl_.addr_); +} + +// =================================================================== + +class Matching2SignalingInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._has_bits_); +}; + +Matching2SignalingInfo::Matching2SignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, Matching2SignalingInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.Matching2SignalingInfo) +} +PROTOBUF_NDEBUG_INLINE Matching2SignalingInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::Matching2SignalingInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Matching2SignalingInfo::Matching2SignalingInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const Matching2SignalingInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, Matching2SignalingInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Matching2SignalingInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.member_id_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.member_id_) + : nullptr; + _impl_.addr_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.Matching2SignalingInfo) +} +PROTOBUF_NDEBUG_INLINE Matching2SignalingInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void Matching2SignalingInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, member_id_), + 0, + offsetof(Impl_, addr_) - + offsetof(Impl_, member_id_) + + sizeof(Impl_::addr_)); +} +Matching2SignalingInfo::~Matching2SignalingInfo() { + // @@protoc_insertion_point(destructor:np2_structs.Matching2SignalingInfo) + SharedDtor(*this); +} +inline void Matching2SignalingInfo::SharedDtor(MessageLite& self) { + Matching2SignalingInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.member_id_; + delete this_._impl_.addr_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL Matching2SignalingInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) Matching2SignalingInfo(arena); +} +constexpr auto Matching2SignalingInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Matching2SignalingInfo), + alignof(Matching2SignalingInfo)); +} +constexpr auto Matching2SignalingInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<35>{ + { + &_Matching2SignalingInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Matching2SignalingInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Matching2SignalingInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &Matching2SignalingInfo::ByteSizeLong, + &Matching2SignalingInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._cached_size_), + true, + }, + "np2_structs.Matching2SignalingInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<35> Matching2SignalingInfo_class_data_ = + Matching2SignalingInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +Matching2SignalingInfo::GetClassData() const { + return Matching2SignalingInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +Matching2SignalingInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + Matching2SignalingInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::Matching2SignalingInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.SignalingAddr addr = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_)}}, + // .np2_structs.uint16 member_id = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 member_id = 1; + {PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.SignalingAddr addr = 2; + {PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void Matching2SignalingInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.Matching2SignalingInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.member_id_ != nullptr); + _impl_.member_id_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.addr_ != nullptr); + _impl_.addr_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL Matching2SignalingInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const Matching2SignalingInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL Matching2SignalingInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const Matching2SignalingInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.Matching2SignalingInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 member_id = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.member_id_, this_._impl_.member_id_->GetCachedSize(), target, + stream); + } + + // .np2_structs.SignalingAddr addr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.addr_, this_._impl_.addr_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.Matching2SignalingInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t Matching2SignalingInfo::ByteSizeLong(const MessageLite& base) { + const Matching2SignalingInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t Matching2SignalingInfo::ByteSizeLong() const { + const Matching2SignalingInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.Matching2SignalingInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.uint16 member_id = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.member_id_); + } + // .np2_structs.SignalingAddr addr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.addr_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void Matching2SignalingInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.Matching2SignalingInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.member_id_ != nullptr); + if (_this->_impl_.member_id_ == nullptr) { + _this->_impl_.member_id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.member_id_); + } else { + _this->_impl_.member_id_->MergeFrom(*from._impl_.member_id_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.addr_ != nullptr); + if (_this->_impl_.addr_ == nullptr) { + _this->_impl_.addr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.addr_); + } else { + _this->_impl_.addr_->MergeFrom(*from._impl_.addr_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void Matching2SignalingInfo::CopyFrom(const Matching2SignalingInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.Matching2SignalingInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Matching2SignalingInfo::InternalSwap(Matching2SignalingInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.addr_) + + sizeof(Matching2SignalingInfo::_impl_.addr_) + - PROTOBUF_FIELD_OFFSET(Matching2SignalingInfo, _impl_.member_id_)>( + reinterpret_cast(&_impl_.member_id_), + reinterpret_cast(&other->_impl_.member_id_)); +} + +// =================================================================== + +class BinAttr::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._has_bits_); +}; + +BinAttr::BinAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BinAttr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.BinAttr) +} +PROTOBUF_NDEBUG_INLINE BinAttr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::BinAttr& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + data_(arena, from.data_) {} + +BinAttr::BinAttr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BinAttr& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BinAttr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BinAttr* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.id_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.BinAttr) +} +PROTOBUF_NDEBUG_INLINE BinAttr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + data_(arena) {} + +inline void BinAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.id_ = {}; +} +BinAttr::~BinAttr() { + // @@protoc_insertion_point(destructor:np2_structs.BinAttr) + SharedDtor(*this); +} +inline void BinAttr::SharedDtor(MessageLite& self) { + BinAttr& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.data_.Destroy(); + delete this_._impl_.id_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL BinAttr::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BinAttr(arena); +} +constexpr auto BinAttr::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BinAttr), + alignof(BinAttr)); +} +constexpr auto BinAttr::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<20>{ + { + &_BinAttr_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BinAttr::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BinAttr::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &BinAttr::ByteSizeLong, + &BinAttr::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._cached_size_), + true, + }, + "np2_structs.BinAttr", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<20> BinAttr_class_data_ = + BinAttr::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BinAttr::GetClassData() const { + return BinAttr_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +BinAttr::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BinAttr, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + BinAttr_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::BinAttr>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes data = 2; + {::_pbi::TcParser::FastBS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.data_)}}, + // .np2_structs.uint16 id = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 id = 1; + {PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // bytes data = 2; + {PROTOBUF_FIELD_OFFSET(BinAttr, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void BinAttr::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.BinAttr) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.id_ != nullptr); + _impl_.id_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BinAttr::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BinAttr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BinAttr::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const BinAttr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinAttr) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 id = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, + stream); + } + + // bytes data = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(2, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinAttr) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t BinAttr::ByteSizeLong(const MessageLite& base) { + const BinAttr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t BinAttr::ByteSizeLong() const { + const BinAttr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.BinAttr) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // bytes data = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // .np2_structs.uint16 id = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void BinAttr::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinAttr) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.id_ != nullptr); + if (_this->_impl_.id_ == nullptr) { + _this->_impl_.id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_); + } else { + _this->_impl_.id_->MergeFrom(*from._impl_.id_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void BinAttr::CopyFrom(const BinAttr& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinAttr) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BinAttr::InternalSwap(BinAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + swap(_impl_.id_, other->_impl_.id_); +} + +// =================================================================== + +class IntAttr::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._has_bits_); +}; + +IntAttr::IntAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, IntAttr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.IntAttr) +} +PROTOBUF_NDEBUG_INLINE IntAttr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::IntAttr& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +IntAttr::IntAttr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const IntAttr& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, IntAttr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + IntAttr* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.id_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_) + : nullptr; + _impl_.num_ = from._impl_.num_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.IntAttr) +} +PROTOBUF_NDEBUG_INLINE IntAttr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void IntAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, id_), + 0, + offsetof(Impl_, num_) - + offsetof(Impl_, id_) + + sizeof(Impl_::num_)); +} +IntAttr::~IntAttr() { + // @@protoc_insertion_point(destructor:np2_structs.IntAttr) + SharedDtor(*this); +} +inline void IntAttr::SharedDtor(MessageLite& self) { + IntAttr& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.id_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL IntAttr::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) IntAttr(arena); +} +constexpr auto IntAttr::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IntAttr), + alignof(IntAttr)); +} +constexpr auto IntAttr::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<20>{ + { + &_IntAttr_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &IntAttr::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &IntAttr::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &IntAttr::ByteSizeLong, + &IntAttr::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._cached_size_), + true, + }, + "np2_structs.IntAttr", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<20> IntAttr_class_data_ = + IntAttr::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +IntAttr::GetClassData() const { + return IntAttr_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +IntAttr::_table_ = { + { + PROTOBUF_FIELD_OFFSET(IntAttr, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + IntAttr_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::IntAttr>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 num = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_)}}, + // .np2_structs.uint16 id = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 id = 1; + {PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 num = 2; + {PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void IntAttr::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.IntAttr) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.id_ != nullptr); + _impl_.id_->Clear(); + } + _impl_.num_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL IntAttr::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const IntAttr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL IntAttr::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const IntAttr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.IntAttr) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 id = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, + stream); + } + + // uint32 num = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_num() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_num(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.IntAttr) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t IntAttr::ByteSizeLong(const MessageLite& base) { + const IntAttr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t IntAttr::ByteSizeLong() const { + const IntAttr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.IntAttr) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.uint16 id = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); + } + // uint32 num = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_num() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_num()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void IntAttr::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.IntAttr) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.id_ != nullptr); + if (_this->_impl_.id_ == nullptr) { + _this->_impl_.id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.id_); + } else { + _this->_impl_.id_->MergeFrom(*from._impl_.id_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_num() != 0) { + _this->_impl_.num_ = from._impl_.num_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void IntAttr::CopyFrom(const IntAttr& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.IntAttr) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void IntAttr::InternalSwap(IntAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.num_) + + sizeof(IntAttr::_impl_.num_) + - PROTOBUF_FIELD_OFFSET(IntAttr, _impl_.id_)>( + reinterpret_cast(&_impl_.id_), + reinterpret_cast(&other->_impl_.id_)); +} + +// =================================================================== + +class RoomMemberBinAttrInternal::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._has_bits_); +}; + +RoomMemberBinAttrInternal::RoomMemberBinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberBinAttrInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberBinAttrInternal) +} +PROTOBUF_NDEBUG_INLINE RoomMemberBinAttrInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomMemberBinAttrInternal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RoomMemberBinAttrInternal::RoomMemberBinAttrInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomMemberBinAttrInternal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberBinAttrInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomMemberBinAttrInternal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.data_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_) + : nullptr; + _impl_.updatedate_ = from._impl_.updatedate_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberBinAttrInternal) +} +PROTOBUF_NDEBUG_INLINE RoomMemberBinAttrInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RoomMemberBinAttrInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, data_), + 0, + offsetof(Impl_, updatedate_) - + offsetof(Impl_, data_) + + sizeof(Impl_::updatedate_)); +} +RoomMemberBinAttrInternal::~RoomMemberBinAttrInternal() { + // @@protoc_insertion_point(destructor:np2_structs.RoomMemberBinAttrInternal) + SharedDtor(*this); +} +inline void RoomMemberBinAttrInternal::SharedDtor(MessageLite& self) { + RoomMemberBinAttrInternal& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.data_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomMemberBinAttrInternal::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomMemberBinAttrInternal(arena); +} +constexpr auto RoomMemberBinAttrInternal::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomMemberBinAttrInternal), + alignof(RoomMemberBinAttrInternal)); +} +constexpr auto RoomMemberBinAttrInternal::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<38>{ + { + &_RoomMemberBinAttrInternal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomMemberBinAttrInternal::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomMemberBinAttrInternal::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomMemberBinAttrInternal::ByteSizeLong, + &RoomMemberBinAttrInternal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._cached_size_), + true, + }, + "np2_structs.RoomMemberBinAttrInternal", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<38> RoomMemberBinAttrInternal_class_data_ = + RoomMemberBinAttrInternal::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomMemberBinAttrInternal::GetClassData() const { + return RoomMemberBinAttrInternal_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +RoomMemberBinAttrInternal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomMemberBinAttrInternal_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomMemberBinAttrInternal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.BinAttr data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_)}}, + // uint64 updateDate = 1; + {::_pbi::TcParser::FastV64S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 updateDate = 1; + {PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.BinAttr data = 2; + {PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomMemberBinAttrInternal::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + _impl_.updatedate_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomMemberBinAttrInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomMemberBinAttrInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberBinAttrInternal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 updateDate = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_updatedate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_updatedate(), target); + } + } + + // .np2_structs.BinAttr data = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberBinAttrInternal) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomMemberBinAttrInternal::ByteSizeLong(const MessageLite& base) { + const RoomMemberBinAttrInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomMemberBinAttrInternal::ByteSizeLong() const { + const RoomMemberBinAttrInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberBinAttrInternal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.BinAttr data = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_); + } + // uint64 updateDate = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_updatedate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_updatedate()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomMemberBinAttrInternal::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberBinAttrInternal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.data_ != nullptr); + if (_this->_impl_.data_ == nullptr) { + _this->_impl_.data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_); + } else { + _this->_impl_.data_->MergeFrom(*from._impl_.data_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_updatedate() != 0) { + _this->_impl_.updatedate_ = from._impl_.updatedate_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomMemberBinAttrInternal::CopyFrom(const RoomMemberBinAttrInternal& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberBinAttrInternal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomMemberBinAttrInternal::InternalSwap(RoomMemberBinAttrInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.updatedate_) + + sizeof(RoomMemberBinAttrInternal::_impl_.updatedate_) + - PROTOBUF_FIELD_OFFSET(RoomMemberBinAttrInternal, _impl_.data_)>( + reinterpret_cast(&_impl_.data_), + reinterpret_cast(&other->_impl_.data_)); +} + +// =================================================================== + +class BinAttrInternal::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._has_bits_); +}; + +BinAttrInternal::BinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BinAttrInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.BinAttrInternal) +} +PROTOBUF_NDEBUG_INLINE BinAttrInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::BinAttrInternal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BinAttrInternal::BinAttrInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BinAttrInternal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BinAttrInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BinAttrInternal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.updatememberid_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.updatememberid_) + : nullptr; + _impl_.data_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_) + : nullptr; + _impl_.updatedate_ = from._impl_.updatedate_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.BinAttrInternal) +} +PROTOBUF_NDEBUG_INLINE BinAttrInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void BinAttrInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, updatememberid_), + 0, + offsetof(Impl_, updatedate_) - + offsetof(Impl_, updatememberid_) + + sizeof(Impl_::updatedate_)); +} +BinAttrInternal::~BinAttrInternal() { + // @@protoc_insertion_point(destructor:np2_structs.BinAttrInternal) + SharedDtor(*this); +} +inline void BinAttrInternal::SharedDtor(MessageLite& self) { + BinAttrInternal& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.updatememberid_; + delete this_._impl_.data_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL BinAttrInternal::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BinAttrInternal(arena); +} +constexpr auto BinAttrInternal::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BinAttrInternal), + alignof(BinAttrInternal)); +} +constexpr auto BinAttrInternal::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<28>{ + { + &_BinAttrInternal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BinAttrInternal::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BinAttrInternal::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &BinAttrInternal::ByteSizeLong, + &BinAttrInternal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._cached_size_), + true, + }, + "np2_structs.BinAttrInternal", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<28> BinAttrInternal_class_data_ = + BinAttrInternal::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BinAttrInternal::GetClassData() const { + return BinAttrInternal_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> +BinAttrInternal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + BinAttrInternal_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::BinAttrInternal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint64 updateDate = 1; + {::_pbi::TcParser::FastV64S1, + {8, 2, 0, + PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_)}}, + // .np2_structs.uint16 updateMemberId = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_)}}, + // .np2_structs.BinAttr data = 3; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, + PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.data_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 updateDate = 1; + {PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint16 updateMemberId = 2; + {PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.BinAttr data = 3; + {PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.data_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void BinAttrInternal::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.BinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.updatememberid_ != nullptr); + _impl_.updatememberid_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.data_ != nullptr); + _impl_.data_->Clear(); + } + } + _impl_.updatedate_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BinAttrInternal::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BinAttrInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BinAttrInternal::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const BinAttrInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinAttrInternal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 updateDate = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_updatedate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_updatedate(), target); + } + } + + // .np2_structs.uint16 updateMemberId = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.updatememberid_, this_._impl_.updatememberid_->GetCachedSize(), target, + stream); + } + + // .np2_structs.BinAttr data = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinAttrInternal) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t BinAttrInternal::ByteSizeLong(const MessageLite& base) { + const BinAttrInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t BinAttrInternal::ByteSizeLong() const { + const BinAttrInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.BinAttrInternal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // .np2_structs.uint16 updateMemberId = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.updatememberid_); + } + // .np2_structs.BinAttr data = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_); + } + // uint64 updateDate = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_updatedate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_updatedate()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void BinAttrInternal::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinAttrInternal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.updatememberid_ != nullptr); + if (_this->_impl_.updatememberid_ == nullptr) { + _this->_impl_.updatememberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.updatememberid_); + } else { + _this->_impl_.updatememberid_->MergeFrom(*from._impl_.updatememberid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.data_ != nullptr); + if (_this->_impl_.data_ == nullptr) { + _this->_impl_.data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_); + } else { + _this->_impl_.data_->MergeFrom(*from._impl_.data_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_updatedate() != 0) { + _this->_impl_.updatedate_ = from._impl_.updatedate_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void BinAttrInternal::CopyFrom(const BinAttrInternal& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinAttrInternal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BinAttrInternal::InternalSwap(BinAttrInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatedate_) + + sizeof(BinAttrInternal::_impl_.updatedate_) + - PROTOBUF_FIELD_OFFSET(BinAttrInternal, _impl_.updatememberid_)>( + reinterpret_cast(&_impl_.updatememberid_), + reinterpret_cast(&other->_impl_.updatememberid_)); +} + +// =================================================================== + +class OptParam::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(OptParam, _impl_._has_bits_); +}; + +OptParam::OptParam(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, OptParam_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.OptParam) +} +PROTOBUF_NDEBUG_INLINE OptParam::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::OptParam& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +OptParam::OptParam( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const OptParam& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, OptParam_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + OptParam* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.type_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_) + : nullptr; + _impl_.flag_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.flag_) + : nullptr; + _impl_.hubmemberid_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hubmemberid_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.OptParam) +} +PROTOBUF_NDEBUG_INLINE OptParam::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void OptParam::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, type_), + 0, + offsetof(Impl_, hubmemberid_) - + offsetof(Impl_, type_) + + sizeof(Impl_::hubmemberid_)); +} +OptParam::~OptParam() { + // @@protoc_insertion_point(destructor:np2_structs.OptParam) + SharedDtor(*this); +} +inline void OptParam::SharedDtor(MessageLite& self) { + OptParam& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.type_; + delete this_._impl_.flag_; + delete this_._impl_.hubmemberid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL OptParam::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) OptParam(arena); +} +constexpr auto OptParam::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OptParam), + alignof(OptParam)); +} +constexpr auto OptParam::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<21>{ + { + &_OptParam_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OptParam::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OptParam::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &OptParam::ByteSizeLong, + &OptParam::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OptParam, _impl_._cached_size_), + true, + }, + "np2_structs.OptParam", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<21> OptParam_class_data_ = + OptParam::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +OptParam::GetClassData() const { + return OptParam_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> +OptParam::_table_ = { + { + PROTOBUF_FIELD_OFFSET(OptParam, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + OptParam_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::OptParam>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.uint8 type = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(OptParam, _impl_.type_)}}, + // .np2_structs.uint8 flag = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(OptParam, _impl_.flag_)}}, + // .np2_structs.uint16 hubMemberId = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, + PROTOBUF_FIELD_OFFSET(OptParam, _impl_.hubmemberid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint8 type = 1; + {PROTOBUF_FIELD_OFFSET(OptParam, _impl_.type_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint8 flag = 2; + {PROTOBUF_FIELD_OFFSET(OptParam, _impl_.flag_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 hubMemberId = 3; + {PROTOBUF_FIELD_OFFSET(OptParam, _impl_.hubmemberid_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void OptParam::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.OptParam) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.type_ != nullptr); + _impl_.type_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.flag_ != nullptr); + _impl_.flag_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.hubmemberid_ != nullptr); + _impl_.hubmemberid_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL OptParam::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const OptParam& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL OptParam::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const OptParam& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.OptParam) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint8 type = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.type_, this_._impl_.type_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint8 flag = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.flag_, this_._impl_.flag_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint16 hubMemberId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.hubmemberid_, this_._impl_.hubmemberid_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.OptParam) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t OptParam::ByteSizeLong(const MessageLite& base) { + const OptParam& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t OptParam::ByteSizeLong() const { + const OptParam& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.OptParam) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // .np2_structs.uint8 type = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_); + } + // .np2_structs.uint8 flag = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.flag_); + } + // .np2_structs.uint16 hubMemberId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.hubmemberid_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void OptParam::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.OptParam) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.type_ != nullptr); + if (_this->_impl_.type_ == nullptr) { + _this->_impl_.type_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_); + } else { + _this->_impl_.type_->MergeFrom(*from._impl_.type_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.flag_ != nullptr); + if (_this->_impl_.flag_ == nullptr) { + _this->_impl_.flag_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.flag_); + } else { + _this->_impl_.flag_->MergeFrom(*from._impl_.flag_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.hubmemberid_ != nullptr); + if (_this->_impl_.hubmemberid_ == nullptr) { + _this->_impl_.hubmemberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hubmemberid_); + } else { + _this->_impl_.hubmemberid_->MergeFrom(*from._impl_.hubmemberid_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void OptParam::CopyFrom(const OptParam& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.OptParam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OptParam::InternalSwap(OptParam* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(OptParam, _impl_.hubmemberid_) + + sizeof(OptParam::_impl_.hubmemberid_) + - PROTOBUF_FIELD_OFFSET(OptParam, _impl_.type_)>( + reinterpret_cast(&_impl_.type_), + reinterpret_cast(&other->_impl_.type_)); +} + +// =================================================================== + +class GroupConfig::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._has_bits_); +}; + +GroupConfig::GroupConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GroupConfig_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GroupConfig) +} +PROTOBUF_NDEBUG_INLINE GroupConfig::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GroupConfig& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + label_(arena, from.label_) {} + +GroupConfig::GroupConfig( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GroupConfig& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GroupConfig_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GroupConfig* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, slotnum_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, slotnum_), + offsetof(Impl_, withpassword_) - + offsetof(Impl_, slotnum_) + + sizeof(Impl_::withpassword_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GroupConfig) +} +PROTOBUF_NDEBUG_INLINE GroupConfig::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + label_(arena) {} + +inline void GroupConfig::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, slotnum_), + 0, + offsetof(Impl_, withpassword_) - + offsetof(Impl_, slotnum_) + + sizeof(Impl_::withpassword_)); +} +GroupConfig::~GroupConfig() { + // @@protoc_insertion_point(destructor:np2_structs.GroupConfig) + SharedDtor(*this); +} +inline void GroupConfig::SharedDtor(MessageLite& self) { + GroupConfig& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.label_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GroupConfig::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GroupConfig(arena); +} +constexpr auto GroupConfig::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GroupConfig), + alignof(GroupConfig)); +} +constexpr auto GroupConfig::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<24>{ + { + &_GroupConfig_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GroupConfig::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GroupConfig::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GroupConfig::ByteSizeLong, + &GroupConfig::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._cached_size_), + true, + }, + "np2_structs.GroupConfig", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<24> GroupConfig_class_data_ = + GroupConfig::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GroupConfig::GetClassData() const { + return GroupConfig_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> +GroupConfig::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + GroupConfig_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GroupConfig>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 slotNum = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.slotnum_)}}, + // bytes label = 2; + {::_pbi::TcParser::FastBS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.label_)}}, + // bool withPassword = 3; + {::_pbi::TcParser::FastV8S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.withpassword_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 slotNum = 1; + {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.slotnum_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bytes label = 2; + {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.label_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // bool withPassword = 3; + {PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.withpassword_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void GroupConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GroupConfig) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.label_.ClearNonDefaultToEmpty(); + } + if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) { + ::memset(&_impl_.slotnum_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.withpassword_) - + reinterpret_cast(&_impl_.slotnum_)) + sizeof(_impl_.withpassword_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GroupConfig::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GroupConfig& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GroupConfig::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GroupConfig& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GroupConfig) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 slotNum = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotnum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_slotnum(), target); + } + } + + // bytes label = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_label().empty()) { + const ::std::string& _s = this_._internal_label(); + target = stream->WriteBytesMaybeAliased(2, _s, target); + } + } + + // bool withPassword = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_withpassword() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_withpassword(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GroupConfig) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GroupConfig::ByteSizeLong(const MessageLite& base) { + const GroupConfig& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GroupConfig::ByteSizeLong() const { + const GroupConfig& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GroupConfig) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // bytes label = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_label().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_label()); + } + } + // uint32 slotNum = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotnum() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_slotnum()); + } + } + // bool withPassword = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_withpassword() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GroupConfig::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GroupConfig) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_label().empty()) { + _this->_internal_set_label(from._internal_label()); + } else { + if (_this->_impl_.label_.IsDefault()) { + _this->_internal_set_label(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_slotnum() != 0) { + _this->_impl_.slotnum_ = from._impl_.slotnum_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_withpassword() != 0) { + _this->_impl_.withpassword_ = from._impl_.withpassword_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GroupConfig::CopyFrom(const GroupConfig& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GroupConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GroupConfig::InternalSwap(GroupConfig* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.label_, &other->_impl_.label_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.withpassword_) + + sizeof(GroupConfig::_impl_.withpassword_) + - PROTOBUF_FIELD_OFFSET(GroupConfig, _impl_.slotnum_)>( + reinterpret_cast(&_impl_.slotnum_), + reinterpret_cast(&other->_impl_.slotnum_)); +} + +// =================================================================== + +class UserInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(UserInfo, _impl_._has_bits_); +}; + +UserInfo::UserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, UserInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.UserInfo) +} +PROTOBUF_NDEBUG_INLINE UserInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::UserInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npid_(arena, from.npid_), + onlinename_(arena, from.onlinename_), + avatarurl_(arena, from.avatarurl_) {} + +UserInfo::UserInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const UserInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, UserInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + UserInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.UserInfo) +} +PROTOBUF_NDEBUG_INLINE UserInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npid_(arena), + onlinename_(arena), + avatarurl_(arena) {} + +inline void UserInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +UserInfo::~UserInfo() { + // @@protoc_insertion_point(destructor:np2_structs.UserInfo) + SharedDtor(*this); +} +inline void UserInfo::SharedDtor(MessageLite& self) { + UserInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.npid_.Destroy(); + this_._impl_.onlinename_.Destroy(); + this_._impl_.avatarurl_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL UserInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) UserInfo(arena); +} +constexpr auto UserInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UserInfo), + alignof(UserInfo)); +} +constexpr auto UserInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<21>{ + { + &_UserInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &UserInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &UserInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &UserInfo::ByteSizeLong, + &UserInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UserInfo, _impl_._cached_size_), + true, + }, + "np2_structs.UserInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<21> UserInfo_class_data_ = + UserInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +UserInfo::GetClassData() const { + return UserInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 52, 2> +UserInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(UserInfo, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + UserInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::UserInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string npId = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.npid_)}}, + // string onlineName = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.onlinename_)}}, + // string avatarUrl = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, + PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.avatarurl_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string npId = 1; + {PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string onlineName = 2; + {PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.onlinename_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string avatarUrl = 3; + {PROTOBUF_FIELD_OFFSET(UserInfo, _impl_.avatarurl_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\24\4\12\11\0\0\0\0" + "np2_structs.UserInfo" + "npId" + "onlineName" + "avatarUrl" + }}, +}; +PROTOBUF_NOINLINE void UserInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.UserInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.npid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.onlinename_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.avatarurl_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL UserInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const UserInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL UserInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const UserInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.UserInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string npId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + const ::std::string& _s = this_._internal_npid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.UserInfo.npId"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // string onlineName = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_onlinename().empty()) { + const ::std::string& _s = this_._internal_onlinename(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.UserInfo.onlineName"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + } + + // string avatarUrl = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_avatarurl().empty()) { + const ::std::string& _s = this_._internal_avatarurl(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.UserInfo.avatarUrl"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.UserInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t UserInfo::ByteSizeLong(const MessageLite& base) { + const UserInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t UserInfo::ByteSizeLong() const { + const UserInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.UserInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // string npId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npid()); + } + } + // string onlineName = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_onlinename().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_onlinename()); + } + } + // string avatarUrl = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_avatarurl().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_avatarurl()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void UserInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.UserInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_npid().empty()) { + _this->_internal_set_npid(from._internal_npid()); + } else { + if (_this->_impl_.npid_.IsDefault()) { + _this->_internal_set_npid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_onlinename().empty()) { + _this->_internal_set_onlinename(from._internal_onlinename()); + } else { + if (_this->_impl_.onlinename_.IsDefault()) { + _this->_internal_set_onlinename(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_avatarurl().empty()) { + _this->_internal_set_avatarurl(from._internal_avatarurl()); + } else { + if (_this->_impl_.avatarurl_.IsDefault()) { + _this->_internal_set_avatarurl(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void UserInfo::CopyFrom(const UserInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.UserInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void UserInfo::InternalSwap(UserInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.onlinename_, &other->_impl_.onlinename_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.avatarurl_, &other->_impl_.avatarurl_, arena); +} + +// =================================================================== + +class RoomMemberDataInternal::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_._has_bits_); +}; + +RoomMemberDataInternal::RoomMemberDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberDataInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberDataInternal) +} +PROTOBUF_NDEBUG_INLINE RoomMemberDataInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomMemberDataInternal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_} {} + +RoomMemberDataInternal::RoomMemberDataInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomMemberDataInternal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberDataInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomMemberDataInternal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.userinfo_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.userinfo_) + : nullptr; + _impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_) + : nullptr; + _impl_.roomgroup_ = (CheckHasBit(cached_has_bits, 0x00000008U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roomgroup_) + : nullptr; + _impl_.nattype_ = (CheckHasBit(cached_has_bits, 0x00000010U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nattype_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, joindate_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, joindate_), + offsetof(Impl_, flagattr_) - + offsetof(Impl_, joindate_) + + sizeof(Impl_::flagattr_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberDataInternal) +} +PROTOBUF_NDEBUG_INLINE RoomMemberDataInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roommemberbinattrinternal_{visibility, arena} {} + +inline void RoomMemberDataInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, userinfo_), + 0, + offsetof(Impl_, flagattr_) - + offsetof(Impl_, userinfo_) + + sizeof(Impl_::flagattr_)); +} +RoomMemberDataInternal::~RoomMemberDataInternal() { + // @@protoc_insertion_point(destructor:np2_structs.RoomMemberDataInternal) + SharedDtor(*this); +} +inline void RoomMemberDataInternal::SharedDtor(MessageLite& self) { + RoomMemberDataInternal& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.userinfo_; + delete this_._impl_.teamid_; + delete this_._impl_.roomgroup_; + delete this_._impl_.nattype_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomMemberDataInternal::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomMemberDataInternal(arena); +} +constexpr auto RoomMemberDataInternal::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roommemberbinattrinternal_) + + decltype(RoomMemberDataInternal::_impl_.roommemberbinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(RoomMemberDataInternal), alignof(RoomMemberDataInternal), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RoomMemberDataInternal::PlacementNew_, + sizeof(RoomMemberDataInternal), + alignof(RoomMemberDataInternal)); + } +} +constexpr auto RoomMemberDataInternal::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<35>{ + { + &_RoomMemberDataInternal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomMemberDataInternal::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomMemberDataInternal::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomMemberDataInternal::ByteSizeLong, + &RoomMemberDataInternal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_._cached_size_), + true, + }, + "np2_structs.RoomMemberDataInternal", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataInternal_class_data_ = + RoomMemberDataInternal::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomMemberDataInternal::GetClassData() const { + return RoomMemberDataInternal_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 8, 5, 0, 2> +RoomMemberDataInternal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_._has_bits_), + 0, // no _extensions_ + 8, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967040, // skipmap + offsetof(decltype(_table_), field_entries), + 8, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomMemberDataInternal_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; + {::_pbi::TcParser::FastMtR1, + {66, 0, 4, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roommemberbinattrinternal_)}}, + // .np2_structs.UserInfo userInfo = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.userinfo_)}}, + // uint64 joinDate = 2; + {::_pbi::TcParser::FastV64S1, + {16, 5, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.joindate_)}}, + // uint32 memberId = 3; + {::_pbi::TcParser::FastV32S1, + {24, 6, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.memberid_)}}, + // .np2_structs.uint8 teamId = 4; + {::_pbi::TcParser::FastMtS1, + {34, 2, 1, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.teamid_)}}, + // .np2_structs.RoomGroup roomGroup = 5; + {::_pbi::TcParser::FastMtS1, + {42, 3, 2, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roomgroup_)}}, + // .np2_structs.uint8 natType = 6; + {::_pbi::TcParser::FastMtS1, + {50, 4, 3, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.nattype_)}}, + // uint32 flagAttr = 7; + {::_pbi::TcParser::FastV32S1, + {56, 7, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.flagattr_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.UserInfo userInfo = 1; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.userinfo_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 joinDate = 2; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.joindate_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 memberId = 3; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.memberid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // .np2_structs.uint8 teamId = 4; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.teamid_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.RoomGroup roomGroup = 5; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roomgroup_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint8 natType = 6; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.nattype_), _Internal::kHasBitsOffset + 4, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 flagAttr = 7; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.flagattr_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::RoomMemberBinAttrInternal>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomMemberDataInternal::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberDataInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roommemberbinattrinternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.userinfo_ != nullptr); + _impl_.userinfo_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.teamid_ != nullptr); + _impl_.teamid_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(_impl_.roomgroup_ != nullptr); + _impl_.roomgroup_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(_impl_.nattype_ != nullptr); + _impl_.nattype_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) { + ::memset(&_impl_.joindate_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.flagattr_) - + reinterpret_cast(&_impl_.joindate_)) + sizeof(_impl_.flagattr_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternal::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomMemberDataInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternal::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomMemberDataInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberDataInternal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.UserInfo userInfo = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.userinfo_, this_._impl_.userinfo_->GetCachedSize(), target, + stream); + } + + // uint64 joinDate = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_joindate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_joindate(), target); + } + } + + // uint32 memberId = 3; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_memberid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_memberid(), target); + } + } + + // .np2_structs.uint8 teamId = 4; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target, + stream); + } + + // .np2_structs.RoomGroup roomGroup = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.roomgroup_, this_._impl_.roomgroup_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint8 natType = 6; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.nattype_, this_._impl_.nattype_->GetCachedSize(), target, + stream); + } + + // uint32 flagAttr = 7; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_flagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this_._internal_flagattr(), target); + } + } + + // repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roommemberbinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberDataInternal) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomMemberDataInternal::ByteSizeLong(const MessageLite& base) { + const RoomMemberDataInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomMemberDataInternal::ByteSizeLong() const { + const RoomMemberDataInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberDataInternal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + // repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roommemberbinattrinternal_size(); + for (const auto& msg : this_._internal_roommemberbinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.UserInfo userInfo = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.userinfo_); + } + // .np2_structs.uint8 teamId = 4; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_); + } + // .np2_structs.RoomGroup roomGroup = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.roomgroup_); + } + // .np2_structs.uint8 natType = 6; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.nattype_); + } + // uint64 joinDate = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_joindate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_joindate()); + } + } + // uint32 memberId = 3; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_memberid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_memberid()); + } + } + // uint32 flagAttr = 7; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_flagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomMemberDataInternal::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberDataInternal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roommemberbinattrinternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.userinfo_ != nullptr); + if (_this->_impl_.userinfo_ == nullptr) { + _this->_impl_.userinfo_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.userinfo_); + } else { + _this->_impl_.userinfo_->MergeFrom(*from._impl_.userinfo_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.teamid_ != nullptr); + if (_this->_impl_.teamid_ == nullptr) { + _this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_); + } else { + _this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(from._impl_.roomgroup_ != nullptr); + if (_this->_impl_.roomgroup_ == nullptr) { + _this->_impl_.roomgroup_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roomgroup_); + } else { + _this->_impl_.roomgroup_->MergeFrom(*from._impl_.roomgroup_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(from._impl_.nattype_ != nullptr); + if (_this->_impl_.nattype_ == nullptr) { + _this->_impl_.nattype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nattype_); + } else { + _this->_impl_.nattype_->MergeFrom(*from._impl_.nattype_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_joindate() != 0) { + _this->_impl_.joindate_ = from._impl_.joindate_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_memberid() != 0) { + _this->_impl_.memberid_ = from._impl_.memberid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (from._internal_flagattr() != 0) { + _this->_impl_.flagattr_ = from._impl_.flagattr_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomMemberDataInternal::CopyFrom(const RoomMemberDataInternal& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberDataInternal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomMemberDataInternal::InternalSwap(RoomMemberDataInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.flagattr_) + + sizeof(RoomMemberDataInternal::_impl_.flagattr_) + - PROTOBUF_FIELD_OFFSET(RoomMemberDataInternal, _impl_.userinfo_)>( + reinterpret_cast(&_impl_.userinfo_), + reinterpret_cast(&other->_impl_.userinfo_)); +} + +// =================================================================== + +class RoomGroup::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_._has_bits_); +}; + +RoomGroup::RoomGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomGroup_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomGroup) +} +PROTOBUF_NDEBUG_INLINE RoomGroup::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomGroup& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + label_(arena, from.label_) {} + +RoomGroup::RoomGroup( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomGroup& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomGroup_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomGroup* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.groupid_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, withpassword_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, withpassword_), + offsetof(Impl_, curgroupmembernum_) - + offsetof(Impl_, withpassword_) + + sizeof(Impl_::curgroupmembernum_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomGroup) +} +PROTOBUF_NDEBUG_INLINE RoomGroup::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + label_(arena) {} + +inline void RoomGroup::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, groupid_), + 0, + offsetof(Impl_, curgroupmembernum_) - + offsetof(Impl_, groupid_) + + sizeof(Impl_::curgroupmembernum_)); +} +RoomGroup::~RoomGroup() { + // @@protoc_insertion_point(destructor:np2_structs.RoomGroup) + SharedDtor(*this); +} +inline void RoomGroup::SharedDtor(MessageLite& self) { + RoomGroup& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.label_.Destroy(); + delete this_._impl_.groupid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomGroup::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomGroup(arena); +} +constexpr auto RoomGroup::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RoomGroup), + alignof(RoomGroup)); +} +constexpr auto RoomGroup::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<22>{ + { + &_RoomGroup_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomGroup::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomGroup::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomGroup::ByteSizeLong, + &RoomGroup::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_._cached_size_), + true, + }, + "np2_structs.RoomGroup", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<22> RoomGroup_class_data_ = + RoomGroup::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomGroup::GetClassData() const { + return RoomGroup_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 1, 0, 2> +RoomGroup::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomGroup_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.uint8 groupId = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.groupid_)}}, + // bool withPassword = 2; + {::_pbi::TcParser::FastV8S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.withpassword_)}}, + // bytes label = 3; + {::_pbi::TcParser::FastBS1, + {26, 0, 0, + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.label_)}}, + // uint32 slotNum = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.slotnum_)}}, + // uint32 curGroupMemberNum = 5; + {::_pbi::TcParser::FastV32S1, + {40, 4, 0, + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.curgroupmembernum_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint8 groupId = 1; + {PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.groupid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // bool withPassword = 2; + {PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.withpassword_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bytes label = 3; + {PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.label_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // uint32 slotNum = 4; + {PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.slotnum_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 curGroupMemberNum = 5; + {PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.curgroupmembernum_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomGroup::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomGroup) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.label_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.groupid_ != nullptr); + _impl_.groupid_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) { + ::memset(&_impl_.withpassword_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.curgroupmembernum_) - + reinterpret_cast(&_impl_.withpassword_)) + sizeof(_impl_.curgroupmembernum_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomGroup::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomGroup& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomGroup::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomGroup& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomGroup) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint8 groupId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.groupid_, this_._impl_.groupid_->GetCachedSize(), target, + stream); + } + + // bool withPassword = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_withpassword() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_withpassword(), target); + } + } + + // bytes label = 3; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_label().empty()) { + const ::std::string& _s = this_._internal_label(); + target = stream->WriteBytesMaybeAliased(3, _s, target); + } + } + + // uint32 slotNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_slotnum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_slotnum(), target); + } + } + + // uint32 curGroupMemberNum = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_curgroupmembernum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_curgroupmembernum(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomGroup) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomGroup::ByteSizeLong(const MessageLite& base) { + const RoomGroup& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomGroup::ByteSizeLong() const { + const RoomGroup& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomGroup) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // bytes label = 3; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_label().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_label()); + } + } + // .np2_structs.uint8 groupId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.groupid_); + } + // bool withPassword = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_withpassword() != 0) { + total_size += 2; + } + } + // uint32 slotNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_slotnum() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_slotnum()); + } + } + // uint32 curGroupMemberNum = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_curgroupmembernum() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_curgroupmembernum()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomGroup::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomGroup) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_label().empty()) { + _this->_internal_set_label(from._internal_label()); + } else { + if (_this->_impl_.label_.IsDefault()) { + _this->_internal_set_label(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.groupid_ != nullptr); + if (_this->_impl_.groupid_ == nullptr) { + _this->_impl_.groupid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_); + } else { + _this->_impl_.groupid_->MergeFrom(*from._impl_.groupid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_withpassword() != 0) { + _this->_impl_.withpassword_ = from._impl_.withpassword_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_slotnum() != 0) { + _this->_impl_.slotnum_ = from._impl_.slotnum_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_curgroupmembernum() != 0) { + _this->_impl_.curgroupmembernum_ = from._impl_.curgroupmembernum_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomGroup::CopyFrom(const RoomGroup& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomGroup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomGroup::InternalSwap(RoomGroup* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.label_, &other->_impl_.label_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.curgroupmembernum_) + + sizeof(RoomGroup::_impl_.curgroupmembernum_) + - PROTOBUF_FIELD_OFFSET(RoomGroup, _impl_.groupid_)>( + reinterpret_cast(&_impl_.groupid_), + reinterpret_cast(&other->_impl_.groupid_)); +} + +// =================================================================== + +class RoomDataInternal::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_._has_bits_); +}; + +RoomDataInternal::RoomDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomDataInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomDataInternal) +} +PROTOBUF_NDEBUG_INLINE RoomDataInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomDataInternal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + memberlist_{visibility, arena, from.memberlist_}, + roomgroup_{visibility, arena, from.roomgroup_}, + roombinattrinternal_{visibility, arena, from.roombinattrinternal_} {} + +RoomDataInternal::RoomDataInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomDataInternal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomDataInternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomDataInternal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000008U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_) + : nullptr; + _impl_.ownerid_ = (CheckHasBit(cached_has_bits, 0x00000010U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.ownerid_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, lobbyid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, lobbyid_), + offsetof(Impl_, flagattr_) - + offsetof(Impl_, lobbyid_) + + sizeof(Impl_::flagattr_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomDataInternal) +} +PROTOBUF_NDEBUG_INLINE RoomDataInternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + memberlist_{visibility, arena}, + roomgroup_{visibility, arena}, + roombinattrinternal_{visibility, arena} {} + +inline void RoomDataInternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, serverid_), + 0, + offsetof(Impl_, flagattr_) - + offsetof(Impl_, serverid_) + + sizeof(Impl_::flagattr_)); +} +RoomDataInternal::~RoomDataInternal() { + // @@protoc_insertion_point(destructor:np2_structs.RoomDataInternal) + SharedDtor(*this); +} +inline void RoomDataInternal::SharedDtor(MessageLite& self) { + RoomDataInternal& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.serverid_; + delete this_._impl_.ownerid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomDataInternal::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomDataInternal(arena); +} +constexpr auto RoomDataInternal::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.memberlist_) + + decltype(RoomDataInternal::_impl_.memberlist_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomgroup_) + + decltype(RoomDataInternal::_impl_.roomgroup_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roombinattrinternal_) + + decltype(RoomDataInternal::_impl_.roombinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(RoomDataInternal), alignof(RoomDataInternal), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RoomDataInternal::PlacementNew_, + sizeof(RoomDataInternal), + alignof(RoomDataInternal)); + } +} +constexpr auto RoomDataInternal::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<29>{ + { + &_RoomDataInternal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomDataInternal::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomDataInternal::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomDataInternal::ByteSizeLong, + &RoomDataInternal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_._cached_size_), + true, + }, + "np2_structs.RoomDataInternal", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<29> RoomDataInternal_class_data_ = + RoomDataInternal::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomDataInternal::GetClassData() const { + return RoomDataInternal_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 11, 5, 0, 2> +RoomDataInternal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_._has_bits_), + 0, // no _extensions_ + 11, 120, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294965248, // skipmap + offsetof(decltype(_table_), field_entries), + 11, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomDataInternal_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.uint16 serverId = 1; + {::_pbi::TcParser::FastMtS1, + {10, 3, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.serverid_)}}, + // uint32 worldId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 7, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.worldid_)}}, + // uint64 lobbyId = 3; + {::_pbi::TcParser::FastV64S1, + {24, 5, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.lobbyid_)}}, + // uint64 roomId = 4; + {::_pbi::TcParser::FastV64S1, + {32, 6, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomid_)}}, + // uint64 passwordSlotMask = 5; + {::_pbi::TcParser::FastV64S1, + {40, 9, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.passwordslotmask_)}}, + // uint32 maxSlot = 6; + {::_pbi::TcParser::FastV32S1, + {48, 8, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.maxslot_)}}, + // repeated .np2_structs.RoomMemberDataInternal memberList = 7; + {::_pbi::TcParser::FastMtR1, + {58, 0, 1, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.memberlist_)}}, + // .np2_structs.uint16 ownerId = 8; + {::_pbi::TcParser::FastMtS1, + {66, 4, 2, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.ownerid_)}}, + // repeated .np2_structs.RoomGroup roomGroup = 9; + {::_pbi::TcParser::FastMtR1, + {74, 1, 3, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomgroup_)}}, + // uint32 flagAttr = 10; + {::_pbi::TcParser::FastV32S1, + {80, 10, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.flagattr_)}}, + // repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11; + {::_pbi::TcParser::FastMtR1, + {90, 2, 4, + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roombinattrinternal_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 serverId = 1; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.serverid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 worldId = 2; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.worldid_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint64 lobbyId = 3; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.lobbyid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint64 roomId = 4; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint64 passwordSlotMask = 5; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 maxSlot = 6; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.maxslot_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.RoomMemberDataInternal memberList = 7; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.memberlist_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 ownerId = 8; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.ownerid_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.RoomGroup roomGroup = 9; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roomgroup_), _Internal::kHasBitsOffset + 1, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 flagAttr = 10; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.flagattr_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11; + {PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.roombinattrinternal_), _Internal::kHasBitsOffset + 2, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttrInternal>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomDataInternal::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomDataInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.memberlist_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.roomgroup_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.roombinattrinternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(_impl_.serverid_ != nullptr); + _impl_.serverid_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(_impl_.ownerid_ != nullptr); + _impl_.ownerid_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) { + ::memset(&_impl_.lobbyid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.worldid_) - + reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.worldid_)); + } + if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) { + ::memset(&_impl_.maxslot_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.flagattr_) - + reinterpret_cast(&_impl_.maxslot_)) + sizeof(_impl_.flagattr_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomDataInternal::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomDataInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomDataInternal::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomDataInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomDataInternal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target, + stream); + } + + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_worldid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_worldid(), target); + } + } + + // uint64 lobbyId = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_lobbyid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 3, this_._internal_lobbyid(), target); + } + } + + // uint64 roomId = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 4, this_._internal_roomid(), target); + } + } + + // uint64 passwordSlotMask = 5; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (this_._internal_passwordslotmask() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 5, this_._internal_passwordslotmask(), target); + } + } + + // uint32 maxSlot = 6; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (this_._internal_maxslot() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this_._internal_maxslot(), target); + } + } + + // repeated .np2_structs.RoomMemberDataInternal memberList = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_memberlist_size()); + i < n; i++) { + const auto& repfield = this_._internal_memberlist().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // .np2_structs.uint16 ownerId = 8; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.ownerid_, this_._impl_.ownerid_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.RoomGroup roomGroup = 9; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomgroup_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomgroup().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // uint32 flagAttr = 10; + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + if (this_._internal_flagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 10, this_._internal_flagattr(), target); + } + } + + // repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roombinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roombinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 11, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomDataInternal) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomDataInternal::ByteSizeLong(const MessageLite& base) { + const RoomDataInternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomDataInternal::ByteSizeLong() const { + const RoomDataInternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomDataInternal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + // repeated .np2_structs.RoomMemberDataInternal memberList = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_memberlist_size(); + for (const auto& msg : this_._internal_memberlist()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.RoomGroup roomGroup = 9; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_roomgroup_size(); + for (const auto& msg : this_._internal_roomgroup()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += 1UL * this_._internal_roombinattrinternal_size(); + for (const auto& msg : this_._internal_roombinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_); + } + // .np2_structs.uint16 ownerId = 8; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ownerid_); + } + // uint64 lobbyId = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_lobbyid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lobbyid()); + } + } + // uint64 roomId = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_worldid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_worldid()); + } + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) { + // uint32 maxSlot = 6; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (this_._internal_maxslot() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_maxslot()); + } + } + // uint64 passwordSlotMask = 5; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (this_._internal_passwordslotmask() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_passwordslotmask()); + } + } + // uint32 flagAttr = 10; + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + if (this_._internal_flagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomDataInternal::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomDataInternal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_memberlist()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_memberlist()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_roomgroup()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomgroup()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_roombinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roombinattrinternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(from._impl_.serverid_ != nullptr); + if (_this->_impl_.serverid_ == nullptr) { + _this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_); + } else { + _this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(from._impl_.ownerid_ != nullptr); + if (_this->_impl_.ownerid_ == nullptr) { + _this->_impl_.ownerid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.ownerid_); + } else { + _this->_impl_.ownerid_->MergeFrom(*from._impl_.ownerid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_lobbyid() != 0) { + _this->_impl_.lobbyid_ = from._impl_.lobbyid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (from._internal_worldid() != 0) { + _this->_impl_.worldid_ = from._impl_.worldid_; + } + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) { + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (from._internal_maxslot() != 0) { + _this->_impl_.maxslot_ = from._impl_.maxslot_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (from._internal_passwordslotmask() != 0) { + _this->_impl_.passwordslotmask_ = from._impl_.passwordslotmask_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + if (from._internal_flagattr() != 0) { + _this->_impl_.flagattr_ = from._impl_.flagattr_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomDataInternal::CopyFrom(const RoomDataInternal& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomDataInternal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomDataInternal::InternalSwap(RoomDataInternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.memberlist_.InternalSwap(&other->_impl_.memberlist_); + _impl_.roomgroup_.InternalSwap(&other->_impl_.roomgroup_); + _impl_.roombinattrinternal_.InternalSwap(&other->_impl_.roombinattrinternal_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.flagattr_) + + sizeof(RoomDataInternal::_impl_.flagattr_) + - PROTOBUF_FIELD_OFFSET(RoomDataInternal, _impl_.serverid_)>( + reinterpret_cast(&_impl_.serverid_), + reinterpret_cast(&other->_impl_.serverid_)); +} + +// =================================================================== + +class RoomDataExternal::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_._has_bits_); +}; + +RoomDataExternal::RoomDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomDataExternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomDataExternal) +} +PROTOBUF_NDEBUG_INLINE RoomDataExternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomDataExternal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roomgroup_{visibility, arena, from.roomgroup_}, + roomsearchableintattrexternal_{visibility, arena, from.roomsearchableintattrexternal_}, + roomsearchablebinattrexternal_{visibility, arena, from.roomsearchablebinattrexternal_}, + roombinattrexternal_{visibility, arena, from.roombinattrexternal_} {} + +RoomDataExternal::RoomDataExternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomDataExternal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomDataExternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomDataExternal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000010U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_) + : nullptr; + _impl_.publicslotnum_ = (CheckHasBit(cached_has_bits, 0x00000020U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.publicslotnum_) + : nullptr; + _impl_.privateslotnum_ = (CheckHasBit(cached_has_bits, 0x00000040U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.privateslotnum_) + : nullptr; + _impl_.openpublicslotnum_ = (CheckHasBit(cached_has_bits, 0x00000080U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openpublicslotnum_) + : nullptr; + _impl_.maxslot_ = (CheckHasBit(cached_has_bits, 0x00000100U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maxslot_) + : nullptr; + _impl_.openprivateslotnum_ = (CheckHasBit(cached_has_bits, 0x00000200U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openprivateslotnum_) + : nullptr; + _impl_.curmembernum_ = (CheckHasBit(cached_has_bits, 0x00000400U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.curmembernum_) + : nullptr; + _impl_.owner_ = (CheckHasBit(cached_has_bits, 0x00000800U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.owner_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, lobbyid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, lobbyid_), + offsetof(Impl_, passwordslotmask_) - + offsetof(Impl_, lobbyid_) + + sizeof(Impl_::passwordslotmask_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomDataExternal) +} +PROTOBUF_NDEBUG_INLINE RoomDataExternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roomgroup_{visibility, arena}, + roomsearchableintattrexternal_{visibility, arena}, + roomsearchablebinattrexternal_{visibility, arena}, + roombinattrexternal_{visibility, arena} {} + +inline void RoomDataExternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, serverid_), + 0, + offsetof(Impl_, passwordslotmask_) - + offsetof(Impl_, serverid_) + + sizeof(Impl_::passwordslotmask_)); +} +RoomDataExternal::~RoomDataExternal() { + // @@protoc_insertion_point(destructor:np2_structs.RoomDataExternal) + SharedDtor(*this); +} +inline void RoomDataExternal::SharedDtor(MessageLite& self) { + RoomDataExternal& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.serverid_; + delete this_._impl_.publicslotnum_; + delete this_._impl_.privateslotnum_; + delete this_._impl_.openpublicslotnum_; + delete this_._impl_.maxslot_; + delete this_._impl_.openprivateslotnum_; + delete this_._impl_.curmembernum_; + delete this_._impl_.owner_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomDataExternal::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomDataExternal(arena); +} +constexpr auto RoomDataExternal::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomgroup_) + + decltype(RoomDataExternal::_impl_.roomgroup_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchableintattrexternal_) + + decltype(RoomDataExternal::_impl_.roomsearchableintattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchablebinattrexternal_) + + decltype(RoomDataExternal::_impl_.roomsearchablebinattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roombinattrexternal_) + + decltype(RoomDataExternal::_impl_.roombinattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(RoomDataExternal), alignof(RoomDataExternal), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RoomDataExternal::PlacementNew_, + sizeof(RoomDataExternal), + alignof(RoomDataExternal)); + } +} +constexpr auto RoomDataExternal::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<29>{ + { + &_RoomDataExternal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomDataExternal::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomDataExternal::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomDataExternal::ByteSizeLong, + &RoomDataExternal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_._cached_size_), + true, + }, + "np2_structs.RoomDataExternal", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<29> RoomDataExternal_class_data_ = + RoomDataExternal::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomDataExternal::GetClassData() const { + return RoomDataExternal_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<5, 17, 12, 0, 2> +RoomDataExternal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_._has_bits_), + 0, // no _extensions_ + 17, 248, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294836224, // skipmap + offsetof(decltype(_table_), field_entries), + 17, // num_field_entries + 12, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomDataExternal_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomDataExternal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.uint16 serverId = 1; + {::_pbi::TcParser::FastMtS1, + {10, 4, 0, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.serverid_)}}, + // uint32 worldId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 14, 0, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.worldid_)}}, + // .np2_structs.uint16 publicSlotNum = 3; + {::_pbi::TcParser::FastMtS1, + {26, 5, 1, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.publicslotnum_)}}, + // .np2_structs.uint16 privateSlotNum = 4; + {::_pbi::TcParser::FastMtS1, + {34, 6, 2, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.privateslotnum_)}}, + // uint64 lobbyId = 5; + {::_pbi::TcParser::FastV64S1, + {40, 12, 0, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.lobbyid_)}}, + // uint64 roomId = 6; + {::_pbi::TcParser::FastV64S1, + {48, 13, 0, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomid_)}}, + // .np2_structs.uint16 openPublicSlotNum = 7; + {::_pbi::TcParser::FastMtS1, + {58, 7, 3, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openpublicslotnum_)}}, + // .np2_structs.uint16 maxSlot = 8; + {::_pbi::TcParser::FastMtS1, + {66, 8, 4, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.maxslot_)}}, + // .np2_structs.uint16 openPrivateSlotNum = 9; + {::_pbi::TcParser::FastMtS1, + {74, 9, 5, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openprivateslotnum_)}}, + // .np2_structs.uint16 curMemberNum = 10; + {::_pbi::TcParser::FastMtS1, + {82, 10, 6, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.curmembernum_)}}, + // uint64 passwordSlotMask = 11; + {::_pbi::TcParser::FastV64S1, + {88, 16, 0, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.passwordslotmask_)}}, + // .np2_structs.UserInfo owner = 12; + {::_pbi::TcParser::FastMtS1, + {98, 11, 7, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.owner_)}}, + // repeated .np2_structs.RoomGroup roomGroup = 13; + {::_pbi::TcParser::FastMtR1, + {106, 0, 8, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomgroup_)}}, + // uint32 flagAttr = 14; + {::_pbi::TcParser::FastV32S1, + {112, 15, 0, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.flagattr_)}}, + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15; + {::_pbi::TcParser::FastMtR1, + {122, 1, 9, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchableintattrexternal_)}}, + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16; + {::_pbi::TcParser::FastMtR2, + {386, 2, 10, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchablebinattrexternal_)}}, + // repeated .np2_structs.BinAttr roomBinAttrExternal = 17; + {::_pbi::TcParser::FastMtR2, + {394, 3, 11, + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roombinattrexternal_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 serverId = 1; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.serverid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 worldId = 2; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.worldid_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // .np2_structs.uint16 publicSlotNum = 3; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.publicslotnum_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 privateSlotNum = 4; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.privateslotnum_), _Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 lobbyId = 5; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.lobbyid_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint64 roomId = 6; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomid_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint16 openPublicSlotNum = 7; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openpublicslotnum_), _Internal::kHasBitsOffset + 7, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 maxSlot = 8; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.maxslot_), _Internal::kHasBitsOffset + 8, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 openPrivateSlotNum = 9; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.openprivateslotnum_), _Internal::kHasBitsOffset + 9, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 curMemberNum = 10; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.curmembernum_), _Internal::kHasBitsOffset + 10, 6, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 passwordSlotMask = 11; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.UserInfo owner = 12; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.owner_), _Internal::kHasBitsOffset + 11, 7, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.RoomGroup roomGroup = 13; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomgroup_), _Internal::kHasBitsOffset + 0, 8, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 flagAttr = 14; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.flagattr_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchableintattrexternal_), _Internal::kHasBitsOffset + 1, 9, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roomsearchablebinattrexternal_), _Internal::kHasBitsOffset + 2, 10, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomBinAttrExternal = 17; + {PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.roombinattrexternal_), _Internal::kHasBitsOffset + 3, 11, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()}, + {::_pbi::TcParser::GetTable<::np2_structs::RoomGroup>()}, + {::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomDataExternal::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomDataExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roomgroup_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.roomsearchableintattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.roomsearchablebinattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + _impl_.roombinattrexternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(_impl_.serverid_ != nullptr); + _impl_.serverid_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + ABSL_DCHECK(_impl_.publicslotnum_ != nullptr); + _impl_.publicslotnum_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + ABSL_DCHECK(_impl_.privateslotnum_ != nullptr); + _impl_.privateslotnum_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + ABSL_DCHECK(_impl_.openpublicslotnum_ != nullptr); + _impl_.openpublicslotnum_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) { + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + ABSL_DCHECK(_impl_.maxslot_ != nullptr); + _impl_.maxslot_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + ABSL_DCHECK(_impl_.openprivateslotnum_ != nullptr); + _impl_.openprivateslotnum_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + ABSL_DCHECK(_impl_.curmembernum_ != nullptr); + _impl_.curmembernum_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + ABSL_DCHECK(_impl_.owner_ != nullptr); + _impl_.owner_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000f000U)) { + ::memset(&_impl_.lobbyid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.flagattr_) - + reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.flagattr_)); + } + _impl_.passwordslotmask_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomDataExternal::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomDataExternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomDataExternal::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomDataExternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomDataExternal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target, + stream); + } + + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00004000U)) { + if (this_._internal_worldid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_worldid(), target); + } + } + + // .np2_structs.uint16 publicSlotNum = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.publicslotnum_, this_._impl_.publicslotnum_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint16 privateSlotNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.privateslotnum_, this_._impl_.privateslotnum_->GetCachedSize(), target, + stream); + } + + // uint64 lobbyId = 5; + if (CheckHasBit(cached_has_bits, 0x00001000U)) { + if (this_._internal_lobbyid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 5, this_._internal_lobbyid(), target); + } + } + + // uint64 roomId = 6; + if (CheckHasBit(cached_has_bits, 0x00002000U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 6, this_._internal_roomid(), target); + } + } + + // .np2_structs.uint16 openPublicSlotNum = 7; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.openpublicslotnum_, this_._impl_.openpublicslotnum_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint16 maxSlot = 8; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.maxslot_, this_._impl_.maxslot_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint16 openPrivateSlotNum = 9; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, *this_._impl_.openprivateslotnum_, this_._impl_.openprivateslotnum_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint16 curMemberNum = 10; + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 10, *this_._impl_.curmembernum_, this_._impl_.curmembernum_->GetCachedSize(), target, + stream); + } + + // uint64 passwordSlotMask = 11; + if (CheckHasBit(cached_has_bits, 0x00010000U)) { + if (this_._internal_passwordslotmask() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 11, this_._internal_passwordslotmask(), target); + } + } + + // .np2_structs.UserInfo owner = 12; + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 12, *this_._impl_.owner_, this_._impl_.owner_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.RoomGroup roomGroup = 13; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomgroup_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomgroup().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 13, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // uint32 flagAttr = 14; + if (CheckHasBit(cached_has_bits, 0x00008000U)) { + if (this_._internal_flagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 14, this_._internal_flagattr(), target); + } + } + + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomsearchableintattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomsearchableintattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 15, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomsearchablebinattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomsearchablebinattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 16, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinAttr roomBinAttrExternal = 17; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roombinattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roombinattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 17, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomDataExternal) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomDataExternal::ByteSizeLong(const MessageLite& base) { + const RoomDataExternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomDataExternal::ByteSizeLong() const { + const RoomDataExternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomDataExternal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + // repeated .np2_structs.RoomGroup roomGroup = 13; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roomgroup_size(); + for (const auto& msg : this_._internal_roomgroup()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_roomsearchableintattrexternal_size(); + for (const auto& msg : this_._internal_roomsearchableintattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += 2UL * this_._internal_roomsearchablebinattrexternal_size(); + for (const auto& msg : this_._internal_roomsearchablebinattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttr roomBinAttrExternal = 17; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + total_size += 2UL * this_._internal_roombinattrexternal_size(); + for (const auto& msg : this_._internal_roombinattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_); + } + // .np2_structs.uint16 publicSlotNum = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.publicslotnum_); + } + // .np2_structs.uint16 privateSlotNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.privateslotnum_); + } + // .np2_structs.uint16 openPublicSlotNum = 7; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.openpublicslotnum_); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) { + // .np2_structs.uint16 maxSlot = 8; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.maxslot_); + } + // .np2_structs.uint16 openPrivateSlotNum = 9; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.openprivateslotnum_); + } + // .np2_structs.uint16 curMemberNum = 10; + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.curmembernum_); + } + // .np2_structs.UserInfo owner = 12; + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.owner_); + } + // uint64 lobbyId = 5; + if (CheckHasBit(cached_has_bits, 0x00001000U)) { + if (this_._internal_lobbyid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lobbyid()); + } + } + // uint64 roomId = 6; + if (CheckHasBit(cached_has_bits, 0x00002000U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00004000U)) { + if (this_._internal_worldid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_worldid()); + } + } + // uint32 flagAttr = 14; + if (CheckHasBit(cached_has_bits, 0x00008000U)) { + if (this_._internal_flagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagattr()); + } + } + } + { + // uint64 passwordSlotMask = 11; + if (CheckHasBit(cached_has_bits, 0x00010000U)) { + if (this_._internal_passwordslotmask() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_passwordslotmask()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomDataExternal::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomDataExternal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roomgroup()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomgroup()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_roomsearchableintattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomsearchableintattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_roomsearchablebinattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomsearchablebinattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + _this->_internal_mutable_roombinattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roombinattrexternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(from._impl_.serverid_ != nullptr); + if (_this->_impl_.serverid_ == nullptr) { + _this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_); + } else { + _this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + ABSL_DCHECK(from._impl_.publicslotnum_ != nullptr); + if (_this->_impl_.publicslotnum_ == nullptr) { + _this->_impl_.publicslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.publicslotnum_); + } else { + _this->_impl_.publicslotnum_->MergeFrom(*from._impl_.publicslotnum_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + ABSL_DCHECK(from._impl_.privateslotnum_ != nullptr); + if (_this->_impl_.privateslotnum_ == nullptr) { + _this->_impl_.privateslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.privateslotnum_); + } else { + _this->_impl_.privateslotnum_->MergeFrom(*from._impl_.privateslotnum_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + ABSL_DCHECK(from._impl_.openpublicslotnum_ != nullptr); + if (_this->_impl_.openpublicslotnum_ == nullptr) { + _this->_impl_.openpublicslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openpublicslotnum_); + } else { + _this->_impl_.openpublicslotnum_->MergeFrom(*from._impl_.openpublicslotnum_); + } + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) { + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + ABSL_DCHECK(from._impl_.maxslot_ != nullptr); + if (_this->_impl_.maxslot_ == nullptr) { + _this->_impl_.maxslot_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maxslot_); + } else { + _this->_impl_.maxslot_->MergeFrom(*from._impl_.maxslot_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + ABSL_DCHECK(from._impl_.openprivateslotnum_ != nullptr); + if (_this->_impl_.openprivateslotnum_ == nullptr) { + _this->_impl_.openprivateslotnum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.openprivateslotnum_); + } else { + _this->_impl_.openprivateslotnum_->MergeFrom(*from._impl_.openprivateslotnum_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + ABSL_DCHECK(from._impl_.curmembernum_ != nullptr); + if (_this->_impl_.curmembernum_ == nullptr) { + _this->_impl_.curmembernum_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.curmembernum_); + } else { + _this->_impl_.curmembernum_->MergeFrom(*from._impl_.curmembernum_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + ABSL_DCHECK(from._impl_.owner_ != nullptr); + if (_this->_impl_.owner_ == nullptr) { + _this->_impl_.owner_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.owner_); + } else { + _this->_impl_.owner_->MergeFrom(*from._impl_.owner_); + } + } + if (CheckHasBit(cached_has_bits, 0x00001000U)) { + if (from._internal_lobbyid() != 0) { + _this->_impl_.lobbyid_ = from._impl_.lobbyid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00002000U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00004000U)) { + if (from._internal_worldid() != 0) { + _this->_impl_.worldid_ = from._impl_.worldid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00008000U)) { + if (from._internal_flagattr() != 0) { + _this->_impl_.flagattr_ = from._impl_.flagattr_; + } + } + } + if (CheckHasBit(cached_has_bits, 0x00010000U)) { + if (from._internal_passwordslotmask() != 0) { + _this->_impl_.passwordslotmask_ = from._impl_.passwordslotmask_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomDataExternal::CopyFrom(const RoomDataExternal& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomDataExternal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomDataExternal::InternalSwap(RoomDataExternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roomgroup_.InternalSwap(&other->_impl_.roomgroup_); + _impl_.roomsearchableintattrexternal_.InternalSwap(&other->_impl_.roomsearchableintattrexternal_); + _impl_.roomsearchablebinattrexternal_.InternalSwap(&other->_impl_.roomsearchablebinattrexternal_); + _impl_.roombinattrexternal_.InternalSwap(&other->_impl_.roombinattrexternal_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.passwordslotmask_) + + sizeof(RoomDataExternal::_impl_.passwordslotmask_) + - PROTOBUF_FIELD_OFFSET(RoomDataExternal, _impl_.serverid_)>( + reinterpret_cast(&_impl_.serverid_), + reinterpret_cast(&other->_impl_.serverid_)); +} + +// =================================================================== + +class IntSearchFilter::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_._has_bits_); +}; + +IntSearchFilter::IntSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, IntSearchFilter_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.IntSearchFilter) +} +PROTOBUF_NDEBUG_INLINE IntSearchFilter::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::IntSearchFilter& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +IntSearchFilter::IntSearchFilter( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const IntSearchFilter& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, IntSearchFilter_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + IntSearchFilter* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.searchoperator_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_) + : nullptr; + _impl_.attr_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.IntSearchFilter) +} +PROTOBUF_NDEBUG_INLINE IntSearchFilter::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void IntSearchFilter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, searchoperator_), + 0, + offsetof(Impl_, attr_) - + offsetof(Impl_, searchoperator_) + + sizeof(Impl_::attr_)); +} +IntSearchFilter::~IntSearchFilter() { + // @@protoc_insertion_point(destructor:np2_structs.IntSearchFilter) + SharedDtor(*this); +} +inline void IntSearchFilter::SharedDtor(MessageLite& self) { + IntSearchFilter& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.searchoperator_; + delete this_._impl_.attr_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL IntSearchFilter::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) IntSearchFilter(arena); +} +constexpr auto IntSearchFilter::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(IntSearchFilter), + alignof(IntSearchFilter)); +} +constexpr auto IntSearchFilter::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<28>{ + { + &_IntSearchFilter_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &IntSearchFilter::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &IntSearchFilter::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &IntSearchFilter::ByteSizeLong, + &IntSearchFilter::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_._cached_size_), + true, + }, + "np2_structs.IntSearchFilter", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<28> IntSearchFilter_class_data_ = + IntSearchFilter::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +IntSearchFilter::GetClassData() const { + return IntSearchFilter_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +IntSearchFilter::_table_ = { + { + PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + IntSearchFilter_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::IntSearchFilter>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.IntAttr attr = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.attr_)}}, + // .np2_structs.uint8 searchOperator = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.searchoperator_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint8 searchOperator = 1; + {PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.searchoperator_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.IntAttr attr = 2; + {PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.attr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void IntSearchFilter::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.IntSearchFilter) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.searchoperator_ != nullptr); + _impl_.searchoperator_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.attr_ != nullptr); + _impl_.attr_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL IntSearchFilter::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const IntSearchFilter& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL IntSearchFilter::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const IntSearchFilter& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.IntSearchFilter) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint8 searchOperator = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.searchoperator_, this_._impl_.searchoperator_->GetCachedSize(), target, + stream); + } + + // .np2_structs.IntAttr attr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.attr_, this_._impl_.attr_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.IntSearchFilter) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t IntSearchFilter::ByteSizeLong(const MessageLite& base) { + const IntSearchFilter& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t IntSearchFilter::ByteSizeLong() const { + const IntSearchFilter& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.IntSearchFilter) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.uint8 searchOperator = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.searchoperator_); + } + // .np2_structs.IntAttr attr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attr_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void IntSearchFilter::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.IntSearchFilter) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.searchoperator_ != nullptr); + if (_this->_impl_.searchoperator_ == nullptr) { + _this->_impl_.searchoperator_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_); + } else { + _this->_impl_.searchoperator_->MergeFrom(*from._impl_.searchoperator_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.attr_ != nullptr); + if (_this->_impl_.attr_ == nullptr) { + _this->_impl_.attr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_); + } else { + _this->_impl_.attr_->MergeFrom(*from._impl_.attr_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void IntSearchFilter::CopyFrom(const IntSearchFilter& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.IntSearchFilter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void IntSearchFilter::InternalSwap(IntSearchFilter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.attr_) + + sizeof(IntSearchFilter::_impl_.attr_) + - PROTOBUF_FIELD_OFFSET(IntSearchFilter, _impl_.searchoperator_)>( + reinterpret_cast(&_impl_.searchoperator_), + reinterpret_cast(&other->_impl_.searchoperator_)); +} + +// =================================================================== + +class BinSearchFilter::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_._has_bits_); +}; + +BinSearchFilter::BinSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BinSearchFilter_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.BinSearchFilter) +} +PROTOBUF_NDEBUG_INLINE BinSearchFilter::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::BinSearchFilter& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BinSearchFilter::BinSearchFilter( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const BinSearchFilter& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BinSearchFilter_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BinSearchFilter* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.searchoperator_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_) + : nullptr; + _impl_.attr_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.BinSearchFilter) +} +PROTOBUF_NDEBUG_INLINE BinSearchFilter::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void BinSearchFilter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, searchoperator_), + 0, + offsetof(Impl_, attr_) - + offsetof(Impl_, searchoperator_) + + sizeof(Impl_::attr_)); +} +BinSearchFilter::~BinSearchFilter() { + // @@protoc_insertion_point(destructor:np2_structs.BinSearchFilter) + SharedDtor(*this); +} +inline void BinSearchFilter::SharedDtor(MessageLite& self) { + BinSearchFilter& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.searchoperator_; + delete this_._impl_.attr_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL BinSearchFilter::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BinSearchFilter(arena); +} +constexpr auto BinSearchFilter::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BinSearchFilter), + alignof(BinSearchFilter)); +} +constexpr auto BinSearchFilter::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<28>{ + { + &_BinSearchFilter_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BinSearchFilter::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BinSearchFilter::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &BinSearchFilter::ByteSizeLong, + &BinSearchFilter::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_._cached_size_), + true, + }, + "np2_structs.BinSearchFilter", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<28> BinSearchFilter_class_data_ = + BinSearchFilter::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BinSearchFilter::GetClassData() const { + return BinSearchFilter_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +BinSearchFilter::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + BinSearchFilter_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::BinSearchFilter>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.BinAttr attr = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.attr_)}}, + // .np2_structs.uint8 searchOperator = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.searchoperator_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint8 searchOperator = 1; + {PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.searchoperator_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.BinAttr attr = 2; + {PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.attr_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void BinSearchFilter::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.BinSearchFilter) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.searchoperator_ != nullptr); + _impl_.searchoperator_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.attr_ != nullptr); + _impl_.attr_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BinSearchFilter::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BinSearchFilter& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BinSearchFilter::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const BinSearchFilter& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.BinSearchFilter) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint8 searchOperator = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.searchoperator_, this_._impl_.searchoperator_->GetCachedSize(), target, + stream); + } + + // .np2_structs.BinAttr attr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.attr_, this_._impl_.attr_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.BinSearchFilter) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t BinSearchFilter::ByteSizeLong(const MessageLite& base) { + const BinSearchFilter& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t BinSearchFilter::ByteSizeLong() const { + const BinSearchFilter& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.BinSearchFilter) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.uint8 searchOperator = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.searchoperator_); + } + // .np2_structs.BinAttr attr = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attr_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void BinSearchFilter::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BinSearchFilter) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.searchoperator_ != nullptr); + if (_this->_impl_.searchoperator_ == nullptr) { + _this->_impl_.searchoperator_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.searchoperator_); + } else { + _this->_impl_.searchoperator_->MergeFrom(*from._impl_.searchoperator_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.attr_ != nullptr); + if (_this->_impl_.attr_ == nullptr) { + _this->_impl_.attr_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attr_); + } else { + _this->_impl_.attr_->MergeFrom(*from._impl_.attr_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void BinSearchFilter::CopyFrom(const BinSearchFilter& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BinSearchFilter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BinSearchFilter::InternalSwap(BinSearchFilter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.attr_) + + sizeof(BinSearchFilter::_impl_.attr_) + - PROTOBUF_FIELD_OFFSET(BinSearchFilter, _impl_.searchoperator_)>( + reinterpret_cast(&_impl_.searchoperator_), + reinterpret_cast(&other->_impl_.searchoperator_)); +} + +// =================================================================== + +class PresenceOptionData::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_._has_bits_); +}; + +PresenceOptionData::PresenceOptionData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, PresenceOptionData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.PresenceOptionData) +} +PROTOBUF_NDEBUG_INLINE PresenceOptionData::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::PresenceOptionData& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + data_(arena, from.data_) {} + +PresenceOptionData::PresenceOptionData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const PresenceOptionData& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, PresenceOptionData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PresenceOptionData* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.len_ = from._impl_.len_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.PresenceOptionData) +} +PROTOBUF_NDEBUG_INLINE PresenceOptionData::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + data_(arena) {} + +inline void PresenceOptionData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.len_ = {}; +} +PresenceOptionData::~PresenceOptionData() { + // @@protoc_insertion_point(destructor:np2_structs.PresenceOptionData) + SharedDtor(*this); +} +inline void PresenceOptionData::SharedDtor(MessageLite& self) { + PresenceOptionData& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.data_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL PresenceOptionData::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) PresenceOptionData(arena); +} +constexpr auto PresenceOptionData::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PresenceOptionData), + alignof(PresenceOptionData)); +} +constexpr auto PresenceOptionData::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_PresenceOptionData_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &PresenceOptionData::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &PresenceOptionData::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &PresenceOptionData::ByteSizeLong, + &PresenceOptionData::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_._cached_size_), + true, + }, + "np2_structs.PresenceOptionData", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> PresenceOptionData_class_data_ = + PresenceOptionData::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +PresenceOptionData::GetClassData() const { + return PresenceOptionData_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> +PresenceOptionData::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + PresenceOptionData_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 len = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.len_)}}, + // bytes data = 1; + {::_pbi::TcParser::FastBS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.data_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes data = 1; + {PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // uint32 len = 2; + {PROTOBUF_FIELD_OFFSET(PresenceOptionData, _impl_.len_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void PresenceOptionData::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.PresenceOptionData) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_.len_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL PresenceOptionData::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const PresenceOptionData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL PresenceOptionData::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const PresenceOptionData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.PresenceOptionData) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes data = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + // uint32 len = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_len() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_len(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.PresenceOptionData) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t PresenceOptionData::ByteSizeLong(const MessageLite& base) { + const PresenceOptionData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t PresenceOptionData::ByteSizeLong() const { + const PresenceOptionData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.PresenceOptionData) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // bytes data = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // uint32 len = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_len() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_len()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void PresenceOptionData::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.PresenceOptionData) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_len() != 0) { + _this->_impl_.len_ = from._impl_.len_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void PresenceOptionData::CopyFrom(const PresenceOptionData& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.PresenceOptionData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void PresenceOptionData::InternalSwap(PresenceOptionData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + swap(_impl_.len_, other->_impl_.len_); +} + +// =================================================================== + +class RoomGroupPasswordConfig::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_._has_bits_); +}; + +RoomGroupPasswordConfig::RoomGroupPasswordConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomGroupPasswordConfig_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomGroupPasswordConfig) +} +PROTOBUF_NDEBUG_INLINE RoomGroupPasswordConfig::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomGroupPasswordConfig& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RoomGroupPasswordConfig::RoomGroupPasswordConfig( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomGroupPasswordConfig& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomGroupPasswordConfig_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomGroupPasswordConfig* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.groupid_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_) + : nullptr; + _impl_.withpassword_ = from._impl_.withpassword_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomGroupPasswordConfig) +} +PROTOBUF_NDEBUG_INLINE RoomGroupPasswordConfig::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RoomGroupPasswordConfig::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, groupid_), + 0, + offsetof(Impl_, withpassword_) - + offsetof(Impl_, groupid_) + + sizeof(Impl_::withpassword_)); +} +RoomGroupPasswordConfig::~RoomGroupPasswordConfig() { + // @@protoc_insertion_point(destructor:np2_structs.RoomGroupPasswordConfig) + SharedDtor(*this); +} +inline void RoomGroupPasswordConfig::SharedDtor(MessageLite& self) { + RoomGroupPasswordConfig& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.groupid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomGroupPasswordConfig::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomGroupPasswordConfig(arena); +} +constexpr auto RoomGroupPasswordConfig::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomGroupPasswordConfig), + alignof(RoomGroupPasswordConfig)); +} +constexpr auto RoomGroupPasswordConfig::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<36>{ + { + &_RoomGroupPasswordConfig_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomGroupPasswordConfig::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomGroupPasswordConfig::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomGroupPasswordConfig::ByteSizeLong, + &RoomGroupPasswordConfig::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_._cached_size_), + true, + }, + "np2_structs.RoomGroupPasswordConfig", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<36> RoomGroupPasswordConfig_class_data_ = + RoomGroupPasswordConfig::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomGroupPasswordConfig::GetClassData() const { + return RoomGroupPasswordConfig_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +RoomGroupPasswordConfig::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomGroupPasswordConfig_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomGroupPasswordConfig>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool withPassword = 2; + {::_pbi::TcParser::FastV8S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.withpassword_)}}, + // .np2_structs.uint8 groupId = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.groupid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint8 groupId = 1; + {PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.groupid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // bool withPassword = 2; + {PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.withpassword_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomGroupPasswordConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomGroupPasswordConfig) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.groupid_ != nullptr); + _impl_.groupid_->Clear(); + } + _impl_.withpassword_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomGroupPasswordConfig::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomGroupPasswordConfig& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomGroupPasswordConfig::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomGroupPasswordConfig& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomGroupPasswordConfig) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint8 groupId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.groupid_, this_._impl_.groupid_->GetCachedSize(), target, + stream); + } + + // bool withPassword = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_withpassword() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_withpassword(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomGroupPasswordConfig) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomGroupPasswordConfig::ByteSizeLong(const MessageLite& base) { + const RoomGroupPasswordConfig& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomGroupPasswordConfig::ByteSizeLong() const { + const RoomGroupPasswordConfig& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomGroupPasswordConfig) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.uint8 groupId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.groupid_); + } + // bool withPassword = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_withpassword() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomGroupPasswordConfig::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomGroupPasswordConfig) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.groupid_ != nullptr); + if (_this->_impl_.groupid_ == nullptr) { + _this->_impl_.groupid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.groupid_); + } else { + _this->_impl_.groupid_->MergeFrom(*from._impl_.groupid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_withpassword() != 0) { + _this->_impl_.withpassword_ = from._impl_.withpassword_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomGroupPasswordConfig::CopyFrom(const RoomGroupPasswordConfig& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomGroupPasswordConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomGroupPasswordConfig::InternalSwap(RoomGroupPasswordConfig* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.withpassword_) + + sizeof(RoomGroupPasswordConfig::_impl_.withpassword_) + - PROTOBUF_FIELD_OFFSET(RoomGroupPasswordConfig, _impl_.groupid_)>( + reinterpret_cast(&_impl_.groupid_), + reinterpret_cast(&other->_impl_.groupid_)); +} + +// =================================================================== + +class SearchRoomRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_._has_bits_); +}; + +SearchRoomRequest::SearchRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SearchRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SearchRoomRequest) +} +PROTOBUF_NDEBUG_INLINE SearchRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SearchRoomRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + intfilter_{visibility, arena, from.intfilter_}, + binfilter_{visibility, arena, from.binfilter_}, + attrid_{visibility, arena, from.attrid_} {} + +SearchRoomRequest::SearchRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SearchRoomRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SearchRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SearchRoomRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, option_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, option_), + offsetof(Impl_, flagattr_) - + offsetof(Impl_, option_) + + sizeof(Impl_::flagattr_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.SearchRoomRequest) +} +PROTOBUF_NDEBUG_INLINE SearchRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + intfilter_{visibility, arena}, + binfilter_{visibility, arena}, + attrid_{visibility, arena} {} + +inline void SearchRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, option_), + 0, + offsetof(Impl_, flagattr_) - + offsetof(Impl_, option_) + + sizeof(Impl_::flagattr_)); +} +SearchRoomRequest::~SearchRoomRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SearchRoomRequest) + SharedDtor(*this); +} +inline void SearchRoomRequest::SharedDtor(MessageLite& self) { + SearchRoomRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SearchRoomRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SearchRoomRequest(arena); +} +constexpr auto SearchRoomRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.intfilter_) + + decltype(SearchRoomRequest::_impl_.intfilter_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.binfilter_) + + decltype(SearchRoomRequest::_impl_.binfilter_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.attrid_) + + decltype(SearchRoomRequest::_impl_.attrid_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SearchRoomRequest), alignof(SearchRoomRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SearchRoomRequest::PlacementNew_, + sizeof(SearchRoomRequest), + alignof(SearchRoomRequest)); + } +} +constexpr auto SearchRoomRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<30>{ + { + &_SearchRoomRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SearchRoomRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SearchRoomRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SearchRoomRequest::ByteSizeLong, + &SearchRoomRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SearchRoomRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<30> SearchRoomRequest_class_data_ = + SearchRoomRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SearchRoomRequest::GetClassData() const { + return SearchRoomRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 10, 3, 0, 2> +SearchRoomRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_._has_bits_), + 0, // no _extensions_ + 10, 120, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294966272, // skipmap + offsetof(decltype(_table_), field_entries), + 10, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SearchRoomRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SearchRoomRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // int32 option = 1; + {::_pbi::TcParser::FastV32S1, + {8, 3, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.option_)}}, + // uint32 worldId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 4, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.worldid_)}}, + // uint64 lobbyId = 3; + {::_pbi::TcParser::FastV64S1, + {24, 5, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.lobbyid_)}}, + // uint32 rangeFilter_startIndex = 4; + {::_pbi::TcParser::FastV32S1, + {32, 6, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_startindex_)}}, + // uint32 rangeFilter_max = 5; + {::_pbi::TcParser::FastV32S1, + {40, 7, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_max_)}}, + // uint32 flagFilter = 6; + {::_pbi::TcParser::FastV32S1, + {48, 8, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagfilter_)}}, + // uint32 flagAttr = 7; + {::_pbi::TcParser::FastV32S1, + {56, 9, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagattr_)}}, + // repeated .np2_structs.IntSearchFilter intFilter = 8; + {::_pbi::TcParser::FastMtR1, + {66, 0, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.intfilter_)}}, + // repeated .np2_structs.BinSearchFilter binFilter = 9; + {::_pbi::TcParser::FastMtR1, + {74, 1, 1, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.binfilter_)}}, + // repeated .np2_structs.uint16 attrId = 10; + {::_pbi::TcParser::FastMtR1, + {82, 2, 2, + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.attrid_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 option = 1; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.option_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // uint32 worldId = 2; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.worldid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint64 lobbyId = 3; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.lobbyid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 rangeFilter_startIndex = 4; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_startindex_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 rangeFilter_max = 5; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.rangefilter_max_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 flagFilter = 6; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagfilter_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 flagAttr = 7; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagattr_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.IntSearchFilter intFilter = 8; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.intfilter_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinSearchFilter binFilter = 9; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.binfilter_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.uint16 attrId = 10; + {PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.attrid_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::IntSearchFilter>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinSearchFilter>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SearchRoomRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SearchRoomRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.intfilter_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.binfilter_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.attrid_.Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x000000f8U)) { + ::memset(&_impl_.option_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.rangefilter_max_) - + reinterpret_cast(&_impl_.option_)) + sizeof(_impl_.rangefilter_max_)); + } + if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) { + ::memset(&_impl_.flagfilter_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.flagattr_) - + reinterpret_cast(&_impl_.flagfilter_)) + sizeof(_impl_.flagattr_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SearchRoomRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SearchRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SearchRoomRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SearchRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SearchRoomRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // int32 option = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_option() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( + stream, this_._internal_option(), target); + } + } + + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_worldid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_worldid(), target); + } + } + + // uint64 lobbyId = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_lobbyid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 3, this_._internal_lobbyid(), target); + } + } + + // uint32 rangeFilter_startIndex = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_rangefilter_startindex() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_rangefilter_startindex(), target); + } + } + + // uint32 rangeFilter_max = 5; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_rangefilter_max() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_rangefilter_max(), target); + } + } + + // uint32 flagFilter = 6; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (this_._internal_flagfilter() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 6, this_._internal_flagfilter(), target); + } + } + + // uint32 flagAttr = 7; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (this_._internal_flagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 7, this_._internal_flagattr(), target); + } + } + + // repeated .np2_structs.IntSearchFilter intFilter = 8; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_intfilter_size()); + i < n; i++) { + const auto& repfield = this_._internal_intfilter().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinSearchFilter binFilter = 9; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_binfilter_size()); + i < n; i++) { + const auto& repfield = this_._internal_binfilter().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.uint16 attrId = 10; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attrid_size()); + i < n; i++) { + const auto& repfield = this_._internal_attrid().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 10, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SearchRoomRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SearchRoomRequest::ByteSizeLong(const MessageLite& base) { + const SearchRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SearchRoomRequest::ByteSizeLong() const { + const SearchRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SearchRoomRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + // repeated .np2_structs.IntSearchFilter intFilter = 8; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_intfilter_size(); + for (const auto& msg : this_._internal_intfilter()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinSearchFilter binFilter = 9; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_binfilter_size(); + for (const auto& msg : this_._internal_binfilter()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.uint16 attrId = 10; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += 1UL * this_._internal_attrid_size(); + for (const auto& msg : this_._internal_attrid()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // int32 option = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_option() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_option()); + } + } + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_worldid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_worldid()); + } + } + // uint64 lobbyId = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_lobbyid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lobbyid()); + } + } + // uint32 rangeFilter_startIndex = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_rangefilter_startindex() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rangefilter_startindex()); + } + } + // uint32 rangeFilter_max = 5; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_rangefilter_max() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rangefilter_max()); + } + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) { + // uint32 flagFilter = 6; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (this_._internal_flagfilter() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagfilter()); + } + } + // uint32 flagAttr = 7; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (this_._internal_flagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SearchRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SearchRoomRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_intfilter()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_intfilter()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_binfilter()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_binfilter()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_attrid()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attrid()); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_option() != 0) { + _this->_impl_.option_ = from._impl_.option_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_worldid() != 0) { + _this->_impl_.worldid_ = from._impl_.worldid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_lobbyid() != 0) { + _this->_impl_.lobbyid_ = from._impl_.lobbyid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_rangefilter_startindex() != 0) { + _this->_impl_.rangefilter_startindex_ = from._impl_.rangefilter_startindex_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (from._internal_rangefilter_max() != 0) { + _this->_impl_.rangefilter_max_ = from._impl_.rangefilter_max_; + } + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) { + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (from._internal_flagfilter() != 0) { + _this->_impl_.flagfilter_ = from._impl_.flagfilter_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (from._internal_flagattr() != 0) { + _this->_impl_.flagattr_ = from._impl_.flagattr_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SearchRoomRequest::CopyFrom(const SearchRoomRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SearchRoomRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SearchRoomRequest::InternalSwap(SearchRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.intfilter_.InternalSwap(&other->_impl_.intfilter_); + _impl_.binfilter_.InternalSwap(&other->_impl_.binfilter_); + _impl_.attrid_.InternalSwap(&other->_impl_.attrid_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.flagattr_) + + sizeof(SearchRoomRequest::_impl_.flagattr_) + - PROTOBUF_FIELD_OFFSET(SearchRoomRequest, _impl_.option_)>( + reinterpret_cast(&_impl_.option_), + reinterpret_cast(&other->_impl_.option_)); +} + +// =================================================================== + +class SearchRoomResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_._has_bits_); +}; + +SearchRoomResponse::SearchRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SearchRoomResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SearchRoomResponse) +} +PROTOBUF_NDEBUG_INLINE SearchRoomResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SearchRoomResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + rooms_{visibility, arena, from.rooms_} {} + +SearchRoomResponse::SearchRoomResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SearchRoomResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SearchRoomResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SearchRoomResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, startindex_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, startindex_), + offsetof(Impl_, total_) - + offsetof(Impl_, startindex_) + + sizeof(Impl_::total_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.SearchRoomResponse) +} +PROTOBUF_NDEBUG_INLINE SearchRoomResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + rooms_{visibility, arena} {} + +inline void SearchRoomResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, startindex_), + 0, + offsetof(Impl_, total_) - + offsetof(Impl_, startindex_) + + sizeof(Impl_::total_)); +} +SearchRoomResponse::~SearchRoomResponse() { + // @@protoc_insertion_point(destructor:np2_structs.SearchRoomResponse) + SharedDtor(*this); +} +inline void SearchRoomResponse::SharedDtor(MessageLite& self) { + SearchRoomResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SearchRoomResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SearchRoomResponse(arena); +} +constexpr auto SearchRoomResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.rooms_) + + decltype(SearchRoomResponse::_impl_.rooms_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SearchRoomResponse), alignof(SearchRoomResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SearchRoomResponse::PlacementNew_, + sizeof(SearchRoomResponse), + alignof(SearchRoomResponse)); + } +} +constexpr auto SearchRoomResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_SearchRoomResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SearchRoomResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SearchRoomResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SearchRoomResponse::ByteSizeLong, + &SearchRoomResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_._cached_size_), + true, + }, + "np2_structs.SearchRoomResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> SearchRoomResponse_class_data_ = + SearchRoomResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SearchRoomResponse::GetClassData() const { + return SearchRoomResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> +SearchRoomResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SearchRoomResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SearchRoomResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 startIndex = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.startindex_)}}, + // uint32 total = 2; + {::_pbi::TcParser::FastV32S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.total_)}}, + // repeated .np2_structs.RoomDataExternal rooms = 3; + {::_pbi::TcParser::FastMtR1, + {26, 0, 0, + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.rooms_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 startIndex = 1; + {PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.startindex_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 total = 2; + {PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.total_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.RoomDataExternal rooms = 3; + {PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.rooms_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomDataExternal>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SearchRoomResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SearchRoomResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.rooms_.Clear(); + } + if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) { + ::memset(&_impl_.startindex_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.total_) - + reinterpret_cast(&_impl_.startindex_)) + sizeof(_impl_.total_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SearchRoomResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SearchRoomResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SearchRoomResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SearchRoomResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SearchRoomResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 startIndex = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_startindex() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_startindex(), target); + } + } + + // uint32 total = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_total() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_total(), target); + } + } + + // repeated .np2_structs.RoomDataExternal rooms = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_rooms_size()); + i < n; i++) { + const auto& repfield = this_._internal_rooms().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SearchRoomResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SearchRoomResponse::ByteSizeLong(const MessageLite& base) { + const SearchRoomResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SearchRoomResponse::ByteSizeLong() const { + const SearchRoomResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SearchRoomResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // repeated .np2_structs.RoomDataExternal rooms = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_rooms_size(); + for (const auto& msg : this_._internal_rooms()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint32 startIndex = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_startindex() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_startindex()); + } + } + // uint32 total = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_total() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_total()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SearchRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SearchRoomResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_rooms()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_rooms()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_startindex() != 0) { + _this->_impl_.startindex_ = from._impl_.startindex_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_total() != 0) { + _this->_impl_.total_ = from._impl_.total_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SearchRoomResponse::CopyFrom(const SearchRoomResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SearchRoomResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SearchRoomResponse::InternalSwap(SearchRoomResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.rooms_.InternalSwap(&other->_impl_.rooms_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.total_) + + sizeof(SearchRoomResponse::_impl_.total_) + - PROTOBUF_FIELD_OFFSET(SearchRoomResponse, _impl_.startindex_)>( + reinterpret_cast(&_impl_.startindex_), + reinterpret_cast(&other->_impl_.startindex_)); +} + +// =================================================================== + +class CreateJoinRoomRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_._has_bits_); +}; + +CreateJoinRoomRequest::CreateJoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, CreateJoinRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.CreateJoinRoomRequest) +} +PROTOBUF_NDEBUG_INLINE CreateJoinRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::CreateJoinRoomRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roombinattrinternal_{visibility, arena, from.roombinattrinternal_}, + roomsearchableintattrexternal_{visibility, arena, from.roomsearchableintattrexternal_}, + roomsearchablebinattrexternal_{visibility, arena, from.roomsearchablebinattrexternal_}, + roombinattrexternal_{visibility, arena, from.roombinattrexternal_}, + groupconfig_{visibility, arena, from.groupconfig_}, + alloweduser_{visibility, arena, from.alloweduser_}, + blockeduser_{visibility, arena, from.blockeduser_}, + roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_}, + roompassword_(arena, from.roompassword_), + joinroomgrouplabel_(arena, from.joinroomgrouplabel_) {} + +CreateJoinRoomRequest::CreateJoinRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const CreateJoinRoomRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, CreateJoinRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CreateJoinRoomRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000400U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_) + : nullptr; + _impl_.sigoptparam_ = (CheckHasBit(cached_has_bits, 0x00000800U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.sigoptparam_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, lobbyid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, lobbyid_), + offsetof(Impl_, flagattr_) - + offsetof(Impl_, lobbyid_) + + sizeof(Impl_::flagattr_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.CreateJoinRoomRequest) +} +PROTOBUF_NDEBUG_INLINE CreateJoinRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roombinattrinternal_{visibility, arena}, + roomsearchableintattrexternal_{visibility, arena}, + roomsearchablebinattrexternal_{visibility, arena}, + roombinattrexternal_{visibility, arena}, + groupconfig_{visibility, arena}, + alloweduser_{visibility, arena}, + blockeduser_{visibility, arena}, + roommemberbinattrinternal_{visibility, arena}, + roompassword_(arena), + joinroomgrouplabel_(arena) {} + +inline void CreateJoinRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, teamid_), + 0, + offsetof(Impl_, flagattr_) - + offsetof(Impl_, teamid_) + + sizeof(Impl_::flagattr_)); +} +CreateJoinRoomRequest::~CreateJoinRoomRequest() { + // @@protoc_insertion_point(destructor:np2_structs.CreateJoinRoomRequest) + SharedDtor(*this); +} +inline void CreateJoinRoomRequest::SharedDtor(MessageLite& self) { + CreateJoinRoomRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.roompassword_.Destroy(); + this_._impl_.joinroomgrouplabel_.Destroy(); + delete this_._impl_.teamid_; + delete this_._impl_.sigoptparam_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL CreateJoinRoomRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) CreateJoinRoomRequest(arena); +} +constexpr auto CreateJoinRoomRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrinternal_) + + decltype(CreateJoinRoomRequest::_impl_.roombinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchableintattrexternal_) + + decltype(CreateJoinRoomRequest::_impl_.roomsearchableintattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchablebinattrexternal_) + + decltype(CreateJoinRoomRequest::_impl_.roomsearchablebinattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrexternal_) + + decltype(CreateJoinRoomRequest::_impl_.roombinattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.groupconfig_) + + decltype(CreateJoinRoomRequest::_impl_.groupconfig_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.alloweduser_) + + decltype(CreateJoinRoomRequest::_impl_.alloweduser_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.blockeduser_) + + decltype(CreateJoinRoomRequest::_impl_.blockeduser_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roommemberbinattrinternal_) + + decltype(CreateJoinRoomRequest::_impl_.roommemberbinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(CreateJoinRoomRequest), alignof(CreateJoinRoomRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&CreateJoinRoomRequest::PlacementNew_, + sizeof(CreateJoinRoomRequest), + alignof(CreateJoinRoomRequest)); + } +} +constexpr auto CreateJoinRoomRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<34>{ + { + &_CreateJoinRoomRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CreateJoinRoomRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CreateJoinRoomRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &CreateJoinRoomRequest::ByteSizeLong, + &CreateJoinRoomRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_._cached_size_), + true, + }, + "np2_structs.CreateJoinRoomRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<34> CreateJoinRoomRequest_class_data_ = + CreateJoinRoomRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreateJoinRoomRequest::GetClassData() const { + return CreateJoinRoomRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<5, 17, 8, 80, 2> +CreateJoinRoomRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_._has_bits_), + 0, // no _extensions_ + 17, 248, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294836224, // skipmap + offsetof(decltype(_table_), field_entries), + 17, // num_field_entries + 8, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + CreateJoinRoomRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::CreateJoinRoomRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 worldId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 13, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.worldid_)}}, + // uint64 lobbyId = 2; + {::_pbi::TcParser::FastV64S1, + {16, 12, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.lobbyid_)}}, + // uint32 maxSlot = 3; + {::_pbi::TcParser::FastV32S1, + {24, 14, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.maxslot_)}}, + // uint32 flagAttr = 4; + {::_pbi::TcParser::FastV32S1, + {32, 16, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.flagattr_)}}, + // repeated .np2_structs.BinAttr roomBinAttrInternal = 5; + {::_pbi::TcParser::FastMtR1, + {42, 0, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrinternal_)}}, + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6; + {::_pbi::TcParser::FastMtR1, + {50, 1, 1, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchableintattrexternal_)}}, + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7; + {::_pbi::TcParser::FastMtR1, + {58, 2, 2, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchablebinattrexternal_)}}, + // repeated .np2_structs.BinAttr roomBinAttrExternal = 8; + {::_pbi::TcParser::FastMtR1, + {66, 3, 3, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrexternal_)}}, + // bytes roomPassword = 9; + {::_pbi::TcParser::FastBS1, + {74, 8, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roompassword_)}}, + // repeated .np2_structs.GroupConfig groupConfig = 10; + {::_pbi::TcParser::FastMtR1, + {82, 4, 4, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.groupconfig_)}}, + // uint64 passwordSlotMask = 11; + {::_pbi::TcParser::FastV64S1, + {88, 15, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.passwordslotmask_)}}, + // repeated string allowedUser = 12; + {::_pbi::TcParser::FastUR1, + {98, 5, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.alloweduser_)}}, + // repeated string blockedUser = 13; + {::_pbi::TcParser::FastUR1, + {106, 6, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.blockeduser_)}}, + // bytes joinRoomGroupLabel = 14; + {::_pbi::TcParser::FastBS1, + {114, 9, 0, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.joinroomgrouplabel_)}}, + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15; + {::_pbi::TcParser::FastMtR1, + {122, 7, 5, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roommemberbinattrinternal_)}}, + // .np2_structs.uint8 teamId = 16; + {::_pbi::TcParser::FastMtS2, + {386, 10, 6, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.teamid_)}}, + // .np2_structs.OptParam sigOptParam = 17; + {::_pbi::TcParser::FastMtS2, + {394, 11, 7, + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.sigoptparam_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 worldId = 1; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.worldid_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint64 lobbyId = 2; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.lobbyid_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 maxSlot = 3; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.maxslot_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 flagAttr = 4; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.flagattr_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.BinAttr roomBinAttrInternal = 5; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrinternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchableintattrexternal_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roomsearchablebinattrexternal_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomBinAttrExternal = 8; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roombinattrexternal_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // bytes roomPassword = 9; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roompassword_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated .np2_structs.GroupConfig groupConfig = 10; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.groupconfig_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 passwordSlotMask = 11; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // repeated string allowedUser = 12; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.alloweduser_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // repeated string blockedUser = 13; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.blockeduser_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // bytes joinRoomGroupLabel = 14; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.joinroomgrouplabel_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 7, 5, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint8 teamId = 16; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.teamid_), _Internal::kHasBitsOffset + 10, 6, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.OptParam sigOptParam = 17; + {PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.sigoptparam_), _Internal::kHasBitsOffset + 11, 7, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::GroupConfig>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::OptParam>()}, + }}, + {{ + "\41\0\0\0\0\0\0\0\0\0\0\0\13\13\0\0\0\0\0\0\0\0\0\0" + "np2_structs.CreateJoinRoomRequest" + "allowedUser" + "blockedUser" + }}, +}; +PROTOBUF_NOINLINE void CreateJoinRoomRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.CreateJoinRoomRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roombinattrinternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.roomsearchableintattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.roomsearchablebinattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + _impl_.roombinattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) { + _impl_.groupconfig_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) { + _impl_.alloweduser_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) { + _impl_.blockeduser_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) { + _impl_.roommemberbinattrinternal_.Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) { + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + _impl_.roompassword_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + _impl_.joinroomgrouplabel_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + ABSL_DCHECK(_impl_.teamid_ != nullptr); + _impl_.teamid_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + ABSL_DCHECK(_impl_.sigoptparam_ != nullptr); + _impl_.sigoptparam_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000f000U)) { + ::memset(&_impl_.lobbyid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.passwordslotmask_) - + reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.passwordslotmask_)); + } + _impl_.flagattr_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL CreateJoinRoomRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreateJoinRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreateJoinRoomRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const CreateJoinRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.CreateJoinRoomRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 worldId = 1; + if (CheckHasBit(cached_has_bits, 0x00002000U)) { + if (this_._internal_worldid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_worldid(), target); + } + } + + // uint64 lobbyId = 2; + if (CheckHasBit(cached_has_bits, 0x00001000U)) { + if (this_._internal_lobbyid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_lobbyid(), target); + } + } + + // uint32 maxSlot = 3; + if (CheckHasBit(cached_has_bits, 0x00004000U)) { + if (this_._internal_maxslot() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_maxslot(), target); + } + } + + // uint32 flagAttr = 4; + if (CheckHasBit(cached_has_bits, 0x00010000U)) { + if (this_._internal_flagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_flagattr(), target); + } + } + + // repeated .np2_structs.BinAttr roomBinAttrInternal = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roombinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roombinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomsearchableintattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomsearchableintattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomsearchablebinattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomsearchablebinattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinAttr roomBinAttrExternal = 8; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roombinattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roombinattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // bytes roomPassword = 9; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (!this_._internal_roompassword().empty()) { + const ::std::string& _s = this_._internal_roompassword(); + target = stream->WriteBytesMaybeAliased(9, _s, target); + } + } + + // repeated .np2_structs.GroupConfig groupConfig = 10; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_groupconfig_size()); + i < n; i++) { + const auto& repfield = this_._internal_groupconfig().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 10, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // uint64 passwordSlotMask = 11; + if (CheckHasBit(cached_has_bits, 0x00008000U)) { + if (this_._internal_passwordslotmask() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 11, this_._internal_passwordslotmask(), target); + } + } + + // repeated string allowedUser = 12; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) { + for (int i = 0, n = this_._internal_alloweduser_size(); i < n; ++i) { + const auto& s = this_._internal_alloweduser().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.CreateJoinRoomRequest.allowedUser"); + target = stream->WriteString(12, s, target); + } + } + + // repeated string blockedUser = 13; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) { + for (int i = 0, n = this_._internal_blockeduser_size(); i < n; ++i) { + const auto& s = this_._internal_blockeduser().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.CreateJoinRoomRequest.blockedUser"); + target = stream->WriteString(13, s, target); + } + } + + // bytes joinRoomGroupLabel = 14; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (!this_._internal_joinroomgrouplabel().empty()) { + const ::std::string& _s = this_._internal_joinroomgrouplabel(); + target = stream->WriteBytesMaybeAliased(14, _s, target); + } + } + + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roommemberbinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 15, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // .np2_structs.uint8 teamId = 16; + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 16, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target, + stream); + } + + // .np2_structs.OptParam sigOptParam = 17; + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 17, *this_._impl_.sigoptparam_, this_._impl_.sigoptparam_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.CreateJoinRoomRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t CreateJoinRoomRequest::ByteSizeLong(const MessageLite& base) { + const CreateJoinRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t CreateJoinRoomRequest::ByteSizeLong() const { + const CreateJoinRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.CreateJoinRoomRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + // repeated .np2_structs.BinAttr roomBinAttrInternal = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roombinattrinternal_size(); + for (const auto& msg : this_._internal_roombinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_roomsearchableintattrexternal_size(); + for (const auto& msg : this_._internal_roomsearchableintattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += 1UL * this_._internal_roomsearchablebinattrexternal_size(); + for (const auto& msg : this_._internal_roomsearchablebinattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttr roomBinAttrExternal = 8; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + total_size += 1UL * this_._internal_roombinattrexternal_size(); + for (const auto& msg : this_._internal_roombinattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.GroupConfig groupConfig = 10; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) { + total_size += 1UL * this_._internal_groupconfig_size(); + for (const auto& msg : this_._internal_groupconfig()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated string allowedUser = 12; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_alloweduser().size()); + for (int i = 0, n = this_._internal_alloweduser().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_alloweduser().Get(i)); + } + } + // repeated string blockedUser = 13; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_blockeduser().size()); + for (int i = 0, n = this_._internal_blockeduser().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_blockeduser().Get(i)); + } + } + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) { + total_size += 1UL * this_._internal_roommemberbinattrinternal_size(); + for (const auto& msg : this_._internal_roommemberbinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) { + // bytes roomPassword = 9; + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (!this_._internal_roompassword().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_roompassword()); + } + } + // bytes joinRoomGroupLabel = 14; + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (!this_._internal_joinroomgrouplabel().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_joinroomgrouplabel()); + } + } + // .np2_structs.uint8 teamId = 16; + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_); + } + // .np2_structs.OptParam sigOptParam = 17; + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sigoptparam_); + } + // uint64 lobbyId = 2; + if (CheckHasBit(cached_has_bits, 0x00001000U)) { + if (this_._internal_lobbyid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lobbyid()); + } + } + // uint32 worldId = 1; + if (CheckHasBit(cached_has_bits, 0x00002000U)) { + if (this_._internal_worldid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_worldid()); + } + } + // uint32 maxSlot = 3; + if (CheckHasBit(cached_has_bits, 0x00004000U)) { + if (this_._internal_maxslot() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_maxslot()); + } + } + // uint64 passwordSlotMask = 11; + if (CheckHasBit(cached_has_bits, 0x00008000U)) { + if (this_._internal_passwordslotmask() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_passwordslotmask()); + } + } + } + { + // uint32 flagAttr = 4; + if (CheckHasBit(cached_has_bits, 0x00010000U)) { + if (this_._internal_flagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void CreateJoinRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.CreateJoinRoomRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roombinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roombinattrinternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_roomsearchableintattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomsearchableintattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_roomsearchablebinattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomsearchablebinattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + _this->_internal_mutable_roombinattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roombinattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000010U)) { + _this->_internal_mutable_groupconfig()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_groupconfig()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000020U)) { + _this->_internal_mutable_alloweduser()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_alloweduser()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) { + _this->_internal_mutable_blockeduser()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_blockeduser()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) { + _this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roommemberbinattrinternal()); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) { + if (CheckHasBit(cached_has_bits, 0x00000100U)) { + if (!from._internal_roompassword().empty()) { + _this->_internal_set_roompassword(from._internal_roompassword()); + } else { + if (_this->_impl_.roompassword_.IsDefault()) { + _this->_internal_set_roompassword(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000200U)) { + if (!from._internal_joinroomgrouplabel().empty()) { + _this->_internal_set_joinroomgrouplabel(from._internal_joinroomgrouplabel()); + } else { + if (_this->_impl_.joinroomgrouplabel_.IsDefault()) { + _this->_internal_set_joinroomgrouplabel(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000400U)) { + ABSL_DCHECK(from._impl_.teamid_ != nullptr); + if (_this->_impl_.teamid_ == nullptr) { + _this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_); + } else { + _this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000800U)) { + ABSL_DCHECK(from._impl_.sigoptparam_ != nullptr); + if (_this->_impl_.sigoptparam_ == nullptr) { + _this->_impl_.sigoptparam_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.sigoptparam_); + } else { + _this->_impl_.sigoptparam_->MergeFrom(*from._impl_.sigoptparam_); + } + } + if (CheckHasBit(cached_has_bits, 0x00001000U)) { + if (from._internal_lobbyid() != 0) { + _this->_impl_.lobbyid_ = from._impl_.lobbyid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00002000U)) { + if (from._internal_worldid() != 0) { + _this->_impl_.worldid_ = from._impl_.worldid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00004000U)) { + if (from._internal_maxslot() != 0) { + _this->_impl_.maxslot_ = from._impl_.maxslot_; + } + } + if (CheckHasBit(cached_has_bits, 0x00008000U)) { + if (from._internal_passwordslotmask() != 0) { + _this->_impl_.passwordslotmask_ = from._impl_.passwordslotmask_; + } + } + } + if (CheckHasBit(cached_has_bits, 0x00010000U)) { + if (from._internal_flagattr() != 0) { + _this->_impl_.flagattr_ = from._impl_.flagattr_; + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void CreateJoinRoomRequest::CopyFrom(const CreateJoinRoomRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.CreateJoinRoomRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CreateJoinRoomRequest::InternalSwap(CreateJoinRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roombinattrinternal_.InternalSwap(&other->_impl_.roombinattrinternal_); + _impl_.roomsearchableintattrexternal_.InternalSwap(&other->_impl_.roomsearchableintattrexternal_); + _impl_.roomsearchablebinattrexternal_.InternalSwap(&other->_impl_.roomsearchablebinattrexternal_); + _impl_.roombinattrexternal_.InternalSwap(&other->_impl_.roombinattrexternal_); + _impl_.groupconfig_.InternalSwap(&other->_impl_.groupconfig_); + _impl_.alloweduser_.InternalSwap(&other->_impl_.alloweduser_); + _impl_.blockeduser_.InternalSwap(&other->_impl_.blockeduser_); + _impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roompassword_, &other->_impl_.roompassword_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.joinroomgrouplabel_, &other->_impl_.joinroomgrouplabel_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.flagattr_) + + sizeof(CreateJoinRoomRequest::_impl_.flagattr_) + - PROTOBUF_FIELD_OFFSET(CreateJoinRoomRequest, _impl_.teamid_)>( + reinterpret_cast(&_impl_.teamid_), + reinterpret_cast(&other->_impl_.teamid_)); +} + +// =================================================================== + +class JoinRoomRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_._has_bits_); +}; + +JoinRoomRequest::JoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, JoinRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.JoinRoomRequest) +} +PROTOBUF_NDEBUG_INLINE JoinRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::JoinRoomRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_}, + roompassword_(arena, from.roompassword_), + joinroomgrouplabel_(arena, from.joinroomgrouplabel_) {} + +JoinRoomRequest::JoinRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const JoinRoomRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, JoinRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + JoinRoomRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000008U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_) + : nullptr; + _impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000010U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_) + : nullptr; + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.JoinRoomRequest) +} +PROTOBUF_NDEBUG_INLINE JoinRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roommemberbinattrinternal_{visibility, arena}, + roompassword_(arena), + joinroomgrouplabel_(arena) {} + +inline void JoinRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, optdata_), + 0, + offsetof(Impl_, roomid_) - + offsetof(Impl_, optdata_) + + sizeof(Impl_::roomid_)); +} +JoinRoomRequest::~JoinRoomRequest() { + // @@protoc_insertion_point(destructor:np2_structs.JoinRoomRequest) + SharedDtor(*this); +} +inline void JoinRoomRequest::SharedDtor(MessageLite& self) { + JoinRoomRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.roompassword_.Destroy(); + this_._impl_.joinroomgrouplabel_.Destroy(); + delete this_._impl_.optdata_; + delete this_._impl_.teamid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL JoinRoomRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) JoinRoomRequest(arena); +} +constexpr auto JoinRoomRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roommemberbinattrinternal_) + + decltype(JoinRoomRequest::_impl_.roommemberbinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(JoinRoomRequest), alignof(JoinRoomRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&JoinRoomRequest::PlacementNew_, + sizeof(JoinRoomRequest), + alignof(JoinRoomRequest)); + } +} +constexpr auto JoinRoomRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<28>{ + { + &_JoinRoomRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &JoinRoomRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &JoinRoomRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &JoinRoomRequest::ByteSizeLong, + &JoinRoomRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_._cached_size_), + true, + }, + "np2_structs.JoinRoomRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<28> JoinRoomRequest_class_data_ = + JoinRoomRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JoinRoomRequest::GetClassData() const { + return JoinRoomRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 3, 0, 2> +JoinRoomRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + JoinRoomRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::JoinRoomRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 5, 0, + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roomid_)}}, + // bytes roomPassword = 2; + {::_pbi::TcParser::FastBS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roompassword_)}}, + // bytes joinRoomGroupLabel = 3; + {::_pbi::TcParser::FastBS1, + {26, 2, 0, + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.joinroomgrouplabel_)}}, + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + {::_pbi::TcParser::FastMtR1, + {34, 0, 0, + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roommemberbinattrinternal_)}}, + // .np2_structs.PresenceOptionData optData = 5; + {::_pbi::TcParser::FastMtS1, + {42, 3, 1, + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.optdata_)}}, + // .np2_structs.uint8 teamId = 6; + {::_pbi::TcParser::FastMtS1, + {50, 4, 2, + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.teamid_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // bytes roomPassword = 2; + {PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roompassword_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // bytes joinRoomGroupLabel = 3; + {PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.joinroomgrouplabel_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + {PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.PresenceOptionData optData = 5; + {PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.optdata_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint8 teamId = 6; + {PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.teamid_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void JoinRoomRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.JoinRoomRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roommemberbinattrinternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.roompassword_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.joinroomgrouplabel_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(_impl_.optdata_ != nullptr); + _impl_.optdata_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(_impl_.teamid_ != nullptr); + _impl_.teamid_->Clear(); + } + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL JoinRoomRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const JoinRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL JoinRoomRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const JoinRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.JoinRoomRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // bytes roomPassword = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_roompassword().empty()) { + const ::std::string& _s = this_._internal_roompassword(); + target = stream->WriteBytesMaybeAliased(2, _s, target); + } + } + + // bytes joinRoomGroupLabel = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_joinroomgrouplabel().empty()) { + const ::std::string& _s = this_._internal_joinroomgrouplabel(); + target = stream->WriteBytesMaybeAliased(3, _s, target); + } + } + + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roommemberbinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // .np2_structs.PresenceOptionData optData = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint8 teamId = 6; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.JoinRoomRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t JoinRoomRequest::ByteSizeLong(const MessageLite& base) { + const JoinRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t JoinRoomRequest::ByteSizeLong() const { + const JoinRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.JoinRoomRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roommemberbinattrinternal_size(); + for (const auto& msg : this_._internal_roommemberbinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // bytes roomPassword = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_roompassword().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_roompassword()); + } + } + // bytes joinRoomGroupLabel = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_joinroomgrouplabel().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_joinroomgrouplabel()); + } + } + // .np2_structs.PresenceOptionData optData = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_); + } + // .np2_structs.uint8 teamId = 6; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_); + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void JoinRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.JoinRoomRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roommemberbinattrinternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_roompassword().empty()) { + _this->_internal_set_roompassword(from._internal_roompassword()); + } else { + if (_this->_impl_.roompassword_.IsDefault()) { + _this->_internal_set_roompassword(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_joinroomgrouplabel().empty()) { + _this->_internal_set_joinroomgrouplabel(from._internal_joinroomgrouplabel()); + } else { + if (_this->_impl_.joinroomgrouplabel_.IsDefault()) { + _this->_internal_set_joinroomgrouplabel(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(from._impl_.optdata_ != nullptr); + if (_this->_impl_.optdata_ == nullptr) { + _this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_); + } else { + _this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(from._impl_.teamid_ != nullptr); + if (_this->_impl_.teamid_ == nullptr) { + _this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_); + } else { + _this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void JoinRoomRequest::CopyFrom(const JoinRoomRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.JoinRoomRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void JoinRoomRequest::InternalSwap(JoinRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roompassword_, &other->_impl_.roompassword_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.joinroomgrouplabel_, &other->_impl_.joinroomgrouplabel_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.roomid_) + + sizeof(JoinRoomRequest::_impl_.roomid_) + - PROTOBUF_FIELD_OFFSET(JoinRoomRequest, _impl_.optdata_)>( + reinterpret_cast(&_impl_.optdata_), + reinterpret_cast(&other->_impl_.optdata_)); +} + +// =================================================================== + +class JoinRoomResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._has_bits_); +}; + +JoinRoomResponse::JoinRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, JoinRoomResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.JoinRoomResponse) +} +PROTOBUF_NDEBUG_INLINE JoinRoomResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::JoinRoomResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + signaling_data_{visibility, arena, from.signaling_data_} {} + +JoinRoomResponse::JoinRoomResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const JoinRoomResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, JoinRoomResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + JoinRoomResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.room_data_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_data_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.JoinRoomResponse) +} +PROTOBUF_NDEBUG_INLINE JoinRoomResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + signaling_data_{visibility, arena} {} + +inline void JoinRoomResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.room_data_ = {}; +} +JoinRoomResponse::~JoinRoomResponse() { + // @@protoc_insertion_point(destructor:np2_structs.JoinRoomResponse) + SharedDtor(*this); +} +inline void JoinRoomResponse::SharedDtor(MessageLite& self) { + JoinRoomResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.room_data_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL JoinRoomResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) JoinRoomResponse(arena); +} +constexpr auto JoinRoomResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_) + + decltype(JoinRoomResponse::_impl_.signaling_data_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(JoinRoomResponse), alignof(JoinRoomResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&JoinRoomResponse::PlacementNew_, + sizeof(JoinRoomResponse), + alignof(JoinRoomResponse)); + } +} +constexpr auto JoinRoomResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<29>{ + { + &_JoinRoomResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &JoinRoomResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &JoinRoomResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &JoinRoomResponse::ByteSizeLong, + &JoinRoomResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._cached_size_), + true, + }, + "np2_structs.JoinRoomResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<29> JoinRoomResponse_class_data_ = + JoinRoomResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +JoinRoomResponse::GetClassData() const { + return JoinRoomResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +JoinRoomResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + JoinRoomResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::JoinRoomResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 1, + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_)}}, + // .np2_structs.RoomDataInternal room_data = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.RoomDataInternal room_data = 1; + {PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; + {PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>()}, + {::_pbi::TcParser::GetTable<::np2_structs::Matching2SignalingInfo>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void JoinRoomResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.JoinRoomResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.signaling_data_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.room_data_ != nullptr); + _impl_.room_data_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL JoinRoomResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const JoinRoomResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL JoinRoomResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const JoinRoomResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.JoinRoomResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.RoomDataInternal room_data = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.room_data_, this_._impl_.room_data_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_signaling_data_size()); + i < n; i++) { + const auto& repfield = this_._internal_signaling_data().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.JoinRoomResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t JoinRoomResponse::ByteSizeLong(const MessageLite& base) { + const JoinRoomResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t JoinRoomResponse::ByteSizeLong() const { + const JoinRoomResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.JoinRoomResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_signaling_data_size(); + for (const auto& msg : this_._internal_signaling_data()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.RoomDataInternal room_data = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.room_data_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void JoinRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.JoinRoomResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_signaling_data()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_signaling_data()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.room_data_ != nullptr); + if (_this->_impl_.room_data_ == nullptr) { + _this->_impl_.room_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_data_); + } else { + _this->_impl_.room_data_->MergeFrom(*from._impl_.room_data_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void JoinRoomResponse::CopyFrom(const JoinRoomResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.JoinRoomResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void JoinRoomResponse::InternalSwap(JoinRoomResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.signaling_data_.InternalSwap(&other->_impl_.signaling_data_); + swap(_impl_.room_data_, other->_impl_.room_data_); +} + +// =================================================================== + +class LeaveRoomRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_._has_bits_); +}; + +LeaveRoomRequest::LeaveRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, LeaveRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.LeaveRoomRequest) +} +PROTOBUF_NDEBUG_INLINE LeaveRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::LeaveRoomRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +LeaveRoomRequest::LeaveRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const LeaveRoomRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, LeaveRoomRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LeaveRoomRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_) + : nullptr; + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.LeaveRoomRequest) +} +PROTOBUF_NDEBUG_INLINE LeaveRoomRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void LeaveRoomRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, optdata_), + 0, + offsetof(Impl_, roomid_) - + offsetof(Impl_, optdata_) + + sizeof(Impl_::roomid_)); +} +LeaveRoomRequest::~LeaveRoomRequest() { + // @@protoc_insertion_point(destructor:np2_structs.LeaveRoomRequest) + SharedDtor(*this); +} +inline void LeaveRoomRequest::SharedDtor(MessageLite& self) { + LeaveRoomRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.optdata_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL LeaveRoomRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) LeaveRoomRequest(arena); +} +constexpr auto LeaveRoomRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LeaveRoomRequest), + alignof(LeaveRoomRequest)); +} +constexpr auto LeaveRoomRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<29>{ + { + &_LeaveRoomRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &LeaveRoomRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &LeaveRoomRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &LeaveRoomRequest::ByteSizeLong, + &LeaveRoomRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_._cached_size_), + true, + }, + "np2_structs.LeaveRoomRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<29> LeaveRoomRequest_class_data_ = + LeaveRoomRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +LeaveRoomRequest::GetClassData() const { + return LeaveRoomRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +LeaveRoomRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + LeaveRoomRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::LeaveRoomRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.PresenceOptionData optData = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.optdata_)}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.roomid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.PresenceOptionData optData = 2; + {PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.optdata_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void LeaveRoomRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.LeaveRoomRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.optdata_ != nullptr); + _impl_.optdata_->Clear(); + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL LeaveRoomRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const LeaveRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL LeaveRoomRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const LeaveRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.LeaveRoomRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // .np2_structs.PresenceOptionData optData = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.LeaveRoomRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t LeaveRoomRequest::ByteSizeLong(const MessageLite& base) { + const LeaveRoomRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t LeaveRoomRequest::ByteSizeLong() const { + const LeaveRoomRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.LeaveRoomRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.PresenceOptionData optData = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_); + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void LeaveRoomRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.LeaveRoomRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.optdata_ != nullptr); + if (_this->_impl_.optdata_ == nullptr) { + _this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_); + } else { + _this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void LeaveRoomRequest::CopyFrom(const LeaveRoomRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.LeaveRoomRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void LeaveRoomRequest::InternalSwap(LeaveRoomRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.roomid_) + + sizeof(LeaveRoomRequest::_impl_.roomid_) + - PROTOBUF_FIELD_OFFSET(LeaveRoomRequest, _impl_.optdata_)>( + reinterpret_cast(&_impl_.optdata_), + reinterpret_cast(&other->_impl_.optdata_)); +} + +// =================================================================== + +class GetRoomDataExternalListRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_._has_bits_); +}; + +GetRoomDataExternalListRequest::GetRoomDataExternalListRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomDataExternalListRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomDataExternalListRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetRoomDataExternalListRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roomids_{visibility, arena, from.roomids_}, + _roomids_cached_byte_size_{0}, + attrids_{visibility, arena, from.attrids_} {} + +GetRoomDataExternalListRequest::GetRoomDataExternalListRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetRoomDataExternalListRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomDataExternalListRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetRoomDataExternalListRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomDataExternalListRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roomids_{visibility, arena}, + _roomids_cached_byte_size_{0}, + attrids_{visibility, arena} {} + +inline void GetRoomDataExternalListRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GetRoomDataExternalListRequest::~GetRoomDataExternalListRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetRoomDataExternalListRequest) + SharedDtor(*this); +} +inline void GetRoomDataExternalListRequest::SharedDtor(MessageLite& self) { + GetRoomDataExternalListRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetRoomDataExternalListRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetRoomDataExternalListRequest(arena); +} +constexpr auto GetRoomDataExternalListRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.roomids_) + + decltype(GetRoomDataExternalListRequest::_impl_.roomids_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.attrids_) + + decltype(GetRoomDataExternalListRequest::_impl_.attrids_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetRoomDataExternalListRequest), alignof(GetRoomDataExternalListRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetRoomDataExternalListRequest::PlacementNew_, + sizeof(GetRoomDataExternalListRequest), + alignof(GetRoomDataExternalListRequest)); + } +} +constexpr auto GetRoomDataExternalListRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<43>{ + { + &_GetRoomDataExternalListRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetRoomDataExternalListRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetRoomDataExternalListRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetRoomDataExternalListRequest::ByteSizeLong, + &GetRoomDataExternalListRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetRoomDataExternalListRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<43> GetRoomDataExternalListRequest_class_data_ = + GetRoomDataExternalListRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRoomDataExternalListRequest::GetClassData() const { + return GetRoomDataExternalListRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +GetRoomDataExternalListRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetRoomDataExternalListRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetRoomDataExternalListRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.uint16 attrIds = 2; + {::_pbi::TcParser::FastMtR1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.attrids_)}}, + // repeated uint64 roomIds = 1; + {::_pbi::TcParser::FastV64P1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.roomids_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated uint64 roomIds = 1; + {PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.roomids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)}, + // repeated .np2_structs.uint16 attrIds = 2; + {PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListRequest, _impl_.attrids_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetRoomDataExternalListRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomDataExternalListRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roomids_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.attrids_.Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetRoomDataExternalListRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetRoomDataExternalListRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomDataExternalListRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated uint64 roomIds = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._roomids_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteUInt64Packed( + 1, this_._internal_roomids(), byte_size, target); + } + } + } + + // repeated .np2_structs.uint16 attrIds = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attrids_size()); + i < n; i++) { + const auto& repfield = this_._internal_attrids().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomDataExternalListRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetRoomDataExternalListRequest::ByteSizeLong(const MessageLite& base) { + const GetRoomDataExternalListRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetRoomDataExternalListRequest::ByteSizeLong() const { + const GetRoomDataExternalListRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomDataExternalListRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated uint64 roomIds = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize( + this_._internal_roomids(), 1, + this_._impl_._roomids_cached_byte_size_); + } + // repeated .np2_structs.uint16 attrIds = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_attrids_size(); + for (const auto& msg : this_._internal_attrids()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetRoomDataExternalListRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomDataExternalListRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roomids()->MergeFrom(from._internal_roomids()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_attrids()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attrids()); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetRoomDataExternalListRequest::CopyFrom(const GetRoomDataExternalListRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomDataExternalListRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetRoomDataExternalListRequest::InternalSwap(GetRoomDataExternalListRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roomids_.InternalSwap(&other->_impl_.roomids_); + _impl_.attrids_.InternalSwap(&other->_impl_.attrids_); +} + +// =================================================================== + +class GetRoomDataExternalListResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_._has_bits_); +}; + +GetRoomDataExternalListResponse::GetRoomDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomDataExternalListResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomDataExternalListResponse) +} +PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetRoomDataExternalListResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + rooms_{visibility, arena, from.rooms_} {} + +GetRoomDataExternalListResponse::GetRoomDataExternalListResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetRoomDataExternalListResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomDataExternalListResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetRoomDataExternalListResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomDataExternalListResponse) +} +PROTOBUF_NDEBUG_INLINE GetRoomDataExternalListResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + rooms_{visibility, arena} {} + +inline void GetRoomDataExternalListResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GetRoomDataExternalListResponse::~GetRoomDataExternalListResponse() { + // @@protoc_insertion_point(destructor:np2_structs.GetRoomDataExternalListResponse) + SharedDtor(*this); +} +inline void GetRoomDataExternalListResponse::SharedDtor(MessageLite& self) { + GetRoomDataExternalListResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetRoomDataExternalListResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetRoomDataExternalListResponse(arena); +} +constexpr auto GetRoomDataExternalListResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_.rooms_) + + decltype(GetRoomDataExternalListResponse::_impl_.rooms_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetRoomDataExternalListResponse), alignof(GetRoomDataExternalListResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetRoomDataExternalListResponse::PlacementNew_, + sizeof(GetRoomDataExternalListResponse), + alignof(GetRoomDataExternalListResponse)); + } +} +constexpr auto GetRoomDataExternalListResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<44>{ + { + &_GetRoomDataExternalListResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetRoomDataExternalListResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetRoomDataExternalListResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetRoomDataExternalListResponse::ByteSizeLong, + &GetRoomDataExternalListResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_._cached_size_), + true, + }, + "np2_structs.GetRoomDataExternalListResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<44> GetRoomDataExternalListResponse_class_data_ = + GetRoomDataExternalListResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRoomDataExternalListResponse::GetClassData() const { + return GetRoomDataExternalListResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetRoomDataExternalListResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetRoomDataExternalListResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetRoomDataExternalListResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.RoomDataExternal rooms = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_.rooms_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.RoomDataExternal rooms = 1; + {PROTOBUF_FIELD_OFFSET(GetRoomDataExternalListResponse, _impl_.rooms_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomDataExternal>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetRoomDataExternalListResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomDataExternalListResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.rooms_.Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetRoomDataExternalListResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetRoomDataExternalListResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetRoomDataExternalListResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomDataExternalListResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.RoomDataExternal rooms = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_rooms_size()); + i < n; i++) { + const auto& repfield = this_._internal_rooms().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomDataExternalListResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetRoomDataExternalListResponse::ByteSizeLong(const MessageLite& base) { + const GetRoomDataExternalListResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetRoomDataExternalListResponse::ByteSizeLong() const { + const GetRoomDataExternalListResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomDataExternalListResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .np2_structs.RoomDataExternal rooms = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_rooms_size(); + for (const auto& msg : this_._internal_rooms()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetRoomDataExternalListResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomDataExternalListResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_rooms()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_rooms()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetRoomDataExternalListResponse::CopyFrom(const GetRoomDataExternalListResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomDataExternalListResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetRoomDataExternalListResponse::InternalSwap(GetRoomDataExternalListResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.rooms_.InternalSwap(&other->_impl_.rooms_); +} + +// =================================================================== + +class SetRoomDataExternalRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_._has_bits_); +}; + +SetRoomDataExternalRequest::SetRoomDataExternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomDataExternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomDataExternalRequest) +} +PROTOBUF_NDEBUG_INLINE SetRoomDataExternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SetRoomDataExternalRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roomsearchableintattrexternal_{visibility, arena, from.roomsearchableintattrexternal_}, + roomsearchablebinattrexternal_{visibility, arena, from.roomsearchablebinattrexternal_}, + roombinattrexternal_{visibility, arena, from.roombinattrexternal_} {} + +SetRoomDataExternalRequest::SetRoomDataExternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SetRoomDataExternalRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomDataExternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetRoomDataExternalRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomDataExternalRequest) +} +PROTOBUF_NDEBUG_INLINE SetRoomDataExternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roomsearchableintattrexternal_{visibility, arena}, + roomsearchablebinattrexternal_{visibility, arena}, + roombinattrexternal_{visibility, arena} {} + +inline void SetRoomDataExternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.roomid_ = {}; +} +SetRoomDataExternalRequest::~SetRoomDataExternalRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SetRoomDataExternalRequest) + SharedDtor(*this); +} +inline void SetRoomDataExternalRequest::SharedDtor(MessageLite& self) { + SetRoomDataExternalRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SetRoomDataExternalRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SetRoomDataExternalRequest(arena); +} +constexpr auto SetRoomDataExternalRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchableintattrexternal_) + + decltype(SetRoomDataExternalRequest::_impl_.roomsearchableintattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchablebinattrexternal_) + + decltype(SetRoomDataExternalRequest::_impl_.roomsearchablebinattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roombinattrexternal_) + + decltype(SetRoomDataExternalRequest::_impl_.roombinattrexternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SetRoomDataExternalRequest), alignof(SetRoomDataExternalRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SetRoomDataExternalRequest::PlacementNew_, + sizeof(SetRoomDataExternalRequest), + alignof(SetRoomDataExternalRequest)); + } +} +constexpr auto SetRoomDataExternalRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_SetRoomDataExternalRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetRoomDataExternalRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetRoomDataExternalRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SetRoomDataExternalRequest::ByteSizeLong, + &SetRoomDataExternalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SetRoomDataExternalRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataExternalRequest_class_data_ = + SetRoomDataExternalRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetRoomDataExternalRequest::GetClassData() const { + return SetRoomDataExternalRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 0, 2> +SetRoomDataExternalRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SetRoomDataExternalRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SetRoomDataExternalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.BinAttr roomBinAttrExternal = 4; + {::_pbi::TcParser::FastMtR1, + {34, 2, 2, + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roombinattrexternal_)}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 3, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomid_)}}, + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchableintattrexternal_)}}, + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3; + {::_pbi::TcParser::FastMtR1, + {26, 1, 1, + PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchablebinattrexternal_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2; + {PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchableintattrexternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3; + {PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roomsearchablebinattrexternal_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomBinAttrExternal = 4; + {PROTOBUF_FIELD_OFFSET(SetRoomDataExternalRequest, _impl_.roombinattrexternal_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::IntAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SetRoomDataExternalRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomDataExternalRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roomsearchableintattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.roomsearchablebinattrexternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.roombinattrexternal_.Clear(); + } + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SetRoomDataExternalRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetRoomDataExternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetRoomDataExternalRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SetRoomDataExternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomDataExternalRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomsearchableintattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomsearchableintattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roomsearchablebinattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roomsearchablebinattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.BinAttr roomBinAttrExternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roombinattrexternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roombinattrexternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomDataExternalRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SetRoomDataExternalRequest::ByteSizeLong(const MessageLite& base) { + const SetRoomDataExternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SetRoomDataExternalRequest::ByteSizeLong() const { + const SetRoomDataExternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomDataExternalRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roomsearchableintattrexternal_size(); + for (const auto& msg : this_._internal_roomsearchableintattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_roomsearchablebinattrexternal_size(); + for (const auto& msg : this_._internal_roomsearchablebinattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.BinAttr roomBinAttrExternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += 1UL * this_._internal_roombinattrexternal_size(); + for (const auto& msg : this_._internal_roombinattrexternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SetRoomDataExternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomDataExternalRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roomsearchableintattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomsearchableintattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_roomsearchablebinattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roomsearchablebinattrexternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_roombinattrexternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roombinattrexternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SetRoomDataExternalRequest::CopyFrom(const SetRoomDataExternalRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomDataExternalRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SetRoomDataExternalRequest::InternalSwap(SetRoomDataExternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roomsearchableintattrexternal_.InternalSwap(&other->_impl_.roomsearchableintattrexternal_); + _impl_.roomsearchablebinattrexternal_.InternalSwap(&other->_impl_.roomsearchablebinattrexternal_); + _impl_.roombinattrexternal_.InternalSwap(&other->_impl_.roombinattrexternal_); + swap(_impl_.roomid_, other->_impl_.roomid_); +} + +// =================================================================== + +class SetRoomDataInternalRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_._has_bits_); +}; + +SetRoomDataInternalRequest::SetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE SetRoomDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SetRoomDataInternalRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roombinattrinternal_{visibility, arena, from.roombinattrinternal_}, + passwordconfig_{visibility, arena, from.passwordconfig_}, + passwordslotmask_{visibility, arena, from.passwordslotmask_}, + _passwordslotmask_cached_byte_size_{0}, + ownerprivilegerank_{visibility, arena, from.ownerprivilegerank_} {} + +SetRoomDataInternalRequest::SetRoomDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SetRoomDataInternalRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetRoomDataInternalRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, roomid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, roomid_), + offsetof(Impl_, flagattr_) - + offsetof(Impl_, roomid_) + + sizeof(Impl_::flagattr_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE SetRoomDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roombinattrinternal_{visibility, arena}, + passwordconfig_{visibility, arena}, + passwordslotmask_{visibility, arena}, + _passwordslotmask_cached_byte_size_{0}, + ownerprivilegerank_{visibility, arena} {} + +inline void SetRoomDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, roomid_), + 0, + offsetof(Impl_, flagattr_) - + offsetof(Impl_, roomid_) + + sizeof(Impl_::flagattr_)); +} +SetRoomDataInternalRequest::~SetRoomDataInternalRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SetRoomDataInternalRequest) + SharedDtor(*this); +} +inline void SetRoomDataInternalRequest::SharedDtor(MessageLite& self) { + SetRoomDataInternalRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SetRoomDataInternalRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SetRoomDataInternalRequest(arena); +} +constexpr auto SetRoomDataInternalRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roombinattrinternal_) + + decltype(SetRoomDataInternalRequest::_impl_.roombinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordconfig_) + + decltype(SetRoomDataInternalRequest::_impl_.passwordconfig_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordslotmask_) + + decltype(SetRoomDataInternalRequest::_impl_.passwordslotmask_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.ownerprivilegerank_) + + decltype(SetRoomDataInternalRequest::_impl_.ownerprivilegerank_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SetRoomDataInternalRequest), alignof(SetRoomDataInternalRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SetRoomDataInternalRequest::PlacementNew_, + sizeof(SetRoomDataInternalRequest), + alignof(SetRoomDataInternalRequest)); + } +} +constexpr auto SetRoomDataInternalRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_SetRoomDataInternalRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetRoomDataInternalRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetRoomDataInternalRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SetRoomDataInternalRequest::ByteSizeLong, + &SetRoomDataInternalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SetRoomDataInternalRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataInternalRequest_class_data_ = + SetRoomDataInternalRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetRoomDataInternalRequest::GetClassData() const { + return SetRoomDataInternalRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 3, 0, 2> +SetRoomDataInternalRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SetRoomDataInternalRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SetRoomDataInternalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 4, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roomid_)}}, + // uint32 flagFilter = 2; + {::_pbi::TcParser::FastV32S1, + {16, 5, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagfilter_)}}, + // uint32 flagAttr = 3; + {::_pbi::TcParser::FastV32S1, + {24, 6, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagattr_)}}, + // repeated .np2_structs.BinAttr roomBinAttrInternal = 4; + {::_pbi::TcParser::FastMtR1, + {34, 0, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roombinattrinternal_)}}, + // repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5; + {::_pbi::TcParser::FastMtR1, + {42, 1, 1, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordconfig_)}}, + // repeated uint64 passwordSlotMask = 6; + {::_pbi::TcParser::FastV64P1, + {50, 2, 0, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordslotmask_)}}, + // repeated .np2_structs.uint16 ownerPrivilegeRank = 7; + {::_pbi::TcParser::FastMtR1, + {58, 3, 2, + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.ownerprivilegerank_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 flagFilter = 2; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagfilter_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 flagAttr = 3; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagattr_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.BinAttr roomBinAttrInternal = 4; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roombinattrinternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordconfig_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated uint64 passwordSlotMask = 6; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.passwordslotmask_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)}, + // repeated .np2_structs.uint16 ownerPrivilegeRank = 7; + {PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.ownerprivilegerank_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + {::_pbi::TcParser::GetTable<::np2_structs::RoomGroupPasswordConfig>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SetRoomDataInternalRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomDataInternalRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roombinattrinternal_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.passwordconfig_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.passwordslotmask_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + _impl_.ownerprivilegerank_.Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) { + ::memset(&_impl_.roomid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.flagattr_) - + reinterpret_cast(&_impl_.roomid_)) + sizeof(_impl_.flagattr_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SetRoomDataInternalRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetRoomDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetRoomDataInternalRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SetRoomDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomDataInternalRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // uint32 flagFilter = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_flagfilter() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_flagfilter(), target); + } + } + + // uint32 flagAttr = 3; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_flagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_flagattr(), target); + } + } + + // repeated .np2_structs.BinAttr roomBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roombinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roombinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_passwordconfig_size()); + i < n; i++) { + const auto& repfield = this_._internal_passwordconfig().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated uint64 passwordSlotMask = 6; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + { + int byte_size = this_._impl_._passwordslotmask_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteUInt64Packed( + 6, this_._internal_passwordslotmask(), byte_size, target); + } + } + } + + // repeated .np2_structs.uint16 ownerPrivilegeRank = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_ownerprivilegerank_size()); + i < n; i++) { + const auto& repfield = this_._internal_ownerprivilegerank().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomDataInternalRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SetRoomDataInternalRequest::ByteSizeLong(const MessageLite& base) { + const SetRoomDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SetRoomDataInternalRequest::ByteSizeLong() const { + const SetRoomDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomDataInternalRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) { + // repeated .np2_structs.BinAttr roomBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roombinattrinternal_size(); + for (const auto& msg : this_._internal_roombinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_passwordconfig_size(); + for (const auto& msg : this_._internal_passwordconfig()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated uint64 passwordSlotMask = 6; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += + ::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize( + this_._internal_passwordslotmask(), 1, + this_._impl_._passwordslotmask_cached_byte_size_); + } + // repeated .np2_structs.uint16 ownerPrivilegeRank = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + total_size += 1UL * this_._internal_ownerprivilegerank_size(); + for (const auto& msg : this_._internal_ownerprivilegerank()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + // uint32 flagFilter = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_flagfilter() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagfilter()); + } + } + // uint32 flagAttr = 3; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_flagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_flagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SetRoomDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomDataInternalRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roombinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roombinattrinternal()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_passwordconfig()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_passwordconfig()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_passwordslotmask()->MergeFrom(from._internal_passwordslotmask()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) { + _this->_internal_mutable_ownerprivilegerank()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_ownerprivilegerank()); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_flagfilter() != 0) { + _this->_impl_.flagfilter_ = from._impl_.flagfilter_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_flagattr() != 0) { + _this->_impl_.flagattr_ = from._impl_.flagattr_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SetRoomDataInternalRequest::CopyFrom(const SetRoomDataInternalRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomDataInternalRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SetRoomDataInternalRequest::InternalSwap(SetRoomDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roombinattrinternal_.InternalSwap(&other->_impl_.roombinattrinternal_); + _impl_.passwordconfig_.InternalSwap(&other->_impl_.passwordconfig_); + _impl_.passwordslotmask_.InternalSwap(&other->_impl_.passwordslotmask_); + _impl_.ownerprivilegerank_.InternalSwap(&other->_impl_.ownerprivilegerank_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.flagattr_) + + sizeof(SetRoomDataInternalRequest::_impl_.flagattr_) + - PROTOBUF_FIELD_OFFSET(SetRoomDataInternalRequest, _impl_.roomid_)>( + reinterpret_cast(&_impl_.roomid_), + reinterpret_cast(&other->_impl_.roomid_)); +} + +// =================================================================== + +class GetRoomMemberDataInternalRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_._has_bits_); +}; + +GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomMemberDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomMemberDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomMemberDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetRoomMemberDataInternalRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + attrid_{visibility, arena, from.attrid_} {} + +GetRoomMemberDataInternalRequest::GetRoomMemberDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetRoomMemberDataInternalRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomMemberDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetRoomMemberDataInternalRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.memberid_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_) + : nullptr; + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomMemberDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomMemberDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + attrid_{visibility, arena} {} + +inline void GetRoomMemberDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, memberid_), + 0, + offsetof(Impl_, roomid_) - + offsetof(Impl_, memberid_) + + sizeof(Impl_::roomid_)); +} +GetRoomMemberDataInternalRequest::~GetRoomMemberDataInternalRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetRoomMemberDataInternalRequest) + SharedDtor(*this); +} +inline void GetRoomMemberDataInternalRequest::SharedDtor(MessageLite& self) { + GetRoomMemberDataInternalRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.memberid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetRoomMemberDataInternalRequest(arena); +} +constexpr auto GetRoomMemberDataInternalRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.attrid_) + + decltype(GetRoomMemberDataInternalRequest::_impl_.attrid_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetRoomMemberDataInternalRequest), alignof(GetRoomMemberDataInternalRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetRoomMemberDataInternalRequest::PlacementNew_, + sizeof(GetRoomMemberDataInternalRequest), + alignof(GetRoomMemberDataInternalRequest)); + } +} +constexpr auto GetRoomMemberDataInternalRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<45>{ + { + &_GetRoomMemberDataInternalRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetRoomMemberDataInternalRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetRoomMemberDataInternalRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetRoomMemberDataInternalRequest::ByteSizeLong, + &GetRoomMemberDataInternalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetRoomMemberDataInternalRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<45> GetRoomMemberDataInternalRequest_class_data_ = + GetRoomMemberDataInternalRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRoomMemberDataInternalRequest::GetClassData() const { + return GetRoomMemberDataInternalRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> +GetRoomMemberDataInternalRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetRoomMemberDataInternalRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetRoomMemberDataInternalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 2, 0, + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.roomid_)}}, + // .np2_structs.uint16 memberId = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.memberid_)}}, + // repeated .np2_structs.uint16 attrId = 3; + {::_pbi::TcParser::FastMtR1, + {26, 0, 1, + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.attrid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint16 memberId = 2; + {PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.memberid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.uint16 attrId = 3; + {PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.attrid_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetRoomMemberDataInternalRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomMemberDataInternalRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.attrid_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.memberid_ != nullptr); + _impl_.memberid_->Clear(); + } + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetRoomMemberDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetRoomMemberDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomMemberDataInternalRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // .np2_structs.uint16 memberId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.memberid_, this_._impl_.memberid_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.uint16 attrId = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attrid_size()); + i < n; i++) { + const auto& repfield = this_._internal_attrid().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomMemberDataInternalRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetRoomMemberDataInternalRequest::ByteSizeLong(const MessageLite& base) { + const GetRoomMemberDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetRoomMemberDataInternalRequest::ByteSizeLong() const { + const GetRoomMemberDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomMemberDataInternalRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // repeated .np2_structs.uint16 attrId = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_attrid_size(); + for (const auto& msg : this_._internal_attrid()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.uint16 memberId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.memberid_); + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetRoomMemberDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomMemberDataInternalRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_attrid()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attrid()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.memberid_ != nullptr); + if (_this->_impl_.memberid_ == nullptr) { + _this->_impl_.memberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_); + } else { + _this->_impl_.memberid_->MergeFrom(*from._impl_.memberid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetRoomMemberDataInternalRequest::CopyFrom(const GetRoomMemberDataInternalRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomMemberDataInternalRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetRoomMemberDataInternalRequest::InternalSwap(GetRoomMemberDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.attrid_.InternalSwap(&other->_impl_.attrid_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.roomid_) + + sizeof(GetRoomMemberDataInternalRequest::_impl_.roomid_) + - PROTOBUF_FIELD_OFFSET(GetRoomMemberDataInternalRequest, _impl_.memberid_)>( + reinterpret_cast(&_impl_.memberid_), + reinterpret_cast(&other->_impl_.memberid_)); +} + +// =================================================================== + +class SetRoomMemberDataInternalRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_._has_bits_); +}; + +SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomMemberDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomMemberDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE SetRoomMemberDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SetRoomMemberDataInternalRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roommemberbinattrinternal_{visibility, arena, from.roommemberbinattrinternal_} {} + +SetRoomMemberDataInternalRequest::SetRoomMemberDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SetRoomMemberDataInternalRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomMemberDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetRoomMemberDataInternalRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.memberid_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_) + : nullptr; + _impl_.teamid_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_) + : nullptr; + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomMemberDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE SetRoomMemberDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roommemberbinattrinternal_{visibility, arena} {} + +inline void SetRoomMemberDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, memberid_), + 0, + offsetof(Impl_, roomid_) - + offsetof(Impl_, memberid_) + + sizeof(Impl_::roomid_)); +} +SetRoomMemberDataInternalRequest::~SetRoomMemberDataInternalRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SetRoomMemberDataInternalRequest) + SharedDtor(*this); +} +inline void SetRoomMemberDataInternalRequest::SharedDtor(MessageLite& self) { + SetRoomMemberDataInternalRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.memberid_; + delete this_._impl_.teamid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SetRoomMemberDataInternalRequest(arena); +} +constexpr auto SetRoomMemberDataInternalRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roommemberbinattrinternal_) + + decltype(SetRoomMemberDataInternalRequest::_impl_.roommemberbinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SetRoomMemberDataInternalRequest), alignof(SetRoomMemberDataInternalRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SetRoomMemberDataInternalRequest::PlacementNew_, + sizeof(SetRoomMemberDataInternalRequest), + alignof(SetRoomMemberDataInternalRequest)); + } +} +constexpr auto SetRoomMemberDataInternalRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<45>{ + { + &_SetRoomMemberDataInternalRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetRoomMemberDataInternalRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetRoomMemberDataInternalRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SetRoomMemberDataInternalRequest::ByteSizeLong, + &SetRoomMemberDataInternalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SetRoomMemberDataInternalRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<45> SetRoomMemberDataInternalRequest_class_data_ = + SetRoomMemberDataInternalRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetRoomMemberDataInternalRequest::GetClassData() const { + return SetRoomMemberDataInternalRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 0, 2> +SetRoomMemberDataInternalRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SetRoomMemberDataInternalRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SetRoomMemberDataInternalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + {::_pbi::TcParser::FastMtR1, + {34, 0, 2, + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roommemberbinattrinternal_)}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 3, 0, + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roomid_)}}, + // .np2_structs.uint16 memberId = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.memberid_)}}, + // .np2_structs.uint8 teamId = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 1, + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.teamid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint16 memberId = 2; + {PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.memberid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint8 teamId = 3; + {PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.teamid_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + {PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SetRoomMemberDataInternalRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomMemberDataInternalRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.roommemberbinattrinternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.memberid_ != nullptr); + _impl_.memberid_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.teamid_ != nullptr); + _impl_.teamid_->Clear(); + } + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetRoomMemberDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SetRoomMemberDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomMemberDataInternalRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // .np2_structs.uint16 memberId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.memberid_, this_._impl_.memberid_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint8 teamId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.teamid_, this_._impl_.teamid_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_roommemberbinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_roommemberbinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomMemberDataInternalRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SetRoomMemberDataInternalRequest::ByteSizeLong(const MessageLite& base) { + const SetRoomMemberDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SetRoomMemberDataInternalRequest::ByteSizeLong() const { + const SetRoomMemberDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomMemberDataInternalRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_roommemberbinattrinternal_size(); + for (const auto& msg : this_._internal_roommemberbinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.uint16 memberId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.memberid_); + } + // .np2_structs.uint8 teamId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.teamid_); + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SetRoomMemberDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomMemberDataInternalRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_roommemberbinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_roommemberbinattrinternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.memberid_ != nullptr); + if (_this->_impl_.memberid_ == nullptr) { + _this->_impl_.memberid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.memberid_); + } else { + _this->_impl_.memberid_->MergeFrom(*from._impl_.memberid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.teamid_ != nullptr); + if (_this->_impl_.teamid_ == nullptr) { + _this->_impl_.teamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.teamid_); + } else { + _this->_impl_.teamid_->MergeFrom(*from._impl_.teamid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SetRoomMemberDataInternalRequest::CopyFrom(const SetRoomMemberDataInternalRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomMemberDataInternalRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SetRoomMemberDataInternalRequest::InternalSwap(SetRoomMemberDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.roommemberbinattrinternal_.InternalSwap(&other->_impl_.roommemberbinattrinternal_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.roomid_) + + sizeof(SetRoomMemberDataInternalRequest::_impl_.roomid_) + - PROTOBUF_FIELD_OFFSET(SetRoomMemberDataInternalRequest, _impl_.memberid_)>( + reinterpret_cast(&_impl_.memberid_), + reinterpret_cast(&other->_impl_.memberid_)); +} + +// =================================================================== + +class SetUserInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_._has_bits_); +}; + +SetUserInfo::SetUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetUserInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SetUserInfo) +} +PROTOBUF_NDEBUG_INLINE SetUserInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SetUserInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + userbinattr_{visibility, arena, from.userbinattr_} {} + +SetUserInfo::SetUserInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SetUserInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetUserInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetUserInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.SetUserInfo) +} +PROTOBUF_NDEBUG_INLINE SetUserInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + userbinattr_{visibility, arena} {} + +inline void SetUserInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.serverid_ = {}; +} +SetUserInfo::~SetUserInfo() { + // @@protoc_insertion_point(destructor:np2_structs.SetUserInfo) + SharedDtor(*this); +} +inline void SetUserInfo::SharedDtor(MessageLite& self) { + SetUserInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.serverid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SetUserInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SetUserInfo(arena); +} +constexpr auto SetUserInfo::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.userbinattr_) + + decltype(SetUserInfo::_impl_.userbinattr_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SetUserInfo), alignof(SetUserInfo), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SetUserInfo::PlacementNew_, + sizeof(SetUserInfo), + alignof(SetUserInfo)); + } +} +constexpr auto SetUserInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<24>{ + { + &_SetUserInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetUserInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetUserInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SetUserInfo::ByteSizeLong, + &SetUserInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_._cached_size_), + true, + }, + "np2_structs.SetUserInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<24> SetUserInfo_class_data_ = + SetUserInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetUserInfo::GetClassData() const { + return SetUserInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +SetUserInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SetUserInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SetUserInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.BinAttr userBinAttr = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 1, + PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.userbinattr_)}}, + // .np2_structs.uint16 serverId = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.serverid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 serverId = 1; + {PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.serverid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.BinAttr userBinAttr = 2; + {PROTOBUF_FIELD_OFFSET(SetUserInfo, _impl_.userbinattr_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::BinAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SetUserInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SetUserInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.userbinattr_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.serverid_ != nullptr); + _impl_.serverid_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SetUserInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetUserInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetUserInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SetUserInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetUserInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.BinAttr userBinAttr = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_userbinattr_size()); + i < n; i++) { + const auto& repfield = this_._internal_userbinattr().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetUserInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SetUserInfo::ByteSizeLong(const MessageLite& base) { + const SetUserInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SetUserInfo::ByteSizeLong() const { + const SetUserInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SetUserInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.BinAttr userBinAttr = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_userbinattr_size(); + for (const auto& msg : this_._internal_userbinattr()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SetUserInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetUserInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_userbinattr()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_userbinattr()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.serverid_ != nullptr); + if (_this->_impl_.serverid_ == nullptr) { + _this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_); + } else { + _this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SetUserInfo::CopyFrom(const SetUserInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetUserInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SetUserInfo::InternalSwap(SetUserInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.userbinattr_.InternalSwap(&other->_impl_.userbinattr_); + swap(_impl_.serverid_, other->_impl_.serverid_); +} + +// =================================================================== + +class GetRoomDataInternalRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_._has_bits_); +}; + +GetRoomDataInternalRequest::GetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetRoomDataInternalRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + attrid_{visibility, arena, from.attrid_} {} + +GetRoomDataInternalRequest::GetRoomDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetRoomDataInternalRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomDataInternalRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetRoomDataInternalRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomDataInternalRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomDataInternalRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + attrid_{visibility, arena} {} + +inline void GetRoomDataInternalRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.roomid_ = {}; +} +GetRoomDataInternalRequest::~GetRoomDataInternalRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetRoomDataInternalRequest) + SharedDtor(*this); +} +inline void GetRoomDataInternalRequest::SharedDtor(MessageLite& self) { + GetRoomDataInternalRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetRoomDataInternalRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetRoomDataInternalRequest(arena); +} +constexpr auto GetRoomDataInternalRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.attrid_) + + decltype(GetRoomDataInternalRequest::_impl_.attrid_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetRoomDataInternalRequest), alignof(GetRoomDataInternalRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetRoomDataInternalRequest::PlacementNew_, + sizeof(GetRoomDataInternalRequest), + alignof(GetRoomDataInternalRequest)); + } +} +constexpr auto GetRoomDataInternalRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_GetRoomDataInternalRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetRoomDataInternalRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetRoomDataInternalRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetRoomDataInternalRequest::ByteSizeLong, + &GetRoomDataInternalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetRoomDataInternalRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> GetRoomDataInternalRequest_class_data_ = + GetRoomDataInternalRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRoomDataInternalRequest::GetClassData() const { + return GetRoomDataInternalRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +GetRoomDataInternalRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetRoomDataInternalRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetRoomDataInternalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.uint16 attrId = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.attrid_)}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.roomid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // repeated .np2_structs.uint16 attrId = 2; + {PROTOBUF_FIELD_OFFSET(GetRoomDataInternalRequest, _impl_.attrid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetRoomDataInternalRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomDataInternalRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.attrid_.Clear(); + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetRoomDataInternalRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetRoomDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetRoomDataInternalRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetRoomDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomDataInternalRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // repeated .np2_structs.uint16 attrId = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attrid_size()); + i < n; i++) { + const auto& repfield = this_._internal_attrid().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomDataInternalRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetRoomDataInternalRequest::ByteSizeLong(const MessageLite& base) { + const GetRoomDataInternalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetRoomDataInternalRequest::ByteSizeLong() const { + const GetRoomDataInternalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomDataInternalRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.uint16 attrId = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_attrid_size(); + for (const auto& msg : this_._internal_attrid()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetRoomDataInternalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomDataInternalRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_attrid()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attrid()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetRoomDataInternalRequest::CopyFrom(const GetRoomDataInternalRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomDataInternalRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetRoomDataInternalRequest::InternalSwap(GetRoomDataInternalRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.attrid_.InternalSwap(&other->_impl_.attrid_); + swap(_impl_.roomid_, other->_impl_.roomid_); +} + +// =================================================================== + +class RoomMemberUpdateInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_._has_bits_); +}; + +RoomMemberUpdateInfo::RoomMemberUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomMemberUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomMemberUpdateInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RoomMemberUpdateInfo::RoomMemberUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomMemberUpdateInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomMemberUpdateInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.roommemberdatainternal_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roommemberdatainternal_) + : nullptr; + _impl_.eventcause_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_) + : nullptr; + _impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomMemberUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RoomMemberUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, roommemberdatainternal_), + 0, + offsetof(Impl_, optdata_) - + offsetof(Impl_, roommemberdatainternal_) + + sizeof(Impl_::optdata_)); +} +RoomMemberUpdateInfo::~RoomMemberUpdateInfo() { + // @@protoc_insertion_point(destructor:np2_structs.RoomMemberUpdateInfo) + SharedDtor(*this); +} +inline void RoomMemberUpdateInfo::SharedDtor(MessageLite& self) { + RoomMemberUpdateInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.roommemberdatainternal_; + delete this_._impl_.eventcause_; + delete this_._impl_.optdata_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomMemberUpdateInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomMemberUpdateInfo(arena); +} +constexpr auto RoomMemberUpdateInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomMemberUpdateInfo), + alignof(RoomMemberUpdateInfo)); +} +constexpr auto RoomMemberUpdateInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<33>{ + { + &_RoomMemberUpdateInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomMemberUpdateInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomMemberUpdateInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomMemberUpdateInfo::ByteSizeLong, + &RoomMemberUpdateInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_._cached_size_), + true, + }, + "np2_structs.RoomMemberUpdateInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<33> RoomMemberUpdateInfo_class_data_ = + RoomMemberUpdateInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomMemberUpdateInfo::GetClassData() const { + return RoomMemberUpdateInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> +RoomMemberUpdateInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomMemberUpdateInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomMemberUpdateInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.roommemberdatainternal_)}}, + // .np2_structs.uint8 eventCause = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.eventcause_)}}, + // .np2_structs.PresenceOptionData optData = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, + PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.optdata_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1; + {PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.roommemberdatainternal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint8 eventCause = 2; + {PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.eventcause_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.PresenceOptionData optData = 3; + {PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.optdata_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomMemberUpdateInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberUpdateInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.roommemberdatainternal_ != nullptr); + _impl_.roommemberdatainternal_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.eventcause_ != nullptr); + _impl_.eventcause_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.optdata_ != nullptr); + _impl_.optdata_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomMemberUpdateInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomMemberUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomMemberUpdateInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomMemberUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberUpdateInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.roommemberdatainternal_, this_._impl_.roommemberdatainternal_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint8 eventCause = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.eventcause_, this_._impl_.eventcause_->GetCachedSize(), target, + stream); + } + + // .np2_structs.PresenceOptionData optData = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberUpdateInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomMemberUpdateInfo::ByteSizeLong(const MessageLite& base) { + const RoomMemberUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomMemberUpdateInfo::ByteSizeLong() const { + const RoomMemberUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberUpdateInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.roommemberdatainternal_); + } + // .np2_structs.uint8 eventCause = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.eventcause_); + } + // .np2_structs.PresenceOptionData optData = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomMemberUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberUpdateInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.roommemberdatainternal_ != nullptr); + if (_this->_impl_.roommemberdatainternal_ == nullptr) { + _this->_impl_.roommemberdatainternal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.roommemberdatainternal_); + } else { + _this->_impl_.roommemberdatainternal_->MergeFrom(*from._impl_.roommemberdatainternal_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.eventcause_ != nullptr); + if (_this->_impl_.eventcause_ == nullptr) { + _this->_impl_.eventcause_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_); + } else { + _this->_impl_.eventcause_->MergeFrom(*from._impl_.eventcause_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.optdata_ != nullptr); + if (_this->_impl_.optdata_ == nullptr) { + _this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_); + } else { + _this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomMemberUpdateInfo::CopyFrom(const RoomMemberUpdateInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberUpdateInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomMemberUpdateInfo::InternalSwap(RoomMemberUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.optdata_) + + sizeof(RoomMemberUpdateInfo::_impl_.optdata_) + - PROTOBUF_FIELD_OFFSET(RoomMemberUpdateInfo, _impl_.roommemberdatainternal_)>( + reinterpret_cast(&_impl_.roommemberdatainternal_), + reinterpret_cast(&other->_impl_.roommemberdatainternal_)); +} + +// =================================================================== + +class NotificationUserJoinedRoom::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_._has_bits_); +}; + +NotificationUserJoinedRoom::NotificationUserJoinedRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, NotificationUserJoinedRoom_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.NotificationUserJoinedRoom) +} +PROTOBUF_NDEBUG_INLINE NotificationUserJoinedRoom::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::NotificationUserJoinedRoom& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +NotificationUserJoinedRoom::NotificationUserJoinedRoom( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const NotificationUserJoinedRoom& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, NotificationUserJoinedRoom_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + NotificationUserJoinedRoom* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.update_info_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.update_info_) + : nullptr; + _impl_.signaling_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.signaling_) + : nullptr; + _impl_.room_id_ = from._impl_.room_id_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.NotificationUserJoinedRoom) +} +PROTOBUF_NDEBUG_INLINE NotificationUserJoinedRoom::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void NotificationUserJoinedRoom::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, update_info_), + 0, + offsetof(Impl_, room_id_) - + offsetof(Impl_, update_info_) + + sizeof(Impl_::room_id_)); +} +NotificationUserJoinedRoom::~NotificationUserJoinedRoom() { + // @@protoc_insertion_point(destructor:np2_structs.NotificationUserJoinedRoom) + SharedDtor(*this); +} +inline void NotificationUserJoinedRoom::SharedDtor(MessageLite& self) { + NotificationUserJoinedRoom& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.update_info_; + delete this_._impl_.signaling_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL NotificationUserJoinedRoom::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) NotificationUserJoinedRoom(arena); +} +constexpr auto NotificationUserJoinedRoom::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NotificationUserJoinedRoom), + alignof(NotificationUserJoinedRoom)); +} +constexpr auto NotificationUserJoinedRoom::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_NotificationUserJoinedRoom_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &NotificationUserJoinedRoom::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &NotificationUserJoinedRoom::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &NotificationUserJoinedRoom::ByteSizeLong, + &NotificationUserJoinedRoom::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_._cached_size_), + true, + }, + "np2_structs.NotificationUserJoinedRoom", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> NotificationUserJoinedRoom_class_data_ = + NotificationUserJoinedRoom::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +NotificationUserJoinedRoom::GetClassData() const { + return NotificationUserJoinedRoom_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> +NotificationUserJoinedRoom::_table_ = { + { + PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + NotificationUserJoinedRoom_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::NotificationUserJoinedRoom>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint64 room_id = 1; + {::_pbi::TcParser::FastV64S1, + {8, 2, 0, + PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.room_id_)}}, + // .np2_structs.RoomMemberUpdateInfo update_info = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.update_info_)}}, + // .np2_structs.SignalingAddr signaling = 3; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, + PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.signaling_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 room_id = 1; + {PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.room_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.RoomMemberUpdateInfo update_info = 2; + {PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.update_info_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.SignalingAddr signaling = 3; + {PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.signaling_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomMemberUpdateInfo>()}, + {::_pbi::TcParser::GetTable<::np2_structs::SignalingAddr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void NotificationUserJoinedRoom::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.NotificationUserJoinedRoom) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.update_info_ != nullptr); + _impl_.update_info_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.signaling_ != nullptr); + _impl_.signaling_->Clear(); + } + } + _impl_.room_id_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL NotificationUserJoinedRoom::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const NotificationUserJoinedRoom& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL NotificationUserJoinedRoom::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const NotificationUserJoinedRoom& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.NotificationUserJoinedRoom) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 room_id = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_room_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_room_id(), target); + } + } + + // .np2_structs.RoomMemberUpdateInfo update_info = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.update_info_, this_._impl_.update_info_->GetCachedSize(), target, + stream); + } + + // .np2_structs.SignalingAddr signaling = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.signaling_, this_._impl_.signaling_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.NotificationUserJoinedRoom) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t NotificationUserJoinedRoom::ByteSizeLong(const MessageLite& base) { + const NotificationUserJoinedRoom& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t NotificationUserJoinedRoom::ByteSizeLong() const { + const NotificationUserJoinedRoom& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.NotificationUserJoinedRoom) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // .np2_structs.RoomMemberUpdateInfo update_info = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.update_info_); + } + // .np2_structs.SignalingAddr signaling = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.signaling_); + } + // uint64 room_id = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_room_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_room_id()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void NotificationUserJoinedRoom::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.NotificationUserJoinedRoom) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.update_info_ != nullptr); + if (_this->_impl_.update_info_ == nullptr) { + _this->_impl_.update_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.update_info_); + } else { + _this->_impl_.update_info_->MergeFrom(*from._impl_.update_info_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.signaling_ != nullptr); + if (_this->_impl_.signaling_ == nullptr) { + _this->_impl_.signaling_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.signaling_); + } else { + _this->_impl_.signaling_->MergeFrom(*from._impl_.signaling_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_room_id() != 0) { + _this->_impl_.room_id_ = from._impl_.room_id_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void NotificationUserJoinedRoom::CopyFrom(const NotificationUserJoinedRoom& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.NotificationUserJoinedRoom) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void NotificationUserJoinedRoom::InternalSwap(NotificationUserJoinedRoom* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.room_id_) + + sizeof(NotificationUserJoinedRoom::_impl_.room_id_) + - PROTOBUF_FIELD_OFFSET(NotificationUserJoinedRoom, _impl_.update_info_)>( + reinterpret_cast(&_impl_.update_info_), + reinterpret_cast(&other->_impl_.update_info_)); +} + +// =================================================================== + +class RoomUpdateInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_._has_bits_); +}; + +RoomUpdateInfo::RoomUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomUpdateInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RoomUpdateInfo::RoomUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomUpdateInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomUpdateInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.eventcause_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_) + : nullptr; + _impl_.optdata_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_) + : nullptr; + _impl_.errorcode_ = from._impl_.errorcode_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RoomUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, eventcause_), + 0, + offsetof(Impl_, errorcode_) - + offsetof(Impl_, eventcause_) + + sizeof(Impl_::errorcode_)); +} +RoomUpdateInfo::~RoomUpdateInfo() { + // @@protoc_insertion_point(destructor:np2_structs.RoomUpdateInfo) + SharedDtor(*this); +} +inline void RoomUpdateInfo::SharedDtor(MessageLite& self) { + RoomUpdateInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.eventcause_; + delete this_._impl_.optdata_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomUpdateInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomUpdateInfo(arena); +} +constexpr auto RoomUpdateInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomUpdateInfo), + alignof(RoomUpdateInfo)); +} +constexpr auto RoomUpdateInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<27>{ + { + &_RoomUpdateInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomUpdateInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomUpdateInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomUpdateInfo::ByteSizeLong, + &RoomUpdateInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_._cached_size_), + true, + }, + "np2_structs.RoomUpdateInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<27> RoomUpdateInfo_class_data_ = + RoomUpdateInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomUpdateInfo::GetClassData() const { + return RoomUpdateInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> +RoomUpdateInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomUpdateInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomUpdateInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.uint8 eventCause = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.eventcause_)}}, + // int32 errorCode = 2; + {::_pbi::TcParser::FastV32S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.errorcode_)}}, + // .np2_structs.PresenceOptionData optData = 3; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, + PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.optdata_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint8 eventCause = 1; + {PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.eventcause_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 errorCode = 2; + {PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.errorcode_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // .np2_structs.PresenceOptionData optData = 3; + {PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.optdata_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::PresenceOptionData>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomUpdateInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomUpdateInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.eventcause_ != nullptr); + _impl_.eventcause_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.optdata_ != nullptr); + _impl_.optdata_->Clear(); + } + } + _impl_.errorcode_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomUpdateInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomUpdateInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomUpdateInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint8 eventCause = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.eventcause_, this_._impl_.eventcause_->GetCachedSize(), target, + stream); + } + + // int32 errorCode = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_errorcode() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_errorcode(), target); + } + } + + // .np2_structs.PresenceOptionData optData = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.optdata_, this_._impl_.optdata_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomUpdateInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomUpdateInfo::ByteSizeLong(const MessageLite& base) { + const RoomUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomUpdateInfo::ByteSizeLong() const { + const RoomUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomUpdateInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // .np2_structs.uint8 eventCause = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.eventcause_); + } + // .np2_structs.PresenceOptionData optData = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.optdata_); + } + // int32 errorCode = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_errorcode() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_errorcode()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomUpdateInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.eventcause_ != nullptr); + if (_this->_impl_.eventcause_ == nullptr) { + _this->_impl_.eventcause_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.eventcause_); + } else { + _this->_impl_.eventcause_->MergeFrom(*from._impl_.eventcause_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.optdata_ != nullptr); + if (_this->_impl_.optdata_ == nullptr) { + _this->_impl_.optdata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.optdata_); + } else { + _this->_impl_.optdata_->MergeFrom(*from._impl_.optdata_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_errorcode() != 0) { + _this->_impl_.errorcode_ = from._impl_.errorcode_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomUpdateInfo::CopyFrom(const RoomUpdateInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomUpdateInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomUpdateInfo::InternalSwap(RoomUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.errorcode_) + + sizeof(RoomUpdateInfo::_impl_.errorcode_) + - PROTOBUF_FIELD_OFFSET(RoomUpdateInfo, _impl_.eventcause_)>( + reinterpret_cast(&_impl_.eventcause_), + reinterpret_cast(&other->_impl_.eventcause_)); +} + +// =================================================================== + +class RoomDataInternalUpdateInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_._has_bits_); +}; + +RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomDataInternalUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomDataInternalUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomDataInternalUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomDataInternalUpdateInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + newroombinattrinternal_{visibility, arena, from.newroombinattrinternal_}, + newroomgroup_(arena, from.newroomgroup_) {} + +RoomDataInternalUpdateInfo::RoomDataInternalUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomDataInternalUpdateInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomDataInternalUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomDataInternalUpdateInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.newroomdatainternal_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroomdatainternal_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, prevroompasswordslotmask_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, prevroompasswordslotmask_), + offsetof(Impl_, prevflagattr_) - + offsetof(Impl_, prevroompasswordslotmask_) + + sizeof(Impl_::prevflagattr_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomDataInternalUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomDataInternalUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + newroombinattrinternal_{visibility, arena}, + newroomgroup_(arena) {} + +inline void RoomDataInternalUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, newroomdatainternal_), + 0, + offsetof(Impl_, prevflagattr_) - + offsetof(Impl_, newroomdatainternal_) + + sizeof(Impl_::prevflagattr_)); +} +RoomDataInternalUpdateInfo::~RoomDataInternalUpdateInfo() { + // @@protoc_insertion_point(destructor:np2_structs.RoomDataInternalUpdateInfo) + SharedDtor(*this); +} +inline void RoomDataInternalUpdateInfo::SharedDtor(MessageLite& self) { + RoomDataInternalUpdateInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.newroomgroup_.Destroy(); + delete this_._impl_.newroomdatainternal_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomDataInternalUpdateInfo(arena); +} +constexpr auto RoomDataInternalUpdateInfo::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroombinattrinternal_) + + decltype(RoomDataInternalUpdateInfo::_impl_.newroombinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(RoomDataInternalUpdateInfo), alignof(RoomDataInternalUpdateInfo), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RoomDataInternalUpdateInfo::PlacementNew_, + sizeof(RoomDataInternalUpdateInfo), + alignof(RoomDataInternalUpdateInfo)); + } +} +constexpr auto RoomDataInternalUpdateInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_RoomDataInternalUpdateInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomDataInternalUpdateInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomDataInternalUpdateInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomDataInternalUpdateInfo::ByteSizeLong, + &RoomDataInternalUpdateInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_._cached_size_), + true, + }, + "np2_structs.RoomDataInternalUpdateInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> RoomDataInternalUpdateInfo_class_data_ = + RoomDataInternalUpdateInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomDataInternalUpdateInfo::GetClassData() const { + return RoomDataInternalUpdateInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 2, 0, 2> +RoomDataInternalUpdateInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomDataInternalUpdateInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternalUpdateInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.RoomDataInternal newRoomDataInternal = 1; + {::_pbi::TcParser::FastMtS1, + {10, 2, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomdatainternal_)}}, + // uint32 prevFlagAttr = 2; + {::_pbi::TcParser::FastV32S1, + {16, 4, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevflagattr_)}}, + // uint64 prevRoomPasswordSlotMask = 3; + {::_pbi::TcParser::FastV64S1, + {24, 3, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevroompasswordslotmask_)}}, + // bytes newRoomGroup = 4; + {::_pbi::TcParser::FastBS1, + {34, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomgroup_)}}, + // repeated .np2_structs.uint16 newRoomBinAttrInternal = 5; + {::_pbi::TcParser::FastMtR1, + {42, 0, 1, + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroombinattrinternal_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.RoomDataInternal newRoomDataInternal = 1; + {PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomdatainternal_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 prevFlagAttr = 2; + {PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevflagattr_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint64 prevRoomPasswordSlotMask = 3; + {PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevroompasswordslotmask_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // bytes newRoomGroup = 4; + {PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomgroup_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated .np2_structs.uint16 newRoomBinAttrInternal = 5; + {PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroombinattrinternal_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomDataInternalUpdateInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomDataInternalUpdateInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.newroombinattrinternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.newroomgroup_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.newroomdatainternal_ != nullptr); + _impl_.newroomdatainternal_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) { + ::memset(&_impl_.prevroompasswordslotmask_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.prevflagattr_) - + reinterpret_cast(&_impl_.prevroompasswordslotmask_)) + sizeof(_impl_.prevflagattr_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomDataInternalUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomDataInternalUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomDataInternalUpdateInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.RoomDataInternal newRoomDataInternal = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.newroomdatainternal_, this_._impl_.newroomdatainternal_->GetCachedSize(), target, + stream); + } + + // uint32 prevFlagAttr = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_prevflagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_prevflagattr(), target); + } + } + + // uint64 prevRoomPasswordSlotMask = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_prevroompasswordslotmask() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 3, this_._internal_prevroompasswordslotmask(), target); + } + } + + // bytes newRoomGroup = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_newroomgroup().empty()) { + const ::std::string& _s = this_._internal_newroomgroup(); + target = stream->WriteBytesMaybeAliased(4, _s, target); + } + } + + // repeated .np2_structs.uint16 newRoomBinAttrInternal = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_newroombinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_newroombinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomDataInternalUpdateInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomDataInternalUpdateInfo::ByteSizeLong(const MessageLite& base) { + const RoomDataInternalUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomDataInternalUpdateInfo::ByteSizeLong() const { + const RoomDataInternalUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomDataInternalUpdateInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // repeated .np2_structs.uint16 newRoomBinAttrInternal = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_newroombinattrinternal_size(); + for (const auto& msg : this_._internal_newroombinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // bytes newRoomGroup = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_newroomgroup().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_newroomgroup()); + } + } + // .np2_structs.RoomDataInternal newRoomDataInternal = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.newroomdatainternal_); + } + // uint64 prevRoomPasswordSlotMask = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_prevroompasswordslotmask() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_prevroompasswordslotmask()); + } + } + // uint32 prevFlagAttr = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_prevflagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_prevflagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomDataInternalUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomDataInternalUpdateInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_newroombinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_newroombinattrinternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_newroomgroup().empty()) { + _this->_internal_set_newroomgroup(from._internal_newroomgroup()); + } else { + if (_this->_impl_.newroomgroup_.IsDefault()) { + _this->_internal_set_newroomgroup(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.newroomdatainternal_ != nullptr); + if (_this->_impl_.newroomdatainternal_ == nullptr) { + _this->_impl_.newroomdatainternal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroomdatainternal_); + } else { + _this->_impl_.newroomdatainternal_->MergeFrom(*from._impl_.newroomdatainternal_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_prevroompasswordslotmask() != 0) { + _this->_impl_.prevroompasswordslotmask_ = from._impl_.prevroompasswordslotmask_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_prevflagattr() != 0) { + _this->_impl_.prevflagattr_ = from._impl_.prevflagattr_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomDataInternalUpdateInfo::CopyFrom(const RoomDataInternalUpdateInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomDataInternalUpdateInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomDataInternalUpdateInfo::InternalSwap(RoomDataInternalUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.newroombinattrinternal_.InternalSwap(&other->_impl_.newroombinattrinternal_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.newroomgroup_, &other->_impl_.newroomgroup_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.prevflagattr_) + + sizeof(RoomDataInternalUpdateInfo::_impl_.prevflagattr_) + - PROTOBUF_FIELD_OFFSET(RoomDataInternalUpdateInfo, _impl_.newroomdatainternal_)>( + reinterpret_cast(&_impl_.newroomdatainternal_), + reinterpret_cast(&other->_impl_.newroomdatainternal_)); +} + +// =================================================================== + +class RoomMemberDataInternalUpdateInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_._has_bits_); +}; + +RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberDataInternalUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberDataInternalUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomMemberDataInternalUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomMemberDataInternalUpdateInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + newroommemberbinattrinternal_{visibility, arena, from.newroommemberbinattrinternal_} {} + +RoomMemberDataInternalUpdateInfo::RoomMemberDataInternalUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomMemberDataInternalUpdateInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberDataInternalUpdateInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomMemberDataInternalUpdateInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.newroommemberdatainternal_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroommemberdatainternal_) + : nullptr; + _impl_.prevteamid_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.prevteamid_) + : nullptr; + _impl_.prevflagattr_ = from._impl_.prevflagattr_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberDataInternalUpdateInfo) +} +PROTOBUF_NDEBUG_INLINE RoomMemberDataInternalUpdateInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + newroommemberbinattrinternal_{visibility, arena} {} + +inline void RoomMemberDataInternalUpdateInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, newroommemberdatainternal_), + 0, + offsetof(Impl_, prevflagattr_) - + offsetof(Impl_, newroommemberdatainternal_) + + sizeof(Impl_::prevflagattr_)); +} +RoomMemberDataInternalUpdateInfo::~RoomMemberDataInternalUpdateInfo() { + // @@protoc_insertion_point(destructor:np2_structs.RoomMemberDataInternalUpdateInfo) + SharedDtor(*this); +} +inline void RoomMemberDataInternalUpdateInfo::SharedDtor(MessageLite& self) { + RoomMemberDataInternalUpdateInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.newroommemberdatainternal_; + delete this_._impl_.prevteamid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomMemberDataInternalUpdateInfo(arena); +} +constexpr auto RoomMemberDataInternalUpdateInfo::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberbinattrinternal_) + + decltype(RoomMemberDataInternalUpdateInfo::_impl_.newroommemberbinattrinternal_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(RoomMemberDataInternalUpdateInfo), alignof(RoomMemberDataInternalUpdateInfo), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RoomMemberDataInternalUpdateInfo::PlacementNew_, + sizeof(RoomMemberDataInternalUpdateInfo), + alignof(RoomMemberDataInternalUpdateInfo)); + } +} +constexpr auto RoomMemberDataInternalUpdateInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<45>{ + { + &_RoomMemberDataInternalUpdateInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomMemberDataInternalUpdateInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomMemberDataInternalUpdateInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomMemberDataInternalUpdateInfo::ByteSizeLong, + &RoomMemberDataInternalUpdateInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_._cached_size_), + true, + }, + "np2_structs.RoomMemberDataInternalUpdateInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<45> RoomMemberDataInternalUpdateInfo_class_data_ = + RoomMemberDataInternalUpdateInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomMemberDataInternalUpdateInfo::GetClassData() const { + return RoomMemberDataInternalUpdateInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 0, 2> +RoomMemberDataInternalUpdateInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomMemberDataInternalUpdateInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternalUpdateInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4; + {::_pbi::TcParser::FastMtR1, + {34, 0, 2, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberbinattrinternal_)}}, + // .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberdatainternal_)}}, + // uint32 prevFlagAttr = 2; + {::_pbi::TcParser::FastV32S1, + {16, 3, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevflagattr_)}}, + // .np2_structs.uint8 prevTeamId = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 1, + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevteamid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberdatainternal_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 prevFlagAttr = 2; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevflagattr_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // .np2_structs.uint8 prevTeamId = 3; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevteamid_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberbinattrinternal_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataInternal>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomMemberDataInternalUpdateInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberDataInternalUpdateInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.newroommemberbinattrinternal_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.newroommemberdatainternal_ != nullptr); + _impl_.newroommemberdatainternal_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.prevteamid_ != nullptr); + _impl_.prevteamid_->Clear(); + } + } + _impl_.prevflagattr_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomMemberDataInternalUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomMemberDataInternalUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberDataInternalUpdateInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.newroommemberdatainternal_, this_._impl_.newroommemberdatainternal_->GetCachedSize(), target, + stream); + } + + // uint32 prevFlagAttr = 2; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_prevflagattr() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_prevflagattr(), target); + } + } + + // .np2_structs.uint8 prevTeamId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.prevteamid_, this_._impl_.prevteamid_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_newroommemberbinattrinternal_size()); + i < n; i++) { + const auto& repfield = this_._internal_newroommemberbinattrinternal().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberDataInternalUpdateInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomMemberDataInternalUpdateInfo::ByteSizeLong(const MessageLite& base) { + const RoomMemberDataInternalUpdateInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomMemberDataInternalUpdateInfo::ByteSizeLong() const { + const RoomMemberDataInternalUpdateInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberDataInternalUpdateInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_newroommemberbinattrinternal_size(); + for (const auto& msg : this_._internal_newroommemberbinattrinternal()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.newroommemberdatainternal_); + } + // .np2_structs.uint8 prevTeamId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.prevteamid_); + } + // uint32 prevFlagAttr = 2; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_prevflagattr() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_prevflagattr()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomMemberDataInternalUpdateInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberDataInternalUpdateInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_newroommemberbinattrinternal()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_newroommemberbinattrinternal()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.newroommemberdatainternal_ != nullptr); + if (_this->_impl_.newroommemberdatainternal_ == nullptr) { + _this->_impl_.newroommemberdatainternal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.newroommemberdatainternal_); + } else { + _this->_impl_.newroommemberdatainternal_->MergeFrom(*from._impl_.newroommemberdatainternal_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.prevteamid_ != nullptr); + if (_this->_impl_.prevteamid_ == nullptr) { + _this->_impl_.prevteamid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.prevteamid_); + } else { + _this->_impl_.prevteamid_->MergeFrom(*from._impl_.prevteamid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_prevflagattr() != 0) { + _this->_impl_.prevflagattr_ = from._impl_.prevflagattr_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomMemberDataInternalUpdateInfo::CopyFrom(const RoomMemberDataInternalUpdateInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberDataInternalUpdateInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomMemberDataInternalUpdateInfo::InternalSwap(RoomMemberDataInternalUpdateInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.newroommemberbinattrinternal_.InternalSwap(&other->_impl_.newroommemberbinattrinternal_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.prevflagattr_) + + sizeof(RoomMemberDataInternalUpdateInfo::_impl_.prevflagattr_) + - PROTOBUF_FIELD_OFFSET(RoomMemberDataInternalUpdateInfo, _impl_.newroommemberdatainternal_)>( + reinterpret_cast(&_impl_.newroommemberdatainternal_), + reinterpret_cast(&other->_impl_.newroommemberdatainternal_)); +} + +// =================================================================== + +class GetPingInfoResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_._has_bits_); +}; + +GetPingInfoResponse::GetPingInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetPingInfoResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetPingInfoResponse) +} +PROTOBUF_NDEBUG_INLINE GetPingInfoResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetPingInfoResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GetPingInfoResponse::GetPingInfoResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetPingInfoResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetPingInfoResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetPingInfoResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.serverid_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, roomid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, roomid_), + offsetof(Impl_, rtt_) - + offsetof(Impl_, roomid_) + + sizeof(Impl_::rtt_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetPingInfoResponse) +} +PROTOBUF_NDEBUG_INLINE GetPingInfoResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void GetPingInfoResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, serverid_), + 0, + offsetof(Impl_, rtt_) - + offsetof(Impl_, serverid_) + + sizeof(Impl_::rtt_)); +} +GetPingInfoResponse::~GetPingInfoResponse() { + // @@protoc_insertion_point(destructor:np2_structs.GetPingInfoResponse) + SharedDtor(*this); +} +inline void GetPingInfoResponse::SharedDtor(MessageLite& self) { + GetPingInfoResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.serverid_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetPingInfoResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetPingInfoResponse(arena); +} +constexpr auto GetPingInfoResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetPingInfoResponse), + alignof(GetPingInfoResponse)); +} +constexpr auto GetPingInfoResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<32>{ + { + &_GetPingInfoResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetPingInfoResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetPingInfoResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetPingInfoResponse::ByteSizeLong, + &GetPingInfoResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_._cached_size_), + true, + }, + "np2_structs.GetPingInfoResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<32> GetPingInfoResponse_class_data_ = + GetPingInfoResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetPingInfoResponse::GetClassData() const { + return GetPingInfoResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 1, 0, 2> +GetPingInfoResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetPingInfoResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetPingInfoResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 rtt = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.rtt_)}}, + // .np2_structs.uint16 serverId = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.serverid_)}}, + // uint32 worldId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.worldid_)}}, + // uint64 roomId = 3; + {::_pbi::TcParser::FastV64S1, + {24, 1, 0, + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.roomid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.uint16 serverId = 1; + {PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.serverid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 worldId = 2; + {PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.worldid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint64 roomId = 3; + {PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.roomid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 rtt = 4; + {PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.rtt_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetPingInfoResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetPingInfoResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.serverid_ != nullptr); + _impl_.serverid_->Clear(); + } + if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) { + ::memset(&_impl_.roomid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.rtt_) - + reinterpret_cast(&_impl_.roomid_)) + sizeof(_impl_.rtt_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetPingInfoResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetPingInfoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetPingInfoResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetPingInfoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetPingInfoResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.serverid_, this_._impl_.serverid_->GetCachedSize(), target, + stream); + } + + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_worldid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_worldid(), target); + } + } + + // uint64 roomId = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 3, this_._internal_roomid(), target); + } + } + + // uint32 rtt = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_rtt() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_rtt(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetPingInfoResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetPingInfoResponse::ByteSizeLong(const MessageLite& base) { + const GetPingInfoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetPingInfoResponse::ByteSizeLong() const { + const GetPingInfoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetPingInfoResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // .np2_structs.uint16 serverId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.serverid_); + } + // uint64 roomId = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + // uint32 worldId = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_worldid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_worldid()); + } + } + // uint32 rtt = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_rtt() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rtt()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetPingInfoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetPingInfoResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.serverid_ != nullptr); + if (_this->_impl_.serverid_ == nullptr) { + _this->_impl_.serverid_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.serverid_); + } else { + _this->_impl_.serverid_->MergeFrom(*from._impl_.serverid_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_worldid() != 0) { + _this->_impl_.worldid_ = from._impl_.worldid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_rtt() != 0) { + _this->_impl_.rtt_ = from._impl_.rtt_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetPingInfoResponse::CopyFrom(const GetPingInfoResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetPingInfoResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetPingInfoResponse::InternalSwap(GetPingInfoResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.rtt_) + + sizeof(GetPingInfoResponse::_impl_.rtt_) + - PROTOBUF_FIELD_OFFSET(GetPingInfoResponse, _impl_.serverid_)>( + reinterpret_cast(&_impl_.serverid_), + reinterpret_cast(&other->_impl_.serverid_)); +} + +// =================================================================== + +class SendRoomMessageRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_._has_bits_); +}; + +SendRoomMessageRequest::SendRoomMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SendRoomMessageRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SendRoomMessageRequest) +} +PROTOBUF_NDEBUG_INLINE SendRoomMessageRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SendRoomMessageRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + dst_{visibility, arena, from.dst_}, + msg_(arena, from.msg_) {} + +SendRoomMessageRequest::SendRoomMessageRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SendRoomMessageRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SendRoomMessageRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SendRoomMessageRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.casttype_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_) + : nullptr; + _impl_.option_ = (CheckHasBit(cached_has_bits, 0x00000008U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.option_) + : nullptr; + _impl_.roomid_ = from._impl_.roomid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.SendRoomMessageRequest) +} +PROTOBUF_NDEBUG_INLINE SendRoomMessageRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + dst_{visibility, arena}, + msg_(arena) {} + +inline void SendRoomMessageRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, casttype_), + 0, + offsetof(Impl_, roomid_) - + offsetof(Impl_, casttype_) + + sizeof(Impl_::roomid_)); +} +SendRoomMessageRequest::~SendRoomMessageRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SendRoomMessageRequest) + SharedDtor(*this); +} +inline void SendRoomMessageRequest::SharedDtor(MessageLite& self) { + SendRoomMessageRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.msg_.Destroy(); + delete this_._impl_.casttype_; + delete this_._impl_.option_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SendRoomMessageRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SendRoomMessageRequest(arena); +} +constexpr auto SendRoomMessageRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.dst_) + + decltype(SendRoomMessageRequest::_impl_.dst_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(SendRoomMessageRequest), alignof(SendRoomMessageRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SendRoomMessageRequest::PlacementNew_, + sizeof(SendRoomMessageRequest), + alignof(SendRoomMessageRequest)); + } +} +constexpr auto SendRoomMessageRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<35>{ + { + &_SendRoomMessageRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SendRoomMessageRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SendRoomMessageRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SendRoomMessageRequest::ByteSizeLong, + &SendRoomMessageRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SendRoomMessageRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<35> SendRoomMessageRequest_class_data_ = + SendRoomMessageRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SendRoomMessageRequest::GetClassData() const { + return SendRoomMessageRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 3, 0, 2> +SendRoomMessageRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SendRoomMessageRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SendRoomMessageRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint64 roomId = 1; + {::_pbi::TcParser::FastV64S1, + {8, 4, 0, + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.roomid_)}}, + // .np2_structs.uint8 castType = 2; + {::_pbi::TcParser::FastMtS1, + {18, 2, 0, + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.casttype_)}}, + // repeated .np2_structs.uint16 dst = 3; + {::_pbi::TcParser::FastMtR1, + {26, 0, 1, + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.dst_)}}, + // bytes msg = 4; + {::_pbi::TcParser::FastBS1, + {34, 1, 0, + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.msg_)}}, + // .np2_structs.uint8 option = 5; + {::_pbi::TcParser::FastMtS1, + {42, 3, 2, + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.option_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 roomId = 1; + {PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.roomid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint8 castType = 2; + {PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.casttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.uint16 dst = 3; + {PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.dst_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // bytes msg = 4; + {PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.msg_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // .np2_structs.uint8 option = 5; + {PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.option_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SendRoomMessageRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SendRoomMessageRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.dst_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.msg_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.casttype_ != nullptr); + _impl_.casttype_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(_impl_.option_ != nullptr); + _impl_.option_->Clear(); + } + } + _impl_.roomid_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SendRoomMessageRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SendRoomMessageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SendRoomMessageRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SendRoomMessageRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SendRoomMessageRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_roomid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_roomid(), target); + } + } + + // .np2_structs.uint8 castType = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.casttype_, this_._impl_.casttype_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.uint16 dst = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_dst_size()); + i < n; i++) { + const auto& repfield = this_._internal_dst().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // bytes msg = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_msg().empty()) { + const ::std::string& _s = this_._internal_msg(); + target = stream->WriteBytesMaybeAliased(4, _s, target); + } + } + + // .np2_structs.uint8 option = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.option_, this_._impl_.option_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SendRoomMessageRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SendRoomMessageRequest::ByteSizeLong(const MessageLite& base) { + const SendRoomMessageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SendRoomMessageRequest::ByteSizeLong() const { + const SendRoomMessageRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SendRoomMessageRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // repeated .np2_structs.uint16 dst = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_dst_size(); + for (const auto& msg : this_._internal_dst()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // bytes msg = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_msg().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_msg()); + } + } + // .np2_structs.uint8 castType = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.casttype_); + } + // .np2_structs.uint8 option = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.option_); + } + // uint64 roomId = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_roomid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_roomid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SendRoomMessageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SendRoomMessageRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_dst()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_dst()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_msg().empty()) { + _this->_internal_set_msg(from._internal_msg()); + } else { + if (_this->_impl_.msg_.IsDefault()) { + _this->_internal_set_msg(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.casttype_ != nullptr); + if (_this->_impl_.casttype_ == nullptr) { + _this->_impl_.casttype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_); + } else { + _this->_impl_.casttype_->MergeFrom(*from._impl_.casttype_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(from._impl_.option_ != nullptr); + if (_this->_impl_.option_ == nullptr) { + _this->_impl_.option_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.option_); + } else { + _this->_impl_.option_->MergeFrom(*from._impl_.option_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_roomid() != 0) { + _this->_impl_.roomid_ = from._impl_.roomid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SendRoomMessageRequest::CopyFrom(const SendRoomMessageRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SendRoomMessageRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SendRoomMessageRequest::InternalSwap(SendRoomMessageRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.dst_.InternalSwap(&other->_impl_.dst_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.msg_, &other->_impl_.msg_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.roomid_) + + sizeof(SendRoomMessageRequest::_impl_.roomid_) + - PROTOBUF_FIELD_OFFSET(SendRoomMessageRequest, _impl_.casttype_)>( + reinterpret_cast(&_impl_.casttype_), + reinterpret_cast(&other->_impl_.casttype_)); +} + +// =================================================================== + +class RoomMessageInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_._has_bits_); +}; + +RoomMessageInfo::RoomMessageInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMessageInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMessageInfo) +} +PROTOBUF_NDEBUG_INLINE RoomMessageInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomMessageInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + dst_{visibility, arena, from.dst_}, + msg_(arena, from.msg_) {} + +RoomMessageInfo::RoomMessageInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomMessageInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMessageInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomMessageInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.casttype_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_) + : nullptr; + _impl_.srcmember_ = (CheckHasBit(cached_has_bits, 0x00000008U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.srcmember_) + : nullptr; + _impl_.filtered_ = from._impl_.filtered_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMessageInfo) +} +PROTOBUF_NDEBUG_INLINE RoomMessageInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + dst_{visibility, arena}, + msg_(arena) {} + +inline void RoomMessageInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, casttype_), + 0, + offsetof(Impl_, filtered_) - + offsetof(Impl_, casttype_) + + sizeof(Impl_::filtered_)); +} +RoomMessageInfo::~RoomMessageInfo() { + // @@protoc_insertion_point(destructor:np2_structs.RoomMessageInfo) + SharedDtor(*this); +} +inline void RoomMessageInfo::SharedDtor(MessageLite& self) { + RoomMessageInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.msg_.Destroy(); + delete this_._impl_.casttype_; + delete this_._impl_.srcmember_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomMessageInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomMessageInfo(arena); +} +constexpr auto RoomMessageInfo::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.dst_) + + decltype(RoomMessageInfo::_impl_.dst_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(RoomMessageInfo), alignof(RoomMessageInfo), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&RoomMessageInfo::PlacementNew_, + sizeof(RoomMessageInfo), + alignof(RoomMessageInfo)); + } +} +constexpr auto RoomMessageInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<28>{ + { + &_RoomMessageInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomMessageInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomMessageInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomMessageInfo::ByteSizeLong, + &RoomMessageInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_._cached_size_), + true, + }, + "np2_structs.RoomMessageInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<28> RoomMessageInfo_class_data_ = + RoomMessageInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomMessageInfo::GetClassData() const { + return RoomMessageInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 3, 0, 2> +RoomMessageInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomMessageInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomMessageInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // bool filtered = 1; + {::_pbi::TcParser::FastV8S1, + {8, 4, 0, + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.filtered_)}}, + // .np2_structs.uint8 castType = 2; + {::_pbi::TcParser::FastMtS1, + {18, 2, 0, + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.casttype_)}}, + // repeated .np2_structs.uint16 dst = 3; + {::_pbi::TcParser::FastMtR1, + {26, 0, 1, + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.dst_)}}, + // .np2_structs.UserInfo srcMember = 4; + {::_pbi::TcParser::FastMtS1, + {34, 3, 2, + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.srcmember_)}}, + // bytes msg = 5; + {::_pbi::TcParser::FastBS1, + {42, 1, 0, + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.msg_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool filtered = 1; + {PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.filtered_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // .np2_structs.uint8 castType = 2; + {PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.casttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.uint16 dst = 3; + {PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.dst_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.UserInfo srcMember = 4; + {PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.srcmember_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // bytes msg = 5; + {PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.msg_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomMessageInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMessageInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.dst_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.msg_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.casttype_ != nullptr); + _impl_.casttype_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(_impl_.srcmember_ != nullptr); + _impl_.srcmember_->Clear(); + } + } + _impl_.filtered_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomMessageInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomMessageInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomMessageInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomMessageInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMessageInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bool filtered = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_filtered() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_filtered(), target); + } + } + + // .np2_structs.uint8 castType = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.casttype_, this_._impl_.casttype_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.uint16 dst = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_dst_size()); + i < n; i++) { + const auto& repfield = this_._internal_dst().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // .np2_structs.UserInfo srcMember = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.srcmember_, this_._impl_.srcmember_->GetCachedSize(), target, + stream); + } + + // bytes msg = 5; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_msg().empty()) { + const ::std::string& _s = this_._internal_msg(); + target = stream->WriteBytesMaybeAliased(5, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMessageInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomMessageInfo::ByteSizeLong(const MessageLite& base) { + const RoomMessageInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomMessageInfo::ByteSizeLong() const { + const RoomMessageInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMessageInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // repeated .np2_structs.uint16 dst = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_dst_size(); + for (const auto& msg : this_._internal_dst()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // bytes msg = 5; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_msg().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_msg()); + } + } + // .np2_structs.uint8 castType = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.casttype_); + } + // .np2_structs.UserInfo srcMember = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.srcmember_); + } + // bool filtered = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_filtered() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomMessageInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMessageInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_dst()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_dst()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_msg().empty()) { + _this->_internal_set_msg(from._internal_msg()); + } else { + if (_this->_impl_.msg_.IsDefault()) { + _this->_internal_set_msg(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.casttype_ != nullptr); + if (_this->_impl_.casttype_ == nullptr) { + _this->_impl_.casttype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.casttype_); + } else { + _this->_impl_.casttype_->MergeFrom(*from._impl_.casttype_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(from._impl_.srcmember_ != nullptr); + if (_this->_impl_.srcmember_ == nullptr) { + _this->_impl_.srcmember_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.srcmember_); + } else { + _this->_impl_.srcmember_->MergeFrom(*from._impl_.srcmember_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_filtered() != 0) { + _this->_impl_.filtered_ = from._impl_.filtered_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomMessageInfo::CopyFrom(const RoomMessageInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMessageInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomMessageInfo::InternalSwap(RoomMessageInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.dst_.InternalSwap(&other->_impl_.dst_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.msg_, &other->_impl_.msg_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.filtered_) + + sizeof(RoomMessageInfo::_impl_.filtered_) + - PROTOBUF_FIELD_OFFSET(RoomMessageInfo, _impl_.casttype_)>( + reinterpret_cast(&_impl_.casttype_), + reinterpret_cast(&other->_impl_.casttype_)); +} + +// =================================================================== + +class MessageDetails::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_._has_bits_); +}; + +MessageDetails::MessageDetails(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MessageDetails_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MessageDetails) +} +PROTOBUF_NDEBUG_INLINE MessageDetails::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MessageDetails& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + communicationid_(arena, from.communicationid_), + subject_(arena, from.subject_), + body_(arena, from.body_), + data_(arena, from.data_) {} + +MessageDetails::MessageDetails( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MessageDetails& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MessageDetails_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MessageDetails* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.maintype_ = (CheckHasBit(cached_has_bits, 0x00000010U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maintype_) + : nullptr; + _impl_.subtype_ = (CheckHasBit(cached_has_bits, 0x00000020U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.subtype_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, msgid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, msgid_), + offsetof(Impl_, msgfeatures_) - + offsetof(Impl_, msgid_) + + sizeof(Impl_::msgfeatures_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.MessageDetails) +} +PROTOBUF_NDEBUG_INLINE MessageDetails::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + communicationid_(arena), + subject_(arena), + body_(arena), + data_(arena) {} + +inline void MessageDetails::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, maintype_), + 0, + offsetof(Impl_, msgfeatures_) - + offsetof(Impl_, maintype_) + + sizeof(Impl_::msgfeatures_)); +} +MessageDetails::~MessageDetails() { + // @@protoc_insertion_point(destructor:np2_structs.MessageDetails) + SharedDtor(*this); +} +inline void MessageDetails::SharedDtor(MessageLite& self) { + MessageDetails& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.communicationid_.Destroy(); + this_._impl_.subject_.Destroy(); + this_._impl_.body_.Destroy(); + this_._impl_.data_.Destroy(); + delete this_._impl_.maintype_; + delete this_._impl_.subtype_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MessageDetails::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MessageDetails(arena); +} +constexpr auto MessageDetails::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MessageDetails), + alignof(MessageDetails)); +} +constexpr auto MessageDetails::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<27>{ + { + &_MessageDetails_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MessageDetails::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MessageDetails::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MessageDetails::ByteSizeLong, + &MessageDetails::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_._cached_size_), + true, + }, + "np2_structs.MessageDetails", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<27> MessageDetails_class_data_ = + MessageDetails::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MessageDetails::GetClassData() const { + return MessageDetails_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 8, 2, 69, 2> +MessageDetails::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_._has_bits_), + 0, // no _extensions_ + 8, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967040, // skipmap + offsetof(decltype(_table_), field_entries), + 8, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + MessageDetails_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MessageDetails>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes data = 8; + {::_pbi::TcParser::FastBS1, + {66, 3, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.data_)}}, + // string communicationId = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.communicationid_)}}, + // uint64 msgId = 2; + {::_pbi::TcParser::FastV64S1, + {16, 6, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgid_)}}, + // .np2_structs.uint16 mainType = 3; + {::_pbi::TcParser::FastMtS1, + {26, 4, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.maintype_)}}, + // .np2_structs.uint16 subType = 4; + {::_pbi::TcParser::FastMtS1, + {34, 5, 1, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subtype_)}}, + // uint32 msgFeatures = 5; + {::_pbi::TcParser::FastV32S1, + {40, 7, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgfeatures_)}}, + // string subject = 6; + {::_pbi::TcParser::FastUS1, + {50, 1, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subject_)}}, + // string body = 7; + {::_pbi::TcParser::FastUS1, + {58, 2, 0, + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.body_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string communicationId = 1; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.communicationid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // uint64 msgId = 2; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint16 mainType = 3; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.maintype_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.uint16 subType = 4; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subtype_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 msgFeatures = 5; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgfeatures_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // string subject = 6; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.subject_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string body = 7; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.body_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bytes data = 8; + {PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.data_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint16>()}, + }}, + {{ + "\32\17\0\0\0\0\7\4\0\0\0\0\0\0\0\0" + "np2_structs.MessageDetails" + "communicationId" + "subject" + "body" + }}, +}; +PROTOBUF_NOINLINE void MessageDetails::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MessageDetails) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.communicationid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.subject_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.body_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(_impl_.maintype_ != nullptr); + _impl_.maintype_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + ABSL_DCHECK(_impl_.subtype_ != nullptr); + _impl_.subtype_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x000000c0U)) { + ::memset(&_impl_.msgid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.msgfeatures_) - + reinterpret_cast(&_impl_.msgid_)) + sizeof(_impl_.msgfeatures_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MessageDetails::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MessageDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MessageDetails::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MessageDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MessageDetails) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string communicationId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_communicationid().empty()) { + const ::std::string& _s = this_._internal_communicationid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MessageDetails.communicationId"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // uint64 msgId = 2; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_msgid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_msgid(), target); + } + } + + // .np2_structs.uint16 mainType = 3; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.maintype_, this_._impl_.maintype_->GetCachedSize(), target, + stream); + } + + // .np2_structs.uint16 subType = 4; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.subtype_, this_._impl_.subtype_->GetCachedSize(), target, + stream); + } + + // uint32 msgFeatures = 5; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_msgfeatures() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_msgfeatures(), target); + } + } + + // string subject = 6; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_subject().empty()) { + const ::std::string& _s = this_._internal_subject(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MessageDetails.subject"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + } + + // string body = 7; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_body().empty()) { + const ::std::string& _s = this_._internal_body(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MessageDetails.body"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + } + + // bytes data = 8; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(8, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MessageDetails) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MessageDetails::ByteSizeLong(const MessageLite& base) { + const MessageDetails& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MessageDetails::ByteSizeLong() const { + const MessageDetails& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MessageDetails) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + // string communicationId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_communicationid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_communicationid()); + } + } + // string subject = 6; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_subject().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_subject()); + } + } + // string body = 7; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_body().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_body()); + } + } + // bytes data = 8; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // .np2_structs.uint16 mainType = 3; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.maintype_); + } + // .np2_structs.uint16 subType = 4; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.subtype_); + } + // uint64 msgId = 2; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_msgid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_msgid()); + } + } + // uint32 msgFeatures = 5; + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (this_._internal_msgfeatures() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_msgfeatures()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MessageDetails::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MessageDetails) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_communicationid().empty()) { + _this->_internal_set_communicationid(from._internal_communicationid()); + } else { + if (_this->_impl_.communicationid_.IsDefault()) { + _this->_internal_set_communicationid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_subject().empty()) { + _this->_internal_set_subject(from._internal_subject()); + } else { + if (_this->_impl_.subject_.IsDefault()) { + _this->_internal_set_subject(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_body().empty()) { + _this->_internal_set_body(from._internal_body()); + } else { + if (_this->_impl_.body_.IsDefault()) { + _this->_internal_set_body(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(from._impl_.maintype_ != nullptr); + if (_this->_impl_.maintype_ == nullptr) { + _this->_impl_.maintype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.maintype_); + } else { + _this->_impl_.maintype_->MergeFrom(*from._impl_.maintype_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + ABSL_DCHECK(from._impl_.subtype_ != nullptr); + if (_this->_impl_.subtype_ == nullptr) { + _this->_impl_.subtype_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.subtype_); + } else { + _this->_impl_.subtype_->MergeFrom(*from._impl_.subtype_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_msgid() != 0) { + _this->_impl_.msgid_ = from._impl_.msgid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000080U)) { + if (from._internal_msgfeatures() != 0) { + _this->_impl_.msgfeatures_ = from._impl_.msgfeatures_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MessageDetails::CopyFrom(const MessageDetails& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MessageDetails) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MessageDetails::InternalSwap(MessageDetails* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.communicationid_, &other->_impl_.communicationid_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_, &other->_impl_.subject_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.body_, &other->_impl_.body_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.msgfeatures_) + + sizeof(MessageDetails::_impl_.msgfeatures_) + - PROTOBUF_FIELD_OFFSET(MessageDetails, _impl_.maintype_)>( + reinterpret_cast(&_impl_.maintype_), + reinterpret_cast(&other->_impl_.maintype_)); +} + +// =================================================================== + +class SendMessageRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_._has_bits_); +}; + +SendMessageRequest::SendMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SendMessageRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SendMessageRequest) +} +PROTOBUF_NDEBUG_INLINE SendMessageRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SendMessageRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npids_{visibility, arena, from.npids_}, + message_(arena, from.message_) {} + +SendMessageRequest::SendMessageRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SendMessageRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SendMessageRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SendMessageRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.SendMessageRequest) +} +PROTOBUF_NDEBUG_INLINE SendMessageRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npids_{visibility, arena}, + message_(arena) {} + +inline void SendMessageRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +SendMessageRequest::~SendMessageRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SendMessageRequest) + SharedDtor(*this); +} +inline void SendMessageRequest::SharedDtor(MessageLite& self) { + SendMessageRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.message_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SendMessageRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SendMessageRequest(arena); +} +constexpr auto SendMessageRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.npids_) + + decltype(SendMessageRequest::_impl_.npids_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(SendMessageRequest), alignof(SendMessageRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SendMessageRequest::PlacementNew_, + sizeof(SendMessageRequest), + alignof(SendMessageRequest)); + } +} +constexpr auto SendMessageRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_SendMessageRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SendMessageRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SendMessageRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SendMessageRequest::ByteSizeLong, + &SendMessageRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SendMessageRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> SendMessageRequest_class_data_ = + SendMessageRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SendMessageRequest::GetClassData() const { + return SendMessageRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 44, 2> +SendMessageRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + SendMessageRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SendMessageRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated string npids = 2; + {::_pbi::TcParser::FastUR1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.npids_)}}, + // bytes message = 1; + {::_pbi::TcParser::FastBS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.message_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes message = 1; + {PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.message_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated string npids = 2; + {PROTOBUF_FIELD_OFFSET(SendMessageRequest, _impl_.npids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + }}, + // no aux_entries + {{ + "\36\0\5\0\0\0\0\0" + "np2_structs.SendMessageRequest" + "npids" + }}, +}; +PROTOBUF_NOINLINE void SendMessageRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SendMessageRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.npids_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.message_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SendMessageRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SendMessageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SendMessageRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SendMessageRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SendMessageRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes message = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_message().empty()) { + const ::std::string& _s = this_._internal_message(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + // repeated string npids = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (int i = 0, n = this_._internal_npids_size(); i < n; ++i) { + const auto& s = this_._internal_npids().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SendMessageRequest.npids"); + target = stream->WriteString(2, s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SendMessageRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SendMessageRequest::ByteSizeLong(const MessageLite& base) { + const SendMessageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SendMessageRequest::ByteSizeLong() const { + const SendMessageRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SendMessageRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated string npids = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_npids().size()); + for (int i = 0, n = this_._internal_npids().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npids().Get(i)); + } + } + // bytes message = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_message().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_message()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SendMessageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SendMessageRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_npids()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_npids()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_message().empty()) { + _this->_internal_set_message(from._internal_message()); + } else { + if (_this->_impl_.message_.IsDefault()) { + _this->_internal_set_message(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SendMessageRequest::CopyFrom(const SendMessageRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SendMessageRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SendMessageRequest::InternalSwap(SendMessageRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.npids_.InternalSwap(&other->_impl_.npids_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); +} + +// =================================================================== + +class BoardInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_._has_bits_); +}; + +BoardInfo::BoardInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BoardInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.BoardInfo) +} +BoardInfo::BoardInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BoardInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, BoardInfo_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE BoardInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void BoardInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, ranklimit_), + 0, + offsetof(Impl_, uploadsizelimit_) - + offsetof(Impl_, ranklimit_) + + sizeof(Impl_::uploadsizelimit_)); +} +BoardInfo::~BoardInfo() { + // @@protoc_insertion_point(destructor:np2_structs.BoardInfo) + SharedDtor(*this); +} +inline void BoardInfo::SharedDtor(MessageLite& self) { + BoardInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL BoardInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) BoardInfo(arena); +} +constexpr auto BoardInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BoardInfo), + alignof(BoardInfo)); +} +constexpr auto BoardInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<22>{ + { + &_BoardInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BoardInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BoardInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &BoardInfo::ByteSizeLong, + &BoardInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_._cached_size_), + true, + }, + "np2_structs.BoardInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<22> BoardInfo_class_data_ = + BoardInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +BoardInfo::GetClassData() const { + return BoardInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 0, 2> +BoardInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + BoardInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::BoardInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 rankLimit = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.ranklimit_)}}, + // uint32 updateMode = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.updatemode_)}}, + // uint32 sortMode = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.sortmode_)}}, + // uint32 uploadNumLimit = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadnumlimit_)}}, + // uint32 uploadSizeLimit = 5; + {::_pbi::TcParser::FastV32S1, + {40, 4, 0, + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadsizelimit_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 rankLimit = 1; + {PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.ranklimit_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 updateMode = 2; + {PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.updatemode_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 sortMode = 3; + {PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.sortmode_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 uploadNumLimit = 4; + {PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadnumlimit_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 uploadSizeLimit = 5; + {PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadsizelimit_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void BoardInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.BoardInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + ::memset(&_impl_.ranklimit_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.uploadsizelimit_) - + reinterpret_cast(&_impl_.ranklimit_)) + sizeof(_impl_.uploadsizelimit_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL BoardInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const BoardInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL BoardInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const BoardInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.BoardInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 rankLimit = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_ranklimit() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_ranklimit(), target); + } + } + + // uint32 updateMode = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_updatemode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_updatemode(), target); + } + } + + // uint32 sortMode = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_sortmode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_sortmode(), target); + } + } + + // uint32 uploadNumLimit = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_uploadnumlimit() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_uploadnumlimit(), target); + } + } + + // uint32 uploadSizeLimit = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_uploadsizelimit() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_uploadsizelimit(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.BoardInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t BoardInfo::ByteSizeLong(const MessageLite& base) { + const BoardInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t BoardInfo::ByteSizeLong() const { + const BoardInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.BoardInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // uint32 rankLimit = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_ranklimit() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_ranklimit()); + } + } + // uint32 updateMode = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_updatemode() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_updatemode()); + } + } + // uint32 sortMode = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_sortmode() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_sortmode()); + } + } + // uint32 uploadNumLimit = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_uploadnumlimit() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_uploadnumlimit()); + } + } + // uint32 uploadSizeLimit = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_uploadsizelimit() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_uploadsizelimit()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void BoardInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.BoardInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_ranklimit() != 0) { + _this->_impl_.ranklimit_ = from._impl_.ranklimit_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_updatemode() != 0) { + _this->_impl_.updatemode_ = from._impl_.updatemode_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_sortmode() != 0) { + _this->_impl_.sortmode_ = from._impl_.sortmode_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_uploadnumlimit() != 0) { + _this->_impl_.uploadnumlimit_ = from._impl_.uploadnumlimit_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_uploadsizelimit() != 0) { + _this->_impl_.uploadsizelimit_ = from._impl_.uploadsizelimit_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void BoardInfo::CopyFrom(const BoardInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.BoardInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BoardInfo::InternalSwap(BoardInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.uploadsizelimit_) + + sizeof(BoardInfo::_impl_.uploadsizelimit_) + - PROTOBUF_FIELD_OFFSET(BoardInfo, _impl_.ranklimit_)>( + reinterpret_cast(&_impl_.ranklimit_), + reinterpret_cast(&other->_impl_.ranklimit_)); +} + +// =================================================================== + +class RecordScoreRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_._has_bits_); +}; + +RecordScoreRequest::RecordScoreRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RecordScoreRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RecordScoreRequest) +} +PROTOBUF_NDEBUG_INLINE RecordScoreRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RecordScoreRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + comment_(arena, from.comment_), + data_(arena, from.data_) {} + +RecordScoreRequest::RecordScoreRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RecordScoreRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RecordScoreRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RecordScoreRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, boardid_), + offsetof(Impl_, score_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::score_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.RecordScoreRequest) +} +PROTOBUF_NDEBUG_INLINE RecordScoreRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + comment_(arena), + data_(arena) {} + +inline void RecordScoreRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + 0, + offsetof(Impl_, score_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::score_)); +} +RecordScoreRequest::~RecordScoreRequest() { + // @@protoc_insertion_point(destructor:np2_structs.RecordScoreRequest) + SharedDtor(*this); +} +inline void RecordScoreRequest::SharedDtor(MessageLite& self) { + RecordScoreRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.comment_.Destroy(); + this_._impl_.data_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RecordScoreRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RecordScoreRequest(arena); +} +constexpr auto RecordScoreRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RecordScoreRequest), + alignof(RecordScoreRequest)); +} +constexpr auto RecordScoreRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_RecordScoreRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RecordScoreRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RecordScoreRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RecordScoreRequest::ByteSizeLong, + &RecordScoreRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_._cached_size_), + true, + }, + "np2_structs.RecordScoreRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> RecordScoreRequest_class_data_ = + RecordScoreRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RecordScoreRequest::GetClassData() const { + return RecordScoreRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 46, 2> +RecordScoreRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + RecordScoreRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RecordScoreRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 boardId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 2, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.boardid_)}}, + // int32 pcId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 3, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.pcid_)}}, + // int64 score = 3; + {::_pbi::TcParser::FastV64S1, + {24, 4, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.score_)}}, + // string comment = 4; + {::_pbi::TcParser::FastUS1, + {34, 0, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.comment_)}}, + // bytes data = 5; + {::_pbi::TcParser::FastBS1, + {42, 1, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.data_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 boardId = 1; + {PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // int32 pcId = 2; + {PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.pcid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int64 score = 3; + {PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.score_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // string comment = 4; + {PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.comment_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bytes data = 5; + {PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\36\0\0\0\7\0\0\0" + "np2_structs.RecordScoreRequest" + "comment" + }}, +}; +PROTOBUF_NOINLINE void RecordScoreRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RecordScoreRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.comment_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) { + ::memset(&_impl_.boardid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.score_) - + reinterpret_cast(&_impl_.boardid_)) + sizeof(_impl_.score_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RecordScoreRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RecordScoreRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RecordScoreRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RecordScoreRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RecordScoreRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_boardid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_boardid(), target); + } + } + + // int32 pcId = 2; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_pcid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_pcid(), target); + } + } + + // int64 score = 3; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_score() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>( + stream, this_._internal_score(), target); + } + } + + // string comment = 4; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_comment().empty()) { + const ::std::string& _s = this_._internal_comment(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.RecordScoreRequest.comment"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + } + + // bytes data = 5; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(5, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RecordScoreRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RecordScoreRequest::ByteSizeLong(const MessageLite& base) { + const RecordScoreRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RecordScoreRequest::ByteSizeLong() const { + const RecordScoreRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RecordScoreRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // string comment = 4; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_comment().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_comment()); + } + } + // bytes data = 5; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_boardid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_boardid()); + } + } + // int32 pcId = 2; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_pcid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_pcid()); + } + } + // int64 score = 3; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_score() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_score()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RecordScoreRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RecordScoreRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_comment().empty()) { + _this->_internal_set_comment(from._internal_comment()); + } else { + if (_this->_impl_.comment_.IsDefault()) { + _this->_internal_set_comment(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_boardid() != 0) { + _this->_impl_.boardid_ = from._impl_.boardid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_pcid() != 0) { + _this->_impl_.pcid_ = from._impl_.pcid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_score() != 0) { + _this->_impl_.score_ = from._impl_.score_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RecordScoreRequest::CopyFrom(const RecordScoreRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RecordScoreRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RecordScoreRequest::InternalSwap(RecordScoreRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.comment_, &other->_impl_.comment_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.score_) + + sizeof(RecordScoreRequest::_impl_.score_) + - PROTOBUF_FIELD_OFFSET(RecordScoreRequest, _impl_.boardid_)>( + reinterpret_cast(&_impl_.boardid_), + reinterpret_cast(&other->_impl_.boardid_)); +} + +// =================================================================== + +class GetScoreRangeRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_._has_bits_); +}; + +GetScoreRangeRequest::GetScoreRangeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreRangeRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreRangeRequest) +} +GetScoreRangeRequest::GetScoreRangeRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreRangeRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreRangeRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE GetScoreRangeRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void GetScoreRangeRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + 0, + offsetof(Impl_, withgameinfo_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::withgameinfo_)); +} +GetScoreRangeRequest::~GetScoreRangeRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetScoreRangeRequest) + SharedDtor(*this); +} +inline void GetScoreRangeRequest::SharedDtor(MessageLite& self) { + GetScoreRangeRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetScoreRangeRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetScoreRangeRequest(arena); +} +constexpr auto GetScoreRangeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetScoreRangeRequest), + alignof(GetScoreRangeRequest)); +} +constexpr auto GetScoreRangeRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<33>{ + { + &_GetScoreRangeRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetScoreRangeRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetScoreRangeRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetScoreRangeRequest::ByteSizeLong, + &GetScoreRangeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetScoreRangeRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<33> GetScoreRangeRequest_class_data_ = + GetScoreRangeRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetScoreRangeRequest::GetClassData() const { + return GetScoreRangeRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 0, 2> +GetScoreRangeRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + GetScoreRangeRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetScoreRangeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 boardId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.boardid_)}}, + // uint32 startRank = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.startrank_)}}, + // uint32 numRanks = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.numranks_)}}, + // bool withComment = 4; + {::_pbi::TcParser::FastV8S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withcomment_)}}, + // bool withGameInfo = 5; + {::_pbi::TcParser::FastV8S1, + {40, 4, 0, + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withgameinfo_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 boardId = 1; + {PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 startRank = 2; + {PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.startrank_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 numRanks = 3; + {PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.numranks_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bool withComment = 4; + {PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withcomment_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool withGameInfo = 5; + {PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withgameinfo_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void GetScoreRangeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreRangeRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + ::memset(&_impl_.boardid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.withgameinfo_) - + reinterpret_cast(&_impl_.boardid_)) + sizeof(_impl_.withgameinfo_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetScoreRangeRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetScoreRangeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetScoreRangeRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetScoreRangeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreRangeRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_boardid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_boardid(), target); + } + } + + // uint32 startRank = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_startrank() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_startrank(), target); + } + } + + // uint32 numRanks = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_numranks() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_numranks(), target); + } + } + + // bool withComment = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_withcomment() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_withcomment(), target); + } + } + + // bool withGameInfo = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_withgameinfo() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this_._internal_withgameinfo(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreRangeRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetScoreRangeRequest::ByteSizeLong(const MessageLite& base) { + const GetScoreRangeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetScoreRangeRequest::ByteSizeLong() const { + const GetScoreRangeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreRangeRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_boardid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_boardid()); + } + } + // uint32 startRank = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_startrank() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_startrank()); + } + } + // uint32 numRanks = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_numranks() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_numranks()); + } + } + // bool withComment = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_withcomment() != 0) { + total_size += 2; + } + } + // bool withGameInfo = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_withgameinfo() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetScoreRangeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreRangeRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_boardid() != 0) { + _this->_impl_.boardid_ = from._impl_.boardid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_startrank() != 0) { + _this->_impl_.startrank_ = from._impl_.startrank_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_numranks() != 0) { + _this->_impl_.numranks_ = from._impl_.numranks_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_withcomment() != 0) { + _this->_impl_.withcomment_ = from._impl_.withcomment_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_withgameinfo() != 0) { + _this->_impl_.withgameinfo_ = from._impl_.withgameinfo_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetScoreRangeRequest::CopyFrom(const GetScoreRangeRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreRangeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetScoreRangeRequest::InternalSwap(GetScoreRangeRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.withgameinfo_) + + sizeof(GetScoreRangeRequest::_impl_.withgameinfo_) + - PROTOBUF_FIELD_OFFSET(GetScoreRangeRequest, _impl_.boardid_)>( + reinterpret_cast(&_impl_.boardid_), + reinterpret_cast(&other->_impl_.boardid_)); +} + +// =================================================================== + +class ScoreNpIdPcId::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_._has_bits_); +}; + +ScoreNpIdPcId::ScoreNpIdPcId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, ScoreNpIdPcId_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.ScoreNpIdPcId) +} +PROTOBUF_NDEBUG_INLINE ScoreNpIdPcId::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::ScoreNpIdPcId& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npid_(arena, from.npid_) {} + +ScoreNpIdPcId::ScoreNpIdPcId( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const ScoreNpIdPcId& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, ScoreNpIdPcId_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ScoreNpIdPcId* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.pcid_ = from._impl_.pcid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.ScoreNpIdPcId) +} +PROTOBUF_NDEBUG_INLINE ScoreNpIdPcId::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npid_(arena) {} + +inline void ScoreNpIdPcId::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.pcid_ = {}; +} +ScoreNpIdPcId::~ScoreNpIdPcId() { + // @@protoc_insertion_point(destructor:np2_structs.ScoreNpIdPcId) + SharedDtor(*this); +} +inline void ScoreNpIdPcId::SharedDtor(MessageLite& self) { + ScoreNpIdPcId& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.npid_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL ScoreNpIdPcId::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) ScoreNpIdPcId(arena); +} +constexpr auto ScoreNpIdPcId::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ScoreNpIdPcId), + alignof(ScoreNpIdPcId)); +} +constexpr auto ScoreNpIdPcId::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<26>{ + { + &_ScoreNpIdPcId_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ScoreNpIdPcId::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ScoreNpIdPcId::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &ScoreNpIdPcId::ByteSizeLong, + &ScoreNpIdPcId::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_._cached_size_), + true, + }, + "np2_structs.ScoreNpIdPcId", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<26> ScoreNpIdPcId_class_data_ = + ScoreNpIdPcId::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +ScoreNpIdPcId::GetClassData() const { + return ScoreNpIdPcId_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 38, 2> +ScoreNpIdPcId::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + ScoreNpIdPcId_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::ScoreNpIdPcId>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // int32 pcId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.pcid_)}}, + // string npid = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.npid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string npid = 1; + {PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int32 pcId = 2; + {PROTOBUF_FIELD_OFFSET(ScoreNpIdPcId, _impl_.pcid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + "\31\4\0\0\0\0\0\0" + "np2_structs.ScoreNpIdPcId" + "npid" + }}, +}; +PROTOBUF_NOINLINE void ScoreNpIdPcId::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.ScoreNpIdPcId) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.npid_.ClearNonDefaultToEmpty(); + } + _impl_.pcid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL ScoreNpIdPcId::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const ScoreNpIdPcId& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL ScoreNpIdPcId::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const ScoreNpIdPcId& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.ScoreNpIdPcId) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string npid = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + const ::std::string& _s = this_._internal_npid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.ScoreNpIdPcId.npid"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // int32 pcId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_pcid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_pcid(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.ScoreNpIdPcId) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t ScoreNpIdPcId::ByteSizeLong(const MessageLite& base) { + const ScoreNpIdPcId& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t ScoreNpIdPcId::ByteSizeLong() const { + const ScoreNpIdPcId& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.ScoreNpIdPcId) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // string npid = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npid()); + } + } + // int32 pcId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_pcid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_pcid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void ScoreNpIdPcId::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.ScoreNpIdPcId) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_npid().empty()) { + _this->_internal_set_npid(from._internal_npid()); + } else { + if (_this->_impl_.npid_.IsDefault()) { + _this->_internal_set_npid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_pcid() != 0) { + _this->_impl_.pcid_ = from._impl_.pcid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void ScoreNpIdPcId::CopyFrom(const ScoreNpIdPcId& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.ScoreNpIdPcId) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ScoreNpIdPcId::InternalSwap(ScoreNpIdPcId* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena); + swap(_impl_.pcid_, other->_impl_.pcid_); +} + +// =================================================================== + +class GetScoreNpIdRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_._has_bits_); +}; + +GetScoreNpIdRequest::GetScoreNpIdRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreNpIdRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreNpIdRequest) +} +PROTOBUF_NDEBUG_INLINE GetScoreNpIdRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetScoreNpIdRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npids_{visibility, arena, from.npids_} {} + +GetScoreNpIdRequest::GetScoreNpIdRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetScoreNpIdRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreNpIdRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetScoreNpIdRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, boardid_), + offsetof(Impl_, withgameinfo_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::withgameinfo_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetScoreNpIdRequest) +} +PROTOBUF_NDEBUG_INLINE GetScoreNpIdRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npids_{visibility, arena} {} + +inline void GetScoreNpIdRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + 0, + offsetof(Impl_, withgameinfo_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::withgameinfo_)); +} +GetScoreNpIdRequest::~GetScoreNpIdRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetScoreNpIdRequest) + SharedDtor(*this); +} +inline void GetScoreNpIdRequest::SharedDtor(MessageLite& self) { + GetScoreNpIdRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetScoreNpIdRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetScoreNpIdRequest(arena); +} +constexpr auto GetScoreNpIdRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.npids_) + + decltype(GetScoreNpIdRequest::_impl_.npids_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetScoreNpIdRequest), alignof(GetScoreNpIdRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetScoreNpIdRequest::PlacementNew_, + sizeof(GetScoreNpIdRequest), + alignof(GetScoreNpIdRequest)); + } +} +constexpr auto GetScoreNpIdRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<32>{ + { + &_GetScoreNpIdRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetScoreNpIdRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetScoreNpIdRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetScoreNpIdRequest::ByteSizeLong, + &GetScoreNpIdRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetScoreNpIdRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<32> GetScoreNpIdRequest_class_data_ = + GetScoreNpIdRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetScoreNpIdRequest::GetClassData() const { + return GetScoreNpIdRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 1, 0, 2> +GetScoreNpIdRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetScoreNpIdRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetScoreNpIdRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool withGameInfo = 4; + {::_pbi::TcParser::FastV8S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withgameinfo_)}}, + // uint32 boardId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.boardid_)}}, + // repeated .np2_structs.ScoreNpIdPcId npids = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.npids_)}}, + // bool withComment = 3; + {::_pbi::TcParser::FastV8S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withcomment_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 boardId = 1; + {PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.ScoreNpIdPcId npids = 2; + {PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.npids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // bool withComment = 3; + {PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withcomment_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool withGameInfo = 4; + {PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withgameinfo_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::ScoreNpIdPcId>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetScoreNpIdRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreNpIdRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.npids_.Clear(); + } + if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) { + ::memset(&_impl_.boardid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.withgameinfo_) - + reinterpret_cast(&_impl_.boardid_)) + sizeof(_impl_.withgameinfo_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetScoreNpIdRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetScoreNpIdRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetScoreNpIdRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetScoreNpIdRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreNpIdRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_boardid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_boardid(), target); + } + } + + // repeated .np2_structs.ScoreNpIdPcId npids = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_npids_size()); + i < n; i++) { + const auto& repfield = this_._internal_npids().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // bool withComment = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_withcomment() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_withcomment(), target); + } + } + + // bool withGameInfo = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_withgameinfo() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_withgameinfo(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreNpIdRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetScoreNpIdRequest::ByteSizeLong(const MessageLite& base) { + const GetScoreNpIdRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetScoreNpIdRequest::ByteSizeLong() const { + const GetScoreNpIdRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreNpIdRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // repeated .np2_structs.ScoreNpIdPcId npids = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_npids_size(); + for (const auto& msg : this_._internal_npids()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_boardid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_boardid()); + } + } + // bool withComment = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_withcomment() != 0) { + total_size += 2; + } + } + // bool withGameInfo = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_withgameinfo() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetScoreNpIdRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreNpIdRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_npids()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_npids()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_boardid() != 0) { + _this->_impl_.boardid_ = from._impl_.boardid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_withcomment() != 0) { + _this->_impl_.withcomment_ = from._impl_.withcomment_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_withgameinfo() != 0) { + _this->_impl_.withgameinfo_ = from._impl_.withgameinfo_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetScoreNpIdRequest::CopyFrom(const GetScoreNpIdRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreNpIdRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetScoreNpIdRequest::InternalSwap(GetScoreNpIdRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.npids_.InternalSwap(&other->_impl_.npids_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.withgameinfo_) + + sizeof(GetScoreNpIdRequest::_impl_.withgameinfo_) + - PROTOBUF_FIELD_OFFSET(GetScoreNpIdRequest, _impl_.boardid_)>( + reinterpret_cast(&_impl_.boardid_), + reinterpret_cast(&other->_impl_.boardid_)); +} + +// =================================================================== + +class GetScoreFriendsRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_._has_bits_); +}; + +GetScoreFriendsRequest::GetScoreFriendsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreFriendsRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreFriendsRequest) +} +GetScoreFriendsRequest::GetScoreFriendsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreFriendsRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreFriendsRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE GetScoreFriendsRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void GetScoreFriendsRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + 0, + offsetof(Impl_, withgameinfo_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::withgameinfo_)); +} +GetScoreFriendsRequest::~GetScoreFriendsRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetScoreFriendsRequest) + SharedDtor(*this); +} +inline void GetScoreFriendsRequest::SharedDtor(MessageLite& self) { + GetScoreFriendsRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetScoreFriendsRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetScoreFriendsRequest(arena); +} +constexpr auto GetScoreFriendsRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetScoreFriendsRequest), + alignof(GetScoreFriendsRequest)); +} +constexpr auto GetScoreFriendsRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<35>{ + { + &_GetScoreFriendsRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetScoreFriendsRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetScoreFriendsRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetScoreFriendsRequest::ByteSizeLong, + &GetScoreFriendsRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetScoreFriendsRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<35> GetScoreFriendsRequest_class_data_ = + GetScoreFriendsRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetScoreFriendsRequest::GetClassData() const { + return GetScoreFriendsRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 0, 2> +GetScoreFriendsRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + GetScoreFriendsRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetScoreFriendsRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 boardId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.boardid_)}}, + // bool include_self = 2; + {::_pbi::TcParser::FastV8S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.include_self_)}}, + // uint32 max = 3; + {::_pbi::TcParser::FastV32S1, + {24, 1, 0, + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.max_)}}, + // bool withComment = 4; + {::_pbi::TcParser::FastV8S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withcomment_)}}, + // bool withGameInfo = 5; + {::_pbi::TcParser::FastV8S1, + {40, 4, 0, + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withgameinfo_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 boardId = 1; + {PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bool include_self = 2; + {PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.include_self_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // uint32 max = 3; + {PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.max_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bool withComment = 4; + {PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withcomment_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool withGameInfo = 5; + {PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withgameinfo_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void GetScoreFriendsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreFriendsRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + ::memset(&_impl_.boardid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.withgameinfo_) - + reinterpret_cast(&_impl_.boardid_)) + sizeof(_impl_.withgameinfo_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetScoreFriendsRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetScoreFriendsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetScoreFriendsRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetScoreFriendsRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreFriendsRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_boardid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_boardid(), target); + } + } + + // bool include_self = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_include_self() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_include_self(), target); + } + } + + // uint32 max = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_max() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_max(), target); + } + } + + // bool withComment = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_withcomment() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_withcomment(), target); + } + } + + // bool withGameInfo = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_withgameinfo() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this_._internal_withgameinfo(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreFriendsRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetScoreFriendsRequest::ByteSizeLong(const MessageLite& base) { + const GetScoreFriendsRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetScoreFriendsRequest::ByteSizeLong() const { + const GetScoreFriendsRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreFriendsRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_boardid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_boardid()); + } + } + // uint32 max = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_max() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_max()); + } + } + // bool include_self = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_include_self() != 0) { + total_size += 2; + } + } + // bool withComment = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_withcomment() != 0) { + total_size += 2; + } + } + // bool withGameInfo = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_withgameinfo() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetScoreFriendsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreFriendsRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_boardid() != 0) { + _this->_impl_.boardid_ = from._impl_.boardid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_max() != 0) { + _this->_impl_.max_ = from._impl_.max_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_include_self() != 0) { + _this->_impl_.include_self_ = from._impl_.include_self_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_withcomment() != 0) { + _this->_impl_.withcomment_ = from._impl_.withcomment_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_withgameinfo() != 0) { + _this->_impl_.withgameinfo_ = from._impl_.withgameinfo_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetScoreFriendsRequest::CopyFrom(const GetScoreFriendsRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreFriendsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetScoreFriendsRequest::InternalSwap(GetScoreFriendsRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.withgameinfo_) + + sizeof(GetScoreFriendsRequest::_impl_.withgameinfo_) + - PROTOBUF_FIELD_OFFSET(GetScoreFriendsRequest, _impl_.boardid_)>( + reinterpret_cast(&_impl_.boardid_), + reinterpret_cast(&other->_impl_.boardid_)); +} + +// =================================================================== + +class ScoreRankData::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_._has_bits_); +}; + +ScoreRankData::ScoreRankData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, ScoreRankData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.ScoreRankData) +} +PROTOBUF_NDEBUG_INLINE ScoreRankData::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::ScoreRankData& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npid_(arena, from.npid_), + onlinename_(arena, from.onlinename_) {} + +ScoreRankData::ScoreRankData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const ScoreRankData& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, ScoreRankData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ScoreRankData* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, pcid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, pcid_), + offsetof(Impl_, hasgamedata_) - + offsetof(Impl_, pcid_) + + sizeof(Impl_::hasgamedata_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.ScoreRankData) +} +PROTOBUF_NDEBUG_INLINE ScoreRankData::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npid_(arena), + onlinename_(arena) {} + +inline void ScoreRankData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, pcid_), + 0, + offsetof(Impl_, hasgamedata_) - + offsetof(Impl_, pcid_) + + sizeof(Impl_::hasgamedata_)); +} +ScoreRankData::~ScoreRankData() { + // @@protoc_insertion_point(destructor:np2_structs.ScoreRankData) + SharedDtor(*this); +} +inline void ScoreRankData::SharedDtor(MessageLite& self) { + ScoreRankData& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.npid_.Destroy(); + this_._impl_.onlinename_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL ScoreRankData::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) ScoreRankData(arena); +} +constexpr auto ScoreRankData::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ScoreRankData), + alignof(ScoreRankData)); +} +constexpr auto ScoreRankData::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<26>{ + { + &_ScoreRankData_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ScoreRankData::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ScoreRankData::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &ScoreRankData::ByteSizeLong, + &ScoreRankData::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_._cached_size_), + true, + }, + "np2_structs.ScoreRankData", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<26> ScoreRankData_class_data_ = + ScoreRankData::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +ScoreRankData::GetClassData() const { + return ScoreRankData_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 0, 48, 2> +ScoreRankData::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + ScoreRankData_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::ScoreRankData>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string npId = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.npid_)}}, + // string onlineName = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.onlinename_)}}, + // int32 pcId = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.pcid_)}}, + // uint32 rank = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.rank_)}}, + // int64 score = 5; + {::_pbi::TcParser::FastV64S1, + {40, 4, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.score_)}}, + // bool hasGameData = 6; + {::_pbi::TcParser::FastV8S1, + {48, 6, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.hasgamedata_)}}, + // uint64 recordDate = 7; + {::_pbi::TcParser::FastV64S1, + {56, 5, 0, + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.recorddate_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string npId = 1; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string onlineName = 2; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.onlinename_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int32 pcId = 3; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.pcid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // uint32 rank = 4; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.rank_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // int64 score = 5; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.score_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // bool hasGameData = 6; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.hasgamedata_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // uint64 recordDate = 7; + {PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.recorddate_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + }}, + // no aux_entries + {{ + "\31\4\12\0\0\0\0\0" + "np2_structs.ScoreRankData" + "npId" + "onlineName" + }}, +}; +PROTOBUF_NOINLINE void ScoreRankData::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.ScoreRankData) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.npid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.onlinename_.ClearNonDefaultToEmpty(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000007cU)) { + ::memset(&_impl_.pcid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.hasgamedata_) - + reinterpret_cast(&_impl_.pcid_)) + sizeof(_impl_.hasgamedata_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL ScoreRankData::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const ScoreRankData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL ScoreRankData::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const ScoreRankData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.ScoreRankData) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string npId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + const ::std::string& _s = this_._internal_npid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.ScoreRankData.npId"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // string onlineName = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_onlinename().empty()) { + const ::std::string& _s = this_._internal_onlinename(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.ScoreRankData.onlineName"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + } + + // int32 pcId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_pcid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_pcid(), target); + } + } + + // uint32 rank = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_rank() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_rank(), target); + } + } + + // int64 score = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_score() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>( + stream, this_._internal_score(), target); + } + } + + // bool hasGameData = 6; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_hasgamedata() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 6, this_._internal_hasgamedata(), target); + } + } + + // uint64 recordDate = 7; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_recorddate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 7, this_._internal_recorddate(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.ScoreRankData) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t ScoreRankData::ByteSizeLong(const MessageLite& base) { + const ScoreRankData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t ScoreRankData::ByteSizeLong() const { + const ScoreRankData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.ScoreRankData) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) { + // string npId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npid()); + } + } + // string onlineName = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_onlinename().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_onlinename()); + } + } + // int32 pcId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_pcid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_pcid()); + } + } + // uint32 rank = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_rank() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rank()); + } + } + // int64 score = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_score() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_score()); + } + } + // uint64 recordDate = 7; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_recorddate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_recorddate()); + } + } + // bool hasGameData = 6; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_hasgamedata() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void ScoreRankData::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.ScoreRankData) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_npid().empty()) { + _this->_internal_set_npid(from._internal_npid()); + } else { + if (_this->_impl_.npid_.IsDefault()) { + _this->_internal_set_npid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_onlinename().empty()) { + _this->_internal_set_onlinename(from._internal_onlinename()); + } else { + if (_this->_impl_.onlinename_.IsDefault()) { + _this->_internal_set_onlinename(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_pcid() != 0) { + _this->_impl_.pcid_ = from._impl_.pcid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_rank() != 0) { + _this->_impl_.rank_ = from._impl_.rank_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_score() != 0) { + _this->_impl_.score_ = from._impl_.score_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_recorddate() != 0) { + _this->_impl_.recorddate_ = from._impl_.recorddate_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_hasgamedata() != 0) { + _this->_impl_.hasgamedata_ = from._impl_.hasgamedata_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void ScoreRankData::CopyFrom(const ScoreRankData& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.ScoreRankData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ScoreRankData::InternalSwap(ScoreRankData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.onlinename_, &other->_impl_.onlinename_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.hasgamedata_) + + sizeof(ScoreRankData::_impl_.hasgamedata_) + - PROTOBUF_FIELD_OFFSET(ScoreRankData, _impl_.pcid_)>( + reinterpret_cast(&_impl_.pcid_), + reinterpret_cast(&other->_impl_.pcid_)); +} + +// =================================================================== + +class ScoreInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_._has_bits_); +}; + +ScoreInfo::ScoreInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, ScoreInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.ScoreInfo) +} +PROTOBUF_NDEBUG_INLINE ScoreInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::ScoreInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + data_(arena, from.data_) {} + +ScoreInfo::ScoreInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const ScoreInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, ScoreInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ScoreInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.ScoreInfo) +} +PROTOBUF_NDEBUG_INLINE ScoreInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + data_(arena) {} + +inline void ScoreInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ScoreInfo::~ScoreInfo() { + // @@protoc_insertion_point(destructor:np2_structs.ScoreInfo) + SharedDtor(*this); +} +inline void ScoreInfo::SharedDtor(MessageLite& self) { + ScoreInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.data_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL ScoreInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) ScoreInfo(arena); +} +constexpr auto ScoreInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ScoreInfo), + alignof(ScoreInfo)); +} +constexpr auto ScoreInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<22>{ + { + &_ScoreInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ScoreInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ScoreInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &ScoreInfo::ByteSizeLong, + &ScoreInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_._cached_size_), + true, + }, + "np2_structs.ScoreInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<22> ScoreInfo_class_data_ = + ScoreInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +ScoreInfo::GetClassData() const { + return ScoreInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +ScoreInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + ScoreInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::ScoreInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes data = 1; + {::_pbi::TcParser::FastBS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_.data_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes data = 1; + {PROTOBUF_FIELD_OFFSET(ScoreInfo, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void ScoreInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.ScoreInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL ScoreInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const ScoreInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL ScoreInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const ScoreInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.ScoreInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes data = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.ScoreInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t ScoreInfo::ByteSizeLong(const MessageLite& base) { + const ScoreInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t ScoreInfo::ByteSizeLong() const { + const ScoreInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.ScoreInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // bytes data = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void ScoreInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.ScoreInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void ScoreInfo::CopyFrom(const ScoreInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.ScoreInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ScoreInfo::InternalSwap(ScoreInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); +} + +// =================================================================== + +class GetScoreResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_._has_bits_); +}; + +GetScoreResponse::GetScoreResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreResponse) +} +PROTOBUF_NDEBUG_INLINE GetScoreResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetScoreResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + rankarray_{visibility, arena, from.rankarray_}, + commentarray_{visibility, arena, from.commentarray_}, + infoarray_{visibility, arena, from.infoarray_} {} + +GetScoreResponse::GetScoreResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetScoreResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetScoreResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, lastsortdate_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, lastsortdate_), + offsetof(Impl_, totalrecord_) - + offsetof(Impl_, lastsortdate_) + + sizeof(Impl_::totalrecord_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetScoreResponse) +} +PROTOBUF_NDEBUG_INLINE GetScoreResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + rankarray_{visibility, arena}, + commentarray_{visibility, arena}, + infoarray_{visibility, arena} {} + +inline void GetScoreResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lastsortdate_), + 0, + offsetof(Impl_, totalrecord_) - + offsetof(Impl_, lastsortdate_) + + sizeof(Impl_::totalrecord_)); +} +GetScoreResponse::~GetScoreResponse() { + // @@protoc_insertion_point(destructor:np2_structs.GetScoreResponse) + SharedDtor(*this); +} +inline void GetScoreResponse::SharedDtor(MessageLite& self) { + GetScoreResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetScoreResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetScoreResponse(arena); +} +constexpr auto GetScoreResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.rankarray_) + + decltype(GetScoreResponse::_impl_.rankarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.commentarray_) + + decltype(GetScoreResponse::_impl_.commentarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.infoarray_) + + decltype(GetScoreResponse::_impl_.infoarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetScoreResponse), alignof(GetScoreResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetScoreResponse::PlacementNew_, + sizeof(GetScoreResponse), + alignof(GetScoreResponse)); + } +} +constexpr auto GetScoreResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<29>{ + { + &_GetScoreResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetScoreResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetScoreResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetScoreResponse::ByteSizeLong, + &GetScoreResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_._cached_size_), + true, + }, + "np2_structs.GetScoreResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<29> GetScoreResponse_class_data_ = + GetScoreResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetScoreResponse::GetClassData() const { + return GetScoreResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 2, 49, 2> +GetScoreResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetScoreResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetScoreResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .np2_structs.ScoreRankData rankArray = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.rankarray_)}}, + // repeated string commentArray = 2; + {::_pbi::TcParser::FastUR1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.commentarray_)}}, + // repeated .np2_structs.ScoreInfo infoArray = 3; + {::_pbi::TcParser::FastMtR1, + {26, 2, 1, + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.infoarray_)}}, + // uint64 lastSortDate = 4; + {::_pbi::TcParser::FastV64S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.lastsortdate_)}}, + // uint32 totalRecord = 5; + {::_pbi::TcParser::FastV32S1, + {40, 4, 0, + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.totalrecord_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.ScoreRankData rankArray = 1; + {PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.rankarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated string commentArray = 2; + {PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.commentarray_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // repeated .np2_structs.ScoreInfo infoArray = 3; + {PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.infoarray_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 lastSortDate = 4; + {PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.lastsortdate_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // uint32 totalRecord = 5; + {PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.totalrecord_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::ScoreRankData>()}, + {::_pbi::TcParser::GetTable<::np2_structs::ScoreInfo>()}, + }}, + {{ + "\34\0\14\0\0\0\0\0" + "np2_structs.GetScoreResponse" + "commentArray" + }}, +}; +PROTOBUF_NOINLINE void GetScoreResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.rankarray_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.commentarray_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _impl_.infoarray_.Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) { + ::memset(&_impl_.lastsortdate_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.totalrecord_) - + reinterpret_cast(&_impl_.lastsortdate_)) + sizeof(_impl_.totalrecord_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetScoreResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetScoreResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetScoreResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetScoreResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.ScoreRankData rankArray = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_rankarray_size()); + i < n; i++) { + const auto& repfield = this_._internal_rankarray().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated string commentArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (int i = 0, n = this_._internal_commentarray_size(); i < n; ++i) { + const auto& s = this_._internal_commentarray().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.GetScoreResponse.commentArray"); + target = stream->WriteString(2, s, target); + } + } + + // repeated .np2_structs.ScoreInfo infoArray = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_infoarray_size()); + i < n; i++) { + const auto& repfield = this_._internal_infoarray().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // uint64 lastSortDate = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_lastsortdate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 4, this_._internal_lastsortdate(), target); + } + } + + // uint32 totalRecord = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_totalrecord() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_totalrecord(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetScoreResponse::ByteSizeLong(const MessageLite& base) { + const GetScoreResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetScoreResponse::ByteSizeLong() const { + const GetScoreResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // repeated .np2_structs.ScoreRankData rankArray = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_rankarray_size(); + for (const auto& msg : this_._internal_rankarray()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated string commentArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_commentarray().size()); + for (int i = 0, n = this_._internal_commentarray().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_commentarray().Get(i)); + } + } + // repeated .np2_structs.ScoreInfo infoArray = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + total_size += 1UL * this_._internal_infoarray_size(); + for (const auto& msg : this_._internal_infoarray()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint64 lastSortDate = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_lastsortdate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lastsortdate()); + } + } + // uint32 totalRecord = 5; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_totalrecord() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_totalrecord()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetScoreResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_rankarray()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_rankarray()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_commentarray()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_commentarray()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) { + _this->_internal_mutable_infoarray()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_infoarray()); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_lastsortdate() != 0) { + _this->_impl_.lastsortdate_ = from._impl_.lastsortdate_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_totalrecord() != 0) { + _this->_impl_.totalrecord_ = from._impl_.totalrecord_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetScoreResponse::CopyFrom(const GetScoreResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetScoreResponse::InternalSwap(GetScoreResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.rankarray_.InternalSwap(&other->_impl_.rankarray_); + _impl_.commentarray_.InternalSwap(&other->_impl_.commentarray_); + _impl_.infoarray_.InternalSwap(&other->_impl_.infoarray_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.totalrecord_) + + sizeof(GetScoreResponse::_impl_.totalrecord_) + - PROTOBUF_FIELD_OFFSET(GetScoreResponse, _impl_.lastsortdate_)>( + reinterpret_cast(&_impl_.lastsortdate_), + reinterpret_cast(&other->_impl_.lastsortdate_)); +} + +// =================================================================== + +class RecordScoreGameDataRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_._has_bits_); +}; + +RecordScoreGameDataRequest::RecordScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RecordScoreGameDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RecordScoreGameDataRequest) +} +RecordScoreGameDataRequest::RecordScoreGameDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RecordScoreGameDataRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RecordScoreGameDataRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE RecordScoreGameDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RecordScoreGameDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + 0, + offsetof(Impl_, score_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::score_)); +} +RecordScoreGameDataRequest::~RecordScoreGameDataRequest() { + // @@protoc_insertion_point(destructor:np2_structs.RecordScoreGameDataRequest) + SharedDtor(*this); +} +inline void RecordScoreGameDataRequest::SharedDtor(MessageLite& self) { + RecordScoreGameDataRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RecordScoreGameDataRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RecordScoreGameDataRequest(arena); +} +constexpr auto RecordScoreGameDataRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RecordScoreGameDataRequest), + alignof(RecordScoreGameDataRequest)); +} +constexpr auto RecordScoreGameDataRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_RecordScoreGameDataRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RecordScoreGameDataRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RecordScoreGameDataRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RecordScoreGameDataRequest::ByteSizeLong, + &RecordScoreGameDataRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_._cached_size_), + true, + }, + "np2_structs.RecordScoreGameDataRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> RecordScoreGameDataRequest_class_data_ = + RecordScoreGameDataRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RecordScoreGameDataRequest::GetClassData() const { + return RecordScoreGameDataRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> +RecordScoreGameDataRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + RecordScoreGameDataRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RecordScoreGameDataRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 boardId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.boardid_)}}, + // int32 pcId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.pcid_)}}, + // int64 score = 3; + {::_pbi::TcParser::FastV64S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.score_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 boardId = 1; + {PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // int32 pcId = 2; + {PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.pcid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int64 score = 3; + {PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.score_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void RecordScoreGameDataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RecordScoreGameDataRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + ::memset(&_impl_.boardid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.score_) - + reinterpret_cast(&_impl_.boardid_)) + sizeof(_impl_.score_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RecordScoreGameDataRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RecordScoreGameDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RecordScoreGameDataRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RecordScoreGameDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RecordScoreGameDataRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_boardid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_boardid(), target); + } + } + + // int32 pcId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_pcid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_pcid(), target); + } + } + + // int64 score = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_score() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>( + stream, this_._internal_score(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RecordScoreGameDataRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RecordScoreGameDataRequest::ByteSizeLong(const MessageLite& base) { + const RecordScoreGameDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RecordScoreGameDataRequest::ByteSizeLong() const { + const RecordScoreGameDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RecordScoreGameDataRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_boardid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_boardid()); + } + } + // int32 pcId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_pcid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_pcid()); + } + } + // int64 score = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_score() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_score()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RecordScoreGameDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RecordScoreGameDataRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_boardid() != 0) { + _this->_impl_.boardid_ = from._impl_.boardid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_pcid() != 0) { + _this->_impl_.pcid_ = from._impl_.pcid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_score() != 0) { + _this->_impl_.score_ = from._impl_.score_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RecordScoreGameDataRequest::CopyFrom(const RecordScoreGameDataRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RecordScoreGameDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RecordScoreGameDataRequest::InternalSwap(RecordScoreGameDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.score_) + + sizeof(RecordScoreGameDataRequest::_impl_.score_) + - PROTOBUF_FIELD_OFFSET(RecordScoreGameDataRequest, _impl_.boardid_)>( + reinterpret_cast(&_impl_.boardid_), + reinterpret_cast(&other->_impl_.boardid_)); +} + +// =================================================================== + +class GetScoreGameDataRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_._has_bits_); +}; + +GetScoreGameDataRequest::GetScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreGameDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetScoreGameDataRequest) +} +PROTOBUF_NDEBUG_INLINE GetScoreGameDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetScoreGameDataRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npid_(arena, from.npid_) {} + +GetScoreGameDataRequest::GetScoreGameDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetScoreGameDataRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetScoreGameDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetScoreGameDataRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, boardid_), + offsetof(Impl_, pcid_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::pcid_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetScoreGameDataRequest) +} +PROTOBUF_NDEBUG_INLINE GetScoreGameDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npid_(arena) {} + +inline void GetScoreGameDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, boardid_), + 0, + offsetof(Impl_, pcid_) - + offsetof(Impl_, boardid_) + + sizeof(Impl_::pcid_)); +} +GetScoreGameDataRequest::~GetScoreGameDataRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetScoreGameDataRequest) + SharedDtor(*this); +} +inline void GetScoreGameDataRequest::SharedDtor(MessageLite& self) { + GetScoreGameDataRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.npid_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetScoreGameDataRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetScoreGameDataRequest(arena); +} +constexpr auto GetScoreGameDataRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetScoreGameDataRequest), + alignof(GetScoreGameDataRequest)); +} +constexpr auto GetScoreGameDataRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<36>{ + { + &_GetScoreGameDataRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetScoreGameDataRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetScoreGameDataRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetScoreGameDataRequest::ByteSizeLong, + &GetScoreGameDataRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetScoreGameDataRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<36> GetScoreGameDataRequest_class_data_ = + GetScoreGameDataRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetScoreGameDataRequest::GetClassData() const { + return GetScoreGameDataRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 48, 2> +GetScoreGameDataRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + GetScoreGameDataRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetScoreGameDataRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 boardId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.boardid_)}}, + // string npId = 2; + {::_pbi::TcParser::FastUS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.npid_)}}, + // int32 pcId = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.pcid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 boardId = 1; + {PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.boardid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // string npId = 2; + {PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int32 pcId = 3; + {PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.pcid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + "\43\0\4\0\0\0\0\0" + "np2_structs.GetScoreGameDataRequest" + "npId" + }}, +}; +PROTOBUF_NOINLINE void GetScoreGameDataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetScoreGameDataRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.npid_.ClearNonDefaultToEmpty(); + } + if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) { + ::memset(&_impl_.boardid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.pcid_) - + reinterpret_cast(&_impl_.boardid_)) + sizeof(_impl_.pcid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetScoreGameDataRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetScoreGameDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetScoreGameDataRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetScoreGameDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetScoreGameDataRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_boardid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_boardid(), target); + } + } + + // string npId = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + const ::std::string& _s = this_._internal_npid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.GetScoreGameDataRequest.npId"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + } + + // int32 pcId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_pcid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_pcid(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetScoreGameDataRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetScoreGameDataRequest::ByteSizeLong(const MessageLite& base) { + const GetScoreGameDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetScoreGameDataRequest::ByteSizeLong() const { + const GetScoreGameDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetScoreGameDataRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // string npId = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npid()); + } + } + // uint32 boardId = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_boardid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_boardid()); + } + } + // int32 pcId = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_pcid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_pcid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetScoreGameDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetScoreGameDataRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_npid().empty()) { + _this->_internal_set_npid(from._internal_npid()); + } else { + if (_this->_impl_.npid_.IsDefault()) { + _this->_internal_set_npid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_boardid() != 0) { + _this->_impl_.boardid_ = from._impl_.boardid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_pcid() != 0) { + _this->_impl_.pcid_ = from._impl_.pcid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetScoreGameDataRequest::CopyFrom(const GetScoreGameDataRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetScoreGameDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetScoreGameDataRequest::InternalSwap(GetScoreGameDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.pcid_) + + sizeof(GetScoreGameDataRequest::_impl_.pcid_) + - PROTOBUF_FIELD_OFFSET(GetScoreGameDataRequest, _impl_.boardid_)>( + reinterpret_cast(&_impl_.boardid_), + reinterpret_cast(&other->_impl_.boardid_)); +} + +// =================================================================== + +class TusUser::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusUser, _impl_._has_bits_); +}; + +TusUser::TusUser(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusUser_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusUser) +} +PROTOBUF_NDEBUG_INLINE TusUser::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusUser& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + npid_(arena, from.npid_) {} + +TusUser::TusUser( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusUser& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusUser_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusUser* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.vuser_ = from._impl_.vuser_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusUser) +} +PROTOBUF_NDEBUG_INLINE TusUser::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + npid_(arena) {} + +inline void TusUser::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.vuser_ = {}; +} +TusUser::~TusUser() { + // @@protoc_insertion_point(destructor:np2_structs.TusUser) + SharedDtor(*this); +} +inline void TusUser::SharedDtor(MessageLite& self) { + TusUser& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.npid_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusUser::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusUser(arena); +} +constexpr auto TusUser::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusUser), + alignof(TusUser)); +} +constexpr auto TusUser::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<20>{ + { + &_TusUser_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusUser::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusUser::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusUser::ByteSizeLong, + &TusUser::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusUser, _impl_._cached_size_), + true, + }, + "np2_structs.TusUser", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<20> TusUser_class_data_ = + TusUser::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusUser::GetClassData() const { + return TusUser_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 32, 2> +TusUser::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusUser, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + TusUser_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusUser>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string npid = 2; + {::_pbi::TcParser::FastUS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusUser, _impl_.npid_)}}, + // bool vuser = 1; + {::_pbi::TcParser::FastV8S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(TusUser, _impl_.vuser_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool vuser = 1; + {PROTOBUF_FIELD_OFFSET(TusUser, _impl_.vuser_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // string npid = 2; + {PROTOBUF_FIELD_OFFSET(TusUser, _impl_.npid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\23\0\4\0\0\0\0\0" + "np2_structs.TusUser" + "npid" + }}, +}; +PROTOBUF_NOINLINE void TusUser::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusUser) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.npid_.ClearNonDefaultToEmpty(); + } + _impl_.vuser_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusUser::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusUser& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusUser::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusUser& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusUser) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bool vuser = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_vuser() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_vuser(), target); + } + } + + // string npid = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + const ::std::string& _s = this_._internal_npid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusUser.npid"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusUser) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusUser::ByteSizeLong(const MessageLite& base) { + const TusUser& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusUser::ByteSizeLong() const { + const TusUser& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusUser) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // string npid = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_npid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_npid()); + } + } + // bool vuser = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_vuser() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusUser::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusUser) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_npid().empty()) { + _this->_internal_set_npid(from._internal_npid()); + } else { + if (_this->_impl_.npid_.IsDefault()) { + _this->_internal_set_npid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_vuser() != 0) { + _this->_impl_.vuser_ = from._impl_.vuser_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusUser::CopyFrom(const TusUser& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusUser) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusUser::InternalSwap(TusUser* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.npid_, &other->_impl_.npid_, arena); + swap(_impl_.vuser_, other->_impl_.vuser_); +} + +// =================================================================== + +class TusVariable::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusVariable, _impl_._has_bits_); +}; + +TusVariable::TusVariable(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusVariable_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusVariable) +} +PROTOBUF_NDEBUG_INLINE TusVariable::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusVariable& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + ownerid_(arena, from.ownerid_), + lastchangedauthorid_(arena, from.lastchangedauthorid_) {} + +TusVariable::TusVariable( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusVariable& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusVariable_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusVariable* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, lastchangeddate_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, lastchangeddate_), + offsetof(Impl_, hasdata_) - + offsetof(Impl_, lastchangeddate_) + + sizeof(Impl_::hasdata_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusVariable) +} +PROTOBUF_NDEBUG_INLINE TusVariable::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + ownerid_(arena), + lastchangedauthorid_(arena) {} + +inline void TusVariable::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lastchangeddate_), + 0, + offsetof(Impl_, hasdata_) - + offsetof(Impl_, lastchangeddate_) + + sizeof(Impl_::hasdata_)); +} +TusVariable::~TusVariable() { + // @@protoc_insertion_point(destructor:np2_structs.TusVariable) + SharedDtor(*this); +} +inline void TusVariable::SharedDtor(MessageLite& self) { + TusVariable& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.ownerid_.Destroy(); + this_._impl_.lastchangedauthorid_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusVariable::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusVariable(arena); +} +constexpr auto TusVariable::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusVariable), + alignof(TusVariable)); +} +constexpr auto TusVariable::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<24>{ + { + &_TusVariable_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusVariable::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusVariable::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusVariable::ByteSizeLong, + &TusVariable::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_._cached_size_), + true, + }, + "np2_structs.TusVariable", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<24> TusVariable_class_data_ = + TusVariable::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusVariable::GetClassData() const { + return TusVariable_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 0, 58, 2> +TusVariable::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + TusVariable_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusVariable>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string ownerId = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.ownerid_)}}, + // bool hasData = 2; + {::_pbi::TcParser::FastV8S1, + {16, 5, 0, + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.hasdata_)}}, + // uint64 lastChangedDate = 3; + {::_pbi::TcParser::FastV64S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangeddate_)}}, + // string lastChangedAuthorId = 4; + {::_pbi::TcParser::FastUS1, + {34, 1, 0, + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangedauthorid_)}}, + // int64 variable = 5; + {::_pbi::TcParser::FastV64S1, + {40, 3, 0, + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.variable_)}}, + // int64 oldVariable = 6; + {::_pbi::TcParser::FastV64S1, + {48, 4, 0, + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.oldvariable_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string ownerId = 1; + {PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.ownerid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool hasData = 2; + {PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.hasdata_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // uint64 lastChangedDate = 3; + {PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangeddate_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // string lastChangedAuthorId = 4; + {PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangedauthorid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int64 variable = 5; + {PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.variable_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // int64 oldVariable = 6; + {PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.oldvariable_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + }}, + // no aux_entries + {{ + "\27\7\0\0\23\0\0\0" + "np2_structs.TusVariable" + "ownerId" + "lastChangedAuthorId" + }}, +}; +PROTOBUF_NOINLINE void TusVariable::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusVariable) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.ownerid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.lastchangedauthorid_.ClearNonDefaultToEmpty(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000003cU)) { + ::memset(&_impl_.lastchangeddate_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.hasdata_) - + reinterpret_cast(&_impl_.lastchangeddate_)) + sizeof(_impl_.hasdata_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusVariable::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusVariable& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusVariable::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusVariable& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusVariable) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string ownerId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_ownerid().empty()) { + const ::std::string& _s = this_._internal_ownerid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusVariable.ownerId"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // bool hasData = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_hasdata() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_hasdata(), target); + } + } + + // uint64 lastChangedDate = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_lastchangeddate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 3, this_._internal_lastchangeddate(), target); + } + } + + // string lastChangedAuthorId = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_lastchangedauthorid().empty()) { + const ::std::string& _s = this_._internal_lastchangedauthorid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusVariable.lastChangedAuthorId"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + } + + // int64 variable = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_variable() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>( + stream, this_._internal_variable(), target); + } + } + + // int64 oldVariable = 6; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_oldvariable() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>( + stream, this_._internal_oldvariable(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusVariable) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusVariable::ByteSizeLong(const MessageLite& base) { + const TusVariable& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusVariable::ByteSizeLong() const { + const TusVariable& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusVariable) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + // string ownerId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_ownerid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_ownerid()); + } + } + // string lastChangedAuthorId = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_lastchangedauthorid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_lastchangedauthorid()); + } + } + // uint64 lastChangedDate = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_lastchangeddate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lastchangeddate()); + } + } + // int64 variable = 5; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_variable() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_variable()); + } + } + // int64 oldVariable = 6; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_oldvariable() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_oldvariable()); + } + } + // bool hasData = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_hasdata() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusVariable::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusVariable) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_ownerid().empty()) { + _this->_internal_set_ownerid(from._internal_ownerid()); + } else { + if (_this->_impl_.ownerid_.IsDefault()) { + _this->_internal_set_ownerid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_lastchangedauthorid().empty()) { + _this->_internal_set_lastchangedauthorid(from._internal_lastchangedauthorid()); + } else { + if (_this->_impl_.lastchangedauthorid_.IsDefault()) { + _this->_internal_set_lastchangedauthorid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_lastchangeddate() != 0) { + _this->_impl_.lastchangeddate_ = from._impl_.lastchangeddate_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_variable() != 0) { + _this->_impl_.variable_ = from._impl_.variable_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_oldvariable() != 0) { + _this->_impl_.oldvariable_ = from._impl_.oldvariable_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_hasdata() != 0) { + _this->_impl_.hasdata_ = from._impl_.hasdata_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusVariable::CopyFrom(const TusVariable& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusVariable) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusVariable::InternalSwap(TusVariable* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ownerid_, &other->_impl_.ownerid_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lastchangedauthorid_, &other->_impl_.lastchangedauthorid_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.hasdata_) + + sizeof(TusVariable::_impl_.hasdata_) + - PROTOBUF_FIELD_OFFSET(TusVariable, _impl_.lastchangeddate_)>( + reinterpret_cast(&_impl_.lastchangeddate_), + reinterpret_cast(&other->_impl_.lastchangeddate_)); +} + +// =================================================================== + +class TusVarResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_._has_bits_); +}; + +TusVarResponse::TusVarResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusVarResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusVarResponse) +} +PROTOBUF_NDEBUG_INLINE TusVarResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusVarResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + vars_{visibility, arena, from.vars_} {} + +TusVarResponse::TusVarResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusVarResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusVarResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusVarResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusVarResponse) +} +PROTOBUF_NDEBUG_INLINE TusVarResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + vars_{visibility, arena} {} + +inline void TusVarResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +TusVarResponse::~TusVarResponse() { + // @@protoc_insertion_point(destructor:np2_structs.TusVarResponse) + SharedDtor(*this); +} +inline void TusVarResponse::SharedDtor(MessageLite& self) { + TusVarResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusVarResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusVarResponse(arena); +} +constexpr auto TusVarResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_.vars_) + + decltype(TusVarResponse::_impl_.vars_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusVarResponse), alignof(TusVarResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusVarResponse::PlacementNew_, + sizeof(TusVarResponse), + alignof(TusVarResponse)); + } +} +constexpr auto TusVarResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<27>{ + { + &_TusVarResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusVarResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusVarResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusVarResponse::ByteSizeLong, + &TusVarResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_._cached_size_), + true, + }, + "np2_structs.TusVarResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<27> TusVarResponse_class_data_ = + TusVarResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusVarResponse::GetClassData() const { + return TusVarResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +TusVarResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusVarResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusVarResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.TusVariable vars = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_.vars_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.TusVariable vars = 1; + {PROTOBUF_FIELD_OFFSET(TusVarResponse, _impl_.vars_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusVariable>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusVarResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusVarResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.vars_.Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusVarResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusVarResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusVarResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusVarResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusVarResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.TusVariable vars = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_vars_size()); + i < n; i++) { + const auto& repfield = this_._internal_vars().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusVarResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusVarResponse::ByteSizeLong(const MessageLite& base) { + const TusVarResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusVarResponse::ByteSizeLong() const { + const TusVarResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusVarResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .np2_structs.TusVariable vars = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_vars_size(); + for (const auto& msg : this_._internal_vars()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusVarResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusVarResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_vars()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_vars()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusVarResponse::CopyFrom(const TusVarResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusVarResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusVarResponse::InternalSwap(TusVarResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.vars_.InternalSwap(&other->_impl_.vars_); +} + +// =================================================================== + +class TusSetMultiSlotVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_._has_bits_); +}; + +TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusSetMultiSlotVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusSetMultiSlotVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusSetMultiSlotVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusSetMultiSlotVariableRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + slotidarray_{visibility, arena, from.slotidarray_}, + _slotidarray_cached_byte_size_{0}, + variablearray_{visibility, arena, from.variablearray_}, + _variablearray_cached_byte_size_{0} {} + +TusSetMultiSlotVariableRequest::TusSetMultiSlotVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusSetMultiSlotVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusSetMultiSlotVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusSetMultiSlotVariableRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusSetMultiSlotVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusSetMultiSlotVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + slotidarray_{visibility, arena}, + _slotidarray_cached_byte_size_{0}, + variablearray_{visibility, arena}, + _variablearray_cached_byte_size_{0} {} + +inline void TusSetMultiSlotVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.user_ = {}; +} +TusSetMultiSlotVariableRequest::~TusSetMultiSlotVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusSetMultiSlotVariableRequest) + SharedDtor(*this); +} +inline void TusSetMultiSlotVariableRequest::SharedDtor(MessageLite& self) { + TusSetMultiSlotVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusSetMultiSlotVariableRequest(arena); +} +constexpr auto TusSetMultiSlotVariableRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.slotidarray_) + + decltype(TusSetMultiSlotVariableRequest::_impl_.slotidarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.variablearray_) + + decltype(TusSetMultiSlotVariableRequest::_impl_.variablearray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusSetMultiSlotVariableRequest), alignof(TusSetMultiSlotVariableRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusSetMultiSlotVariableRequest::PlacementNew_, + sizeof(TusSetMultiSlotVariableRequest), + alignof(TusSetMultiSlotVariableRequest)); + } +} +constexpr auto TusSetMultiSlotVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<43>{ + { + &_TusSetMultiSlotVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusSetMultiSlotVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusSetMultiSlotVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusSetMultiSlotVariableRequest::ByteSizeLong, + &TusSetMultiSlotVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusSetMultiSlotVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<43> TusSetMultiSlotVariableRequest_class_data_ = + TusSetMultiSlotVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusSetMultiSlotVariableRequest::GetClassData() const { + return TusSetMultiSlotVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> +TusSetMultiSlotVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusSetMultiSlotVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusSetMultiSlotVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 2, 0, + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.user_)}}, + // repeated int32 slotIdArray = 2; + {::_pbi::TcParser::FastV32P1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.slotidarray_)}}, + // repeated int64 variableArray = 3; + {::_pbi::TcParser::FastV64P1, + {26, 1, 0, + PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.variablearray_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated int32 slotIdArray = 2; + {PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)}, + // repeated int64 variableArray = 3; + {PROTOBUF_FIELD_OFFSET(TusSetMultiSlotVariableRequest, _impl_.variablearray_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusSetMultiSlotVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusSetMultiSlotVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.slotidarray_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.variablearray_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusSetMultiSlotVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusSetMultiSlotVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusSetMultiSlotVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt32Packed( + 2, this_._internal_slotidarray(), byte_size, target); + } + } + } + + // repeated int64 variableArray = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + { + int byte_size = this_._impl_._variablearray_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt64Packed( + 3, this_._internal_variablearray(), byte_size, target); + } + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusSetMultiSlotVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusSetMultiSlotVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusSetMultiSlotVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusSetMultiSlotVariableRequest::ByteSizeLong() const { + const TusSetMultiSlotVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusSetMultiSlotVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize( + this_._internal_slotidarray(), 1, + this_._impl_._slotidarray_cached_byte_size_); + } + // repeated int64 variableArray = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += + ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize( + this_._internal_variablearray(), 1, + this_._impl_._variablearray_cached_byte_size_); + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusSetMultiSlotVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusSetMultiSlotVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_variablearray()->MergeFrom(from._internal_variablearray()); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusSetMultiSlotVariableRequest::CopyFrom(const TusSetMultiSlotVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusSetMultiSlotVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusSetMultiSlotVariableRequest::InternalSwap(TusSetMultiSlotVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_); + _impl_.variablearray_.InternalSwap(&other->_impl_.variablearray_); + swap(_impl_.user_, other->_impl_.user_); +} + +// =================================================================== + +class TusGetMultiSlotVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_._has_bits_); +}; + +TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiSlotVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiSlotVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiSlotVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusGetMultiSlotVariableRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + slotidarray_{visibility, arena, from.slotidarray_}, + _slotidarray_cached_byte_size_{0} {} + +TusGetMultiSlotVariableRequest::TusGetMultiSlotVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusGetMultiSlotVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiSlotVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusGetMultiSlotVariableRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiSlotVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiSlotVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + slotidarray_{visibility, arena}, + _slotidarray_cached_byte_size_{0} {} + +inline void TusGetMultiSlotVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.user_ = {}; +} +TusGetMultiSlotVariableRequest::~TusGetMultiSlotVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetMultiSlotVariableRequest) + SharedDtor(*this); +} +inline void TusGetMultiSlotVariableRequest::SharedDtor(MessageLite& self) { + TusGetMultiSlotVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetMultiSlotVariableRequest(arena); +} +constexpr auto TusGetMultiSlotVariableRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.slotidarray_) + + decltype(TusGetMultiSlotVariableRequest::_impl_.slotidarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusGetMultiSlotVariableRequest), alignof(TusGetMultiSlotVariableRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusGetMultiSlotVariableRequest::PlacementNew_, + sizeof(TusGetMultiSlotVariableRequest), + alignof(TusGetMultiSlotVariableRequest)); + } +} +constexpr auto TusGetMultiSlotVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<43>{ + { + &_TusGetMultiSlotVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetMultiSlotVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetMultiSlotVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetMultiSlotVariableRequest::ByteSizeLong, + &TusGetMultiSlotVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetMultiSlotVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiSlotVariableRequest_class_data_ = + TusGetMultiSlotVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetMultiSlotVariableRequest::GetClassData() const { + return TusGetMultiSlotVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusGetMultiSlotVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusGetMultiSlotVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiSlotVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated int32 slotIdArray = 2; + {::_pbi::TcParser::FastV32P1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.slotidarray_)}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.user_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated int32 slotIdArray = 2; + {PROTOBUF_FIELD_OFFSET(TusGetMultiSlotVariableRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetMultiSlotVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiSlotVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.slotidarray_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetMultiSlotVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetMultiSlotVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiSlotVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt32Packed( + 2, this_._internal_slotidarray(), byte_size, target); + } + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiSlotVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetMultiSlotVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusGetMultiSlotVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetMultiSlotVariableRequest::ByteSizeLong() const { + const TusGetMultiSlotVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiSlotVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize( + this_._internal_slotidarray(), 1, + this_._impl_._slotidarray_cached_byte_size_); + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetMultiSlotVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiSlotVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetMultiSlotVariableRequest::CopyFrom(const TusGetMultiSlotVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiSlotVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetMultiSlotVariableRequest::InternalSwap(TusGetMultiSlotVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_); + swap(_impl_.user_, other->_impl_.user_); +} + +// =================================================================== + +class TusGetMultiUserVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_._has_bits_); +}; + +TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiUserVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiUserVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiUserVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusGetMultiUserVariableRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + users_{visibility, arena, from.users_} {} + +TusGetMultiUserVariableRequest::TusGetMultiUserVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusGetMultiUserVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiUserVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusGetMultiUserVariableRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.slotid_ = from._impl_.slotid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiUserVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiUserVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + users_{visibility, arena} {} + +inline void TusGetMultiUserVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.slotid_ = {}; +} +TusGetMultiUserVariableRequest::~TusGetMultiUserVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetMultiUserVariableRequest) + SharedDtor(*this); +} +inline void TusGetMultiUserVariableRequest::SharedDtor(MessageLite& self) { + TusGetMultiUserVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetMultiUserVariableRequest(arena); +} +constexpr auto TusGetMultiUserVariableRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.users_) + + decltype(TusGetMultiUserVariableRequest::_impl_.users_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusGetMultiUserVariableRequest), alignof(TusGetMultiUserVariableRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusGetMultiUserVariableRequest::PlacementNew_, + sizeof(TusGetMultiUserVariableRequest), + alignof(TusGetMultiUserVariableRequest)); + } +} +constexpr auto TusGetMultiUserVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<43>{ + { + &_TusGetMultiUserVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetMultiUserVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetMultiUserVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetMultiUserVariableRequest::ByteSizeLong, + &TusGetMultiUserVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetMultiUserVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiUserVariableRequest_class_data_ = + TusGetMultiUserVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetMultiUserVariableRequest::GetClassData() const { + return TusGetMultiUserVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusGetMultiUserVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusGetMultiUserVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiUserVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // int32 slotId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.slotid_)}}, + // repeated .np2_structs.TusUser users = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.users_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.TusUser users = 1; + {PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.users_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 slotId = 2; + {PROTOBUF_FIELD_OFFSET(TusGetMultiUserVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetMultiUserVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiUserVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.users_.Clear(); + } + _impl_.slotid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetMultiUserVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetMultiUserVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiUserVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.TusUser users = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_users_size()); + i < n; i++) { + const auto& repfield = this_._internal_users().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_slotid(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiUserVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetMultiUserVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusGetMultiUserVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetMultiUserVariableRequest::ByteSizeLong() const { + const TusGetMultiUserVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiUserVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.TusUser users = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_users_size(); + for (const auto& msg : this_._internal_users()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetMultiUserVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiUserVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_users()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_users()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetMultiUserVariableRequest::CopyFrom(const TusGetMultiUserVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiUserVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetMultiUserVariableRequest::InternalSwap(TusGetMultiUserVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.users_.InternalSwap(&other->_impl_.users_); + swap(_impl_.slotid_, other->_impl_.slotid_); +} + +// =================================================================== + +class TusGetFriendsVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_._has_bits_); +}; + +TusGetFriendsVariableRequest::TusGetFriendsVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetFriendsVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetFriendsVariableRequest) +} +TusGetFriendsVariableRequest::TusGetFriendsVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetFriendsVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetFriendsVariableRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE TusGetFriendsVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void TusGetFriendsVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, slotid_), + 0, + offsetof(Impl_, arraynum_) - + offsetof(Impl_, slotid_) + + sizeof(Impl_::arraynum_)); +} +TusGetFriendsVariableRequest::~TusGetFriendsVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetFriendsVariableRequest) + SharedDtor(*this); +} +inline void TusGetFriendsVariableRequest::SharedDtor(MessageLite& self) { + TusGetFriendsVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetFriendsVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetFriendsVariableRequest(arena); +} +constexpr auto TusGetFriendsVariableRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TusGetFriendsVariableRequest), + alignof(TusGetFriendsVariableRequest)); +} +constexpr auto TusGetFriendsVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<41>{ + { + &_TusGetFriendsVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetFriendsVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetFriendsVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetFriendsVariableRequest::ByteSizeLong, + &TusGetFriendsVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetFriendsVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<41> TusGetFriendsVariableRequest_class_data_ = + TusGetFriendsVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetFriendsVariableRequest::GetClassData() const { + return TusGetFriendsVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> +TusGetFriendsVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + TusGetFriendsVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetFriendsVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 arrayNum = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.arraynum_)}}, + // int32 slotId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.slotid_)}}, + // bool includeSelf = 2; + {::_pbi::TcParser::FastV8S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.includeself_)}}, + // int32 sortType = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.sorttype_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 slotId = 1; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // bool includeSelf = 2; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.includeself_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // int32 sortType = 3; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.sorttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // uint32 arrayNum = 4; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.arraynum_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetFriendsVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetFriendsVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + ::memset(&_impl_.slotid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.arraynum_) - + reinterpret_cast(&_impl_.slotid_)) + sizeof(_impl_.arraynum_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetFriendsVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetFriendsVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetFriendsVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetFriendsVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetFriendsVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // int32 slotId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( + stream, this_._internal_slotid(), target); + } + } + + // bool includeSelf = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_includeself() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_includeself(), target); + } + } + + // int32 sortType = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_sorttype() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_sorttype(), target); + } + } + + // uint32 arrayNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_arraynum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_arraynum(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetFriendsVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetFriendsVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusGetFriendsVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetFriendsVariableRequest::ByteSizeLong() const { + const TusGetFriendsVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetFriendsVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // int32 slotId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + // bool includeSelf = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_includeself() != 0) { + total_size += 2; + } + } + // int32 sortType = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_sorttype() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_sorttype()); + } + } + // uint32 arrayNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_arraynum() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_arraynum()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetFriendsVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetFriendsVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_includeself() != 0) { + _this->_impl_.includeself_ = from._impl_.includeself_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_sorttype() != 0) { + _this->_impl_.sorttype_ = from._impl_.sorttype_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_arraynum() != 0) { + _this->_impl_.arraynum_ = from._impl_.arraynum_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetFriendsVariableRequest::CopyFrom(const TusGetFriendsVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetFriendsVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetFriendsVariableRequest::InternalSwap(TusGetFriendsVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.arraynum_) + + sizeof(TusGetFriendsVariableRequest::_impl_.arraynum_) + - PROTOBUF_FIELD_OFFSET(TusGetFriendsVariableRequest, _impl_.slotid_)>( + reinterpret_cast(&_impl_.slotid_), + reinterpret_cast(&other->_impl_.slotid_)); +} + +// =================================================================== + +class TusAddAndGetVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_._has_bits_); +}; + +TusAddAndGetVariableRequest::TusAddAndGetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusAddAndGetVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusAddAndGetVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusAddAndGetVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusAddAndGetVariableRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + islastchangeddate_{visibility, arena, from.islastchangeddate_}, + _islastchangeddate_cached_byte_size_{0}, + islastchangedauthorid_(arena, from.islastchangedauthorid_) {} + +TusAddAndGetVariableRequest::TusAddAndGetVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusAddAndGetVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusAddAndGetVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusAddAndGetVariableRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, invariable_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, invariable_), + offsetof(Impl_, slotid_) - + offsetof(Impl_, invariable_) + + sizeof(Impl_::slotid_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusAddAndGetVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusAddAndGetVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + islastchangeddate_{visibility, arena}, + _islastchangeddate_cached_byte_size_{0}, + islastchangedauthorid_(arena) {} + +inline void TusAddAndGetVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, user_), + 0, + offsetof(Impl_, slotid_) - + offsetof(Impl_, user_) + + sizeof(Impl_::slotid_)); +} +TusAddAndGetVariableRequest::~TusAddAndGetVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusAddAndGetVariableRequest) + SharedDtor(*this); +} +inline void TusAddAndGetVariableRequest::SharedDtor(MessageLite& self) { + TusAddAndGetVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.islastchangedauthorid_.Destroy(); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusAddAndGetVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusAddAndGetVariableRequest(arena); +} +constexpr auto TusAddAndGetVariableRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangeddate_) + + decltype(TusAddAndGetVariableRequest::_impl_.islastchangeddate_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(TusAddAndGetVariableRequest), alignof(TusAddAndGetVariableRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusAddAndGetVariableRequest::PlacementNew_, + sizeof(TusAddAndGetVariableRequest), + alignof(TusAddAndGetVariableRequest)); + } +} +constexpr auto TusAddAndGetVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<40>{ + { + &_TusAddAndGetVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusAddAndGetVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusAddAndGetVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusAddAndGetVariableRequest::ByteSizeLong, + &TusAddAndGetVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusAddAndGetVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<40> TusAddAndGetVariableRequest_class_data_ = + TusAddAndGetVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusAddAndGetVariableRequest::GetClassData() const { + return TusAddAndGetVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 1, 69, 2> +TusAddAndGetVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusAddAndGetVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusAddAndGetVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 2, 0, + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.user_)}}, + // int32 slotId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 4, 0, + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.slotid_)}}, + // int64 inVariable = 3; + {::_pbi::TcParser::FastV64S1, + {24, 3, 0, + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.invariable_)}}, + // repeated uint64 isLastChangedDate = 4; + {::_pbi::TcParser::FastV64P1, + {34, 0, 0, + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangeddate_)}}, + // string isLastChangedAuthorId = 5; + {::_pbi::TcParser::FastUS1, + {42, 1, 0, + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangedauthorid_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 slotId = 2; + {PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int64 inVariable = 3; + {PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.invariable_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // repeated uint64 isLastChangedDate = 4; + {PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangeddate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)}, + // string isLastChangedAuthorId = 5; + {PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.islastchangedauthorid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + "\47\0\0\0\0\25\0\0" + "np2_structs.TusAddAndGetVariableRequest" + "isLastChangedAuthorId" + }}, +}; +PROTOBUF_NOINLINE void TusAddAndGetVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusAddAndGetVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.islastchangeddate_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.islastchangedauthorid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) { + ::memset(&_impl_.invariable_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.slotid_) - + reinterpret_cast(&_impl_.invariable_)) + sizeof(_impl_.slotid_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusAddAndGetVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusAddAndGetVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusAddAndGetVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusAddAndGetVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusAddAndGetVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_slotid(), target); + } + } + + // int64 inVariable = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_invariable() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>( + stream, this_._internal_invariable(), target); + } + } + + // repeated uint64 isLastChangedDate = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._islastchangeddate_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteUInt64Packed( + 4, this_._internal_islastchangeddate(), byte_size, target); + } + } + } + + // string isLastChangedAuthorId = 5; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_islastchangedauthorid().empty()) { + const ::std::string& _s = this_._internal_islastchangedauthorid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusAddAndGetVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusAddAndGetVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusAddAndGetVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusAddAndGetVariableRequest::ByteSizeLong() const { + const TusAddAndGetVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusAddAndGetVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // repeated uint64 isLastChangedDate = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize( + this_._internal_islastchangeddate(), 1, + this_._impl_._islastchangeddate_cached_byte_size_); + } + // string isLastChangedAuthorId = 5; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_islastchangedauthorid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_islastchangedauthorid()); + } + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + // int64 inVariable = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_invariable() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_invariable()); + } + } + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusAddAndGetVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusAddAndGetVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_islastchangeddate()->MergeFrom(from._internal_islastchangeddate()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_islastchangedauthorid().empty()) { + _this->_internal_set_islastchangedauthorid(from._internal_islastchangedauthorid()); + } else { + if (_this->_impl_.islastchangedauthorid_.IsDefault()) { + _this->_internal_set_islastchangedauthorid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_invariable() != 0) { + _this->_impl_.invariable_ = from._impl_.invariable_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusAddAndGetVariableRequest::CopyFrom(const TusAddAndGetVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusAddAndGetVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusAddAndGetVariableRequest::InternalSwap(TusAddAndGetVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.islastchangeddate_.InternalSwap(&other->_impl_.islastchangeddate_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.islastchangedauthorid_, &other->_impl_.islastchangedauthorid_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.slotid_) + + sizeof(TusAddAndGetVariableRequest::_impl_.slotid_) + - PROTOBUF_FIELD_OFFSET(TusAddAndGetVariableRequest, _impl_.user_)>( + reinterpret_cast(&_impl_.user_), + reinterpret_cast(&other->_impl_.user_)); +} + +// =================================================================== + +class TusTryAndSetVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_._has_bits_); +}; + +TusTryAndSetVariableRequest::TusTryAndSetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusTryAndSetVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusTryAndSetVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusTryAndSetVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusTryAndSetVariableRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + islastchangeddate_{visibility, arena, from.islastchangeddate_}, + _islastchangeddate_cached_byte_size_{0}, + comparevalue_{visibility, arena, from.comparevalue_}, + _comparevalue_cached_byte_size_{0}, + islastchangedauthorid_(arena, from.islastchangedauthorid_) {} + +TusTryAndSetVariableRequest::TusTryAndSetVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusTryAndSetVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusTryAndSetVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusTryAndSetVariableRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000008U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, slotid_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, slotid_), + offsetof(Impl_, variable_) - + offsetof(Impl_, slotid_) + + sizeof(Impl_::variable_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusTryAndSetVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusTryAndSetVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + islastchangeddate_{visibility, arena}, + _islastchangeddate_cached_byte_size_{0}, + comparevalue_{visibility, arena}, + _comparevalue_cached_byte_size_{0}, + islastchangedauthorid_(arena) {} + +inline void TusTryAndSetVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, user_), + 0, + offsetof(Impl_, variable_) - + offsetof(Impl_, user_) + + sizeof(Impl_::variable_)); +} +TusTryAndSetVariableRequest::~TusTryAndSetVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusTryAndSetVariableRequest) + SharedDtor(*this); +} +inline void TusTryAndSetVariableRequest::SharedDtor(MessageLite& self) { + TusTryAndSetVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.islastchangedauthorid_.Destroy(); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusTryAndSetVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusTryAndSetVariableRequest(arena); +} +constexpr auto TusTryAndSetVariableRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangeddate_) + + decltype(TusTryAndSetVariableRequest::_impl_.islastchangeddate_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.comparevalue_) + + decltype(TusTryAndSetVariableRequest::_impl_.comparevalue_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(TusTryAndSetVariableRequest), alignof(TusTryAndSetVariableRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusTryAndSetVariableRequest::PlacementNew_, + sizeof(TusTryAndSetVariableRequest), + alignof(TusTryAndSetVariableRequest)); + } +} +constexpr auto TusTryAndSetVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<40>{ + { + &_TusTryAndSetVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusTryAndSetVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusTryAndSetVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusTryAndSetVariableRequest::ByteSizeLong, + &TusTryAndSetVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusTryAndSetVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<40> TusTryAndSetVariableRequest_class_data_ = + TusTryAndSetVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusTryAndSetVariableRequest::GetClassData() const { + return TusTryAndSetVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 1, 69, 2> +TusTryAndSetVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusTryAndSetVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusTryAndSetVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 3, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.user_)}}, + // int32 slotId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 4, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.slotid_)}}, + // int32 opeType = 3; + {::_pbi::TcParser::FastV32S1, + {24, 5, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.opetype_)}}, + // int64 variable = 4; + {::_pbi::TcParser::FastV64S1, + {32, 6, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.variable_)}}, + // repeated uint64 isLastChangedDate = 5; + {::_pbi::TcParser::FastV64P1, + {42, 0, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangeddate_)}}, + // string isLastChangedAuthorId = 6; + {::_pbi::TcParser::FastUS1, + {50, 2, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangedauthorid_)}}, + // repeated int64 compareValue = 7; + {::_pbi::TcParser::FastV64P1, + {58, 1, 0, + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.comparevalue_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 slotId = 2; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int32 opeType = 3; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.opetype_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // int64 variable = 4; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.variable_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, + // repeated uint64 isLastChangedDate = 5; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangeddate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)}, + // string isLastChangedAuthorId = 6; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.islastchangedauthorid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // repeated int64 compareValue = 7; + {PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.comparevalue_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + "\47\0\0\0\0\0\25\0" + "np2_structs.TusTryAndSetVariableRequest" + "isLastChangedAuthorId" + }}, +}; +PROTOBUF_NOINLINE void TusTryAndSetVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusTryAndSetVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.islastchangeddate_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.comparevalue_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.islastchangedauthorid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) { + ::memset(&_impl_.slotid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.variable_) - + reinterpret_cast(&_impl_.slotid_)) + sizeof(_impl_.variable_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusTryAndSetVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusTryAndSetVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusTryAndSetVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusTryAndSetVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusTryAndSetVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_slotid(), target); + } + } + + // int32 opeType = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_opetype() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_opetype(), target); + } + } + + // int64 variable = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_variable() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>( + stream, this_._internal_variable(), target); + } + } + + // repeated uint64 isLastChangedDate = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._islastchangeddate_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteUInt64Packed( + 5, this_._internal_islastchangeddate(), byte_size, target); + } + } + } + + // string isLastChangedAuthorId = 6; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_islastchangedauthorid().empty()) { + const ::std::string& _s = this_._internal_islastchangedauthorid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + } + + // repeated int64 compareValue = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + { + int byte_size = this_._impl_._comparevalue_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt64Packed( + 7, this_._internal_comparevalue(), byte_size, target); + } + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusTryAndSetVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusTryAndSetVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusTryAndSetVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusTryAndSetVariableRequest::ByteSizeLong() const { + const TusTryAndSetVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusTryAndSetVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) { + // repeated uint64 isLastChangedDate = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize( + this_._internal_islastchangeddate(), 1, + this_._impl_._islastchangeddate_cached_byte_size_); + } + // repeated int64 compareValue = 7; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += + ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize( + this_._internal_comparevalue(), 1, + this_._impl_._comparevalue_cached_byte_size_); + } + // string isLastChangedAuthorId = 6; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_islastchangedauthorid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_islastchangedauthorid()); + } + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + // int32 opeType = 3; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_opetype() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_opetype()); + } + } + // int64 variable = 4; + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (this_._internal_variable() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_variable()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusTryAndSetVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusTryAndSetVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_islastchangeddate()->MergeFrom(from._internal_islastchangeddate()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_comparevalue()->MergeFrom(from._internal_comparevalue()); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_islastchangedauthorid().empty()) { + _this->_internal_set_islastchangedauthorid(from._internal_islastchangedauthorid()); + } else { + if (_this->_impl_.islastchangedauthorid_.IsDefault()) { + _this->_internal_set_islastchangedauthorid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_opetype() != 0) { + _this->_impl_.opetype_ = from._impl_.opetype_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000040U)) { + if (from._internal_variable() != 0) { + _this->_impl_.variable_ = from._impl_.variable_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusTryAndSetVariableRequest::CopyFrom(const TusTryAndSetVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusTryAndSetVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusTryAndSetVariableRequest::InternalSwap(TusTryAndSetVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.islastchangeddate_.InternalSwap(&other->_impl_.islastchangeddate_); + _impl_.comparevalue_.InternalSwap(&other->_impl_.comparevalue_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.islastchangedauthorid_, &other->_impl_.islastchangedauthorid_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.variable_) + + sizeof(TusTryAndSetVariableRequest::_impl_.variable_) + - PROTOBUF_FIELD_OFFSET(TusTryAndSetVariableRequest, _impl_.user_)>( + reinterpret_cast(&_impl_.user_), + reinterpret_cast(&other->_impl_.user_)); +} + +// =================================================================== + +class TusDeleteMultiSlotVariableRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_._has_bits_); +}; + +TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusDeleteMultiSlotVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusDeleteMultiSlotVariableRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + slotidarray_{visibility, arena, from.slotidarray_}, + _slotidarray_cached_byte_size_{0} {} + +TusDeleteMultiSlotVariableRequest::TusDeleteMultiSlotVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusDeleteMultiSlotVariableRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotVariableRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusDeleteMultiSlotVariableRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusDeleteMultiSlotVariableRequest) +} +PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotVariableRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + slotidarray_{visibility, arena}, + _slotidarray_cached_byte_size_{0} {} + +inline void TusDeleteMultiSlotVariableRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.user_ = {}; +} +TusDeleteMultiSlotVariableRequest::~TusDeleteMultiSlotVariableRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusDeleteMultiSlotVariableRequest) + SharedDtor(*this); +} +inline void TusDeleteMultiSlotVariableRequest::SharedDtor(MessageLite& self) { + TusDeleteMultiSlotVariableRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusDeleteMultiSlotVariableRequest(arena); +} +constexpr auto TusDeleteMultiSlotVariableRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.slotidarray_) + + decltype(TusDeleteMultiSlotVariableRequest::_impl_.slotidarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusDeleteMultiSlotVariableRequest), alignof(TusDeleteMultiSlotVariableRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusDeleteMultiSlotVariableRequest::PlacementNew_, + sizeof(TusDeleteMultiSlotVariableRequest), + alignof(TusDeleteMultiSlotVariableRequest)); + } +} +constexpr auto TusDeleteMultiSlotVariableRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<46>{ + { + &_TusDeleteMultiSlotVariableRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusDeleteMultiSlotVariableRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusDeleteMultiSlotVariableRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusDeleteMultiSlotVariableRequest::ByteSizeLong, + &TusDeleteMultiSlotVariableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusDeleteMultiSlotVariableRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<46> TusDeleteMultiSlotVariableRequest_class_data_ = + TusDeleteMultiSlotVariableRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusDeleteMultiSlotVariableRequest::GetClassData() const { + return TusDeleteMultiSlotVariableRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusDeleteMultiSlotVariableRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusDeleteMultiSlotVariableRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusDeleteMultiSlotVariableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated int32 slotIdArray = 2; + {::_pbi::TcParser::FastV32P1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.slotidarray_)}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.user_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated int32 slotIdArray = 2; + {PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotVariableRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusDeleteMultiSlotVariableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusDeleteMultiSlotVariableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.slotidarray_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusDeleteMultiSlotVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusDeleteMultiSlotVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDeleteMultiSlotVariableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt32Packed( + 2, this_._internal_slotidarray(), byte_size, target); + } + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDeleteMultiSlotVariableRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusDeleteMultiSlotVariableRequest::ByteSizeLong(const MessageLite& base) { + const TusDeleteMultiSlotVariableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusDeleteMultiSlotVariableRequest::ByteSizeLong() const { + const TusDeleteMultiSlotVariableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDeleteMultiSlotVariableRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize( + this_._internal_slotidarray(), 1, + this_._impl_._slotidarray_cached_byte_size_); + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusDeleteMultiSlotVariableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDeleteMultiSlotVariableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusDeleteMultiSlotVariableRequest::CopyFrom(const TusDeleteMultiSlotVariableRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDeleteMultiSlotVariableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusDeleteMultiSlotVariableRequest::InternalSwap(TusDeleteMultiSlotVariableRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_); + swap(_impl_.user_, other->_impl_.user_); +} + +// =================================================================== + +class TusSetDataRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_._has_bits_); +}; + +TusSetDataRequest::TusSetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusSetDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusSetDataRequest) +} +PROTOBUF_NDEBUG_INLINE TusSetDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusSetDataRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + islastchangeddate_{visibility, arena, from.islastchangeddate_}, + _islastchangeddate_cached_byte_size_{0}, + data_(arena, from.data_), + info_(arena, from.info_), + islastchangedauthorid_(arena, from.islastchangedauthorid_) {} + +TusSetDataRequest::TusSetDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusSetDataRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusSetDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusSetDataRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000010U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + _impl_.slotid_ = from._impl_.slotid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusSetDataRequest) +} +PROTOBUF_NDEBUG_INLINE TusSetDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + islastchangeddate_{visibility, arena}, + _islastchangeddate_cached_byte_size_{0}, + data_(arena), + info_(arena), + islastchangedauthorid_(arena) {} + +inline void TusSetDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, user_), + 0, + offsetof(Impl_, slotid_) - + offsetof(Impl_, user_) + + sizeof(Impl_::slotid_)); +} +TusSetDataRequest::~TusSetDataRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusSetDataRequest) + SharedDtor(*this); +} +inline void TusSetDataRequest::SharedDtor(MessageLite& self) { + TusSetDataRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.data_.Destroy(); + this_._impl_.info_.Destroy(); + this_._impl_.islastchangedauthorid_.Destroy(); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusSetDataRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusSetDataRequest(arena); +} +constexpr auto TusSetDataRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangeddate_) + + decltype(TusSetDataRequest::_impl_.islastchangeddate_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(TusSetDataRequest), alignof(TusSetDataRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusSetDataRequest::PlacementNew_, + sizeof(TusSetDataRequest), + alignof(TusSetDataRequest)); + } +} +constexpr auto TusSetDataRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<30>{ + { + &_TusSetDataRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusSetDataRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusSetDataRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusSetDataRequest::ByteSizeLong, + &TusSetDataRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusSetDataRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<30> TusSetDataRequest_class_data_ = + TusSetDataRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusSetDataRequest::GetClassData() const { + return TusSetDataRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 1, 59, 2> +TusSetDataRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_._has_bits_), + 0, // no _extensions_ + 6, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusSetDataRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusSetDataRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 4, 0, + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.user_)}}, + // int32 slotId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 5, 0, + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.slotid_)}}, + // bytes data = 3; + {::_pbi::TcParser::FastBS1, + {26, 1, 0, + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.data_)}}, + // bytes info = 4; + {::_pbi::TcParser::FastBS1, + {34, 2, 0, + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.info_)}}, + // repeated uint64 isLastChangedDate = 5; + {::_pbi::TcParser::FastV64P1, + {42, 0, 0, + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangeddate_)}}, + // string isLastChangedAuthorId = 6; + {::_pbi::TcParser::FastUS1, + {50, 3, 0, + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangedauthorid_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.user_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 slotId = 2; + {PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // bytes data = 3; + {PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // bytes info = 4; + {PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.info_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated uint64 isLastChangedDate = 5; + {PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangeddate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt64)}, + // string isLastChangedAuthorId = 6; + {PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.islastchangedauthorid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + "\35\0\0\0\0\0\25\0" + "np2_structs.TusSetDataRequest" + "isLastChangedAuthorId" + }}, +}; +PROTOBUF_NOINLINE void TusSetDataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusSetDataRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.islastchangeddate_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.info_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + _impl_.islastchangedauthorid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + _impl_.slotid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusSetDataRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusSetDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusSetDataRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusSetDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusSetDataRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_slotid(), target); + } + } + + // bytes data = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(3, _s, target); + } + } + + // bytes info = 4; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_info().empty()) { + const ::std::string& _s = this_._internal_info(); + target = stream->WriteBytesMaybeAliased(4, _s, target); + } + } + + // repeated uint64 isLastChangedDate = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._islastchangeddate_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteUInt64Packed( + 5, this_._internal_islastchangeddate(), byte_size, target); + } + } + } + + // string isLastChangedAuthorId = 6; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_islastchangedauthorid().empty()) { + const ::std::string& _s = this_._internal_islastchangedauthorid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusSetDataRequest.isLastChangedAuthorId"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusSetDataRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusSetDataRequest::ByteSizeLong(const MessageLite& base) { + const TusSetDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusSetDataRequest::ByteSizeLong() const { + const TusSetDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusSetDataRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + // repeated uint64 isLastChangedDate = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::UInt64SizeWithPackedTagSize( + this_._internal_islastchangeddate(), 1, + this_._impl_._islastchangeddate_cached_byte_size_); + } + // bytes data = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // bytes info = 4; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_info().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_info()); + } + } + // string isLastChangedAuthorId = 6; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_islastchangedauthorid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_islastchangedauthorid()); + } + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusSetDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusSetDataRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_islastchangeddate()->MergeFrom(from._internal_islastchangeddate()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_info().empty()) { + _this->_internal_set_info(from._internal_info()); + } else { + if (_this->_impl_.info_.IsDefault()) { + _this->_internal_set_info(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!from._internal_islastchangedauthorid().empty()) { + _this->_internal_set_islastchangedauthorid(from._internal_islastchangedauthorid()); + } else { + if (_this->_impl_.islastchangedauthorid_.IsDefault()) { + _this->_internal_set_islastchangedauthorid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000020U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusSetDataRequest::CopyFrom(const TusSetDataRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusSetDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusSetDataRequest::InternalSwap(TusSetDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.islastchangeddate_.InternalSwap(&other->_impl_.islastchangeddate_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.info_, &other->_impl_.info_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.islastchangedauthorid_, &other->_impl_.islastchangedauthorid_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.slotid_) + + sizeof(TusSetDataRequest::_impl_.slotid_) + - PROTOBUF_FIELD_OFFSET(TusSetDataRequest, _impl_.user_)>( + reinterpret_cast(&_impl_.user_), + reinterpret_cast(&other->_impl_.user_)); +} + +// =================================================================== + +class TusDataStatus::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_._has_bits_); +}; + +TusDataStatus::TusDataStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDataStatus_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusDataStatus) +} +PROTOBUF_NDEBUG_INLINE TusDataStatus::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusDataStatus& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + ownerid_(arena, from.ownerid_), + lastchangedauthorid_(arena, from.lastchangedauthorid_), + info_(arena, from.info_) {} + +TusDataStatus::TusDataStatus( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusDataStatus& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDataStatus_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusDataStatus* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, lastchangeddate_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, lastchangeddate_), + offsetof(Impl_, hasdata_) - + offsetof(Impl_, lastchangeddate_) + + sizeof(Impl_::hasdata_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusDataStatus) +} +PROTOBUF_NDEBUG_INLINE TusDataStatus::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + ownerid_(arena), + lastchangedauthorid_(arena), + info_(arena) {} + +inline void TusDataStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lastchangeddate_), + 0, + offsetof(Impl_, hasdata_) - + offsetof(Impl_, lastchangeddate_) + + sizeof(Impl_::hasdata_)); +} +TusDataStatus::~TusDataStatus() { + // @@protoc_insertion_point(destructor:np2_structs.TusDataStatus) + SharedDtor(*this); +} +inline void TusDataStatus::SharedDtor(MessageLite& self) { + TusDataStatus& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.ownerid_.Destroy(); + this_._impl_.lastchangedauthorid_.Destroy(); + this_._impl_.info_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusDataStatus::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusDataStatus(arena); +} +constexpr auto TusDataStatus::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusDataStatus), + alignof(TusDataStatus)); +} +constexpr auto TusDataStatus::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<26>{ + { + &_TusDataStatus_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusDataStatus::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusDataStatus::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusDataStatus::ByteSizeLong, + &TusDataStatus::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_._cached_size_), + true, + }, + "np2_structs.TusDataStatus", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<26> TusDataStatus_class_data_ = + TusDataStatus::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusDataStatus::GetClassData() const { + return TusDataStatus_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 60, 2> +TusDataStatus::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + TusDataStatus_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusDataStatus>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string ownerId = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.ownerid_)}}, + // bool hasData = 2; + {::_pbi::TcParser::FastV8S1, + {16, 4, 0, + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.hasdata_)}}, + // uint64 lastChangedDate = 3; + {::_pbi::TcParser::FastV64S1, + {24, 3, 0, + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangeddate_)}}, + // string lastChangedAuthorId = 4; + {::_pbi::TcParser::FastUS1, + {34, 1, 0, + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangedauthorid_)}}, + // bytes info = 5; + {::_pbi::TcParser::FastBS1, + {42, 2, 0, + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.info_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string ownerId = 1; + {PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.ownerid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bool hasData = 2; + {PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.hasdata_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // uint64 lastChangedDate = 3; + {PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangeddate_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // string lastChangedAuthorId = 4; + {PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangedauthorid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bytes info = 5; + {PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.info_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\31\7\0\0\23\0\0\0" + "np2_structs.TusDataStatus" + "ownerId" + "lastChangedAuthorId" + }}, +}; +PROTOBUF_NOINLINE void TusDataStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusDataStatus) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.ownerid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.lastchangedauthorid_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.info_.ClearNonDefaultToEmpty(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) { + ::memset(&_impl_.lastchangeddate_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.hasdata_) - + reinterpret_cast(&_impl_.lastchangeddate_)) + sizeof(_impl_.hasdata_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusDataStatus::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusDataStatus& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusDataStatus::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusDataStatus& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDataStatus) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string ownerId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_ownerid().empty()) { + const ::std::string& _s = this_._internal_ownerid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusDataStatus.ownerId"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // bool hasData = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_hasdata() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_hasdata(), target); + } + } + + // uint64 lastChangedDate = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_lastchangeddate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 3, this_._internal_lastchangeddate(), target); + } + } + + // string lastChangedAuthorId = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_lastchangedauthorid().empty()) { + const ::std::string& _s = this_._internal_lastchangedauthorid(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.TusDataStatus.lastChangedAuthorId"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + } + + // bytes info = 5; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_info().empty()) { + const ::std::string& _s = this_._internal_info(); + target = stream->WriteBytesMaybeAliased(5, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDataStatus) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusDataStatus::ByteSizeLong(const MessageLite& base) { + const TusDataStatus& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusDataStatus::ByteSizeLong() const { + const TusDataStatus& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDataStatus) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // string ownerId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_ownerid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_ownerid()); + } + } + // string lastChangedAuthorId = 4; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_lastchangedauthorid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_lastchangedauthorid()); + } + } + // bytes info = 5; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_info().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_info()); + } + } + // uint64 lastChangedDate = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_lastchangeddate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_lastchangeddate()); + } + } + // bool hasData = 2; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_hasdata() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusDataStatus::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDataStatus) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_ownerid().empty()) { + _this->_internal_set_ownerid(from._internal_ownerid()); + } else { + if (_this->_impl_.ownerid_.IsDefault()) { + _this->_internal_set_ownerid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_lastchangedauthorid().empty()) { + _this->_internal_set_lastchangedauthorid(from._internal_lastchangedauthorid()); + } else { + if (_this->_impl_.lastchangedauthorid_.IsDefault()) { + _this->_internal_set_lastchangedauthorid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_info().empty()) { + _this->_internal_set_info(from._internal_info()); + } else { + if (_this->_impl_.info_.IsDefault()) { + _this->_internal_set_info(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_lastchangeddate() != 0) { + _this->_impl_.lastchangeddate_ = from._impl_.lastchangeddate_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_hasdata() != 0) { + _this->_impl_.hasdata_ = from._impl_.hasdata_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusDataStatus::CopyFrom(const TusDataStatus& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDataStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusDataStatus::InternalSwap(TusDataStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ownerid_, &other->_impl_.ownerid_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lastchangedauthorid_, &other->_impl_.lastchangedauthorid_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.info_, &other->_impl_.info_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.hasdata_) + + sizeof(TusDataStatus::_impl_.hasdata_) + - PROTOBUF_FIELD_OFFSET(TusDataStatus, _impl_.lastchangeddate_)>( + reinterpret_cast(&_impl_.lastchangeddate_), + reinterpret_cast(&other->_impl_.lastchangeddate_)); +} + +// =================================================================== + +class TusData::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusData, _impl_._has_bits_); +}; + +TusData::TusData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusData) +} +PROTOBUF_NDEBUG_INLINE TusData::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusData& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + data_(arena, from.data_) {} + +TusData::TusData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusData& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusData_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusData* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.status_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.status_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusData) +} +PROTOBUF_NDEBUG_INLINE TusData::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + data_(arena) {} + +inline void TusData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.status_ = {}; +} +TusData::~TusData() { + // @@protoc_insertion_point(destructor:np2_structs.TusData) + SharedDtor(*this); +} +inline void TusData::SharedDtor(MessageLite& self) { + TusData& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.data_.Destroy(); + delete this_._impl_.status_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusData::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusData(arena); +} +constexpr auto TusData::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TusData), + alignof(TusData)); +} +constexpr auto TusData::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<20>{ + { + &_TusData_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusData::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusData::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusData::ByteSizeLong, + &TusData::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusData, _impl_._cached_size_), + true, + }, + "np2_structs.TusData", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<20> TusData_class_data_ = + TusData::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusData::GetClassData() const { + return TusData_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusData::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusData, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusData_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusData>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes data = 2; + {::_pbi::TcParser::FastBS1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusData, _impl_.data_)}}, + // .np2_structs.TusDataStatus status = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(TusData, _impl_.status_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusDataStatus status = 1; + {PROTOBUF_FIELD_OFFSET(TusData, _impl_.status_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // bytes data = 2; + {PROTOBUF_FIELD_OFFSET(TusData, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusDataStatus>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusData::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusData) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.status_ != nullptr); + _impl_.status_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusData::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusData::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusData) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusDataStatus status = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, + stream); + } + + // bytes data = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(2, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusData) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusData::ByteSizeLong(const MessageLite& base) { + const TusData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusData::ByteSizeLong() const { + const TusData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusData) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // bytes data = 2; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // .np2_structs.TusDataStatus status = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusData::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusData) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.status_ != nullptr); + if (_this->_impl_.status_ == nullptr) { + _this->_impl_.status_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.status_); + } else { + _this->_impl_.status_->MergeFrom(*from._impl_.status_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusData::CopyFrom(const TusData& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusData::InternalSwap(TusData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + swap(_impl_.status_, other->_impl_.status_); +} + +// =================================================================== + +class TusDataStatusResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_._has_bits_); +}; + +TusDataStatusResponse::TusDataStatusResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDataStatusResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusDataStatusResponse) +} +PROTOBUF_NDEBUG_INLINE TusDataStatusResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusDataStatusResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + status_{visibility, arena, from.status_} {} + +TusDataStatusResponse::TusDataStatusResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusDataStatusResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDataStatusResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusDataStatusResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusDataStatusResponse) +} +PROTOBUF_NDEBUG_INLINE TusDataStatusResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + status_{visibility, arena} {} + +inline void TusDataStatusResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +TusDataStatusResponse::~TusDataStatusResponse() { + // @@protoc_insertion_point(destructor:np2_structs.TusDataStatusResponse) + SharedDtor(*this); +} +inline void TusDataStatusResponse::SharedDtor(MessageLite& self) { + TusDataStatusResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusDataStatusResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusDataStatusResponse(arena); +} +constexpr auto TusDataStatusResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_.status_) + + decltype(TusDataStatusResponse::_impl_.status_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusDataStatusResponse), alignof(TusDataStatusResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusDataStatusResponse::PlacementNew_, + sizeof(TusDataStatusResponse), + alignof(TusDataStatusResponse)); + } +} +constexpr auto TusDataStatusResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<34>{ + { + &_TusDataStatusResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusDataStatusResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusDataStatusResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusDataStatusResponse::ByteSizeLong, + &TusDataStatusResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_._cached_size_), + true, + }, + "np2_structs.TusDataStatusResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<34> TusDataStatusResponse_class_data_ = + TusDataStatusResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusDataStatusResponse::GetClassData() const { + return TusDataStatusResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +TusDataStatusResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusDataStatusResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusDataStatusResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.TusDataStatus status = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_.status_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.TusDataStatus status = 1; + {PROTOBUF_FIELD_OFFSET(TusDataStatusResponse, _impl_.status_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusDataStatus>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusDataStatusResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusDataStatusResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.status_.Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusDataStatusResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusDataStatusResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusDataStatusResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusDataStatusResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDataStatusResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.TusDataStatus status = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_status_size()); + i < n; i++) { + const auto& repfield = this_._internal_status().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDataStatusResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusDataStatusResponse::ByteSizeLong(const MessageLite& base) { + const TusDataStatusResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusDataStatusResponse::ByteSizeLong() const { + const TusDataStatusResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDataStatusResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .np2_structs.TusDataStatus status = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_status_size(); + for (const auto& msg : this_._internal_status()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusDataStatusResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDataStatusResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_status()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_status()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusDataStatusResponse::CopyFrom(const TusDataStatusResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDataStatusResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusDataStatusResponse::InternalSwap(TusDataStatusResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.status_.InternalSwap(&other->_impl_.status_); +} + +// =================================================================== + +class TusGetDataRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_._has_bits_); +}; + +TusGetDataRequest::TusGetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetDataRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusGetDataRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TusGetDataRequest::TusGetDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusGetDataRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusGetDataRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + _impl_.slotid_ = from._impl_.slotid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusGetDataRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void TusGetDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, user_), + 0, + offsetof(Impl_, slotid_) - + offsetof(Impl_, user_) + + sizeof(Impl_::slotid_)); +} +TusGetDataRequest::~TusGetDataRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetDataRequest) + SharedDtor(*this); +} +inline void TusGetDataRequest::SharedDtor(MessageLite& self) { + TusGetDataRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetDataRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetDataRequest(arena); +} +constexpr auto TusGetDataRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TusGetDataRequest), + alignof(TusGetDataRequest)); +} +constexpr auto TusGetDataRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<30>{ + { + &_TusGetDataRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetDataRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetDataRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetDataRequest::ByteSizeLong, + &TusGetDataRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetDataRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<30> TusGetDataRequest_class_data_ = + TusGetDataRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetDataRequest::GetClassData() const { + return TusGetDataRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusGetDataRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusGetDataRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetDataRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // int32 slotId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.slotid_)}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.user_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.user_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 slotId = 2; + {PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetDataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetDataRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + _impl_.slotid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetDataRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetDataRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetDataRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_slotid(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetDataRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetDataRequest::ByteSizeLong(const MessageLite& base) { + const TusGetDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetDataRequest::ByteSizeLong() const { + const TusGetDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetDataRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetDataRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetDataRequest::CopyFrom(const TusGetDataRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetDataRequest::InternalSwap(TusGetDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.slotid_) + + sizeof(TusGetDataRequest::_impl_.slotid_) + - PROTOBUF_FIELD_OFFSET(TusGetDataRequest, _impl_.user_)>( + reinterpret_cast(&_impl_.user_), + reinterpret_cast(&other->_impl_.user_)); +} + +// =================================================================== + +class TusGetMultiSlotDataStatusRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_._has_bits_); +}; + +TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiSlotDataStatusRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiSlotDataStatusRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiSlotDataStatusRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusGetMultiSlotDataStatusRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + slotidarray_{visibility, arena, from.slotidarray_}, + _slotidarray_cached_byte_size_{0} {} + +TusGetMultiSlotDataStatusRequest::TusGetMultiSlotDataStatusRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusGetMultiSlotDataStatusRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiSlotDataStatusRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusGetMultiSlotDataStatusRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiSlotDataStatusRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiSlotDataStatusRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + slotidarray_{visibility, arena}, + _slotidarray_cached_byte_size_{0} {} + +inline void TusGetMultiSlotDataStatusRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.user_ = {}; +} +TusGetMultiSlotDataStatusRequest::~TusGetMultiSlotDataStatusRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetMultiSlotDataStatusRequest) + SharedDtor(*this); +} +inline void TusGetMultiSlotDataStatusRequest::SharedDtor(MessageLite& self) { + TusGetMultiSlotDataStatusRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetMultiSlotDataStatusRequest(arena); +} +constexpr auto TusGetMultiSlotDataStatusRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.slotidarray_) + + decltype(TusGetMultiSlotDataStatusRequest::_impl_.slotidarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusGetMultiSlotDataStatusRequest), alignof(TusGetMultiSlotDataStatusRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusGetMultiSlotDataStatusRequest::PlacementNew_, + sizeof(TusGetMultiSlotDataStatusRequest), + alignof(TusGetMultiSlotDataStatusRequest)); + } +} +constexpr auto TusGetMultiSlotDataStatusRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<45>{ + { + &_TusGetMultiSlotDataStatusRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetMultiSlotDataStatusRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetMultiSlotDataStatusRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetMultiSlotDataStatusRequest::ByteSizeLong, + &TusGetMultiSlotDataStatusRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetMultiSlotDataStatusRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiSlotDataStatusRequest_class_data_ = + TusGetMultiSlotDataStatusRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetMultiSlotDataStatusRequest::GetClassData() const { + return TusGetMultiSlotDataStatusRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusGetMultiSlotDataStatusRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusGetMultiSlotDataStatusRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiSlotDataStatusRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated int32 slotIdArray = 2; + {::_pbi::TcParser::FastV32P1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.slotidarray_)}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.user_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated int32 slotIdArray = 2; + {PROTOBUF_FIELD_OFFSET(TusGetMultiSlotDataStatusRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetMultiSlotDataStatusRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiSlotDataStatusRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.slotidarray_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetMultiSlotDataStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetMultiSlotDataStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiSlotDataStatusRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt32Packed( + 2, this_._internal_slotidarray(), byte_size, target); + } + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiSlotDataStatusRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetMultiSlotDataStatusRequest::ByteSizeLong(const MessageLite& base) { + const TusGetMultiSlotDataStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetMultiSlotDataStatusRequest::ByteSizeLong() const { + const TusGetMultiSlotDataStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiSlotDataStatusRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize( + this_._internal_slotidarray(), 1, + this_._impl_._slotidarray_cached_byte_size_); + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetMultiSlotDataStatusRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiSlotDataStatusRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetMultiSlotDataStatusRequest::CopyFrom(const TusGetMultiSlotDataStatusRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiSlotDataStatusRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetMultiSlotDataStatusRequest::InternalSwap(TusGetMultiSlotDataStatusRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_); + swap(_impl_.user_, other->_impl_.user_); +} + +// =================================================================== + +class TusGetMultiUserDataStatusRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_._has_bits_); +}; + +TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiUserDataStatusRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetMultiUserDataStatusRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiUserDataStatusRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusGetMultiUserDataStatusRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + users_{visibility, arena, from.users_} {} + +TusGetMultiUserDataStatusRequest::TusGetMultiUserDataStatusRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusGetMultiUserDataStatusRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetMultiUserDataStatusRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusGetMultiUserDataStatusRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.slotid_ = from._impl_.slotid_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusGetMultiUserDataStatusRequest) +} +PROTOBUF_NDEBUG_INLINE TusGetMultiUserDataStatusRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + users_{visibility, arena} {} + +inline void TusGetMultiUserDataStatusRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.slotid_ = {}; +} +TusGetMultiUserDataStatusRequest::~TusGetMultiUserDataStatusRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetMultiUserDataStatusRequest) + SharedDtor(*this); +} +inline void TusGetMultiUserDataStatusRequest::SharedDtor(MessageLite& self) { + TusGetMultiUserDataStatusRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetMultiUserDataStatusRequest(arena); +} +constexpr auto TusGetMultiUserDataStatusRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.users_) + + decltype(TusGetMultiUserDataStatusRequest::_impl_.users_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusGetMultiUserDataStatusRequest), alignof(TusGetMultiUserDataStatusRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusGetMultiUserDataStatusRequest::PlacementNew_, + sizeof(TusGetMultiUserDataStatusRequest), + alignof(TusGetMultiUserDataStatusRequest)); + } +} +constexpr auto TusGetMultiUserDataStatusRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<45>{ + { + &_TusGetMultiUserDataStatusRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetMultiUserDataStatusRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetMultiUserDataStatusRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetMultiUserDataStatusRequest::ByteSizeLong, + &TusGetMultiUserDataStatusRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetMultiUserDataStatusRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiUserDataStatusRequest_class_data_ = + TusGetMultiUserDataStatusRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetMultiUserDataStatusRequest::GetClassData() const { + return TusGetMultiUserDataStatusRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusGetMultiUserDataStatusRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusGetMultiUserDataStatusRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetMultiUserDataStatusRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // int32 slotId = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.slotid_)}}, + // repeated .np2_structs.TusUser users = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.users_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.TusUser users = 1; + {PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.users_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 slotId = 2; + {PROTOBUF_FIELD_OFFSET(TusGetMultiUserDataStatusRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetMultiUserDataStatusRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetMultiUserDataStatusRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.users_.Clear(); + } + _impl_.slotid_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetMultiUserDataStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetMultiUserDataStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetMultiUserDataStatusRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.TusUser users = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_users_size()); + i < n; i++) { + const auto& repfield = this_._internal_users().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( + stream, this_._internal_slotid(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetMultiUserDataStatusRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetMultiUserDataStatusRequest::ByteSizeLong(const MessageLite& base) { + const TusGetMultiUserDataStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetMultiUserDataStatusRequest::ByteSizeLong() const { + const TusGetMultiUserDataStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetMultiUserDataStatusRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.TusUser users = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_users_size(); + for (const auto& msg : this_._internal_users()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // int32 slotId = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetMultiUserDataStatusRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetMultiUserDataStatusRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_users()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_users()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetMultiUserDataStatusRequest::CopyFrom(const TusGetMultiUserDataStatusRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetMultiUserDataStatusRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetMultiUserDataStatusRequest::InternalSwap(TusGetMultiUserDataStatusRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.users_.InternalSwap(&other->_impl_.users_); + swap(_impl_.slotid_, other->_impl_.slotid_); +} + +// =================================================================== + +class TusGetFriendsDataStatusRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_._has_bits_); +}; + +TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetFriendsDataStatusRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusGetFriendsDataStatusRequest) +} +TusGetFriendsDataStatusRequest::TusGetFriendsDataStatusRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetFriendsDataStatusRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusGetFriendsDataStatusRequest_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE TusGetFriendsDataStatusRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void TusGetFriendsDataStatusRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, slotid_), + 0, + offsetof(Impl_, arraynum_) - + offsetof(Impl_, slotid_) + + sizeof(Impl_::arraynum_)); +} +TusGetFriendsDataStatusRequest::~TusGetFriendsDataStatusRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusGetFriendsDataStatusRequest) + SharedDtor(*this); +} +inline void TusGetFriendsDataStatusRequest::SharedDtor(MessageLite& self) { + TusGetFriendsDataStatusRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusGetFriendsDataStatusRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusGetFriendsDataStatusRequest(arena); +} +constexpr auto TusGetFriendsDataStatusRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TusGetFriendsDataStatusRequest), + alignof(TusGetFriendsDataStatusRequest)); +} +constexpr auto TusGetFriendsDataStatusRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<43>{ + { + &_TusGetFriendsDataStatusRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusGetFriendsDataStatusRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusGetFriendsDataStatusRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusGetFriendsDataStatusRequest::ByteSizeLong, + &TusGetFriendsDataStatusRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusGetFriendsDataStatusRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<43> TusGetFriendsDataStatusRequest_class_data_ = + TusGetFriendsDataStatusRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusGetFriendsDataStatusRequest::GetClassData() const { + return TusGetFriendsDataStatusRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> +TusGetFriendsDataStatusRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + TusGetFriendsDataStatusRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusGetFriendsDataStatusRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 arrayNum = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.arraynum_)}}, + // int32 slotId = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.slotid_)}}, + // bool includeSelf = 2; + {::_pbi::TcParser::FastV8S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.includeself_)}}, + // int32 sortType = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.sorttype_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 slotId = 1; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.slotid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // bool includeSelf = 2; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.includeself_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // int32 sortType = 3; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.sorttype_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, + // uint32 arrayNum = 4; + {PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.arraynum_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void TusGetFriendsDataStatusRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusGetFriendsDataStatusRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + ::memset(&_impl_.slotid_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.arraynum_) - + reinterpret_cast(&_impl_.slotid_)) + sizeof(_impl_.arraynum_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusGetFriendsDataStatusRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusGetFriendsDataStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusGetFriendsDataStatusRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusGetFriendsDataStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusGetFriendsDataStatusRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // int32 slotId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_slotid() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( + stream, this_._internal_slotid(), target); + } + } + + // bool includeSelf = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_includeself() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_includeself(), target); + } + } + + // int32 sortType = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_sorttype() != 0) { + target = + ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( + stream, this_._internal_sorttype(), target); + } + } + + // uint32 arrayNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_arraynum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_arraynum(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusGetFriendsDataStatusRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusGetFriendsDataStatusRequest::ByteSizeLong(const MessageLite& base) { + const TusGetFriendsDataStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusGetFriendsDataStatusRequest::ByteSizeLong() const { + const TusGetFriendsDataStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusGetFriendsDataStatusRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // int32 slotId = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_slotid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_slotid()); + } + } + // bool includeSelf = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_includeself() != 0) { + total_size += 2; + } + } + // int32 sortType = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_sorttype() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_sorttype()); + } + } + // uint32 arrayNum = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_arraynum() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_arraynum()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusGetFriendsDataStatusRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusGetFriendsDataStatusRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_slotid() != 0) { + _this->_impl_.slotid_ = from._impl_.slotid_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_includeself() != 0) { + _this->_impl_.includeself_ = from._impl_.includeself_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_sorttype() != 0) { + _this->_impl_.sorttype_ = from._impl_.sorttype_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_arraynum() != 0) { + _this->_impl_.arraynum_ = from._impl_.arraynum_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusGetFriendsDataStatusRequest::CopyFrom(const TusGetFriendsDataStatusRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusGetFriendsDataStatusRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusGetFriendsDataStatusRequest::InternalSwap(TusGetFriendsDataStatusRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.arraynum_) + + sizeof(TusGetFriendsDataStatusRequest::_impl_.arraynum_) + - PROTOBUF_FIELD_OFFSET(TusGetFriendsDataStatusRequest, _impl_.slotid_)>( + reinterpret_cast(&_impl_.slotid_), + reinterpret_cast(&other->_impl_.slotid_)); +} + +// =================================================================== + +class TusDeleteMultiSlotDataRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_._has_bits_); +}; + +TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.TusDeleteMultiSlotDataRequest) +} +PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::TusDeleteMultiSlotDataRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + slotidarray_{visibility, arena, from.slotidarray_}, + _slotidarray_cached_byte_size_{0} {} + +TusDeleteMultiSlotDataRequest::TusDeleteMultiSlotDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const TusDeleteMultiSlotDataRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, TusDeleteMultiSlotDataRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TusDeleteMultiSlotDataRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.user_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.TusDeleteMultiSlotDataRequest) +} +PROTOBUF_NDEBUG_INLINE TusDeleteMultiSlotDataRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + slotidarray_{visibility, arena}, + _slotidarray_cached_byte_size_{0} {} + +inline void TusDeleteMultiSlotDataRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.user_ = {}; +} +TusDeleteMultiSlotDataRequest::~TusDeleteMultiSlotDataRequest() { + // @@protoc_insertion_point(destructor:np2_structs.TusDeleteMultiSlotDataRequest) + SharedDtor(*this); +} +inline void TusDeleteMultiSlotDataRequest::SharedDtor(MessageLite& self) { + TusDeleteMultiSlotDataRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.user_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) TusDeleteMultiSlotDataRequest(arena); +} +constexpr auto TusDeleteMultiSlotDataRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.slotidarray_) + + decltype(TusDeleteMultiSlotDataRequest::_impl_.slotidarray_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(TusDeleteMultiSlotDataRequest), alignof(TusDeleteMultiSlotDataRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&TusDeleteMultiSlotDataRequest::PlacementNew_, + sizeof(TusDeleteMultiSlotDataRequest), + alignof(TusDeleteMultiSlotDataRequest)); + } +} +constexpr auto TusDeleteMultiSlotDataRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<42>{ + { + &_TusDeleteMultiSlotDataRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TusDeleteMultiSlotDataRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TusDeleteMultiSlotDataRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &TusDeleteMultiSlotDataRequest::ByteSizeLong, + &TusDeleteMultiSlotDataRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_._cached_size_), + true, + }, + "np2_structs.TusDeleteMultiSlotDataRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<42> TusDeleteMultiSlotDataRequest_class_data_ = + TusDeleteMultiSlotDataRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +TusDeleteMultiSlotDataRequest::GetClassData() const { + return TusDeleteMultiSlotDataRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +TusDeleteMultiSlotDataRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + TusDeleteMultiSlotDataRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::TusDeleteMultiSlotDataRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated int32 slotIdArray = 2; + {::_pbi::TcParser::FastV32P1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.slotidarray_)}}, + // .np2_structs.TusUser user = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.user_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.TusUser user = 1; + {PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.user_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated int32 slotIdArray = 2; + {PROTOBUF_FIELD_OFFSET(TusDeleteMultiSlotDataRequest, _impl_.slotidarray_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::TusUser>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void TusDeleteMultiSlotDataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.TusDeleteMultiSlotDataRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.slotidarray_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.user_ != nullptr); + _impl_.user_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const TusDeleteMultiSlotDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const TusDeleteMultiSlotDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.TusDeleteMultiSlotDataRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.user_, this_._impl_.user_->GetCachedSize(), target, + stream); + } + + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + { + int byte_size = this_._impl_._slotidarray_cached_byte_size_.Get(); + if (byte_size > 0) { + target = stream->WriteInt32Packed( + 2, this_._internal_slotidarray(), byte_size, target); + } + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.TusDeleteMultiSlotDataRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t TusDeleteMultiSlotDataRequest::ByteSizeLong(const MessageLite& base) { + const TusDeleteMultiSlotDataRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t TusDeleteMultiSlotDataRequest::ByteSizeLong() const { + const TusDeleteMultiSlotDataRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.TusDeleteMultiSlotDataRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated int32 slotIdArray = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += + ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize( + this_._internal_slotidarray(), 1, + this_._impl_._slotidarray_cached_byte_size_); + } + // .np2_structs.TusUser user = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.user_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void TusDeleteMultiSlotDataRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.TusDeleteMultiSlotDataRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_slotidarray()->MergeFrom(from._internal_slotidarray()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.user_ != nullptr); + if (_this->_impl_.user_ == nullptr) { + _this->_impl_.user_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.user_); + } else { + _this->_impl_.user_->MergeFrom(*from._impl_.user_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void TusDeleteMultiSlotDataRequest::CopyFrom(const TusDeleteMultiSlotDataRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.TusDeleteMultiSlotDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TusDeleteMultiSlotDataRequest::InternalSwap(TusDeleteMultiSlotDataRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.slotidarray_.InternalSwap(&other->_impl_.slotidarray_); + swap(_impl_.user_, other->_impl_.user_); +} + +// =================================================================== + +class SetPresenceRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_._has_bits_); +}; + +SetPresenceRequest::SetPresenceRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetPresenceRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SetPresenceRequest) +} +PROTOBUF_NDEBUG_INLINE SetPresenceRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SetPresenceRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + title_(arena, from.title_), + status_(arena, from.status_), + comment_(arena, from.comment_), + data_(arena, from.data_) {} + +SetPresenceRequest::SetPresenceRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SetPresenceRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetPresenceRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetPresenceRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.SetPresenceRequest) +} +PROTOBUF_NDEBUG_INLINE SetPresenceRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + title_(arena), + status_(arena), + comment_(arena), + data_(arena) {} + +inline void SetPresenceRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +SetPresenceRequest::~SetPresenceRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SetPresenceRequest) + SharedDtor(*this); +} +inline void SetPresenceRequest::SharedDtor(MessageLite& self) { + SetPresenceRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.title_.Destroy(); + this_._impl_.status_.Destroy(); + this_._impl_.comment_.Destroy(); + this_._impl_.data_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SetPresenceRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SetPresenceRequest(arena); +} +constexpr auto SetPresenceRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SetPresenceRequest), + alignof(SetPresenceRequest)); +} +constexpr auto SetPresenceRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_SetPresenceRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetPresenceRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetPresenceRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SetPresenceRequest::ByteSizeLong, + &SetPresenceRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SetPresenceRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> SetPresenceRequest_class_data_ = + SetPresenceRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetPresenceRequest::GetClassData() const { + return SetPresenceRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 57, 2> +SetPresenceRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + SetPresenceRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SetPresenceRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes data = 4; + {::_pbi::TcParser::FastBS1, + {34, 3, 0, + PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.data_)}}, + // string title = 1; + {::_pbi::TcParser::FastUS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.title_)}}, + // string status = 2; + {::_pbi::TcParser::FastUS1, + {18, 1, 0, + PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.status_)}}, + // string comment = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, + PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.comment_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string title = 1; + {PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.title_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string status = 2; + {PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.status_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string comment = 3; + {PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.comment_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bytes data = 4; + {PROTOBUF_FIELD_OFFSET(SetPresenceRequest, _impl_.data_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\36\5\6\7\0\0\0\0" + "np2_structs.SetPresenceRequest" + "title" + "status" + "comment" + }}, +}; +PROTOBUF_NOINLINE void SetPresenceRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SetPresenceRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.title_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.status_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.comment_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SetPresenceRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetPresenceRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetPresenceRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SetPresenceRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetPresenceRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // string title = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_title().empty()) { + const ::std::string& _s = this_._internal_title(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SetPresenceRequest.title"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + } + + // string status = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_status().empty()) { + const ::std::string& _s = this_._internal_status(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SetPresenceRequest.status"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + } + + // string comment = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_comment().empty()) { + const ::std::string& _s = this_._internal_comment(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.SetPresenceRequest.comment"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + } + + // bytes data = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(4, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetPresenceRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SetPresenceRequest::ByteSizeLong(const MessageLite& base) { + const SetPresenceRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SetPresenceRequest::ByteSizeLong() const { + const SetPresenceRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SetPresenceRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // string title = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_title().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_title()); + } + } + // string status = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_status().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_status()); + } + } + // string comment = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_comment().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_comment()); + } + } + // bytes data = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SetPresenceRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetPresenceRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_title().empty()) { + _this->_internal_set_title(from._internal_title()); + } else { + if (_this->_impl_.title_.IsDefault()) { + _this->_internal_set_title(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_status().empty()) { + _this->_internal_set_status(from._internal_status()); + } else { + if (_this->_impl_.status_.IsDefault()) { + _this->_internal_set_status(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_comment().empty()) { + _this->_internal_set_comment(from._internal_comment()); + } else { + if (_this->_impl_.comment_.IsDefault()) { + _this->_internal_set_comment(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SetPresenceRequest::CopyFrom(const SetPresenceRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetPresenceRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SetPresenceRequest::InternalSwap(SetPresenceRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_, &other->_impl_.status_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.comment_, &other->_impl_.comment_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); +} + +// =================================================================== + +class MatchingSearchCondition::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_._has_bits_); +}; + +MatchingSearchCondition::MatchingSearchCondition(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingSearchCondition_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSearchCondition) +} +MatchingSearchCondition::MatchingSearchCondition( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingSearchCondition& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingSearchCondition_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(from._impl_) { + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} +PROTOBUF_NDEBUG_INLINE MatchingSearchCondition::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void MatchingSearchCondition::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, attr_type_), + 0, + offsetof(Impl_, comp_value_) - + offsetof(Impl_, attr_type_) + + sizeof(Impl_::comp_value_)); +} +MatchingSearchCondition::~MatchingSearchCondition() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingSearchCondition) + SharedDtor(*this); +} +inline void MatchingSearchCondition::SharedDtor(MessageLite& self) { + MatchingSearchCondition& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingSearchCondition::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingSearchCondition(arena); +} +constexpr auto MatchingSearchCondition::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MatchingSearchCondition), + alignof(MatchingSearchCondition)); +} +constexpr auto MatchingSearchCondition::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<36>{ + { + &_MatchingSearchCondition_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingSearchCondition::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingSearchCondition::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingSearchCondition::ByteSizeLong, + &MatchingSearchCondition::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingSearchCondition", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<36> MatchingSearchCondition_class_data_ = + MatchingSearchCondition::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingSearchCondition::GetClassData() const { + return MatchingSearchCondition_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> +MatchingSearchCondition::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + MatchingSearchCondition_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 comp_value = 4; + {::_pbi::TcParser::FastV32S1, + {32, 3, 0, + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_value_)}}, + // uint32 attr_type = 1; + {::_pbi::TcParser::FastV32S1, + {8, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_type_)}}, + // uint32 attr_id = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_id_)}}, + // uint32 comp_op = 3; + {::_pbi::TcParser::FastV32S1, + {24, 2, 0, + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_op_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 attr_type = 1; + {PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_type_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 attr_id = 2; + {PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 comp_op = 3; + {PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_op_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 comp_value = 4; + {PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void MatchingSearchCondition::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSearchCondition) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + ::memset(&_impl_.attr_type_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.comp_value_) - + reinterpret_cast(&_impl_.attr_type_)) + sizeof(_impl_.comp_value_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingSearchCondition::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingSearchCondition& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingSearchCondition::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingSearchCondition& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSearchCondition) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 attr_type = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_attr_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_attr_type(), target); + } + } + + // uint32 attr_id = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_attr_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_attr_id(), target); + } + } + + // uint32 comp_op = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_comp_op() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_comp_op(), target); + } + } + + // uint32 comp_value = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_comp_value() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_comp_value(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSearchCondition) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingSearchCondition::ByteSizeLong(const MessageLite& base) { + const MatchingSearchCondition& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingSearchCondition::ByteSizeLong() const { + const MatchingSearchCondition& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSearchCondition) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // uint32 attr_type = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (this_._internal_attr_type() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_attr_type()); + } + } + // uint32 attr_id = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_attr_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_attr_id()); + } + } + // uint32 comp_op = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_comp_op() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_comp_op()); + } + } + // uint32 comp_value = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_comp_value() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_comp_value()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingSearchCondition::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSearchCondition) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (from._internal_attr_type() != 0) { + _this->_impl_.attr_type_ = from._impl_.attr_type_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_attr_id() != 0) { + _this->_impl_.attr_id_ = from._impl_.attr_id_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_comp_op() != 0) { + _this->_impl_.comp_op_ = from._impl_.comp_op_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_comp_value() != 0) { + _this->_impl_.comp_value_ = from._impl_.comp_value_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingSearchCondition::CopyFrom(const MatchingSearchCondition& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSearchCondition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingSearchCondition::InternalSwap(MatchingSearchCondition* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.comp_value_) + + sizeof(MatchingSearchCondition::_impl_.comp_value_) + - PROTOBUF_FIELD_OFFSET(MatchingSearchCondition, _impl_.attr_type_)>( + reinterpret_cast(&_impl_.attr_type_), + reinterpret_cast(&other->_impl_.attr_type_)); +} + +// =================================================================== + +class MatchingAttr::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_._has_bits_); +}; + +MatchingAttr::MatchingAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingAttr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingAttr) +} +PROTOBUF_NDEBUG_INLINE MatchingAttr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingAttr& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + data_(arena, from.data_) {} + +MatchingAttr::MatchingAttr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingAttr& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingAttr_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingAttr* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, attr_type_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, attr_type_), + offsetof(Impl_, num_) - + offsetof(Impl_, attr_type_) + + sizeof(Impl_::num_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingAttr) +} +PROTOBUF_NDEBUG_INLINE MatchingAttr::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + data_(arena) {} + +inline void MatchingAttr::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, attr_type_), + 0, + offsetof(Impl_, num_) - + offsetof(Impl_, attr_type_) + + sizeof(Impl_::num_)); +} +MatchingAttr::~MatchingAttr() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingAttr) + SharedDtor(*this); +} +inline void MatchingAttr::SharedDtor(MessageLite& self) { + MatchingAttr& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.data_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingAttr::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingAttr(arena); +} +constexpr auto MatchingAttr::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingAttr), + alignof(MatchingAttr)); +} +constexpr auto MatchingAttr::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<25>{ + { + &_MatchingAttr_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingAttr::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingAttr::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingAttr::ByteSizeLong, + &MatchingAttr::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingAttr", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<25> MatchingAttr_class_data_ = + MatchingAttr::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingAttr::GetClassData() const { + return MatchingAttr_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> +MatchingAttr::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + MatchingAttr_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes data = 4; + {::_pbi::TcParser::FastBS1, + {34, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.data_)}}, + // uint32 attr_type = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_type_)}}, + // uint32 attr_id = 2; + {::_pbi::TcParser::FastV32S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_id_)}}, + // uint32 num = 3; + {::_pbi::TcParser::FastV32S1, + {24, 3, 0, + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.num_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 attr_type = 1; + {PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 attr_id = 2; + {PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 num = 3; + {PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.num_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bytes data = 4; + {PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void MatchingAttr::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingAttr) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.data_.ClearNonDefaultToEmpty(); + } + if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) { + ::memset(&_impl_.attr_type_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.num_) - + reinterpret_cast(&_impl_.attr_type_)) + sizeof(_impl_.num_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingAttr::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingAttr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingAttr::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingAttr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingAttr) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 attr_type = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_attr_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_attr_type(), target); + } + } + + // uint32 attr_id = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_attr_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_attr_id(), target); + } + } + + // uint32 num = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_num() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_num(), target); + } + } + + // bytes data = 4; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + const ::std::string& _s = this_._internal_data(); + target = stream->WriteBytesMaybeAliased(4, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingAttr) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingAttr::ByteSizeLong(const MessageLite& base) { + const MatchingAttr& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingAttr::ByteSizeLong() const { + const MatchingAttr& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingAttr) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // bytes data = 4; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_data().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_data()); + } + } + // uint32 attr_type = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_attr_type() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_attr_type()); + } + } + // uint32 attr_id = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_attr_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_attr_id()); + } + } + // uint32 num = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_num() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_num()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingAttr::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingAttr) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } else { + if (_this->_impl_.data_.IsDefault()) { + _this->_internal_set_data(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_attr_type() != 0) { + _this->_impl_.attr_type_ = from._impl_.attr_type_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_attr_id() != 0) { + _this->_impl_.attr_id_ = from._impl_.attr_id_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_num() != 0) { + _this->_impl_.num_ = from._impl_.num_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingAttr::CopyFrom(const MatchingAttr& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingAttr) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingAttr::InternalSwap(MatchingAttr* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.num_) + + sizeof(MatchingAttr::_impl_.num_) + - PROTOBUF_FIELD_OFFSET(MatchingAttr, _impl_.attr_type_)>( + reinterpret_cast(&_impl_.attr_type_), + reinterpret_cast(&other->_impl_.attr_type_)); +} + +// =================================================================== + +class CreateRoomGUIRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_._has_bits_); +}; + +CreateRoomGUIRequest::CreateRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, CreateRoomGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.CreateRoomGUIRequest) +} +PROTOBUF_NDEBUG_INLINE CreateRoomGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::CreateRoomGUIRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + game_attrs_{visibility, arena, from.game_attrs_} {} + +CreateRoomGUIRequest::CreateRoomGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const CreateRoomGUIRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, CreateRoomGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CreateRoomGUIRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, total_slots_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, total_slots_), + offsetof(Impl_, stealth_) - + offsetof(Impl_, total_slots_) + + sizeof(Impl_::stealth_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.CreateRoomGUIRequest) +} +PROTOBUF_NDEBUG_INLINE CreateRoomGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + game_attrs_{visibility, arena} {} + +inline void CreateRoomGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, total_slots_), + 0, + offsetof(Impl_, stealth_) - + offsetof(Impl_, total_slots_) + + sizeof(Impl_::stealth_)); +} +CreateRoomGUIRequest::~CreateRoomGUIRequest() { + // @@protoc_insertion_point(destructor:np2_structs.CreateRoomGUIRequest) + SharedDtor(*this); +} +inline void CreateRoomGUIRequest::SharedDtor(MessageLite& self) { + CreateRoomGUIRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL CreateRoomGUIRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) CreateRoomGUIRequest(arena); +} +constexpr auto CreateRoomGUIRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.game_attrs_) + + decltype(CreateRoomGUIRequest::_impl_.game_attrs_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(CreateRoomGUIRequest), alignof(CreateRoomGUIRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&CreateRoomGUIRequest::PlacementNew_, + sizeof(CreateRoomGUIRequest), + alignof(CreateRoomGUIRequest)); + } +} +constexpr auto CreateRoomGUIRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<33>{ + { + &_CreateRoomGUIRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CreateRoomGUIRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CreateRoomGUIRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &CreateRoomGUIRequest::ByteSizeLong, + &CreateRoomGUIRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_._cached_size_), + true, + }, + "np2_structs.CreateRoomGUIRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<33> CreateRoomGUIRequest_class_data_ = + CreateRoomGUIRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreateRoomGUIRequest::GetClassData() const { + return CreateRoomGUIRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 1, 0, 2> +CreateRoomGUIRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + CreateRoomGUIRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::CreateRoomGUIRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 total_slots = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.total_slots_)}}, + // uint32 private_slots = 2; + {::_pbi::TcParser::FastV32S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.private_slots_)}}, + // bool privilege_grant = 3; + {::_pbi::TcParser::FastV8S1, + {24, 3, 0, + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.privilege_grant_)}}, + // bool stealth = 4; + {::_pbi::TcParser::FastV8S1, + {32, 4, 0, + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.stealth_)}}, + // repeated .np2_structs.MatchingAttr game_attrs = 5; + {::_pbi::TcParser::FastMtR1, + {42, 0, 0, + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.game_attrs_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 total_slots = 1; + {PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.total_slots_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 private_slots = 2; + {PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.private_slots_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // bool privilege_grant = 3; + {PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.privilege_grant_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // bool stealth = 4; + {PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.stealth_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + // repeated .np2_structs.MatchingAttr game_attrs = 5; + {PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.game_attrs_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void CreateRoomGUIRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.CreateRoomGUIRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.game_attrs_.Clear(); + } + if (BatchCheckHasBit(cached_has_bits, 0x0000001eU)) { + ::memset(&_impl_.total_slots_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.stealth_) - + reinterpret_cast(&_impl_.total_slots_)) + sizeof(_impl_.stealth_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL CreateRoomGUIRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreateRoomGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreateRoomGUIRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const CreateRoomGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.CreateRoomGUIRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 total_slots = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_total_slots() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_total_slots(), target); + } + } + + // uint32 private_slots = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_private_slots() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_private_slots(), target); + } + } + + // bool privilege_grant = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_privilege_grant() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_privilege_grant(), target); + } + } + + // bool stealth = 4; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_stealth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 4, this_._internal_stealth(), target); + } + } + + // repeated .np2_structs.MatchingAttr game_attrs = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_game_attrs_size()); + i < n; i++) { + const auto& repfield = this_._internal_game_attrs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.CreateRoomGUIRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t CreateRoomGUIRequest::ByteSizeLong(const MessageLite& base) { + const CreateRoomGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t CreateRoomGUIRequest::ByteSizeLong() const { + const CreateRoomGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.CreateRoomGUIRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + // repeated .np2_structs.MatchingAttr game_attrs = 5; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_game_attrs_size(); + for (const auto& msg : this_._internal_game_attrs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint32 total_slots = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_total_slots() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_total_slots()); + } + } + // uint32 private_slots = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_private_slots() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_private_slots()); + } + } + // bool privilege_grant = 3; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_privilege_grant() != 0) { + total_size += 2; + } + } + // bool stealth = 4; + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (this_._internal_stealth() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void CreateRoomGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.CreateRoomGUIRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_game_attrs()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_game_attrs()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_total_slots() != 0) { + _this->_impl_.total_slots_ = from._impl_.total_slots_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_private_slots() != 0) { + _this->_impl_.private_slots_ = from._impl_.private_slots_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_privilege_grant() != 0) { + _this->_impl_.privilege_grant_ = from._impl_.privilege_grant_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000010U)) { + if (from._internal_stealth() != 0) { + _this->_impl_.stealth_ = from._impl_.stealth_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void CreateRoomGUIRequest::CopyFrom(const CreateRoomGUIRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.CreateRoomGUIRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CreateRoomGUIRequest::InternalSwap(CreateRoomGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.game_attrs_.InternalSwap(&other->_impl_.game_attrs_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.stealth_) + + sizeof(CreateRoomGUIRequest::_impl_.stealth_) + - PROTOBUF_FIELD_OFFSET(CreateRoomGUIRequest, _impl_.total_slots_)>( + reinterpret_cast(&_impl_.total_slots_), + reinterpret_cast(&other->_impl_.total_slots_)); +} + +// =================================================================== + +class GUIUserInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_._has_bits_); +}; + +GUIUserInfo::GUIUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GUIUserInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GUIUserInfo) +} +PROTOBUF_NDEBUG_INLINE GUIUserInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GUIUserInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +GUIUserInfo::GUIUserInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GUIUserInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GUIUserInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GUIUserInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.info_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.info_) + : nullptr; + _impl_.owner_ = from._impl_.owner_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.GUIUserInfo) +} +PROTOBUF_NDEBUG_INLINE GUIUserInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void GUIUserInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, info_), + 0, + offsetof(Impl_, owner_) - + offsetof(Impl_, info_) + + sizeof(Impl_::owner_)); +} +GUIUserInfo::~GUIUserInfo() { + // @@protoc_insertion_point(destructor:np2_structs.GUIUserInfo) + SharedDtor(*this); +} +inline void GUIUserInfo::SharedDtor(MessageLite& self) { + GUIUserInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.info_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GUIUserInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GUIUserInfo(arena); +} +constexpr auto GUIUserInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GUIUserInfo), + alignof(GUIUserInfo)); +} +constexpr auto GUIUserInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<24>{ + { + &_GUIUserInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GUIUserInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GUIUserInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GUIUserInfo::ByteSizeLong, + &GUIUserInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_._cached_size_), + true, + }, + "np2_structs.GUIUserInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<24> GUIUserInfo_class_data_ = + GUIUserInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GUIUserInfo::GetClassData() const { + return GUIUserInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +GUIUserInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GUIUserInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GUIUserInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool owner = 2; + {::_pbi::TcParser::FastV8S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.owner_)}}, + // .np2_structs.UserInfo info = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.info_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.UserInfo info = 1; + {PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.info_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // bool owner = 2; + {PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.owner_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GUIUserInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GUIUserInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.info_ != nullptr); + _impl_.info_->Clear(); + } + _impl_.owner_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GUIUserInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GUIUserInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GUIUserInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GUIUserInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GUIUserInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.UserInfo info = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.info_, this_._impl_.info_->GetCachedSize(), target, + stream); + } + + // bool owner = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_owner() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_owner(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GUIUserInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GUIUserInfo::ByteSizeLong(const MessageLite& base) { + const GUIUserInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GUIUserInfo::ByteSizeLong() const { + const GUIUserInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GUIUserInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.UserInfo info = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.info_); + } + // bool owner = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_owner() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GUIUserInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GUIUserInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.info_ != nullptr); + if (_this->_impl_.info_ == nullptr) { + _this->_impl_.info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.info_); + } else { + _this->_impl_.info_->MergeFrom(*from._impl_.info_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_owner() != 0) { + _this->_impl_.owner_ = from._impl_.owner_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GUIUserInfo::CopyFrom(const GUIUserInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GUIUserInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GUIUserInfo::InternalSwap(GUIUserInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.owner_) + + sizeof(GUIUserInfo::_impl_.owner_) + - PROTOBUF_FIELD_OFFSET(GUIUserInfo, _impl_.info_)>( + reinterpret_cast(&_impl_.info_), + reinterpret_cast(&other->_impl_.info_)); +} + +// =================================================================== + +class MatchingRoomStatus::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_._has_bits_); +}; + +MatchingRoomStatus::MatchingRoomStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingRoomStatus_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingRoomStatus) +} +PROTOBUF_NDEBUG_INLINE MatchingRoomStatus::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingRoomStatus& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + members_{visibility, arena, from.members_}, + id_(arena, from.id_), + kick_actor_(arena, from.kick_actor_), + opt_(arena, from.opt_) {} + +MatchingRoomStatus::MatchingRoomStatus( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingRoomStatus& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingRoomStatus_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingRoomStatus* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingRoomStatus) +} +PROTOBUF_NDEBUG_INLINE MatchingRoomStatus::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + members_{visibility, arena}, + id_(arena), + kick_actor_(arena), + opt_(arena) {} + +inline void MatchingRoomStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +MatchingRoomStatus::~MatchingRoomStatus() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingRoomStatus) + SharedDtor(*this); +} +inline void MatchingRoomStatus::SharedDtor(MessageLite& self) { + MatchingRoomStatus& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.id_.Destroy(); + this_._impl_.kick_actor_.Destroy(); + this_._impl_.opt_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingRoomStatus::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingRoomStatus(arena); +} +constexpr auto MatchingRoomStatus::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.members_) + + decltype(MatchingRoomStatus::_impl_.members_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(MatchingRoomStatus), alignof(MatchingRoomStatus), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&MatchingRoomStatus::PlacementNew_, + sizeof(MatchingRoomStatus), + alignof(MatchingRoomStatus)); + } +} +constexpr auto MatchingRoomStatus::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_MatchingRoomStatus_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingRoomStatus::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingRoomStatus::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingRoomStatus::ByteSizeLong, + &MatchingRoomStatus::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingRoomStatus", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> MatchingRoomStatus_class_data_ = + MatchingRoomStatus::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingRoomStatus::GetClassData() const { + return MatchingRoomStatus_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 1, 49, 2> +MatchingRoomStatus::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + MatchingRoomStatus_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingRoomStatus>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes opt = 4; + {::_pbi::TcParser::FastBS1, + {34, 3, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.opt_)}}, + // bytes id = 1; + {::_pbi::TcParser::FastBS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.id_)}}, + // repeated .np2_structs.GUIUserInfo members = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.members_)}}, + // string kick_actor = 3; + {::_pbi::TcParser::FastUS1, + {26, 2, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.kick_actor_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes id = 1; + {PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated .np2_structs.GUIUserInfo members = 2; + {PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.members_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // string kick_actor = 3; + {PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.kick_actor_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // bytes opt = 4; + {PROTOBUF_FIELD_OFFSET(MatchingRoomStatus, _impl_.opt_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::GUIUserInfo>()}, + }}, + {{ + "\36\0\0\12\0\0\0\0" + "np2_structs.MatchingRoomStatus" + "kick_actor" + }}, +}; +PROTOBUF_NOINLINE void MatchingRoomStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingRoomStatus) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.members_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + _impl_.kick_actor_.ClearNonDefaultToEmpty(); + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + _impl_.opt_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingRoomStatus::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingRoomStatus& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingRoomStatus::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingRoomStatus& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingRoomStatus) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes id = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_id().empty()) { + const ::std::string& _s = this_._internal_id(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + // repeated .np2_structs.GUIUserInfo members = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_members_size()); + i < n; i++) { + const auto& repfield = this_._internal_members().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // string kick_actor = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_kick_actor().empty()) { + const ::std::string& _s = this_._internal_kick_actor(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "np2_structs.MatchingRoomStatus.kick_actor"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + } + + // bytes opt = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_opt().empty()) { + const ::std::string& _s = this_._internal_opt(); + target = stream->WriteBytesMaybeAliased(4, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingRoomStatus) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingRoomStatus::ByteSizeLong(const MessageLite& base) { + const MatchingRoomStatus& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingRoomStatus::ByteSizeLong() const { + const MatchingRoomStatus& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingRoomStatus) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // repeated .np2_structs.GUIUserInfo members = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_members_size(); + for (const auto& msg : this_._internal_members()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // bytes id = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_id()); + } + } + // string kick_actor = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!this_._internal_kick_actor().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_kick_actor()); + } + } + // bytes opt = 4; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!this_._internal_opt().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_opt()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingRoomStatus::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingRoomStatus) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_members()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_members()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } else { + if (_this->_impl_.id_.IsDefault()) { + _this->_internal_set_id(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (!from._internal_kick_actor().empty()) { + _this->_internal_set_kick_actor(from._internal_kick_actor()); + } else { + if (_this->_impl_.kick_actor_.IsDefault()) { + _this->_internal_set_kick_actor(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (!from._internal_opt().empty()) { + _this->_internal_set_opt(from._internal_opt()); + } else { + if (_this->_impl_.opt_.IsDefault()) { + _this->_internal_set_opt(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingRoomStatus::CopyFrom(const MatchingRoomStatus& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingRoomStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingRoomStatus::InternalSwap(MatchingRoomStatus* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.members_.InternalSwap(&other->_impl_.members_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.kick_actor_, &other->_impl_.kick_actor_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.opt_, &other->_impl_.opt_, arena); +} + +// =================================================================== + +class GetRoomListGUIRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_._has_bits_); +}; + +GetRoomListGUIRequest::GetRoomListGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomListGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomListGUIRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomListGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetRoomListGUIRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + conds_{visibility, arena, from.conds_}, + attrs_{visibility, arena, from.attrs_} {} + +GetRoomListGUIRequest::GetRoomListGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetRoomListGUIRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomListGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetRoomListGUIRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, range_start_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, range_start_), + offsetof(Impl_, range_max_) - + offsetof(Impl_, range_start_) + + sizeof(Impl_::range_max_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomListGUIRequest) +} +PROTOBUF_NDEBUG_INLINE GetRoomListGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + conds_{visibility, arena}, + attrs_{visibility, arena} {} + +inline void GetRoomListGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, range_start_), + 0, + offsetof(Impl_, range_max_) - + offsetof(Impl_, range_start_) + + sizeof(Impl_::range_max_)); +} +GetRoomListGUIRequest::~GetRoomListGUIRequest() { + // @@protoc_insertion_point(destructor:np2_structs.GetRoomListGUIRequest) + SharedDtor(*this); +} +inline void GetRoomListGUIRequest::SharedDtor(MessageLite& self) { + GetRoomListGUIRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetRoomListGUIRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetRoomListGUIRequest(arena); +} +constexpr auto GetRoomListGUIRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.conds_) + + decltype(GetRoomListGUIRequest::_impl_.conds_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.attrs_) + + decltype(GetRoomListGUIRequest::_impl_.attrs_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetRoomListGUIRequest), alignof(GetRoomListGUIRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetRoomListGUIRequest::PlacementNew_, + sizeof(GetRoomListGUIRequest), + alignof(GetRoomListGUIRequest)); + } +} +constexpr auto GetRoomListGUIRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<34>{ + { + &_GetRoomListGUIRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetRoomListGUIRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetRoomListGUIRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetRoomListGUIRequest::ByteSizeLong, + &GetRoomListGUIRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_._cached_size_), + true, + }, + "np2_structs.GetRoomListGUIRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<34> GetRoomListGUIRequest_class_data_ = + GetRoomListGUIRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRoomListGUIRequest::GetClassData() const { + return GetRoomListGUIRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 2, 0, 2> +GetRoomListGUIRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetRoomListGUIRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetRoomListGUIRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.MatchingAttr attrs = 4; + {::_pbi::TcParser::FastMtR1, + {34, 1, 1, + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.attrs_)}}, + // uint32 range_start = 1; + {::_pbi::TcParser::FastV32S1, + {8, 2, 0, + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_start_)}}, + // uint32 range_max = 2; + {::_pbi::TcParser::FastV32S1, + {16, 3, 0, + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_max_)}}, + // repeated .np2_structs.MatchingSearchCondition conds = 3; + {::_pbi::TcParser::FastMtR1, + {26, 0, 0, + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.conds_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 range_start = 1; + {PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_start_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 range_max = 2; + {PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_max_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.MatchingSearchCondition conds = 3; + {PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.conds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.MatchingAttr attrs = 4; + {PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.attrs_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>()}, + {::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetRoomListGUIRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomListGUIRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.conds_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.attrs_.Clear(); + } + } + if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) { + ::memset(&_impl_.range_start_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.range_max_) - + reinterpret_cast(&_impl_.range_start_)) + sizeof(_impl_.range_max_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetRoomListGUIRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetRoomListGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetRoomListGUIRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetRoomListGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomListGUIRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 range_start = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_range_start() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_range_start(), target); + } + } + + // uint32 range_max = 2; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_range_max() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_range_max(), target); + } + } + + // repeated .np2_structs.MatchingSearchCondition conds = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_conds_size()); + i < n; i++) { + const auto& repfield = this_._internal_conds().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.MatchingAttr attrs = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attrs_size()); + i < n; i++) { + const auto& repfield = this_._internal_attrs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomListGUIRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetRoomListGUIRequest::ByteSizeLong(const MessageLite& base) { + const GetRoomListGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetRoomListGUIRequest::ByteSizeLong() const { + const GetRoomListGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomListGUIRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + // repeated .np2_structs.MatchingSearchCondition conds = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_conds_size(); + for (const auto& msg : this_._internal_conds()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.MatchingAttr attrs = 4; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_attrs_size(); + for (const auto& msg : this_._internal_attrs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint32 range_start = 1; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_range_start() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_range_start()); + } + } + // uint32 range_max = 2; + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (this_._internal_range_max() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_range_max()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetRoomListGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomListGUIRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_conds()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_conds()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_attrs()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attrs()); + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_range_start() != 0) { + _this->_impl_.range_start_ = from._impl_.range_start_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000008U)) { + if (from._internal_range_max() != 0) { + _this->_impl_.range_max_ = from._impl_.range_max_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetRoomListGUIRequest::CopyFrom(const GetRoomListGUIRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomListGUIRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetRoomListGUIRequest::InternalSwap(GetRoomListGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.conds_.InternalSwap(&other->_impl_.conds_); + _impl_.attrs_.InternalSwap(&other->_impl_.attrs_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_max_) + + sizeof(GetRoomListGUIRequest::_impl_.range_max_) + - PROTOBUF_FIELD_OFFSET(GetRoomListGUIRequest, _impl_.range_start_)>( + reinterpret_cast(&_impl_.range_start_), + reinterpret_cast(&other->_impl_.range_start_)); +} + +// =================================================================== + +class MatchingRoom::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_._has_bits_); +}; + +MatchingRoom::MatchingRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingRoom_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingRoom) +} +PROTOBUF_NDEBUG_INLINE MatchingRoom::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingRoom& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + attr_{visibility, arena, from.attr_}, + id_(arena, from.id_) {} + +MatchingRoom::MatchingRoom( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingRoom& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingRoom_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingRoom* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingRoom) +} +PROTOBUF_NDEBUG_INLINE MatchingRoom::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + attr_{visibility, arena}, + id_(arena) {} + +inline void MatchingRoom::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +MatchingRoom::~MatchingRoom() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingRoom) + SharedDtor(*this); +} +inline void MatchingRoom::SharedDtor(MessageLite& self) { + MatchingRoom& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingRoom::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingRoom(arena); +} +constexpr auto MatchingRoom::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.attr_) + + decltype(MatchingRoom::_impl_.attr_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(MatchingRoom), alignof(MatchingRoom), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&MatchingRoom::PlacementNew_, + sizeof(MatchingRoom), + alignof(MatchingRoom)); + } +} +constexpr auto MatchingRoom::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<25>{ + { + &_MatchingRoom_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingRoom::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingRoom::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingRoom::ByteSizeLong, + &MatchingRoom::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingRoom", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<25> MatchingRoom_class_data_ = + MatchingRoom::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingRoom::GetClassData() const { + return MatchingRoom_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +MatchingRoom::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + MatchingRoom_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingRoom>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.MatchingAttr attr = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.attr_)}}, + // bytes id = 1; + {::_pbi::TcParser::FastBS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes id = 1; + {PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // repeated .np2_structs.MatchingAttr attr = 2; + {PROTOBUF_FIELD_OFFSET(MatchingRoom, _impl_.attr_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void MatchingRoom::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingRoom) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.attr_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingRoom::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingRoom& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingRoom::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingRoom& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingRoom) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes id = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_id().empty()) { + const ::std::string& _s = this_._internal_id(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + // repeated .np2_structs.MatchingAttr attr = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attr_size()); + i < n; i++) { + const auto& repfield = this_._internal_attr().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingRoom) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingRoom::ByteSizeLong(const MessageLite& base) { + const MatchingRoom& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingRoom::ByteSizeLong() const { + const MatchingRoom& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingRoom) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.MatchingAttr attr = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_attr_size(); + for (const auto& msg : this_._internal_attr()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // bytes id = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_id()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingRoom::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingRoom) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_attr()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attr()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } else { + if (_this->_impl_.id_.IsDefault()) { + _this->_internal_set_id(""); + } + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingRoom::CopyFrom(const MatchingRoom& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingRoom) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingRoom::InternalSwap(MatchingRoom* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.attr_.InternalSwap(&other->_impl_.attr_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); +} + +// =================================================================== + +class MatchingRoomList::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_._has_bits_); +}; + +MatchingRoomList::MatchingRoomList(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingRoomList_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingRoomList) +} +PROTOBUF_NDEBUG_INLINE MatchingRoomList::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingRoomList& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + rooms_{visibility, arena, from.rooms_} {} + +MatchingRoomList::MatchingRoomList( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingRoomList& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingRoomList_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingRoomList* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, start_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, start_), + offsetof(Impl_, total_) - + offsetof(Impl_, start_) + + sizeof(Impl_::total_)); + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingRoomList) +} +PROTOBUF_NDEBUG_INLINE MatchingRoomList::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + rooms_{visibility, arena} {} + +inline void MatchingRoomList::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, start_), + 0, + offsetof(Impl_, total_) - + offsetof(Impl_, start_) + + sizeof(Impl_::total_)); +} +MatchingRoomList::~MatchingRoomList() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingRoomList) + SharedDtor(*this); +} +inline void MatchingRoomList::SharedDtor(MessageLite& self) { + MatchingRoomList& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingRoomList::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingRoomList(arena); +} +constexpr auto MatchingRoomList::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.rooms_) + + decltype(MatchingRoomList::_impl_.rooms_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(MatchingRoomList), alignof(MatchingRoomList), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&MatchingRoomList::PlacementNew_, + sizeof(MatchingRoomList), + alignof(MatchingRoomList)); + } +} +constexpr auto MatchingRoomList::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<29>{ + { + &_MatchingRoomList_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingRoomList::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingRoomList::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingRoomList::ByteSizeLong, + &MatchingRoomList::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingRoomList", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<29> MatchingRoomList_class_data_ = + MatchingRoomList::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingRoomList::GetClassData() const { + return MatchingRoomList_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> +MatchingRoomList::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + MatchingRoomList_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingRoomList>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 start = 1; + {::_pbi::TcParser::FastV32S1, + {8, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.start_)}}, + // uint32 total = 2; + {::_pbi::TcParser::FastV32S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.total_)}}, + // repeated .np2_structs.MatchingRoom rooms = 3; + {::_pbi::TcParser::FastMtR1, + {26, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.rooms_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 start = 1; + {PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.start_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // uint32 total = 2; + {PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.total_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // repeated .np2_structs.MatchingRoom rooms = 3; + {PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.rooms_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingRoom>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void MatchingRoomList::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingRoomList) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.rooms_.Clear(); + } + if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) { + ::memset(&_impl_.start_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.total_) - + reinterpret_cast(&_impl_.start_)) + sizeof(_impl_.total_)); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingRoomList::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingRoomList& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingRoomList::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingRoomList& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingRoomList) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // uint32 start = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_start() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_start(), target); + } + } + + // uint32 total = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_total() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_total(), target); + } + } + + // repeated .np2_structs.MatchingRoom rooms = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_rooms_size()); + i < n; i++) { + const auto& repfield = this_._internal_rooms().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingRoomList) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingRoomList::ByteSizeLong(const MessageLite& base) { + const MatchingRoomList& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingRoomList::ByteSizeLong() const { + const MatchingRoomList& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingRoomList) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // repeated .np2_structs.MatchingRoom rooms = 3; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_rooms_size(); + for (const auto& msg : this_._internal_rooms()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint32 start = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_start() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_start()); + } + } + // uint32 total = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_total() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_total()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingRoomList::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingRoomList) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_rooms()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_rooms()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_start() != 0) { + _this->_impl_.start_ = from._impl_.start_; + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_total() != 0) { + _this->_impl_.total_ = from._impl_.total_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingRoomList::CopyFrom(const MatchingRoomList& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingRoomList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingRoomList::InternalSwap(MatchingRoomList* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.rooms_.InternalSwap(&other->_impl_.rooms_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.total_) + + sizeof(MatchingRoomList::_impl_.total_) + - PROTOBUF_FIELD_OFFSET(MatchingRoomList, _impl_.start_)>( + reinterpret_cast(&_impl_.start_), + reinterpret_cast(&other->_impl_.start_)); +} + +// =================================================================== + +class MatchingGuiRoomId::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_._has_bits_); +}; + +MatchingGuiRoomId::MatchingGuiRoomId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingGuiRoomId_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingGuiRoomId) +} +PROTOBUF_NDEBUG_INLINE MatchingGuiRoomId::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingGuiRoomId& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + id_(arena, from.id_) {} + +MatchingGuiRoomId::MatchingGuiRoomId( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingGuiRoomId& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingGuiRoomId_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingGuiRoomId* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingGuiRoomId) +} +PROTOBUF_NDEBUG_INLINE MatchingGuiRoomId::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + id_(arena) {} + +inline void MatchingGuiRoomId::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +MatchingGuiRoomId::~MatchingGuiRoomId() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingGuiRoomId) + SharedDtor(*this); +} +inline void MatchingGuiRoomId::SharedDtor(MessageLite& self) { + MatchingGuiRoomId& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingGuiRoomId::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingGuiRoomId(arena); +} +constexpr auto MatchingGuiRoomId::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MatchingGuiRoomId), + alignof(MatchingGuiRoomId)); +} +constexpr auto MatchingGuiRoomId::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<30>{ + { + &_MatchingGuiRoomId_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingGuiRoomId::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingGuiRoomId::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingGuiRoomId::ByteSizeLong, + &MatchingGuiRoomId::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingGuiRoomId", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<30> MatchingGuiRoomId_class_data_ = + MatchingGuiRoomId::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingGuiRoomId::GetClassData() const { + return MatchingGuiRoomId_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> +MatchingGuiRoomId::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + MatchingGuiRoomId_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingGuiRoomId>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes id = 1; + {::_pbi::TcParser::FastBS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_.id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes id = 1; + {PROTOBUF_FIELD_OFFSET(MatchingGuiRoomId, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void MatchingGuiRoomId::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingGuiRoomId) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.id_.ClearNonDefaultToEmpty(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingGuiRoomId::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingGuiRoomId& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingGuiRoomId::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingGuiRoomId& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingGuiRoomId) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes id = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_id().empty()) { + const ::std::string& _s = this_._internal_id(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingGuiRoomId) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingGuiRoomId::ByteSizeLong(const MessageLite& base) { + const MatchingGuiRoomId& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingGuiRoomId::ByteSizeLong() const { + const MatchingGuiRoomId& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingGuiRoomId) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // bytes id = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_id()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingGuiRoomId::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingGuiRoomId) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_id().empty()) { + _this->_internal_set_id(from._internal_id()); + } else { + if (_this->_impl_.id_.IsDefault()) { + _this->_internal_set_id(""); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingGuiRoomId::CopyFrom(const MatchingGuiRoomId& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingGuiRoomId) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingGuiRoomId::InternalSwap(MatchingGuiRoomId* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); +} + +// =================================================================== + +class SetRoomSearchFlagGUI::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_._has_bits_); +}; + +SetRoomSearchFlagGUI::SetRoomSearchFlagGUI(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomSearchFlagGUI_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SetRoomSearchFlagGUI) +} +PROTOBUF_NDEBUG_INLINE SetRoomSearchFlagGUI::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SetRoomSearchFlagGUI& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + roomid_(arena, from.roomid_) {} + +SetRoomSearchFlagGUI::SetRoomSearchFlagGUI( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SetRoomSearchFlagGUI& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SetRoomSearchFlagGUI_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetRoomSearchFlagGUI* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.stealth_ = from._impl_.stealth_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.SetRoomSearchFlagGUI) +} +PROTOBUF_NDEBUG_INLINE SetRoomSearchFlagGUI::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + roomid_(arena) {} + +inline void SetRoomSearchFlagGUI::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.stealth_ = {}; +} +SetRoomSearchFlagGUI::~SetRoomSearchFlagGUI() { + // @@protoc_insertion_point(destructor:np2_structs.SetRoomSearchFlagGUI) + SharedDtor(*this); +} +inline void SetRoomSearchFlagGUI::SharedDtor(MessageLite& self) { + SetRoomSearchFlagGUI& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.roomid_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SetRoomSearchFlagGUI::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SetRoomSearchFlagGUI(arena); +} +constexpr auto SetRoomSearchFlagGUI::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SetRoomSearchFlagGUI), + alignof(SetRoomSearchFlagGUI)); +} +constexpr auto SetRoomSearchFlagGUI::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<33>{ + { + &_SetRoomSearchFlagGUI_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetRoomSearchFlagGUI::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetRoomSearchFlagGUI::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SetRoomSearchFlagGUI::ByteSizeLong, + &SetRoomSearchFlagGUI::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_._cached_size_), + true, + }, + "np2_structs.SetRoomSearchFlagGUI", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<33> SetRoomSearchFlagGUI_class_data_ = + SetRoomSearchFlagGUI::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SetRoomSearchFlagGUI::GetClassData() const { + return SetRoomSearchFlagGUI_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> +SetRoomSearchFlagGUI::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + SetRoomSearchFlagGUI_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SetRoomSearchFlagGUI>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool stealth = 2; + {::_pbi::TcParser::FastV8S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.stealth_)}}, + // bytes roomid = 1; + {::_pbi::TcParser::FastBS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.roomid_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes roomid = 1; + {PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.roomid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, + // bool stealth = 2; + {PROTOBUF_FIELD_OFFSET(SetRoomSearchFlagGUI, _impl_.stealth_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; +PROTOBUF_NOINLINE void SetRoomSearchFlagGUI::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SetRoomSearchFlagGUI) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + _impl_.roomid_.ClearNonDefaultToEmpty(); + } + _impl_.stealth_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SetRoomSearchFlagGUI::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SetRoomSearchFlagGUI& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SetRoomSearchFlagGUI::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SetRoomSearchFlagGUI& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SetRoomSearchFlagGUI) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // bytes roomid = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_roomid().empty()) { + const ::std::string& _s = this_._internal_roomid(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + } + + // bool stealth = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_stealth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_stealth(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SetRoomSearchFlagGUI) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SetRoomSearchFlagGUI::ByteSizeLong(const MessageLite& base) { + const SetRoomSearchFlagGUI& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SetRoomSearchFlagGUI::ByteSizeLong() const { + const SetRoomSearchFlagGUI& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SetRoomSearchFlagGUI) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // bytes roomid = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!this_._internal_roomid().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_roomid()); + } + } + // bool stealth = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_stealth() != 0) { + total_size += 2; + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SetRoomSearchFlagGUI::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SetRoomSearchFlagGUI) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + if (!from._internal_roomid().empty()) { + _this->_internal_set_roomid(from._internal_roomid()); + } else { + if (_this->_impl_.roomid_.IsDefault()) { + _this->_internal_set_roomid(""); + } + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_stealth() != 0) { + _this->_impl_.stealth_ = from._impl_.stealth_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SetRoomSearchFlagGUI::CopyFrom(const SetRoomSearchFlagGUI& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SetRoomSearchFlagGUI) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SetRoomSearchFlagGUI::InternalSwap(SetRoomSearchFlagGUI* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roomid_, &other->_impl_.roomid_, arena); + swap(_impl_.stealth_, other->_impl_.stealth_); +} + +// =================================================================== + +class QuickMatchGUIRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_._has_bits_); +}; + +QuickMatchGUIRequest::QuickMatchGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, QuickMatchGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.QuickMatchGUIRequest) +} +PROTOBUF_NDEBUG_INLINE QuickMatchGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::QuickMatchGUIRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + conds_{visibility, arena, from.conds_} {} + +QuickMatchGUIRequest::QuickMatchGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const QuickMatchGUIRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, QuickMatchGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + QuickMatchGUIRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.available_num_ = from._impl_.available_num_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.QuickMatchGUIRequest) +} +PROTOBUF_NDEBUG_INLINE QuickMatchGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + conds_{visibility, arena} {} + +inline void QuickMatchGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.available_num_ = {}; +} +QuickMatchGUIRequest::~QuickMatchGUIRequest() { + // @@protoc_insertion_point(destructor:np2_structs.QuickMatchGUIRequest) + SharedDtor(*this); +} +inline void QuickMatchGUIRequest::SharedDtor(MessageLite& self) { + QuickMatchGUIRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL QuickMatchGUIRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) QuickMatchGUIRequest(arena); +} +constexpr auto QuickMatchGUIRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.conds_) + + decltype(QuickMatchGUIRequest::_impl_.conds_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(QuickMatchGUIRequest), alignof(QuickMatchGUIRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&QuickMatchGUIRequest::PlacementNew_, + sizeof(QuickMatchGUIRequest), + alignof(QuickMatchGUIRequest)); + } +} +constexpr auto QuickMatchGUIRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<33>{ + { + &_QuickMatchGUIRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &QuickMatchGUIRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &QuickMatchGUIRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &QuickMatchGUIRequest::ByteSizeLong, + &QuickMatchGUIRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_._cached_size_), + true, + }, + "np2_structs.QuickMatchGUIRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<33> QuickMatchGUIRequest_class_data_ = + QuickMatchGUIRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +QuickMatchGUIRequest::GetClassData() const { + return QuickMatchGUIRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> +QuickMatchGUIRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + QuickMatchGUIRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::QuickMatchGUIRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 available_num = 2; + {::_pbi::TcParser::FastV32S1, + {16, 1, 0, + PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.available_num_)}}, + // repeated .np2_structs.MatchingSearchCondition conds = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.conds_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.MatchingSearchCondition conds = 1; + {PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.conds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 available_num = 2; + {PROTOBUF_FIELD_OFFSET(QuickMatchGUIRequest, _impl_.available_num_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void QuickMatchGUIRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.QuickMatchGUIRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.conds_.Clear(); + } + _impl_.available_num_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL QuickMatchGUIRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const QuickMatchGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL QuickMatchGUIRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const QuickMatchGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.QuickMatchGUIRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.MatchingSearchCondition conds = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_conds_size()); + i < n; i++) { + const auto& repfield = this_._internal_conds().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // uint32 available_num = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_available_num() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_available_num(), target); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.QuickMatchGUIRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t QuickMatchGUIRequest::ByteSizeLong(const MessageLite& base) { + const QuickMatchGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t QuickMatchGUIRequest::ByteSizeLong() const { + const QuickMatchGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.QuickMatchGUIRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.MatchingSearchCondition conds = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_conds_size(); + for (const auto& msg : this_._internal_conds()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // uint32 available_num = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (this_._internal_available_num() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_available_num()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void QuickMatchGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.QuickMatchGUIRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_conds()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_conds()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + if (from._internal_available_num() != 0) { + _this->_impl_.available_num_ = from._impl_.available_num_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void QuickMatchGUIRequest::CopyFrom(const QuickMatchGUIRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.QuickMatchGUIRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void QuickMatchGUIRequest::InternalSwap(QuickMatchGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.conds_.InternalSwap(&other->_impl_.conds_); + swap(_impl_.available_num_, other->_impl_.available_num_); +} + +// =================================================================== + +class SearchJoinRoomGUIRequest::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_._has_bits_); +}; + +SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SearchJoinRoomGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.SearchJoinRoomGUIRequest) +} +PROTOBUF_NDEBUG_INLINE SearchJoinRoomGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::SearchJoinRoomGUIRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + conds_{visibility, arena, from.conds_}, + attrs_{visibility, arena, from.attrs_} {} + +SearchJoinRoomGUIRequest::SearchJoinRoomGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const SearchJoinRoomGUIRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, SearchJoinRoomGUIRequest_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SearchJoinRoomGUIRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.SearchJoinRoomGUIRequest) +} +PROTOBUF_NDEBUG_INLINE SearchJoinRoomGUIRequest::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + conds_{visibility, arena}, + attrs_{visibility, arena} {} + +inline void SearchJoinRoomGUIRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +SearchJoinRoomGUIRequest::~SearchJoinRoomGUIRequest() { + // @@protoc_insertion_point(destructor:np2_structs.SearchJoinRoomGUIRequest) + SharedDtor(*this); +} +inline void SearchJoinRoomGUIRequest::SharedDtor(MessageLite& self) { + SearchJoinRoomGUIRequest& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) SearchJoinRoomGUIRequest(arena); +} +constexpr auto SearchJoinRoomGUIRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.conds_) + + decltype(SearchJoinRoomGUIRequest::_impl_.conds_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.attrs_) + + decltype(SearchJoinRoomGUIRequest::_impl_.attrs_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(SearchJoinRoomGUIRequest), alignof(SearchJoinRoomGUIRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&SearchJoinRoomGUIRequest::PlacementNew_, + sizeof(SearchJoinRoomGUIRequest), + alignof(SearchJoinRoomGUIRequest)); + } +} +constexpr auto SearchJoinRoomGUIRequest::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<37>{ + { + &_SearchJoinRoomGUIRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SearchJoinRoomGUIRequest::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SearchJoinRoomGUIRequest::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &SearchJoinRoomGUIRequest::ByteSizeLong, + &SearchJoinRoomGUIRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_._cached_size_), + true, + }, + "np2_structs.SearchJoinRoomGUIRequest", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<37> SearchJoinRoomGUIRequest_class_data_ = + SearchJoinRoomGUIRequest::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +SearchJoinRoomGUIRequest::GetClassData() const { + return SearchJoinRoomGUIRequest_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +SearchJoinRoomGUIRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + SearchJoinRoomGUIRequest_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::SearchJoinRoomGUIRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.MatchingAttr attrs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.attrs_)}}, + // repeated .np2_structs.MatchingSearchCondition conds = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.conds_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.MatchingSearchCondition conds = 1; + {PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.conds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.MatchingAttr attrs = 2; + {PROTOBUF_FIELD_OFFSET(SearchJoinRoomGUIRequest, _impl_.attrs_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchCondition>()}, + {::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void SearchJoinRoomGUIRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.SearchJoinRoomGUIRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.conds_.Clear(); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _impl_.attrs_.Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const SearchJoinRoomGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const SearchJoinRoomGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.SearchJoinRoomGUIRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.MatchingSearchCondition conds = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_conds_size()); + i < n; i++) { + const auto& repfield = this_._internal_conds().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + // repeated .np2_structs.MatchingAttr attrs = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attrs_size()); + i < n; i++) { + const auto& repfield = this_._internal_attrs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.SearchJoinRoomGUIRequest) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t SearchJoinRoomGUIRequest::ByteSizeLong(const MessageLite& base) { + const SearchJoinRoomGUIRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t SearchJoinRoomGUIRequest::ByteSizeLong() const { + const SearchJoinRoomGUIRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.SearchJoinRoomGUIRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.MatchingSearchCondition conds = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_conds_size(); + for (const auto& msg : this_._internal_conds()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .np2_structs.MatchingAttr attrs = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + total_size += 1UL * this_._internal_attrs_size(); + for (const auto& msg : this_._internal_attrs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void SearchJoinRoomGUIRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.SearchJoinRoomGUIRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_conds()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_conds()); + } + if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) { + _this->_internal_mutable_attrs()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attrs()); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void SearchJoinRoomGUIRequest::CopyFrom(const SearchJoinRoomGUIRequest& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.SearchJoinRoomGUIRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SearchJoinRoomGUIRequest::InternalSwap(SearchJoinRoomGUIRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.conds_.InternalSwap(&other->_impl_.conds_); + _impl_.attrs_.InternalSwap(&other->_impl_.attrs_); +} + +// =================================================================== + +class MatchingSearchJoinRoomInfo::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_._has_bits_); +}; + +MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingSearchJoinRoomInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.MatchingSearchJoinRoomInfo) +} +PROTOBUF_NDEBUG_INLINE MatchingSearchJoinRoomInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::MatchingSearchJoinRoomInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + attr_{visibility, arena, from.attr_} {} + +MatchingSearchJoinRoomInfo::MatchingSearchJoinRoomInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const MatchingSearchJoinRoomInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, MatchingSearchJoinRoomInfo_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MatchingSearchJoinRoomInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.room_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.MatchingSearchJoinRoomInfo) +} +PROTOBUF_NDEBUG_INLINE MatchingSearchJoinRoomInfo::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + attr_{visibility, arena} {} + +inline void MatchingSearchJoinRoomInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.room_ = {}; +} +MatchingSearchJoinRoomInfo::~MatchingSearchJoinRoomInfo() { + // @@protoc_insertion_point(destructor:np2_structs.MatchingSearchJoinRoomInfo) + SharedDtor(*this); +} +inline void MatchingSearchJoinRoomInfo::SharedDtor(MessageLite& self) { + MatchingSearchJoinRoomInfo& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.room_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) MatchingSearchJoinRoomInfo(arena); +} +constexpr auto MatchingSearchJoinRoomInfo::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.attr_) + + decltype(MatchingSearchJoinRoomInfo::_impl_.attr_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(MatchingSearchJoinRoomInfo), alignof(MatchingSearchJoinRoomInfo), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&MatchingSearchJoinRoomInfo::PlacementNew_, + sizeof(MatchingSearchJoinRoomInfo), + alignof(MatchingSearchJoinRoomInfo)); + } +} +constexpr auto MatchingSearchJoinRoomInfo::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<39>{ + { + &_MatchingSearchJoinRoomInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MatchingSearchJoinRoomInfo::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MatchingSearchJoinRoomInfo::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &MatchingSearchJoinRoomInfo::ByteSizeLong, + &MatchingSearchJoinRoomInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_._cached_size_), + true, + }, + "np2_structs.MatchingSearchJoinRoomInfo", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<39> MatchingSearchJoinRoomInfo_class_data_ = + MatchingSearchJoinRoomInfo::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +MatchingSearchJoinRoomInfo::GetClassData() const { + return MatchingSearchJoinRoomInfo_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +MatchingSearchJoinRoomInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + MatchingSearchJoinRoomInfo_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::MatchingSearchJoinRoomInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.MatchingAttr attr = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 1, + PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.attr_)}}, + // .np2_structs.MatchingRoomStatus room = 1; + {::_pbi::TcParser::FastMtS1, + {10, 1, 0, + PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.room_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.MatchingRoomStatus room = 1; + {PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.room_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .np2_structs.MatchingAttr attr = 2; + {PROTOBUF_FIELD_OFFSET(MatchingSearchJoinRoomInfo, _impl_.attr_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::MatchingRoomStatus>()}, + {::_pbi::TcParser::GetTable<::np2_structs::MatchingAttr>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void MatchingSearchJoinRoomInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.MatchingSearchJoinRoomInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.attr_.Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.room_ != nullptr); + _impl_.room_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const MatchingSearchJoinRoomInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const MatchingSearchJoinRoomInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.MatchingSearchJoinRoomInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.MatchingRoomStatus room = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.room_, this_._impl_.room_->GetCachedSize(), target, + stream); + } + + // repeated .np2_structs.MatchingAttr attr = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_attr_size()); + i < n; i++) { + const auto& repfield = this_._internal_attr().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.MatchingSearchJoinRoomInfo) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t MatchingSearchJoinRoomInfo::ByteSizeLong(const MessageLite& base) { + const MatchingSearchJoinRoomInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t MatchingSearchJoinRoomInfo::ByteSizeLong() const { + const MatchingSearchJoinRoomInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.MatchingSearchJoinRoomInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // repeated .np2_structs.MatchingAttr attr = 2; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_attr_size(); + for (const auto& msg : this_._internal_attr()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // .np2_structs.MatchingRoomStatus room = 1; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.room_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void MatchingSearchJoinRoomInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.MatchingSearchJoinRoomInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_attr()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_attr()); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.room_ != nullptr); + if (_this->_impl_.room_ == nullptr) { + _this->_impl_.room_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_); + } else { + _this->_impl_.room_->MergeFrom(*from._impl_.room_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void MatchingSearchJoinRoomInfo::CopyFrom(const MatchingSearchJoinRoomInfo& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.MatchingSearchJoinRoomInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MatchingSearchJoinRoomInfo::InternalSwap(MatchingSearchJoinRoomInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.attr_.InternalSwap(&other->_impl_.attr_); + swap(_impl_.room_, other->_impl_.room_); +} + +// @@protoc_insertion_point(namespace_scope) +} // namespace np2_structs +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +#include "google/protobuf/port_undef.inc" diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.h b/rpcs3/Emu/NP/generated/np2_structs.pb.h new file mode 100644 index 0000000000..f662c0a1a0 --- /dev/null +++ b/rpcs3/Emu/NP/generated/np2_structs.pb.h @@ -0,0 +1,38096 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: np2_structs.proto +// Protobuf C++ Version: 6.33.4 + +#ifndef np2_5fstructs_2eproto_2epb_2eh +#define np2_5fstructs_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 6033004 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_np2_5fstructs_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_np2_5fstructs_2eproto { + static const ::uint32_t offsets[]; +}; +namespace np2_structs { +class BinAttr; +struct BinAttrDefaultTypeInternal; +extern BinAttrDefaultTypeInternal _BinAttr_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<20> BinAttr_class_data_; +class BinAttrInternal; +struct BinAttrInternalDefaultTypeInternal; +extern BinAttrInternalDefaultTypeInternal _BinAttrInternal_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<28> BinAttrInternal_class_data_; +class BinSearchFilter; +struct BinSearchFilterDefaultTypeInternal; +extern BinSearchFilterDefaultTypeInternal _BinSearchFilter_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<28> BinSearchFilter_class_data_; +class BoardInfo; +struct BoardInfoDefaultTypeInternal; +extern BoardInfoDefaultTypeInternal _BoardInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<22> BoardInfo_class_data_; +class CreateJoinRoomRequest; +struct CreateJoinRoomRequestDefaultTypeInternal; +extern CreateJoinRoomRequestDefaultTypeInternal _CreateJoinRoomRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<34> CreateJoinRoomRequest_class_data_; +class CreateRoomGUIRequest; +struct CreateRoomGUIRequestDefaultTypeInternal; +extern CreateRoomGUIRequestDefaultTypeInternal _CreateRoomGUIRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<33> CreateRoomGUIRequest_class_data_; +class GUIUserInfo; +struct GUIUserInfoDefaultTypeInternal; +extern GUIUserInfoDefaultTypeInternal _GUIUserInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<24> GUIUserInfo_class_data_; +class GetPingInfoResponse; +struct GetPingInfoResponseDefaultTypeInternal; +extern GetPingInfoResponseDefaultTypeInternal _GetPingInfoResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<32> GetPingInfoResponse_class_data_; +class GetRoomDataExternalListRequest; +struct GetRoomDataExternalListRequestDefaultTypeInternal; +extern GetRoomDataExternalListRequestDefaultTypeInternal _GetRoomDataExternalListRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<43> GetRoomDataExternalListRequest_class_data_; +class GetRoomDataExternalListResponse; +struct GetRoomDataExternalListResponseDefaultTypeInternal; +extern GetRoomDataExternalListResponseDefaultTypeInternal _GetRoomDataExternalListResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<44> GetRoomDataExternalListResponse_class_data_; +class GetRoomDataInternalRequest; +struct GetRoomDataInternalRequestDefaultTypeInternal; +extern GetRoomDataInternalRequestDefaultTypeInternal _GetRoomDataInternalRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> GetRoomDataInternalRequest_class_data_; +class GetRoomListGUIRequest; +struct GetRoomListGUIRequestDefaultTypeInternal; +extern GetRoomListGUIRequestDefaultTypeInternal _GetRoomListGUIRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<34> GetRoomListGUIRequest_class_data_; +class GetRoomMemberDataInternalRequest; +struct GetRoomMemberDataInternalRequestDefaultTypeInternal; +extern GetRoomMemberDataInternalRequestDefaultTypeInternal _GetRoomMemberDataInternalRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<45> GetRoomMemberDataInternalRequest_class_data_; +class GetScoreFriendsRequest; +struct GetScoreFriendsRequestDefaultTypeInternal; +extern GetScoreFriendsRequestDefaultTypeInternal _GetScoreFriendsRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<35> GetScoreFriendsRequest_class_data_; +class GetScoreGameDataRequest; +struct GetScoreGameDataRequestDefaultTypeInternal; +extern GetScoreGameDataRequestDefaultTypeInternal _GetScoreGameDataRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<36> GetScoreGameDataRequest_class_data_; +class GetScoreNpIdRequest; +struct GetScoreNpIdRequestDefaultTypeInternal; +extern GetScoreNpIdRequestDefaultTypeInternal _GetScoreNpIdRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<32> GetScoreNpIdRequest_class_data_; +class GetScoreRangeRequest; +struct GetScoreRangeRequestDefaultTypeInternal; +extern GetScoreRangeRequestDefaultTypeInternal _GetScoreRangeRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<33> GetScoreRangeRequest_class_data_; +class GetScoreResponse; +struct GetScoreResponseDefaultTypeInternal; +extern GetScoreResponseDefaultTypeInternal _GetScoreResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<29> GetScoreResponse_class_data_; +class GroupConfig; +struct GroupConfigDefaultTypeInternal; +extern GroupConfigDefaultTypeInternal _GroupConfig_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<24> GroupConfig_class_data_; +class IntAttr; +struct IntAttrDefaultTypeInternal; +extern IntAttrDefaultTypeInternal _IntAttr_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<20> IntAttr_class_data_; +class IntSearchFilter; +struct IntSearchFilterDefaultTypeInternal; +extern IntSearchFilterDefaultTypeInternal _IntSearchFilter_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<28> IntSearchFilter_class_data_; +class JoinRoomRequest; +struct JoinRoomRequestDefaultTypeInternal; +extern JoinRoomRequestDefaultTypeInternal _JoinRoomRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<28> JoinRoomRequest_class_data_; +class JoinRoomResponse; +struct JoinRoomResponseDefaultTypeInternal; +extern JoinRoomResponseDefaultTypeInternal _JoinRoomResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<29> JoinRoomResponse_class_data_; +class LeaveRoomRequest; +struct LeaveRoomRequestDefaultTypeInternal; +extern LeaveRoomRequestDefaultTypeInternal _LeaveRoomRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<29> LeaveRoomRequest_class_data_; +class Matching2SignalingInfo; +struct Matching2SignalingInfoDefaultTypeInternal; +extern Matching2SignalingInfoDefaultTypeInternal _Matching2SignalingInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<35> Matching2SignalingInfo_class_data_; +class MatchingAttr; +struct MatchingAttrDefaultTypeInternal; +extern MatchingAttrDefaultTypeInternal _MatchingAttr_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<25> MatchingAttr_class_data_; +class MatchingGuiRoomId; +struct MatchingGuiRoomIdDefaultTypeInternal; +extern MatchingGuiRoomIdDefaultTypeInternal _MatchingGuiRoomId_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<30> MatchingGuiRoomId_class_data_; +class MatchingRoom; +struct MatchingRoomDefaultTypeInternal; +extern MatchingRoomDefaultTypeInternal _MatchingRoom_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<25> MatchingRoom_class_data_; +class MatchingRoomList; +struct MatchingRoomListDefaultTypeInternal; +extern MatchingRoomListDefaultTypeInternal _MatchingRoomList_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<29> MatchingRoomList_class_data_; +class MatchingRoomStatus; +struct MatchingRoomStatusDefaultTypeInternal; +extern MatchingRoomStatusDefaultTypeInternal _MatchingRoomStatus_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> MatchingRoomStatus_class_data_; +class MatchingSearchCondition; +struct MatchingSearchConditionDefaultTypeInternal; +extern MatchingSearchConditionDefaultTypeInternal _MatchingSearchCondition_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<36> MatchingSearchCondition_class_data_; +class MatchingSearchJoinRoomInfo; +struct MatchingSearchJoinRoomInfoDefaultTypeInternal; +extern MatchingSearchJoinRoomInfoDefaultTypeInternal _MatchingSearchJoinRoomInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> MatchingSearchJoinRoomInfo_class_data_; +class MatchingSignalingInfo; +struct MatchingSignalingInfoDefaultTypeInternal; +extern MatchingSignalingInfoDefaultTypeInternal _MatchingSignalingInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<34> MatchingSignalingInfo_class_data_; +class MessageDetails; +struct MessageDetailsDefaultTypeInternal; +extern MessageDetailsDefaultTypeInternal _MessageDetails_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<27> MessageDetails_class_data_; +class NotificationUserJoinedRoom; +struct NotificationUserJoinedRoomDefaultTypeInternal; +extern NotificationUserJoinedRoomDefaultTypeInternal _NotificationUserJoinedRoom_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> NotificationUserJoinedRoom_class_data_; +class OptParam; +struct OptParamDefaultTypeInternal; +extern OptParamDefaultTypeInternal _OptParam_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<21> OptParam_class_data_; +class PresenceOptionData; +struct PresenceOptionDataDefaultTypeInternal; +extern PresenceOptionDataDefaultTypeInternal _PresenceOptionData_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> PresenceOptionData_class_data_; +class QuickMatchGUIRequest; +struct QuickMatchGUIRequestDefaultTypeInternal; +extern QuickMatchGUIRequestDefaultTypeInternal _QuickMatchGUIRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<33> QuickMatchGUIRequest_class_data_; +class RecordScoreGameDataRequest; +struct RecordScoreGameDataRequestDefaultTypeInternal; +extern RecordScoreGameDataRequestDefaultTypeInternal _RecordScoreGameDataRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> RecordScoreGameDataRequest_class_data_; +class RecordScoreRequest; +struct RecordScoreRequestDefaultTypeInternal; +extern RecordScoreRequestDefaultTypeInternal _RecordScoreRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> RecordScoreRequest_class_data_; +class RoomDataExternal; +struct RoomDataExternalDefaultTypeInternal; +extern RoomDataExternalDefaultTypeInternal _RoomDataExternal_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<29> RoomDataExternal_class_data_; +class RoomDataInternal; +struct RoomDataInternalDefaultTypeInternal; +extern RoomDataInternalDefaultTypeInternal _RoomDataInternal_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<29> RoomDataInternal_class_data_; +class RoomDataInternalUpdateInfo; +struct RoomDataInternalUpdateInfoDefaultTypeInternal; +extern RoomDataInternalUpdateInfoDefaultTypeInternal _RoomDataInternalUpdateInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> RoomDataInternalUpdateInfo_class_data_; +class RoomGroup; +struct RoomGroupDefaultTypeInternal; +extern RoomGroupDefaultTypeInternal _RoomGroup_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<22> RoomGroup_class_data_; +class RoomGroupPasswordConfig; +struct RoomGroupPasswordConfigDefaultTypeInternal; +extern RoomGroupPasswordConfigDefaultTypeInternal _RoomGroupPasswordConfig_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<36> RoomGroupPasswordConfig_class_data_; +class RoomMemberBinAttrInternal; +struct RoomMemberBinAttrInternalDefaultTypeInternal; +extern RoomMemberBinAttrInternalDefaultTypeInternal _RoomMemberBinAttrInternal_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<38> RoomMemberBinAttrInternal_class_data_; +class RoomMemberDataInternal; +struct RoomMemberDataInternalDefaultTypeInternal; +extern RoomMemberDataInternalDefaultTypeInternal _RoomMemberDataInternal_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataInternal_class_data_; +class RoomMemberDataInternalUpdateInfo; +struct RoomMemberDataInternalUpdateInfoDefaultTypeInternal; +extern RoomMemberDataInternalUpdateInfoDefaultTypeInternal _RoomMemberDataInternalUpdateInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<45> RoomMemberDataInternalUpdateInfo_class_data_; +class RoomMemberUpdateInfo; +struct RoomMemberUpdateInfoDefaultTypeInternal; +extern RoomMemberUpdateInfoDefaultTypeInternal _RoomMemberUpdateInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<33> RoomMemberUpdateInfo_class_data_; +class RoomMessageInfo; +struct RoomMessageInfoDefaultTypeInternal; +extern RoomMessageInfoDefaultTypeInternal _RoomMessageInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<28> RoomMessageInfo_class_data_; +class RoomUpdateInfo; +struct RoomUpdateInfoDefaultTypeInternal; +extern RoomUpdateInfoDefaultTypeInternal _RoomUpdateInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<27> RoomUpdateInfo_class_data_; +class ScoreInfo; +struct ScoreInfoDefaultTypeInternal; +extern ScoreInfoDefaultTypeInternal _ScoreInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<22> ScoreInfo_class_data_; +class ScoreNpIdPcId; +struct ScoreNpIdPcIdDefaultTypeInternal; +extern ScoreNpIdPcIdDefaultTypeInternal _ScoreNpIdPcId_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<26> ScoreNpIdPcId_class_data_; +class ScoreRankData; +struct ScoreRankDataDefaultTypeInternal; +extern ScoreRankDataDefaultTypeInternal _ScoreRankData_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<26> ScoreRankData_class_data_; +class SearchJoinRoomGUIRequest; +struct SearchJoinRoomGUIRequestDefaultTypeInternal; +extern SearchJoinRoomGUIRequestDefaultTypeInternal _SearchJoinRoomGUIRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<37> SearchJoinRoomGUIRequest_class_data_; +class SearchRoomRequest; +struct SearchRoomRequestDefaultTypeInternal; +extern SearchRoomRequestDefaultTypeInternal _SearchRoomRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<30> SearchRoomRequest_class_data_; +class SearchRoomResponse; +struct SearchRoomResponseDefaultTypeInternal; +extern SearchRoomResponseDefaultTypeInternal _SearchRoomResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> SearchRoomResponse_class_data_; +class SendMessageRequest; +struct SendMessageRequestDefaultTypeInternal; +extern SendMessageRequestDefaultTypeInternal _SendMessageRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> SendMessageRequest_class_data_; +class SendRoomMessageRequest; +struct SendRoomMessageRequestDefaultTypeInternal; +extern SendRoomMessageRequestDefaultTypeInternal _SendRoomMessageRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<35> SendRoomMessageRequest_class_data_; +class SetPresenceRequest; +struct SetPresenceRequestDefaultTypeInternal; +extern SetPresenceRequestDefaultTypeInternal _SetPresenceRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> SetPresenceRequest_class_data_; +class SetRoomDataExternalRequest; +struct SetRoomDataExternalRequestDefaultTypeInternal; +extern SetRoomDataExternalRequestDefaultTypeInternal _SetRoomDataExternalRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataExternalRequest_class_data_; +class SetRoomDataInternalRequest; +struct SetRoomDataInternalRequestDefaultTypeInternal; +extern SetRoomDataInternalRequestDefaultTypeInternal _SetRoomDataInternalRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataInternalRequest_class_data_; +class SetRoomMemberDataInternalRequest; +struct SetRoomMemberDataInternalRequestDefaultTypeInternal; +extern SetRoomMemberDataInternalRequestDefaultTypeInternal _SetRoomMemberDataInternalRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<45> SetRoomMemberDataInternalRequest_class_data_; +class SetRoomSearchFlagGUI; +struct SetRoomSearchFlagGUIDefaultTypeInternal; +extern SetRoomSearchFlagGUIDefaultTypeInternal _SetRoomSearchFlagGUI_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<33> SetRoomSearchFlagGUI_class_data_; +class SetUserInfo; +struct SetUserInfoDefaultTypeInternal; +extern SetUserInfoDefaultTypeInternal _SetUserInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<24> SetUserInfo_class_data_; +class SignalingAddr; +struct SignalingAddrDefaultTypeInternal; +extern SignalingAddrDefaultTypeInternal _SignalingAddr_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<26> SignalingAddr_class_data_; +class TusAddAndGetVariableRequest; +struct TusAddAndGetVariableRequestDefaultTypeInternal; +extern TusAddAndGetVariableRequestDefaultTypeInternal _TusAddAndGetVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<40> TusAddAndGetVariableRequest_class_data_; +class TusData; +struct TusDataDefaultTypeInternal; +extern TusDataDefaultTypeInternal _TusData_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<20> TusData_class_data_; +class TusDataStatus; +struct TusDataStatusDefaultTypeInternal; +extern TusDataStatusDefaultTypeInternal _TusDataStatus_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<26> TusDataStatus_class_data_; +class TusDataStatusResponse; +struct TusDataStatusResponseDefaultTypeInternal; +extern TusDataStatusResponseDefaultTypeInternal _TusDataStatusResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<34> TusDataStatusResponse_class_data_; +class TusDeleteMultiSlotDataRequest; +struct TusDeleteMultiSlotDataRequestDefaultTypeInternal; +extern TusDeleteMultiSlotDataRequestDefaultTypeInternal _TusDeleteMultiSlotDataRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<42> TusDeleteMultiSlotDataRequest_class_data_; +class TusDeleteMultiSlotVariableRequest; +struct TusDeleteMultiSlotVariableRequestDefaultTypeInternal; +extern TusDeleteMultiSlotVariableRequestDefaultTypeInternal _TusDeleteMultiSlotVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<46> TusDeleteMultiSlotVariableRequest_class_data_; +class TusGetDataRequest; +struct TusGetDataRequestDefaultTypeInternal; +extern TusGetDataRequestDefaultTypeInternal _TusGetDataRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<30> TusGetDataRequest_class_data_; +class TusGetFriendsDataStatusRequest; +struct TusGetFriendsDataStatusRequestDefaultTypeInternal; +extern TusGetFriendsDataStatusRequestDefaultTypeInternal _TusGetFriendsDataStatusRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<43> TusGetFriendsDataStatusRequest_class_data_; +class TusGetFriendsVariableRequest; +struct TusGetFriendsVariableRequestDefaultTypeInternal; +extern TusGetFriendsVariableRequestDefaultTypeInternal _TusGetFriendsVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<41> TusGetFriendsVariableRequest_class_data_; +class TusGetMultiSlotDataStatusRequest; +struct TusGetMultiSlotDataStatusRequestDefaultTypeInternal; +extern TusGetMultiSlotDataStatusRequestDefaultTypeInternal _TusGetMultiSlotDataStatusRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiSlotDataStatusRequest_class_data_; +class TusGetMultiSlotVariableRequest; +struct TusGetMultiSlotVariableRequestDefaultTypeInternal; +extern TusGetMultiSlotVariableRequestDefaultTypeInternal _TusGetMultiSlotVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiSlotVariableRequest_class_data_; +class TusGetMultiUserDataStatusRequest; +struct TusGetMultiUserDataStatusRequestDefaultTypeInternal; +extern TusGetMultiUserDataStatusRequestDefaultTypeInternal _TusGetMultiUserDataStatusRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiUserDataStatusRequest_class_data_; +class TusGetMultiUserVariableRequest; +struct TusGetMultiUserVariableRequestDefaultTypeInternal; +extern TusGetMultiUserVariableRequestDefaultTypeInternal _TusGetMultiUserVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiUserVariableRequest_class_data_; +class TusSetDataRequest; +struct TusSetDataRequestDefaultTypeInternal; +extern TusSetDataRequestDefaultTypeInternal _TusSetDataRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<30> TusSetDataRequest_class_data_; +class TusSetMultiSlotVariableRequest; +struct TusSetMultiSlotVariableRequestDefaultTypeInternal; +extern TusSetMultiSlotVariableRequestDefaultTypeInternal _TusSetMultiSlotVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<43> TusSetMultiSlotVariableRequest_class_data_; +class TusTryAndSetVariableRequest; +struct TusTryAndSetVariableRequestDefaultTypeInternal; +extern TusTryAndSetVariableRequestDefaultTypeInternal _TusTryAndSetVariableRequest_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<40> TusTryAndSetVariableRequest_class_data_; +class TusUser; +struct TusUserDefaultTypeInternal; +extern TusUserDefaultTypeInternal _TusUser_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<20> TusUser_class_data_; +class TusVarResponse; +struct TusVarResponseDefaultTypeInternal; +extern TusVarResponseDefaultTypeInternal _TusVarResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<27> TusVarResponse_class_data_; +class TusVariable; +struct TusVariableDefaultTypeInternal; +extern TusVariableDefaultTypeInternal _TusVariable_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<24> TusVariable_class_data_; +class UserInfo; +struct UserInfoDefaultTypeInternal; +extern UserInfoDefaultTypeInternal _UserInfo_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<21> UserInfo_class_data_; +class uint16; +struct uint16DefaultTypeInternal; +extern uint16DefaultTypeInternal _uint16_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<19> uint16_class_data_; +class uint8; +struct uint8DefaultTypeInternal; +extern uint8DefaultTypeInternal _uint8_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<18> uint8_class_data_; +} // namespace np2_structs +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace np2_structs { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class uint8 final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.uint8) */ { + public: + inline uint8() : uint8(nullptr) {} + ~uint8() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(uint8* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(uint8)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR uint8(::google::protobuf::internal::ConstantInitialized); + + inline uint8(const uint8& from) : uint8(nullptr, from) {} + inline uint8(uint8&& from) noexcept + : uint8(nullptr, ::std::move(from)) {} + inline uint8& operator=(const uint8& from) { + CopyFrom(from); + return *this; + } + inline uint8& operator=(uint8&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const uint8& default_instance() { + return *reinterpret_cast( + &_uint8_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(uint8& a, uint8& b) { a.Swap(&b); } + inline void Swap(uint8* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(uint8* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + uint8* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const uint8& from); + void MergeFrom(const uint8& from) { uint8::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(uint8* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.uint8"; } + + explicit uint8(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + uint8(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint8& from); + uint8( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, uint8&& from) noexcept + : uint8(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // uint32 value = 1; + void clear_value() ; + ::uint32_t value() const; + void set_value(::uint32_t value); + + private: + ::uint32_t _internal_value() const; + void _internal_set_value(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.uint8) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const uint8& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t value_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<18> uint8_class_data_; +// ------------------------------------------------------------------- + +class uint16 final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.uint16) */ { + public: + inline uint16() : uint16(nullptr) {} + ~uint16() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(uint16* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(uint16)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR uint16(::google::protobuf::internal::ConstantInitialized); + + inline uint16(const uint16& from) : uint16(nullptr, from) {} + inline uint16(uint16&& from) noexcept + : uint16(nullptr, ::std::move(from)) {} + inline uint16& operator=(const uint16& from) { + CopyFrom(from); + return *this; + } + inline uint16& operator=(uint16&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const uint16& default_instance() { + return *reinterpret_cast( + &_uint16_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(uint16& a, uint16& b) { a.Swap(&b); } + inline void Swap(uint16* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(uint16* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + uint16* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const uint16& from); + void MergeFrom(const uint16& from) { uint16::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(uint16* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.uint16"; } + + explicit uint16(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + uint16(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const uint16& from); + uint16( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, uint16&& from) noexcept + : uint16(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // uint32 value = 1; + void clear_value() ; + ::uint32_t value() const; + void set_value(::uint32_t value); + + private: + ::uint32_t _internal_value() const; + void _internal_set_value(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.uint16) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const uint16& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t value_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<19> uint16_class_data_; +// ------------------------------------------------------------------- + +class UserInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.UserInfo) */ { + public: + inline UserInfo() : UserInfo(nullptr) {} + ~UserInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(UserInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UserInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR UserInfo(::google::protobuf::internal::ConstantInitialized); + + inline UserInfo(const UserInfo& from) : UserInfo(nullptr, from) {} + inline UserInfo(UserInfo&& from) noexcept + : UserInfo(nullptr, ::std::move(from)) {} + inline UserInfo& operator=(const UserInfo& from) { + CopyFrom(from); + return *this; + } + inline UserInfo& operator=(UserInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const UserInfo& default_instance() { + return *reinterpret_cast( + &_UserInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(UserInfo& a, UserInfo& b) { a.Swap(&b); } + inline void Swap(UserInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UserInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UserInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const UserInfo& from); + void MergeFrom(const UserInfo& from) { UserInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(UserInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.UserInfo"; } + + explicit UserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + UserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UserInfo& from); + UserInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, UserInfo&& from) noexcept + : UserInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpIdFieldNumber = 1, + kOnlineNameFieldNumber = 2, + kAvatarUrlFieldNumber = 3, + }; + // string npId = 1; + void clear_npid() ; + const ::std::string& npid() const; + template + void set_npid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_npid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_npid(); + void set_allocated_npid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_npid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_npid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_npid(); + + public: + // string onlineName = 2; + void clear_onlinename() ; + const ::std::string& onlinename() const; + template + void set_onlinename(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_onlinename(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_onlinename(); + void set_allocated_onlinename(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_onlinename() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_onlinename(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_onlinename(); + + public: + // string avatarUrl = 3; + void clear_avatarurl() ; + const ::std::string& avatarurl() const; + template + void set_avatarurl(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_avatarurl(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_avatarurl(); + void set_allocated_avatarurl(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_avatarurl() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_avatarurl(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_avatarurl(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.UserInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 52, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const UserInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr npid_; + ::google::protobuf::internal::ArenaStringPtr onlinename_; + ::google::protobuf::internal::ArenaStringPtr avatarurl_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<21> UserInfo_class_data_; +// ------------------------------------------------------------------- + +class TusVariable final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusVariable) */ { + public: + inline TusVariable() : TusVariable(nullptr) {} + ~TusVariable() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusVariable* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusVariable)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusVariable(::google::protobuf::internal::ConstantInitialized); + + inline TusVariable(const TusVariable& from) : TusVariable(nullptr, from) {} + inline TusVariable(TusVariable&& from) noexcept + : TusVariable(nullptr, ::std::move(from)) {} + inline TusVariable& operator=(const TusVariable& from) { + CopyFrom(from); + return *this; + } + inline TusVariable& operator=(TusVariable&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusVariable& default_instance() { + return *reinterpret_cast( + &_TusVariable_default_instance_); + } + static constexpr int kIndexInFileMessages = 56; + friend void swap(TusVariable& a, TusVariable& b) { a.Swap(&b); } + inline void Swap(TusVariable* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusVariable* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusVariable* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusVariable& from); + void MergeFrom(const TusVariable& from) { TusVariable::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusVariable* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusVariable"; } + + explicit TusVariable(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusVariable(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusVariable& from); + TusVariable( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusVariable&& from) noexcept + : TusVariable(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOwnerIdFieldNumber = 1, + kLastChangedAuthorIdFieldNumber = 4, + kLastChangedDateFieldNumber = 3, + kVariableFieldNumber = 5, + kOldVariableFieldNumber = 6, + kHasDataFieldNumber = 2, + }; + // string ownerId = 1; + void clear_ownerid() ; + const ::std::string& ownerid() const; + template + void set_ownerid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_ownerid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ownerid(); + void set_allocated_ownerid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_ownerid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_ownerid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_ownerid(); + + public: + // string lastChangedAuthorId = 4; + void clear_lastchangedauthorid() ; + const ::std::string& lastchangedauthorid() const; + template + void set_lastchangedauthorid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_lastchangedauthorid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_lastchangedauthorid(); + void set_allocated_lastchangedauthorid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_lastchangedauthorid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_lastchangedauthorid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_lastchangedauthorid(); + + public: + // uint64 lastChangedDate = 3; + void clear_lastchangeddate() ; + ::uint64_t lastchangeddate() const; + void set_lastchangeddate(::uint64_t value); + + private: + ::uint64_t _internal_lastchangeddate() const; + void _internal_set_lastchangeddate(::uint64_t value); + + public: + // int64 variable = 5; + void clear_variable() ; + ::int64_t variable() const; + void set_variable(::int64_t value); + + private: + ::int64_t _internal_variable() const; + void _internal_set_variable(::int64_t value); + + public: + // int64 oldVariable = 6; + void clear_oldvariable() ; + ::int64_t oldvariable() const; + void set_oldvariable(::int64_t value); + + private: + ::int64_t _internal_oldvariable() const; + void _internal_set_oldvariable(::int64_t value); + + public: + // bool hasData = 2; + void clear_hasdata() ; + bool hasdata() const; + void set_hasdata(bool value); + + private: + bool _internal_hasdata() const; + void _internal_set_hasdata(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusVariable) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 6, + 0, 58, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusVariable& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr ownerid_; + ::google::protobuf::internal::ArenaStringPtr lastchangedauthorid_; + ::uint64_t lastchangeddate_; + ::int64_t variable_; + ::int64_t oldvariable_; + bool hasdata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<24> TusVariable_class_data_; +// ------------------------------------------------------------------- + +class TusUser final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusUser) */ { + public: + inline TusUser() : TusUser(nullptr) {} + ~TusUser() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusUser* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusUser)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusUser(::google::protobuf::internal::ConstantInitialized); + + inline TusUser(const TusUser& from) : TusUser(nullptr, from) {} + inline TusUser(TusUser&& from) noexcept + : TusUser(nullptr, ::std::move(from)) {} + inline TusUser& operator=(const TusUser& from) { + CopyFrom(from); + return *this; + } + inline TusUser& operator=(TusUser&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusUser& default_instance() { + return *reinterpret_cast( + &_TusUser_default_instance_); + } + static constexpr int kIndexInFileMessages = 55; + friend void swap(TusUser& a, TusUser& b) { a.Swap(&b); } + inline void Swap(TusUser* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusUser* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusUser* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusUser& from); + void MergeFrom(const TusUser& from) { TusUser::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusUser* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusUser"; } + + explicit TusUser(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusUser(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusUser& from); + TusUser( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusUser&& from) noexcept + : TusUser(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpidFieldNumber = 2, + kVuserFieldNumber = 1, + }; + // string npid = 2; + void clear_npid() ; + const ::std::string& npid() const; + template + void set_npid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_npid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_npid(); + void set_allocated_npid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_npid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_npid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_npid(); + + public: + // bool vuser = 1; + void clear_vuser() ; + bool vuser() const; + void set_vuser(bool value); + + private: + bool _internal_vuser() const; + void _internal_set_vuser(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusUser) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 32, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusUser& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr npid_; + bool vuser_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<20> TusUser_class_data_; +// ------------------------------------------------------------------- + +class TusGetFriendsVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetFriendsVariableRequest) */ { + public: + inline TusGetFriendsVariableRequest() : TusGetFriendsVariableRequest(nullptr) {} + ~TusGetFriendsVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetFriendsVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetFriendsVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetFriendsVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetFriendsVariableRequest(const TusGetFriendsVariableRequest& from) : TusGetFriendsVariableRequest(nullptr, from) {} + inline TusGetFriendsVariableRequest(TusGetFriendsVariableRequest&& from) noexcept + : TusGetFriendsVariableRequest(nullptr, ::std::move(from)) {} + inline TusGetFriendsVariableRequest& operator=(const TusGetFriendsVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetFriendsVariableRequest& operator=(TusGetFriendsVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetFriendsVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusGetFriendsVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 61; + friend void swap(TusGetFriendsVariableRequest& a, TusGetFriendsVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusGetFriendsVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetFriendsVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetFriendsVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetFriendsVariableRequest& from); + void MergeFrom(const TusGetFriendsVariableRequest& from) { TusGetFriendsVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetFriendsVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetFriendsVariableRequest"; } + + explicit TusGetFriendsVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetFriendsVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetFriendsVariableRequest& from); + TusGetFriendsVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetFriendsVariableRequest&& from) noexcept + : TusGetFriendsVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdFieldNumber = 1, + kIncludeSelfFieldNumber = 2, + kSortTypeFieldNumber = 3, + kArrayNumFieldNumber = 4, + }; + // int32 slotId = 1; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // bool includeSelf = 2; + void clear_includeself() ; + bool includeself() const; + void set_includeself(bool value); + + private: + bool _internal_includeself() const; + void _internal_set_includeself(bool value); + + public: + // int32 sortType = 3; + void clear_sorttype() ; + ::int32_t sorttype() const; + void set_sorttype(::int32_t value); + + private: + ::int32_t _internal_sorttype() const; + void _internal_set_sorttype(::int32_t value); + + public: + // uint32 arrayNum = 4; + void clear_arraynum() ; + ::uint32_t arraynum() const; + void set_arraynum(::uint32_t value); + + private: + ::uint32_t _internal_arraynum() const; + void _internal_set_arraynum(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetFriendsVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetFriendsVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::int32_t slotid_; + bool includeself_; + ::int32_t sorttype_; + ::uint32_t arraynum_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<41> TusGetFriendsVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class TusGetFriendsDataStatusRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetFriendsDataStatusRequest) */ { + public: + inline TusGetFriendsDataStatusRequest() : TusGetFriendsDataStatusRequest(nullptr) {} + ~TusGetFriendsDataStatusRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetFriendsDataStatusRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetFriendsDataStatusRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetFriendsDataStatusRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetFriendsDataStatusRequest(const TusGetFriendsDataStatusRequest& from) : TusGetFriendsDataStatusRequest(nullptr, from) {} + inline TusGetFriendsDataStatusRequest(TusGetFriendsDataStatusRequest&& from) noexcept + : TusGetFriendsDataStatusRequest(nullptr, ::std::move(from)) {} + inline TusGetFriendsDataStatusRequest& operator=(const TusGetFriendsDataStatusRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetFriendsDataStatusRequest& operator=(TusGetFriendsDataStatusRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetFriendsDataStatusRequest& default_instance() { + return *reinterpret_cast( + &_TusGetFriendsDataStatusRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 72; + friend void swap(TusGetFriendsDataStatusRequest& a, TusGetFriendsDataStatusRequest& b) { a.Swap(&b); } + inline void Swap(TusGetFriendsDataStatusRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetFriendsDataStatusRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetFriendsDataStatusRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetFriendsDataStatusRequest& from); + void MergeFrom(const TusGetFriendsDataStatusRequest& from) { TusGetFriendsDataStatusRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetFriendsDataStatusRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetFriendsDataStatusRequest"; } + + explicit TusGetFriendsDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetFriendsDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetFriendsDataStatusRequest& from); + TusGetFriendsDataStatusRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetFriendsDataStatusRequest&& from) noexcept + : TusGetFriendsDataStatusRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdFieldNumber = 1, + kIncludeSelfFieldNumber = 2, + kSortTypeFieldNumber = 3, + kArrayNumFieldNumber = 4, + }; + // int32 slotId = 1; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // bool includeSelf = 2; + void clear_includeself() ; + bool includeself() const; + void set_includeself(bool value); + + private: + bool _internal_includeself() const; + void _internal_set_includeself(bool value); + + public: + // int32 sortType = 3; + void clear_sorttype() ; + ::int32_t sorttype() const; + void set_sorttype(::int32_t value); + + private: + ::int32_t _internal_sorttype() const; + void _internal_set_sorttype(::int32_t value); + + public: + // uint32 arrayNum = 4; + void clear_arraynum() ; + ::uint32_t arraynum() const; + void set_arraynum(::uint32_t value); + + private: + ::uint32_t _internal_arraynum() const; + void _internal_set_arraynum(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetFriendsDataStatusRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetFriendsDataStatusRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::int32_t slotid_; + bool includeself_; + ::int32_t sorttype_; + ::uint32_t arraynum_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<43> TusGetFriendsDataStatusRequest_class_data_; +// ------------------------------------------------------------------- + +class TusDataStatus final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusDataStatus) */ { + public: + inline TusDataStatus() : TusDataStatus(nullptr) {} + ~TusDataStatus() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusDataStatus* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusDataStatus)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusDataStatus(::google::protobuf::internal::ConstantInitialized); + + inline TusDataStatus(const TusDataStatus& from) : TusDataStatus(nullptr, from) {} + inline TusDataStatus(TusDataStatus&& from) noexcept + : TusDataStatus(nullptr, ::std::move(from)) {} + inline TusDataStatus& operator=(const TusDataStatus& from) { + CopyFrom(from); + return *this; + } + inline TusDataStatus& operator=(TusDataStatus&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusDataStatus& default_instance() { + return *reinterpret_cast( + &_TusDataStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = 66; + friend void swap(TusDataStatus& a, TusDataStatus& b) { a.Swap(&b); } + inline void Swap(TusDataStatus* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusDataStatus* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusDataStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusDataStatus& from); + void MergeFrom(const TusDataStatus& from) { TusDataStatus::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusDataStatus* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusDataStatus"; } + + explicit TusDataStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusDataStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusDataStatus& from); + TusDataStatus( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusDataStatus&& from) noexcept + : TusDataStatus(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOwnerIdFieldNumber = 1, + kLastChangedAuthorIdFieldNumber = 4, + kInfoFieldNumber = 5, + kLastChangedDateFieldNumber = 3, + kHasDataFieldNumber = 2, + }; + // string ownerId = 1; + void clear_ownerid() ; + const ::std::string& ownerid() const; + template + void set_ownerid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_ownerid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ownerid(); + void set_allocated_ownerid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_ownerid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_ownerid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_ownerid(); + + public: + // string lastChangedAuthorId = 4; + void clear_lastchangedauthorid() ; + const ::std::string& lastchangedauthorid() const; + template + void set_lastchangedauthorid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_lastchangedauthorid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_lastchangedauthorid(); + void set_allocated_lastchangedauthorid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_lastchangedauthorid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_lastchangedauthorid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_lastchangedauthorid(); + + public: + // bytes info = 5; + void clear_info() ; + const ::std::string& info() const; + template + void set_info(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_info(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_info(); + void set_allocated_info(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_info() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_info(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_info(); + + public: + // uint64 lastChangedDate = 3; + void clear_lastchangeddate() ; + ::uint64_t lastchangeddate() const; + void set_lastchangeddate(::uint64_t value); + + private: + ::uint64_t _internal_lastchangeddate() const; + void _internal_set_lastchangeddate(::uint64_t value); + + public: + // bool hasData = 2; + void clear_hasdata() ; + bool hasdata() const; + void set_hasdata(bool value); + + private: + bool _internal_hasdata() const; + void _internal_set_hasdata(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusDataStatus) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 0, 60, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusDataStatus& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr ownerid_; + ::google::protobuf::internal::ArenaStringPtr lastchangedauthorid_; + ::google::protobuf::internal::ArenaStringPtr info_; + ::uint64_t lastchangeddate_; + bool hasdata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<26> TusDataStatus_class_data_; +// ------------------------------------------------------------------- + +class SetRoomSearchFlagGUI final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SetRoomSearchFlagGUI) */ { + public: + inline SetRoomSearchFlagGUI() : SetRoomSearchFlagGUI(nullptr) {} + ~SetRoomSearchFlagGUI() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetRoomSearchFlagGUI* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetRoomSearchFlagGUI)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetRoomSearchFlagGUI(::google::protobuf::internal::ConstantInitialized); + + inline SetRoomSearchFlagGUI(const SetRoomSearchFlagGUI& from) : SetRoomSearchFlagGUI(nullptr, from) {} + inline SetRoomSearchFlagGUI(SetRoomSearchFlagGUI&& from) noexcept + : SetRoomSearchFlagGUI(nullptr, ::std::move(from)) {} + inline SetRoomSearchFlagGUI& operator=(const SetRoomSearchFlagGUI& from) { + CopyFrom(from); + return *this; + } + inline SetRoomSearchFlagGUI& operator=(SetRoomSearchFlagGUI&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SetRoomSearchFlagGUI& default_instance() { + return *reinterpret_cast( + &_SetRoomSearchFlagGUI_default_instance_); + } + static constexpr int kIndexInFileMessages = 84; + friend void swap(SetRoomSearchFlagGUI& a, SetRoomSearchFlagGUI& b) { a.Swap(&b); } + inline void Swap(SetRoomSearchFlagGUI* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetRoomSearchFlagGUI* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetRoomSearchFlagGUI* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SetRoomSearchFlagGUI& from); + void MergeFrom(const SetRoomSearchFlagGUI& from) { SetRoomSearchFlagGUI::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetRoomSearchFlagGUI* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SetRoomSearchFlagGUI"; } + + explicit SetRoomSearchFlagGUI(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetRoomSearchFlagGUI(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetRoomSearchFlagGUI& from); + SetRoomSearchFlagGUI( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetRoomSearchFlagGUI&& from) noexcept + : SetRoomSearchFlagGUI(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomidFieldNumber = 1, + kStealthFieldNumber = 2, + }; + // bytes roomid = 1; + void clear_roomid() ; + const ::std::string& roomid() const; + template + void set_roomid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_roomid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_roomid(); + void set_allocated_roomid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_roomid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_roomid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_roomid(); + + public: + // bool stealth = 2; + void clear_stealth() ; + bool stealth() const; + void set_stealth(bool value); + + private: + bool _internal_stealth() const; + void _internal_set_stealth(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SetRoomSearchFlagGUI) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetRoomSearchFlagGUI& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr roomid_; + bool stealth_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<33> SetRoomSearchFlagGUI_class_data_; +// ------------------------------------------------------------------- + +class SetPresenceRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SetPresenceRequest) */ { + public: + inline SetPresenceRequest() : SetPresenceRequest(nullptr) {} + ~SetPresenceRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetPresenceRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetPresenceRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetPresenceRequest(::google::protobuf::internal::ConstantInitialized); + + inline SetPresenceRequest(const SetPresenceRequest& from) : SetPresenceRequest(nullptr, from) {} + inline SetPresenceRequest(SetPresenceRequest&& from) noexcept + : SetPresenceRequest(nullptr, ::std::move(from)) {} + inline SetPresenceRequest& operator=(const SetPresenceRequest& from) { + CopyFrom(from); + return *this; + } + inline SetPresenceRequest& operator=(SetPresenceRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SetPresenceRequest& default_instance() { + return *reinterpret_cast( + &_SetPresenceRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 74; + friend void swap(SetPresenceRequest& a, SetPresenceRequest& b) { a.Swap(&b); } + inline void Swap(SetPresenceRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetPresenceRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetPresenceRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SetPresenceRequest& from); + void MergeFrom(const SetPresenceRequest& from) { SetPresenceRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetPresenceRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SetPresenceRequest"; } + + explicit SetPresenceRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetPresenceRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetPresenceRequest& from); + SetPresenceRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetPresenceRequest&& from) noexcept + : SetPresenceRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTitleFieldNumber = 1, + kStatusFieldNumber = 2, + kCommentFieldNumber = 3, + kDataFieldNumber = 4, + }; + // string title = 1; + void clear_title() ; + const ::std::string& title() const; + template + void set_title(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_title(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_title(); + void set_allocated_title(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_title() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_title(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_title(); + + public: + // string status = 2; + void clear_status() ; + const ::std::string& status() const; + template + void set_status(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_status(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_status(); + void set_allocated_status(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_status() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_status(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_status(); + + public: + // string comment = 3; + void clear_comment() ; + const ::std::string& comment() const; + template + void set_comment(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_comment(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_comment(); + void set_allocated_comment(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_comment() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_comment(); + + public: + // bytes data = 4; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SetPresenceRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 57, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetPresenceRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr title_; + ::google::protobuf::internal::ArenaStringPtr status_; + ::google::protobuf::internal::ArenaStringPtr comment_; + ::google::protobuf::internal::ArenaStringPtr data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> SetPresenceRequest_class_data_; +// ------------------------------------------------------------------- + +class SendMessageRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SendMessageRequest) */ { + public: + inline SendMessageRequest() : SendMessageRequest(nullptr) {} + ~SendMessageRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SendMessageRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SendMessageRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SendMessageRequest(::google::protobuf::internal::ConstantInitialized); + + inline SendMessageRequest(const SendMessageRequest& from) : SendMessageRequest(nullptr, from) {} + inline SendMessageRequest(SendMessageRequest&& from) noexcept + : SendMessageRequest(nullptr, ::std::move(from)) {} + inline SendMessageRequest& operator=(const SendMessageRequest& from) { + CopyFrom(from); + return *this; + } + inline SendMessageRequest& operator=(SendMessageRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SendMessageRequest& default_instance() { + return *reinterpret_cast( + &_SendMessageRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 43; + friend void swap(SendMessageRequest& a, SendMessageRequest& b) { a.Swap(&b); } + inline void Swap(SendMessageRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SendMessageRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SendMessageRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SendMessageRequest& from); + void MergeFrom(const SendMessageRequest& from) { SendMessageRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SendMessageRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SendMessageRequest"; } + + explicit SendMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SendMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SendMessageRequest& from); + SendMessageRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SendMessageRequest&& from) noexcept + : SendMessageRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpidsFieldNumber = 2, + kMessageFieldNumber = 1, + }; + // repeated string npids = 2; + int npids_size() const; + private: + int _internal_npids_size() const; + + public: + void clear_npids() ; + const ::std::string& npids(int index) const; + ::std::string* PROTOBUF_NONNULL mutable_npids(int index); + template + void set_npids(int index, Arg_&& value, Args_... args); + ::std::string* PROTOBUF_NONNULL add_npids(); + template + void add_npids(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField<::std::string>& npids() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_npids(); + + private: + const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_npids() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_npids(); + + public: + // bytes message = 1; + void clear_message() ; + const ::std::string& message() const; + template + void set_message(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_message(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_message(); + void set_allocated_message(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_message() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_message(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_message(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SendMessageRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 44, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SendMessageRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField<::std::string> npids_; + ::google::protobuf::internal::ArenaStringPtr message_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> SendMessageRequest_class_data_; +// ------------------------------------------------------------------- + +class ScoreRankData final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.ScoreRankData) */ { + public: + inline ScoreRankData() : ScoreRankData(nullptr) {} + ~ScoreRankData() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ScoreRankData* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ScoreRankData)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ScoreRankData(::google::protobuf::internal::ConstantInitialized); + + inline ScoreRankData(const ScoreRankData& from) : ScoreRankData(nullptr, from) {} + inline ScoreRankData(ScoreRankData&& from) noexcept + : ScoreRankData(nullptr, ::std::move(from)) {} + inline ScoreRankData& operator=(const ScoreRankData& from) { + CopyFrom(from); + return *this; + } + inline ScoreRankData& operator=(ScoreRankData&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const ScoreRankData& default_instance() { + return *reinterpret_cast( + &_ScoreRankData_default_instance_); + } + static constexpr int kIndexInFileMessages = 50; + friend void swap(ScoreRankData& a, ScoreRankData& b) { a.Swap(&b); } + inline void Swap(ScoreRankData* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ScoreRankData* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScoreRankData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const ScoreRankData& from); + void MergeFrom(const ScoreRankData& from) { ScoreRankData::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ScoreRankData* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.ScoreRankData"; } + + explicit ScoreRankData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + ScoreRankData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ScoreRankData& from); + ScoreRankData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ScoreRankData&& from) noexcept + : ScoreRankData(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpIdFieldNumber = 1, + kOnlineNameFieldNumber = 2, + kPcIdFieldNumber = 3, + kRankFieldNumber = 4, + kScoreFieldNumber = 5, + kRecordDateFieldNumber = 7, + kHasGameDataFieldNumber = 6, + }; + // string npId = 1; + void clear_npid() ; + const ::std::string& npid() const; + template + void set_npid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_npid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_npid(); + void set_allocated_npid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_npid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_npid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_npid(); + + public: + // string onlineName = 2; + void clear_onlinename() ; + const ::std::string& onlinename() const; + template + void set_onlinename(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_onlinename(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_onlinename(); + void set_allocated_onlinename(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_onlinename() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_onlinename(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_onlinename(); + + public: + // int32 pcId = 3; + void clear_pcid() ; + ::int32_t pcid() const; + void set_pcid(::int32_t value); + + private: + ::int32_t _internal_pcid() const; + void _internal_set_pcid(::int32_t value); + + public: + // uint32 rank = 4; + void clear_rank() ; + ::uint32_t rank() const; + void set_rank(::uint32_t value); + + private: + ::uint32_t _internal_rank() const; + void _internal_set_rank(::uint32_t value); + + public: + // int64 score = 5; + void clear_score() ; + ::int64_t score() const; + void set_score(::int64_t value); + + private: + ::int64_t _internal_score() const; + void _internal_set_score(::int64_t value); + + public: + // uint64 recordDate = 7; + void clear_recorddate() ; + ::uint64_t recorddate() const; + void set_recorddate(::uint64_t value); + + private: + ::uint64_t _internal_recorddate() const; + void _internal_set_recorddate(::uint64_t value); + + public: + // bool hasGameData = 6; + void clear_hasgamedata() ; + bool hasgamedata() const; + void set_hasgamedata(bool value); + + private: + bool _internal_hasgamedata() const; + void _internal_set_hasgamedata(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.ScoreRankData) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 7, + 0, 48, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ScoreRankData& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr npid_; + ::google::protobuf::internal::ArenaStringPtr onlinename_; + ::int32_t pcid_; + ::uint32_t rank_; + ::int64_t score_; + ::uint64_t recorddate_; + bool hasgamedata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<26> ScoreRankData_class_data_; +// ------------------------------------------------------------------- + +class ScoreNpIdPcId final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.ScoreNpIdPcId) */ { + public: + inline ScoreNpIdPcId() : ScoreNpIdPcId(nullptr) {} + ~ScoreNpIdPcId() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ScoreNpIdPcId* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ScoreNpIdPcId)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ScoreNpIdPcId(::google::protobuf::internal::ConstantInitialized); + + inline ScoreNpIdPcId(const ScoreNpIdPcId& from) : ScoreNpIdPcId(nullptr, from) {} + inline ScoreNpIdPcId(ScoreNpIdPcId&& from) noexcept + : ScoreNpIdPcId(nullptr, ::std::move(from)) {} + inline ScoreNpIdPcId& operator=(const ScoreNpIdPcId& from) { + CopyFrom(from); + return *this; + } + inline ScoreNpIdPcId& operator=(ScoreNpIdPcId&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const ScoreNpIdPcId& default_instance() { + return *reinterpret_cast( + &_ScoreNpIdPcId_default_instance_); + } + static constexpr int kIndexInFileMessages = 47; + friend void swap(ScoreNpIdPcId& a, ScoreNpIdPcId& b) { a.Swap(&b); } + inline void Swap(ScoreNpIdPcId* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ScoreNpIdPcId* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScoreNpIdPcId* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const ScoreNpIdPcId& from); + void MergeFrom(const ScoreNpIdPcId& from) { ScoreNpIdPcId::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ScoreNpIdPcId* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.ScoreNpIdPcId"; } + + explicit ScoreNpIdPcId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + ScoreNpIdPcId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ScoreNpIdPcId& from); + ScoreNpIdPcId( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ScoreNpIdPcId&& from) noexcept + : ScoreNpIdPcId(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpidFieldNumber = 1, + kPcIdFieldNumber = 2, + }; + // string npid = 1; + void clear_npid() ; + const ::std::string& npid() const; + template + void set_npid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_npid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_npid(); + void set_allocated_npid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_npid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_npid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_npid(); + + public: + // int32 pcId = 2; + void clear_pcid() ; + ::int32_t pcid() const; + void set_pcid(::int32_t value); + + private: + ::int32_t _internal_pcid() const; + void _internal_set_pcid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.ScoreNpIdPcId) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 38, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ScoreNpIdPcId& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr npid_; + ::int32_t pcid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<26> ScoreNpIdPcId_class_data_; +// ------------------------------------------------------------------- + +class ScoreInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.ScoreInfo) */ { + public: + inline ScoreInfo() : ScoreInfo(nullptr) {} + ~ScoreInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ScoreInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ScoreInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ScoreInfo(::google::protobuf::internal::ConstantInitialized); + + inline ScoreInfo(const ScoreInfo& from) : ScoreInfo(nullptr, from) {} + inline ScoreInfo(ScoreInfo&& from) noexcept + : ScoreInfo(nullptr, ::std::move(from)) {} + inline ScoreInfo& operator=(const ScoreInfo& from) { + CopyFrom(from); + return *this; + } + inline ScoreInfo& operator=(ScoreInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const ScoreInfo& default_instance() { + return *reinterpret_cast( + &_ScoreInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 51; + friend void swap(ScoreInfo& a, ScoreInfo& b) { a.Swap(&b); } + inline void Swap(ScoreInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ScoreInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ScoreInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const ScoreInfo& from); + void MergeFrom(const ScoreInfo& from) { ScoreInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ScoreInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.ScoreInfo"; } + + explicit ScoreInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + ScoreInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ScoreInfo& from); + ScoreInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ScoreInfo&& from) noexcept + : ScoreInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDataFieldNumber = 1, + }; + // bytes data = 1; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.ScoreInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const ScoreInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<22> ScoreInfo_class_data_; +// ------------------------------------------------------------------- + +class RecordScoreRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RecordScoreRequest) */ { + public: + inline RecordScoreRequest() : RecordScoreRequest(nullptr) {} + ~RecordScoreRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RecordScoreRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RecordScoreRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RecordScoreRequest(::google::protobuf::internal::ConstantInitialized); + + inline RecordScoreRequest(const RecordScoreRequest& from) : RecordScoreRequest(nullptr, from) {} + inline RecordScoreRequest(RecordScoreRequest&& from) noexcept + : RecordScoreRequest(nullptr, ::std::move(from)) {} + inline RecordScoreRequest& operator=(const RecordScoreRequest& from) { + CopyFrom(from); + return *this; + } + inline RecordScoreRequest& operator=(RecordScoreRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RecordScoreRequest& default_instance() { + return *reinterpret_cast( + &_RecordScoreRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 45; + friend void swap(RecordScoreRequest& a, RecordScoreRequest& b) { a.Swap(&b); } + inline void Swap(RecordScoreRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RecordScoreRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RecordScoreRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RecordScoreRequest& from); + void MergeFrom(const RecordScoreRequest& from) { RecordScoreRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RecordScoreRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RecordScoreRequest"; } + + explicit RecordScoreRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RecordScoreRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RecordScoreRequest& from); + RecordScoreRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RecordScoreRequest&& from) noexcept + : RecordScoreRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCommentFieldNumber = 4, + kDataFieldNumber = 5, + kBoardIdFieldNumber = 1, + kPcIdFieldNumber = 2, + kScoreFieldNumber = 3, + }; + // string comment = 4; + void clear_comment() ; + const ::std::string& comment() const; + template + void set_comment(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_comment(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_comment(); + void set_allocated_comment(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_comment() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_comment(); + + public: + // bytes data = 5; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // uint32 boardId = 1; + void clear_boardid() ; + ::uint32_t boardid() const; + void set_boardid(::uint32_t value); + + private: + ::uint32_t _internal_boardid() const; + void _internal_set_boardid(::uint32_t value); + + public: + // int32 pcId = 2; + void clear_pcid() ; + ::int32_t pcid() const; + void set_pcid(::int32_t value); + + private: + ::int32_t _internal_pcid() const; + void _internal_set_pcid(::int32_t value); + + public: + // int64 score = 3; + void clear_score() ; + ::int64_t score() const; + void set_score(::int64_t value); + + private: + ::int64_t _internal_score() const; + void _internal_set_score(::int64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RecordScoreRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 0, 46, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RecordScoreRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr comment_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::uint32_t boardid_; + ::int32_t pcid_; + ::int64_t score_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> RecordScoreRequest_class_data_; +// ------------------------------------------------------------------- + +class RecordScoreGameDataRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RecordScoreGameDataRequest) */ { + public: + inline RecordScoreGameDataRequest() : RecordScoreGameDataRequest(nullptr) {} + ~RecordScoreGameDataRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RecordScoreGameDataRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RecordScoreGameDataRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RecordScoreGameDataRequest(::google::protobuf::internal::ConstantInitialized); + + inline RecordScoreGameDataRequest(const RecordScoreGameDataRequest& from) : RecordScoreGameDataRequest(nullptr, from) {} + inline RecordScoreGameDataRequest(RecordScoreGameDataRequest&& from) noexcept + : RecordScoreGameDataRequest(nullptr, ::std::move(from)) {} + inline RecordScoreGameDataRequest& operator=(const RecordScoreGameDataRequest& from) { + CopyFrom(from); + return *this; + } + inline RecordScoreGameDataRequest& operator=(RecordScoreGameDataRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RecordScoreGameDataRequest& default_instance() { + return *reinterpret_cast( + &_RecordScoreGameDataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 53; + friend void swap(RecordScoreGameDataRequest& a, RecordScoreGameDataRequest& b) { a.Swap(&b); } + inline void Swap(RecordScoreGameDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RecordScoreGameDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RecordScoreGameDataRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RecordScoreGameDataRequest& from); + void MergeFrom(const RecordScoreGameDataRequest& from) { RecordScoreGameDataRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RecordScoreGameDataRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RecordScoreGameDataRequest"; } + + explicit RecordScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RecordScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RecordScoreGameDataRequest& from); + RecordScoreGameDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RecordScoreGameDataRequest&& from) noexcept + : RecordScoreGameDataRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kBoardIdFieldNumber = 1, + kPcIdFieldNumber = 2, + kScoreFieldNumber = 3, + }; + // uint32 boardId = 1; + void clear_boardid() ; + ::uint32_t boardid() const; + void set_boardid(::uint32_t value); + + private: + ::uint32_t _internal_boardid() const; + void _internal_set_boardid(::uint32_t value); + + public: + // int32 pcId = 2; + void clear_pcid() ; + ::int32_t pcid() const; + void set_pcid(::int32_t value); + + private: + ::int32_t _internal_pcid() const; + void _internal_set_pcid(::int32_t value); + + public: + // int64 score = 3; + void clear_score() ; + ::int64_t score() const; + void set_score(::int64_t value); + + private: + ::int64_t _internal_score() const; + void _internal_set_score(::int64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RecordScoreGameDataRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RecordScoreGameDataRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t boardid_; + ::int32_t pcid_; + ::int64_t score_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> RecordScoreGameDataRequest_class_data_; +// ------------------------------------------------------------------- + +class PresenceOptionData final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.PresenceOptionData) */ { + public: + inline PresenceOptionData() : PresenceOptionData(nullptr) {} + ~PresenceOptionData() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(PresenceOptionData* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(PresenceOptionData)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR PresenceOptionData(::google::protobuf::internal::ConstantInitialized); + + inline PresenceOptionData(const PresenceOptionData& from) : PresenceOptionData(nullptr, from) {} + inline PresenceOptionData(PresenceOptionData&& from) noexcept + : PresenceOptionData(nullptr, ::std::move(from)) {} + inline PresenceOptionData& operator=(const PresenceOptionData& from) { + CopyFrom(from); + return *this; + } + inline PresenceOptionData& operator=(PresenceOptionData&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const PresenceOptionData& default_instance() { + return *reinterpret_cast( + &_PresenceOptionData_default_instance_); + } + static constexpr int kIndexInFileMessages = 18; + friend void swap(PresenceOptionData& a, PresenceOptionData& b) { a.Swap(&b); } + inline void Swap(PresenceOptionData* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PresenceOptionData* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PresenceOptionData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const PresenceOptionData& from); + void MergeFrom(const PresenceOptionData& from) { PresenceOptionData::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(PresenceOptionData* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.PresenceOptionData"; } + + explicit PresenceOptionData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + PresenceOptionData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PresenceOptionData& from); + PresenceOptionData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PresenceOptionData&& from) noexcept + : PresenceOptionData(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDataFieldNumber = 1, + kLenFieldNumber = 2, + }; + // bytes data = 1; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // uint32 len = 2; + void clear_len() ; + ::uint32_t len() const; + void set_len(::uint32_t value); + + private: + ::uint32_t _internal_len() const; + void _internal_set_len(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.PresenceOptionData) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const PresenceOptionData& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::uint32_t len_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> PresenceOptionData_class_data_; +// ------------------------------------------------------------------- + +class MatchingSearchCondition final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingSearchCondition) */ { + public: + inline MatchingSearchCondition() : MatchingSearchCondition(nullptr) {} + ~MatchingSearchCondition() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingSearchCondition* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingSearchCondition)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingSearchCondition(::google::protobuf::internal::ConstantInitialized); + + inline MatchingSearchCondition(const MatchingSearchCondition& from) : MatchingSearchCondition(nullptr, from) {} + inline MatchingSearchCondition(MatchingSearchCondition&& from) noexcept + : MatchingSearchCondition(nullptr, ::std::move(from)) {} + inline MatchingSearchCondition& operator=(const MatchingSearchCondition& from) { + CopyFrom(from); + return *this; + } + inline MatchingSearchCondition& operator=(MatchingSearchCondition&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingSearchCondition& default_instance() { + return *reinterpret_cast( + &_MatchingSearchCondition_default_instance_); + } + static constexpr int kIndexInFileMessages = 75; + friend void swap(MatchingSearchCondition& a, MatchingSearchCondition& b) { a.Swap(&b); } + inline void Swap(MatchingSearchCondition* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingSearchCondition* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingSearchCondition* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingSearchCondition& from); + void MergeFrom(const MatchingSearchCondition& from) { MatchingSearchCondition::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingSearchCondition* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingSearchCondition"; } + + explicit MatchingSearchCondition(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingSearchCondition(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingSearchCondition& from); + MatchingSearchCondition( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingSearchCondition&& from) noexcept + : MatchingSearchCondition(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAttrTypeFieldNumber = 1, + kAttrIdFieldNumber = 2, + kCompOpFieldNumber = 3, + kCompValueFieldNumber = 4, + }; + // uint32 attr_type = 1; + void clear_attr_type() ; + ::uint32_t attr_type() const; + void set_attr_type(::uint32_t value); + + private: + ::uint32_t _internal_attr_type() const; + void _internal_set_attr_type(::uint32_t value); + + public: + // uint32 attr_id = 2; + void clear_attr_id() ; + ::uint32_t attr_id() const; + void set_attr_id(::uint32_t value); + + private: + ::uint32_t _internal_attr_id() const; + void _internal_set_attr_id(::uint32_t value); + + public: + // uint32 comp_op = 3; + void clear_comp_op() ; + ::uint32_t comp_op() const; + void set_comp_op(::uint32_t value); + + private: + ::uint32_t _internal_comp_op() const; + void _internal_set_comp_op(::uint32_t value); + + public: + // uint32 comp_value = 4; + void clear_comp_value() ; + ::uint32_t comp_value() const; + void set_comp_value(::uint32_t value); + + private: + ::uint32_t _internal_comp_value() const; + void _internal_set_comp_value(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingSearchCondition) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingSearchCondition& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t attr_type_; + ::uint32_t attr_id_; + ::uint32_t comp_op_; + ::uint32_t comp_value_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<36> MatchingSearchCondition_class_data_; +// ------------------------------------------------------------------- + +class MatchingGuiRoomId final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingGuiRoomId) */ { + public: + inline MatchingGuiRoomId() : MatchingGuiRoomId(nullptr) {} + ~MatchingGuiRoomId() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingGuiRoomId* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingGuiRoomId)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingGuiRoomId(::google::protobuf::internal::ConstantInitialized); + + inline MatchingGuiRoomId(const MatchingGuiRoomId& from) : MatchingGuiRoomId(nullptr, from) {} + inline MatchingGuiRoomId(MatchingGuiRoomId&& from) noexcept + : MatchingGuiRoomId(nullptr, ::std::move(from)) {} + inline MatchingGuiRoomId& operator=(const MatchingGuiRoomId& from) { + CopyFrom(from); + return *this; + } + inline MatchingGuiRoomId& operator=(MatchingGuiRoomId&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingGuiRoomId& default_instance() { + return *reinterpret_cast( + &_MatchingGuiRoomId_default_instance_); + } + static constexpr int kIndexInFileMessages = 83; + friend void swap(MatchingGuiRoomId& a, MatchingGuiRoomId& b) { a.Swap(&b); } + inline void Swap(MatchingGuiRoomId* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingGuiRoomId* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingGuiRoomId* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingGuiRoomId& from); + void MergeFrom(const MatchingGuiRoomId& from) { MatchingGuiRoomId::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingGuiRoomId* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingGuiRoomId"; } + + explicit MatchingGuiRoomId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingGuiRoomId(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingGuiRoomId& from); + MatchingGuiRoomId( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingGuiRoomId&& from) noexcept + : MatchingGuiRoomId(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIdFieldNumber = 1, + }; + // bytes id = 1; + void clear_id() ; + const ::std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_id(); + void set_allocated_id(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_id(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingGuiRoomId) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingGuiRoomId& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<30> MatchingGuiRoomId_class_data_; +// ------------------------------------------------------------------- + +class MatchingAttr final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingAttr) */ { + public: + inline MatchingAttr() : MatchingAttr(nullptr) {} + ~MatchingAttr() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingAttr* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingAttr)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingAttr(::google::protobuf::internal::ConstantInitialized); + + inline MatchingAttr(const MatchingAttr& from) : MatchingAttr(nullptr, from) {} + inline MatchingAttr(MatchingAttr&& from) noexcept + : MatchingAttr(nullptr, ::std::move(from)) {} + inline MatchingAttr& operator=(const MatchingAttr& from) { + CopyFrom(from); + return *this; + } + inline MatchingAttr& operator=(MatchingAttr&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingAttr& default_instance() { + return *reinterpret_cast( + &_MatchingAttr_default_instance_); + } + static constexpr int kIndexInFileMessages = 76; + friend void swap(MatchingAttr& a, MatchingAttr& b) { a.Swap(&b); } + inline void Swap(MatchingAttr* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingAttr* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingAttr* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingAttr& from); + void MergeFrom(const MatchingAttr& from) { MatchingAttr::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingAttr* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingAttr"; } + + explicit MatchingAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingAttr& from); + MatchingAttr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingAttr&& from) noexcept + : MatchingAttr(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDataFieldNumber = 4, + kAttrTypeFieldNumber = 1, + kAttrIdFieldNumber = 2, + kNumFieldNumber = 3, + }; + // bytes data = 4; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // uint32 attr_type = 1; + void clear_attr_type() ; + ::uint32_t attr_type() const; + void set_attr_type(::uint32_t value); + + private: + ::uint32_t _internal_attr_type() const; + void _internal_set_attr_type(::uint32_t value); + + public: + // uint32 attr_id = 2; + void clear_attr_id() ; + ::uint32_t attr_id() const; + void set_attr_id(::uint32_t value); + + private: + ::uint32_t _internal_attr_id() const; + void _internal_set_attr_id(::uint32_t value); + + public: + // uint32 num = 3; + void clear_num() ; + ::uint32_t num() const; + void set_num(::uint32_t value); + + private: + ::uint32_t _internal_num() const; + void _internal_set_num(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingAttr) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingAttr& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::uint32_t attr_type_; + ::uint32_t attr_id_; + ::uint32_t num_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<25> MatchingAttr_class_data_; +// ------------------------------------------------------------------- + +class GroupConfig final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GroupConfig) */ { + public: + inline GroupConfig() : GroupConfig(nullptr) {} + ~GroupConfig() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GroupConfig* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GroupConfig)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GroupConfig(::google::protobuf::internal::ConstantInitialized); + + inline GroupConfig(const GroupConfig& from) : GroupConfig(nullptr, from) {} + inline GroupConfig(GroupConfig&& from) noexcept + : GroupConfig(nullptr, ::std::move(from)) {} + inline GroupConfig& operator=(const GroupConfig& from) { + CopyFrom(from); + return *this; + } + inline GroupConfig& operator=(GroupConfig&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GroupConfig& default_instance() { + return *reinterpret_cast( + &_GroupConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(GroupConfig& a, GroupConfig& b) { a.Swap(&b); } + inline void Swap(GroupConfig* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GroupConfig* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GroupConfig* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GroupConfig& from); + void MergeFrom(const GroupConfig& from) { GroupConfig::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GroupConfig* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GroupConfig"; } + + explicit GroupConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GroupConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GroupConfig& from); + GroupConfig( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GroupConfig&& from) noexcept + : GroupConfig(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLabelFieldNumber = 2, + kSlotNumFieldNumber = 1, + kWithPasswordFieldNumber = 3, + }; + // bytes label = 2; + void clear_label() ; + const ::std::string& label() const; + template + void set_label(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_label(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_label(); + void set_allocated_label(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_label() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_label(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_label(); + + public: + // uint32 slotNum = 1; + void clear_slotnum() ; + ::uint32_t slotnum() const; + void set_slotnum(::uint32_t value); + + private: + ::uint32_t _internal_slotnum() const; + void _internal_set_slotnum(::uint32_t value); + + public: + // bool withPassword = 3; + void clear_withpassword() ; + bool withpassword() const; + void set_withpassword(bool value); + + private: + bool _internal_withpassword() const; + void _internal_set_withpassword(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GroupConfig) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GroupConfig& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr label_; + ::uint32_t slotnum_; + bool withpassword_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<24> GroupConfig_class_data_; +// ------------------------------------------------------------------- + +class GetScoreRangeRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetScoreRangeRequest) */ { + public: + inline GetScoreRangeRequest() : GetScoreRangeRequest(nullptr) {} + ~GetScoreRangeRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetScoreRangeRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetScoreRangeRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetScoreRangeRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetScoreRangeRequest(const GetScoreRangeRequest& from) : GetScoreRangeRequest(nullptr, from) {} + inline GetScoreRangeRequest(GetScoreRangeRequest&& from) noexcept + : GetScoreRangeRequest(nullptr, ::std::move(from)) {} + inline GetScoreRangeRequest& operator=(const GetScoreRangeRequest& from) { + CopyFrom(from); + return *this; + } + inline GetScoreRangeRequest& operator=(GetScoreRangeRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetScoreRangeRequest& default_instance() { + return *reinterpret_cast( + &_GetScoreRangeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 46; + friend void swap(GetScoreRangeRequest& a, GetScoreRangeRequest& b) { a.Swap(&b); } + inline void Swap(GetScoreRangeRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetScoreRangeRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetScoreRangeRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetScoreRangeRequest& from); + void MergeFrom(const GetScoreRangeRequest& from) { GetScoreRangeRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetScoreRangeRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetScoreRangeRequest"; } + + explicit GetScoreRangeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetScoreRangeRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreRangeRequest& from); + GetScoreRangeRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetScoreRangeRequest&& from) noexcept + : GetScoreRangeRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kBoardIdFieldNumber = 1, + kStartRankFieldNumber = 2, + kNumRanksFieldNumber = 3, + kWithCommentFieldNumber = 4, + kWithGameInfoFieldNumber = 5, + }; + // uint32 boardId = 1; + void clear_boardid() ; + ::uint32_t boardid() const; + void set_boardid(::uint32_t value); + + private: + ::uint32_t _internal_boardid() const; + void _internal_set_boardid(::uint32_t value); + + public: + // uint32 startRank = 2; + void clear_startrank() ; + ::uint32_t startrank() const; + void set_startrank(::uint32_t value); + + private: + ::uint32_t _internal_startrank() const; + void _internal_set_startrank(::uint32_t value); + + public: + // uint32 numRanks = 3; + void clear_numranks() ; + ::uint32_t numranks() const; + void set_numranks(::uint32_t value); + + private: + ::uint32_t _internal_numranks() const; + void _internal_set_numranks(::uint32_t value); + + public: + // bool withComment = 4; + void clear_withcomment() ; + bool withcomment() const; + void set_withcomment(bool value); + + private: + bool _internal_withcomment() const; + void _internal_set_withcomment(bool value); + + public: + // bool withGameInfo = 5; + void clear_withgameinfo() ; + bool withgameinfo() const; + void set_withgameinfo(bool value); + + private: + bool _internal_withgameinfo() const; + void _internal_set_withgameinfo(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetScoreRangeRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetScoreRangeRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t boardid_; + ::uint32_t startrank_; + ::uint32_t numranks_; + bool withcomment_; + bool withgameinfo_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<33> GetScoreRangeRequest_class_data_; +// ------------------------------------------------------------------- + +class GetScoreGameDataRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetScoreGameDataRequest) */ { + public: + inline GetScoreGameDataRequest() : GetScoreGameDataRequest(nullptr) {} + ~GetScoreGameDataRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetScoreGameDataRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetScoreGameDataRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetScoreGameDataRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetScoreGameDataRequest(const GetScoreGameDataRequest& from) : GetScoreGameDataRequest(nullptr, from) {} + inline GetScoreGameDataRequest(GetScoreGameDataRequest&& from) noexcept + : GetScoreGameDataRequest(nullptr, ::std::move(from)) {} + inline GetScoreGameDataRequest& operator=(const GetScoreGameDataRequest& from) { + CopyFrom(from); + return *this; + } + inline GetScoreGameDataRequest& operator=(GetScoreGameDataRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetScoreGameDataRequest& default_instance() { + return *reinterpret_cast( + &_GetScoreGameDataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 54; + friend void swap(GetScoreGameDataRequest& a, GetScoreGameDataRequest& b) { a.Swap(&b); } + inline void Swap(GetScoreGameDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetScoreGameDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetScoreGameDataRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetScoreGameDataRequest& from); + void MergeFrom(const GetScoreGameDataRequest& from) { GetScoreGameDataRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetScoreGameDataRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetScoreGameDataRequest"; } + + explicit GetScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetScoreGameDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreGameDataRequest& from); + GetScoreGameDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetScoreGameDataRequest&& from) noexcept + : GetScoreGameDataRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpIdFieldNumber = 2, + kBoardIdFieldNumber = 1, + kPcIdFieldNumber = 3, + }; + // string npId = 2; + void clear_npid() ; + const ::std::string& npid() const; + template + void set_npid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_npid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_npid(); + void set_allocated_npid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_npid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_npid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_npid(); + + public: + // uint32 boardId = 1; + void clear_boardid() ; + ::uint32_t boardid() const; + void set_boardid(::uint32_t value); + + private: + ::uint32_t _internal_boardid() const; + void _internal_set_boardid(::uint32_t value); + + public: + // int32 pcId = 3; + void clear_pcid() ; + ::int32_t pcid() const; + void set_pcid(::int32_t value); + + private: + ::int32_t _internal_pcid() const; + void _internal_set_pcid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetScoreGameDataRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 0, 48, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetScoreGameDataRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr npid_; + ::uint32_t boardid_; + ::int32_t pcid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<36> GetScoreGameDataRequest_class_data_; +// ------------------------------------------------------------------- + +class GetScoreFriendsRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetScoreFriendsRequest) */ { + public: + inline GetScoreFriendsRequest() : GetScoreFriendsRequest(nullptr) {} + ~GetScoreFriendsRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetScoreFriendsRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetScoreFriendsRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetScoreFriendsRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetScoreFriendsRequest(const GetScoreFriendsRequest& from) : GetScoreFriendsRequest(nullptr, from) {} + inline GetScoreFriendsRequest(GetScoreFriendsRequest&& from) noexcept + : GetScoreFriendsRequest(nullptr, ::std::move(from)) {} + inline GetScoreFriendsRequest& operator=(const GetScoreFriendsRequest& from) { + CopyFrom(from); + return *this; + } + inline GetScoreFriendsRequest& operator=(GetScoreFriendsRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetScoreFriendsRequest& default_instance() { + return *reinterpret_cast( + &_GetScoreFriendsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 49; + friend void swap(GetScoreFriendsRequest& a, GetScoreFriendsRequest& b) { a.Swap(&b); } + inline void Swap(GetScoreFriendsRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetScoreFriendsRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetScoreFriendsRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetScoreFriendsRequest& from); + void MergeFrom(const GetScoreFriendsRequest& from) { GetScoreFriendsRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetScoreFriendsRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetScoreFriendsRequest"; } + + explicit GetScoreFriendsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetScoreFriendsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreFriendsRequest& from); + GetScoreFriendsRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetScoreFriendsRequest&& from) noexcept + : GetScoreFriendsRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kBoardIdFieldNumber = 1, + kMaxFieldNumber = 3, + kIncludeSelfFieldNumber = 2, + kWithCommentFieldNumber = 4, + kWithGameInfoFieldNumber = 5, + }; + // uint32 boardId = 1; + void clear_boardid() ; + ::uint32_t boardid() const; + void set_boardid(::uint32_t value); + + private: + ::uint32_t _internal_boardid() const; + void _internal_set_boardid(::uint32_t value); + + public: + // uint32 max = 3; + void clear_max() ; + ::uint32_t max() const; + void set_max(::uint32_t value); + + private: + ::uint32_t _internal_max() const; + void _internal_set_max(::uint32_t value); + + public: + // bool include_self = 2; + void clear_include_self() ; + bool include_self() const; + void set_include_self(bool value); + + private: + bool _internal_include_self() const; + void _internal_set_include_self(bool value); + + public: + // bool withComment = 4; + void clear_withcomment() ; + bool withcomment() const; + void set_withcomment(bool value); + + private: + bool _internal_withcomment() const; + void _internal_set_withcomment(bool value); + + public: + // bool withGameInfo = 5; + void clear_withgameinfo() ; + bool withgameinfo() const; + void set_withgameinfo(bool value); + + private: + bool _internal_withgameinfo() const; + void _internal_set_withgameinfo(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetScoreFriendsRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetScoreFriendsRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t boardid_; + ::uint32_t max_; + bool include_self_; + bool withcomment_; + bool withgameinfo_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<35> GetScoreFriendsRequest_class_data_; +// ------------------------------------------------------------------- + +class BoardInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.BoardInfo) */ { + public: + inline BoardInfo() : BoardInfo(nullptr) {} + ~BoardInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BoardInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BoardInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BoardInfo(::google::protobuf::internal::ConstantInitialized); + + inline BoardInfo(const BoardInfo& from) : BoardInfo(nullptr, from) {} + inline BoardInfo(BoardInfo&& from) noexcept + : BoardInfo(nullptr, ::std::move(from)) {} + inline BoardInfo& operator=(const BoardInfo& from) { + CopyFrom(from); + return *this; + } + inline BoardInfo& operator=(BoardInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const BoardInfo& default_instance() { + return *reinterpret_cast( + &_BoardInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 44; + friend void swap(BoardInfo& a, BoardInfo& b) { a.Swap(&b); } + inline void Swap(BoardInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BoardInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BoardInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const BoardInfo& from); + void MergeFrom(const BoardInfo& from) { BoardInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BoardInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.BoardInfo"; } + + explicit BoardInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BoardInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BoardInfo& from); + BoardInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BoardInfo&& from) noexcept + : BoardInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRankLimitFieldNumber = 1, + kUpdateModeFieldNumber = 2, + kSortModeFieldNumber = 3, + kUploadNumLimitFieldNumber = 4, + kUploadSizeLimitFieldNumber = 5, + }; + // uint32 rankLimit = 1; + void clear_ranklimit() ; + ::uint32_t ranklimit() const; + void set_ranklimit(::uint32_t value); + + private: + ::uint32_t _internal_ranklimit() const; + void _internal_set_ranklimit(::uint32_t value); + + public: + // uint32 updateMode = 2; + void clear_updatemode() ; + ::uint32_t updatemode() const; + void set_updatemode(::uint32_t value); + + private: + ::uint32_t _internal_updatemode() const; + void _internal_set_updatemode(::uint32_t value); + + public: + // uint32 sortMode = 3; + void clear_sortmode() ; + ::uint32_t sortmode() const; + void set_sortmode(::uint32_t value); + + private: + ::uint32_t _internal_sortmode() const; + void _internal_set_sortmode(::uint32_t value); + + public: + // uint32 uploadNumLimit = 4; + void clear_uploadnumlimit() ; + ::uint32_t uploadnumlimit() const; + void set_uploadnumlimit(::uint32_t value); + + private: + ::uint32_t _internal_uploadnumlimit() const; + void _internal_set_uploadnumlimit(::uint32_t value); + + public: + // uint32 uploadSizeLimit = 5; + void clear_uploadsizelimit() ; + ::uint32_t uploadsizelimit() const; + void set_uploadsizelimit(::uint32_t value); + + private: + ::uint32_t _internal_uploadsizelimit() const; + void _internal_set_uploadsizelimit(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.BoardInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 0, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BoardInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t ranklimit_; + ::uint32_t updatemode_; + ::uint32_t sortmode_; + ::uint32_t uploadnumlimit_; + ::uint32_t uploadsizelimit_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<22> BoardInfo_class_data_; +// ------------------------------------------------------------------- + +class TusVarResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusVarResponse) */ { + public: + inline TusVarResponse() : TusVarResponse(nullptr) {} + ~TusVarResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusVarResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusVarResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusVarResponse(::google::protobuf::internal::ConstantInitialized); + + inline TusVarResponse(const TusVarResponse& from) : TusVarResponse(nullptr, from) {} + inline TusVarResponse(TusVarResponse&& from) noexcept + : TusVarResponse(nullptr, ::std::move(from)) {} + inline TusVarResponse& operator=(const TusVarResponse& from) { + CopyFrom(from); + return *this; + } + inline TusVarResponse& operator=(TusVarResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusVarResponse& default_instance() { + return *reinterpret_cast( + &_TusVarResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 57; + friend void swap(TusVarResponse& a, TusVarResponse& b) { a.Swap(&b); } + inline void Swap(TusVarResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusVarResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusVarResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusVarResponse& from); + void MergeFrom(const TusVarResponse& from) { TusVarResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusVarResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusVarResponse"; } + + explicit TusVarResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusVarResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusVarResponse& from); + TusVarResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusVarResponse&& from) noexcept + : TusVarResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kVarsFieldNumber = 1, + }; + // repeated .np2_structs.TusVariable vars = 1; + int vars_size() const; + private: + int _internal_vars_size() const; + + public: + void clear_vars() ; + ::np2_structs::TusVariable* PROTOBUF_NONNULL mutable_vars(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>* PROTOBUF_NONNULL mutable_vars(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>& _internal_vars() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>* PROTOBUF_NONNULL _internal_mutable_vars(); + public: + const ::np2_structs::TusVariable& vars(int index) const; + ::np2_structs::TusVariable* PROTOBUF_NONNULL add_vars(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>& vars() const; + // @@protoc_insertion_point(class_scope:np2_structs.TusVarResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusVarResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::TusVariable > vars_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<27> TusVarResponse_class_data_; +// ------------------------------------------------------------------- + +class TusTryAndSetVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusTryAndSetVariableRequest) */ { + public: + inline TusTryAndSetVariableRequest() : TusTryAndSetVariableRequest(nullptr) {} + ~TusTryAndSetVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusTryAndSetVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusTryAndSetVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusTryAndSetVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusTryAndSetVariableRequest(const TusTryAndSetVariableRequest& from) : TusTryAndSetVariableRequest(nullptr, from) {} + inline TusTryAndSetVariableRequest(TusTryAndSetVariableRequest&& from) noexcept + : TusTryAndSetVariableRequest(nullptr, ::std::move(from)) {} + inline TusTryAndSetVariableRequest& operator=(const TusTryAndSetVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusTryAndSetVariableRequest& operator=(TusTryAndSetVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusTryAndSetVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusTryAndSetVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 63; + friend void swap(TusTryAndSetVariableRequest& a, TusTryAndSetVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusTryAndSetVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusTryAndSetVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusTryAndSetVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusTryAndSetVariableRequest& from); + void MergeFrom(const TusTryAndSetVariableRequest& from) { TusTryAndSetVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusTryAndSetVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusTryAndSetVariableRequest"; } + + explicit TusTryAndSetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusTryAndSetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusTryAndSetVariableRequest& from); + TusTryAndSetVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusTryAndSetVariableRequest&& from) noexcept + : TusTryAndSetVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIsLastChangedDateFieldNumber = 5, + kCompareValueFieldNumber = 7, + kIsLastChangedAuthorIdFieldNumber = 6, + kUserFieldNumber = 1, + kSlotIdFieldNumber = 2, + kOpeTypeFieldNumber = 3, + kVariableFieldNumber = 4, + }; + // repeated uint64 isLastChangedDate = 5; + int islastchangeddate_size() const; + private: + int _internal_islastchangeddate_size() const; + + public: + void clear_islastchangeddate() ; + ::uint64_t islastchangeddate(int index) const; + void set_islastchangeddate(int index, ::uint64_t value); + void add_islastchangeddate(::uint64_t value); + const ::google::protobuf::RepeatedField<::uint64_t>& islastchangeddate() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_islastchangeddate(); + + private: + const ::google::protobuf::RepeatedField<::uint64_t>& _internal_islastchangeddate() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_islastchangeddate(); + + public: + // repeated int64 compareValue = 7; + int comparevalue_size() const; + private: + int _internal_comparevalue_size() const; + + public: + void clear_comparevalue() ; + ::int64_t comparevalue(int index) const; + void set_comparevalue(int index, ::int64_t value); + void add_comparevalue(::int64_t value); + const ::google::protobuf::RepeatedField<::int64_t>& comparevalue() const; + ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_comparevalue(); + + private: + const ::google::protobuf::RepeatedField<::int64_t>& _internal_comparevalue() const; + ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_comparevalue(); + + public: + // string isLastChangedAuthorId = 6; + void clear_islastchangedauthorid() ; + const ::std::string& islastchangedauthorid() const; + template + void set_islastchangedauthorid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_islastchangedauthorid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_islastchangedauthorid(); + void set_allocated_islastchangedauthorid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_islastchangedauthorid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_islastchangedauthorid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_islastchangedauthorid(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // int32 slotId = 2; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // int32 opeType = 3; + void clear_opetype() ; + ::int32_t opetype() const; + void set_opetype(::int32_t value); + + private: + ::int32_t _internal_opetype() const; + void _internal_set_opetype(::int32_t value); + + public: + // int64 variable = 4; + void clear_variable() ; + ::int64_t variable() const; + void set_variable(::int64_t value); + + private: + ::int64_t _internal_variable() const; + void _internal_set_variable(::int64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusTryAndSetVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 7, + 1, 69, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusTryAndSetVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::uint64_t> islastchangeddate_; + ::google::protobuf::internal::CachedSize _islastchangeddate_cached_byte_size_; + ::google::protobuf::RepeatedField<::int64_t> comparevalue_; + ::google::protobuf::internal::CachedSize _comparevalue_cached_byte_size_; + ::google::protobuf::internal::ArenaStringPtr islastchangedauthorid_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + ::int32_t slotid_; + ::int32_t opetype_; + ::int64_t variable_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<40> TusTryAndSetVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class TusSetMultiSlotVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusSetMultiSlotVariableRequest) */ { + public: + inline TusSetMultiSlotVariableRequest() : TusSetMultiSlotVariableRequest(nullptr) {} + ~TusSetMultiSlotVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusSetMultiSlotVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusSetMultiSlotVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusSetMultiSlotVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusSetMultiSlotVariableRequest(const TusSetMultiSlotVariableRequest& from) : TusSetMultiSlotVariableRequest(nullptr, from) {} + inline TusSetMultiSlotVariableRequest(TusSetMultiSlotVariableRequest&& from) noexcept + : TusSetMultiSlotVariableRequest(nullptr, ::std::move(from)) {} + inline TusSetMultiSlotVariableRequest& operator=(const TusSetMultiSlotVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusSetMultiSlotVariableRequest& operator=(TusSetMultiSlotVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusSetMultiSlotVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusSetMultiSlotVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 58; + friend void swap(TusSetMultiSlotVariableRequest& a, TusSetMultiSlotVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusSetMultiSlotVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusSetMultiSlotVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusSetMultiSlotVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusSetMultiSlotVariableRequest& from); + void MergeFrom(const TusSetMultiSlotVariableRequest& from) { TusSetMultiSlotVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusSetMultiSlotVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusSetMultiSlotVariableRequest"; } + + explicit TusSetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusSetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusSetMultiSlotVariableRequest& from); + TusSetMultiSlotVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusSetMultiSlotVariableRequest&& from) noexcept + : TusSetMultiSlotVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdArrayFieldNumber = 2, + kVariableArrayFieldNumber = 3, + kUserFieldNumber = 1, + }; + // repeated int32 slotIdArray = 2; + int slotidarray_size() const; + private: + int _internal_slotidarray_size() const; + + public: + void clear_slotidarray() ; + ::int32_t slotidarray(int index) const; + void set_slotidarray(int index, ::int32_t value); + void add_slotidarray(::int32_t value); + const ::google::protobuf::RepeatedField<::int32_t>& slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_slotidarray(); + + private: + const ::google::protobuf::RepeatedField<::int32_t>& _internal_slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_slotidarray(); + + public: + // repeated int64 variableArray = 3; + int variablearray_size() const; + private: + int _internal_variablearray_size() const; + + public: + void clear_variablearray() ; + ::int64_t variablearray(int index) const; + void set_variablearray(int index, ::int64_t value); + void add_variablearray(::int64_t value); + const ::google::protobuf::RepeatedField<::int64_t>& variablearray() const; + ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_variablearray(); + + private: + const ::google::protobuf::RepeatedField<::int64_t>& _internal_variablearray() const; + ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_variablearray(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusSetMultiSlotVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusSetMultiSlotVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::int32_t> slotidarray_; + ::google::protobuf::internal::CachedSize _slotidarray_cached_byte_size_; + ::google::protobuf::RepeatedField<::int64_t> variablearray_; + ::google::protobuf::internal::CachedSize _variablearray_cached_byte_size_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<43> TusSetMultiSlotVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class TusSetDataRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusSetDataRequest) */ { + public: + inline TusSetDataRequest() : TusSetDataRequest(nullptr) {} + ~TusSetDataRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusSetDataRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusSetDataRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusSetDataRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusSetDataRequest(const TusSetDataRequest& from) : TusSetDataRequest(nullptr, from) {} + inline TusSetDataRequest(TusSetDataRequest&& from) noexcept + : TusSetDataRequest(nullptr, ::std::move(from)) {} + inline TusSetDataRequest& operator=(const TusSetDataRequest& from) { + CopyFrom(from); + return *this; + } + inline TusSetDataRequest& operator=(TusSetDataRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusSetDataRequest& default_instance() { + return *reinterpret_cast( + &_TusSetDataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 65; + friend void swap(TusSetDataRequest& a, TusSetDataRequest& b) { a.Swap(&b); } + inline void Swap(TusSetDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusSetDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusSetDataRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusSetDataRequest& from); + void MergeFrom(const TusSetDataRequest& from) { TusSetDataRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusSetDataRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusSetDataRequest"; } + + explicit TusSetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusSetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusSetDataRequest& from); + TusSetDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusSetDataRequest&& from) noexcept + : TusSetDataRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIsLastChangedDateFieldNumber = 5, + kDataFieldNumber = 3, + kInfoFieldNumber = 4, + kIsLastChangedAuthorIdFieldNumber = 6, + kUserFieldNumber = 1, + kSlotIdFieldNumber = 2, + }; + // repeated uint64 isLastChangedDate = 5; + int islastchangeddate_size() const; + private: + int _internal_islastchangeddate_size() const; + + public: + void clear_islastchangeddate() ; + ::uint64_t islastchangeddate(int index) const; + void set_islastchangeddate(int index, ::uint64_t value); + void add_islastchangeddate(::uint64_t value); + const ::google::protobuf::RepeatedField<::uint64_t>& islastchangeddate() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_islastchangeddate(); + + private: + const ::google::protobuf::RepeatedField<::uint64_t>& _internal_islastchangeddate() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_islastchangeddate(); + + public: + // bytes data = 3; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // bytes info = 4; + void clear_info() ; + const ::std::string& info() const; + template + void set_info(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_info(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_info(); + void set_allocated_info(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_info() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_info(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_info(); + + public: + // string isLastChangedAuthorId = 6; + void clear_islastchangedauthorid() ; + const ::std::string& islastchangedauthorid() const; + template + void set_islastchangedauthorid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_islastchangedauthorid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_islastchangedauthorid(); + void set_allocated_islastchangedauthorid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_islastchangedauthorid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_islastchangedauthorid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_islastchangedauthorid(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // int32 slotId = 2; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusSetDataRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 6, + 1, 59, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusSetDataRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::uint64_t> islastchangeddate_; + ::google::protobuf::internal::CachedSize _islastchangeddate_cached_byte_size_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::google::protobuf::internal::ArenaStringPtr info_; + ::google::protobuf::internal::ArenaStringPtr islastchangedauthorid_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + ::int32_t slotid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<30> TusSetDataRequest_class_data_; +// ------------------------------------------------------------------- + +class TusGetMultiUserVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetMultiUserVariableRequest) */ { + public: + inline TusGetMultiUserVariableRequest() : TusGetMultiUserVariableRequest(nullptr) {} + ~TusGetMultiUserVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetMultiUserVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetMultiUserVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetMultiUserVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetMultiUserVariableRequest(const TusGetMultiUserVariableRequest& from) : TusGetMultiUserVariableRequest(nullptr, from) {} + inline TusGetMultiUserVariableRequest(TusGetMultiUserVariableRequest&& from) noexcept + : TusGetMultiUserVariableRequest(nullptr, ::std::move(from)) {} + inline TusGetMultiUserVariableRequest& operator=(const TusGetMultiUserVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetMultiUserVariableRequest& operator=(TusGetMultiUserVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetMultiUserVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusGetMultiUserVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 60; + friend void swap(TusGetMultiUserVariableRequest& a, TusGetMultiUserVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusGetMultiUserVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetMultiUserVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetMultiUserVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetMultiUserVariableRequest& from); + void MergeFrom(const TusGetMultiUserVariableRequest& from) { TusGetMultiUserVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetMultiUserVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetMultiUserVariableRequest"; } + + explicit TusGetMultiUserVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetMultiUserVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetMultiUserVariableRequest& from); + TusGetMultiUserVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetMultiUserVariableRequest&& from) noexcept + : TusGetMultiUserVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUsersFieldNumber = 1, + kSlotIdFieldNumber = 2, + }; + // repeated .np2_structs.TusUser users = 1; + int users_size() const; + private: + int _internal_users_size() const; + + public: + void clear_users() ; + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_users(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL mutable_users(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& _internal_users() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL _internal_mutable_users(); + public: + const ::np2_structs::TusUser& users(int index) const; + ::np2_structs::TusUser* PROTOBUF_NONNULL add_users(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& users() const; + // int32 slotId = 2; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetMultiUserVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetMultiUserVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::TusUser > users_; + ::int32_t slotid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiUserVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class TusGetMultiUserDataStatusRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetMultiUserDataStatusRequest) */ { + public: + inline TusGetMultiUserDataStatusRequest() : TusGetMultiUserDataStatusRequest(nullptr) {} + ~TusGetMultiUserDataStatusRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetMultiUserDataStatusRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetMultiUserDataStatusRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetMultiUserDataStatusRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetMultiUserDataStatusRequest(const TusGetMultiUserDataStatusRequest& from) : TusGetMultiUserDataStatusRequest(nullptr, from) {} + inline TusGetMultiUserDataStatusRequest(TusGetMultiUserDataStatusRequest&& from) noexcept + : TusGetMultiUserDataStatusRequest(nullptr, ::std::move(from)) {} + inline TusGetMultiUserDataStatusRequest& operator=(const TusGetMultiUserDataStatusRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetMultiUserDataStatusRequest& operator=(TusGetMultiUserDataStatusRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetMultiUserDataStatusRequest& default_instance() { + return *reinterpret_cast( + &_TusGetMultiUserDataStatusRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 71; + friend void swap(TusGetMultiUserDataStatusRequest& a, TusGetMultiUserDataStatusRequest& b) { a.Swap(&b); } + inline void Swap(TusGetMultiUserDataStatusRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetMultiUserDataStatusRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetMultiUserDataStatusRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetMultiUserDataStatusRequest& from); + void MergeFrom(const TusGetMultiUserDataStatusRequest& from) { TusGetMultiUserDataStatusRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetMultiUserDataStatusRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetMultiUserDataStatusRequest"; } + + explicit TusGetMultiUserDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetMultiUserDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetMultiUserDataStatusRequest& from); + TusGetMultiUserDataStatusRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetMultiUserDataStatusRequest&& from) noexcept + : TusGetMultiUserDataStatusRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUsersFieldNumber = 1, + kSlotIdFieldNumber = 2, + }; + // repeated .np2_structs.TusUser users = 1; + int users_size() const; + private: + int _internal_users_size() const; + + public: + void clear_users() ; + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_users(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL mutable_users(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& _internal_users() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL _internal_mutable_users(); + public: + const ::np2_structs::TusUser& users(int index) const; + ::np2_structs::TusUser* PROTOBUF_NONNULL add_users(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& users() const; + // int32 slotId = 2; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetMultiUserDataStatusRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetMultiUserDataStatusRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::TusUser > users_; + ::int32_t slotid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiUserDataStatusRequest_class_data_; +// ------------------------------------------------------------------- + +class TusGetMultiSlotVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetMultiSlotVariableRequest) */ { + public: + inline TusGetMultiSlotVariableRequest() : TusGetMultiSlotVariableRequest(nullptr) {} + ~TusGetMultiSlotVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetMultiSlotVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetMultiSlotVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetMultiSlotVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetMultiSlotVariableRequest(const TusGetMultiSlotVariableRequest& from) : TusGetMultiSlotVariableRequest(nullptr, from) {} + inline TusGetMultiSlotVariableRequest(TusGetMultiSlotVariableRequest&& from) noexcept + : TusGetMultiSlotVariableRequest(nullptr, ::std::move(from)) {} + inline TusGetMultiSlotVariableRequest& operator=(const TusGetMultiSlotVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetMultiSlotVariableRequest& operator=(TusGetMultiSlotVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetMultiSlotVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusGetMultiSlotVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 59; + friend void swap(TusGetMultiSlotVariableRequest& a, TusGetMultiSlotVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusGetMultiSlotVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetMultiSlotVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetMultiSlotVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetMultiSlotVariableRequest& from); + void MergeFrom(const TusGetMultiSlotVariableRequest& from) { TusGetMultiSlotVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetMultiSlotVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetMultiSlotVariableRequest"; } + + explicit TusGetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetMultiSlotVariableRequest& from); + TusGetMultiSlotVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetMultiSlotVariableRequest&& from) noexcept + : TusGetMultiSlotVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdArrayFieldNumber = 2, + kUserFieldNumber = 1, + }; + // repeated int32 slotIdArray = 2; + int slotidarray_size() const; + private: + int _internal_slotidarray_size() const; + + public: + void clear_slotidarray() ; + ::int32_t slotidarray(int index) const; + void set_slotidarray(int index, ::int32_t value); + void add_slotidarray(::int32_t value); + const ::google::protobuf::RepeatedField<::int32_t>& slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_slotidarray(); + + private: + const ::google::protobuf::RepeatedField<::int32_t>& _internal_slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_slotidarray(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetMultiSlotVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetMultiSlotVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::int32_t> slotidarray_; + ::google::protobuf::internal::CachedSize _slotidarray_cached_byte_size_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<43> TusGetMultiSlotVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class TusGetMultiSlotDataStatusRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetMultiSlotDataStatusRequest) */ { + public: + inline TusGetMultiSlotDataStatusRequest() : TusGetMultiSlotDataStatusRequest(nullptr) {} + ~TusGetMultiSlotDataStatusRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetMultiSlotDataStatusRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetMultiSlotDataStatusRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetMultiSlotDataStatusRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetMultiSlotDataStatusRequest(const TusGetMultiSlotDataStatusRequest& from) : TusGetMultiSlotDataStatusRequest(nullptr, from) {} + inline TusGetMultiSlotDataStatusRequest(TusGetMultiSlotDataStatusRequest&& from) noexcept + : TusGetMultiSlotDataStatusRequest(nullptr, ::std::move(from)) {} + inline TusGetMultiSlotDataStatusRequest& operator=(const TusGetMultiSlotDataStatusRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetMultiSlotDataStatusRequest& operator=(TusGetMultiSlotDataStatusRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetMultiSlotDataStatusRequest& default_instance() { + return *reinterpret_cast( + &_TusGetMultiSlotDataStatusRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 70; + friend void swap(TusGetMultiSlotDataStatusRequest& a, TusGetMultiSlotDataStatusRequest& b) { a.Swap(&b); } + inline void Swap(TusGetMultiSlotDataStatusRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetMultiSlotDataStatusRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetMultiSlotDataStatusRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetMultiSlotDataStatusRequest& from); + void MergeFrom(const TusGetMultiSlotDataStatusRequest& from) { TusGetMultiSlotDataStatusRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetMultiSlotDataStatusRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetMultiSlotDataStatusRequest"; } + + explicit TusGetMultiSlotDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetMultiSlotDataStatusRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetMultiSlotDataStatusRequest& from); + TusGetMultiSlotDataStatusRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetMultiSlotDataStatusRequest&& from) noexcept + : TusGetMultiSlotDataStatusRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdArrayFieldNumber = 2, + kUserFieldNumber = 1, + }; + // repeated int32 slotIdArray = 2; + int slotidarray_size() const; + private: + int _internal_slotidarray_size() const; + + public: + void clear_slotidarray() ; + ::int32_t slotidarray(int index) const; + void set_slotidarray(int index, ::int32_t value); + void add_slotidarray(::int32_t value); + const ::google::protobuf::RepeatedField<::int32_t>& slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_slotidarray(); + + private: + const ::google::protobuf::RepeatedField<::int32_t>& _internal_slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_slotidarray(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetMultiSlotDataStatusRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetMultiSlotDataStatusRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::int32_t> slotidarray_; + ::google::protobuf::internal::CachedSize _slotidarray_cached_byte_size_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<45> TusGetMultiSlotDataStatusRequest_class_data_; +// ------------------------------------------------------------------- + +class TusGetDataRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusGetDataRequest) */ { + public: + inline TusGetDataRequest() : TusGetDataRequest(nullptr) {} + ~TusGetDataRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusGetDataRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusGetDataRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusGetDataRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusGetDataRequest(const TusGetDataRequest& from) : TusGetDataRequest(nullptr, from) {} + inline TusGetDataRequest(TusGetDataRequest&& from) noexcept + : TusGetDataRequest(nullptr, ::std::move(from)) {} + inline TusGetDataRequest& operator=(const TusGetDataRequest& from) { + CopyFrom(from); + return *this; + } + inline TusGetDataRequest& operator=(TusGetDataRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusGetDataRequest& default_instance() { + return *reinterpret_cast( + &_TusGetDataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 69; + friend void swap(TusGetDataRequest& a, TusGetDataRequest& b) { a.Swap(&b); } + inline void Swap(TusGetDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusGetDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusGetDataRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusGetDataRequest& from); + void MergeFrom(const TusGetDataRequest& from) { TusGetDataRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusGetDataRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusGetDataRequest"; } + + explicit TusGetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusGetDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusGetDataRequest& from); + TusGetDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusGetDataRequest&& from) noexcept + : TusGetDataRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUserFieldNumber = 1, + kSlotIdFieldNumber = 2, + }; + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // int32 slotId = 2; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusGetDataRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusGetDataRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + ::int32_t slotid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<30> TusGetDataRequest_class_data_; +// ------------------------------------------------------------------- + +class TusDeleteMultiSlotVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusDeleteMultiSlotVariableRequest) */ { + public: + inline TusDeleteMultiSlotVariableRequest() : TusDeleteMultiSlotVariableRequest(nullptr) {} + ~TusDeleteMultiSlotVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusDeleteMultiSlotVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusDeleteMultiSlotVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusDeleteMultiSlotVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusDeleteMultiSlotVariableRequest(const TusDeleteMultiSlotVariableRequest& from) : TusDeleteMultiSlotVariableRequest(nullptr, from) {} + inline TusDeleteMultiSlotVariableRequest(TusDeleteMultiSlotVariableRequest&& from) noexcept + : TusDeleteMultiSlotVariableRequest(nullptr, ::std::move(from)) {} + inline TusDeleteMultiSlotVariableRequest& operator=(const TusDeleteMultiSlotVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusDeleteMultiSlotVariableRequest& operator=(TusDeleteMultiSlotVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusDeleteMultiSlotVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusDeleteMultiSlotVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 64; + friend void swap(TusDeleteMultiSlotVariableRequest& a, TusDeleteMultiSlotVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusDeleteMultiSlotVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusDeleteMultiSlotVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusDeleteMultiSlotVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusDeleteMultiSlotVariableRequest& from); + void MergeFrom(const TusDeleteMultiSlotVariableRequest& from) { TusDeleteMultiSlotVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusDeleteMultiSlotVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusDeleteMultiSlotVariableRequest"; } + + explicit TusDeleteMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusDeleteMultiSlotVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusDeleteMultiSlotVariableRequest& from); + TusDeleteMultiSlotVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusDeleteMultiSlotVariableRequest&& from) noexcept + : TusDeleteMultiSlotVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdArrayFieldNumber = 2, + kUserFieldNumber = 1, + }; + // repeated int32 slotIdArray = 2; + int slotidarray_size() const; + private: + int _internal_slotidarray_size() const; + + public: + void clear_slotidarray() ; + ::int32_t slotidarray(int index) const; + void set_slotidarray(int index, ::int32_t value); + void add_slotidarray(::int32_t value); + const ::google::protobuf::RepeatedField<::int32_t>& slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_slotidarray(); + + private: + const ::google::protobuf::RepeatedField<::int32_t>& _internal_slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_slotidarray(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusDeleteMultiSlotVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusDeleteMultiSlotVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::int32_t> slotidarray_; + ::google::protobuf::internal::CachedSize _slotidarray_cached_byte_size_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<46> TusDeleteMultiSlotVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class TusDeleteMultiSlotDataRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusDeleteMultiSlotDataRequest) */ { + public: + inline TusDeleteMultiSlotDataRequest() : TusDeleteMultiSlotDataRequest(nullptr) {} + ~TusDeleteMultiSlotDataRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusDeleteMultiSlotDataRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusDeleteMultiSlotDataRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusDeleteMultiSlotDataRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusDeleteMultiSlotDataRequest(const TusDeleteMultiSlotDataRequest& from) : TusDeleteMultiSlotDataRequest(nullptr, from) {} + inline TusDeleteMultiSlotDataRequest(TusDeleteMultiSlotDataRequest&& from) noexcept + : TusDeleteMultiSlotDataRequest(nullptr, ::std::move(from)) {} + inline TusDeleteMultiSlotDataRequest& operator=(const TusDeleteMultiSlotDataRequest& from) { + CopyFrom(from); + return *this; + } + inline TusDeleteMultiSlotDataRequest& operator=(TusDeleteMultiSlotDataRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusDeleteMultiSlotDataRequest& default_instance() { + return *reinterpret_cast( + &_TusDeleteMultiSlotDataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 73; + friend void swap(TusDeleteMultiSlotDataRequest& a, TusDeleteMultiSlotDataRequest& b) { a.Swap(&b); } + inline void Swap(TusDeleteMultiSlotDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusDeleteMultiSlotDataRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusDeleteMultiSlotDataRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusDeleteMultiSlotDataRequest& from); + void MergeFrom(const TusDeleteMultiSlotDataRequest& from) { TusDeleteMultiSlotDataRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusDeleteMultiSlotDataRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusDeleteMultiSlotDataRequest"; } + + explicit TusDeleteMultiSlotDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusDeleteMultiSlotDataRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusDeleteMultiSlotDataRequest& from); + TusDeleteMultiSlotDataRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusDeleteMultiSlotDataRequest&& from) noexcept + : TusDeleteMultiSlotDataRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSlotIdArrayFieldNumber = 2, + kUserFieldNumber = 1, + }; + // repeated int32 slotIdArray = 2; + int slotidarray_size() const; + private: + int _internal_slotidarray_size() const; + + public: + void clear_slotidarray() ; + ::int32_t slotidarray(int index) const; + void set_slotidarray(int index, ::int32_t value); + void add_slotidarray(::int32_t value); + const ::google::protobuf::RepeatedField<::int32_t>& slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_slotidarray(); + + private: + const ::google::protobuf::RepeatedField<::int32_t>& _internal_slotidarray() const; + ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_slotidarray(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusDeleteMultiSlotDataRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusDeleteMultiSlotDataRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::int32_t> slotidarray_; + ::google::protobuf::internal::CachedSize _slotidarray_cached_byte_size_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<42> TusDeleteMultiSlotDataRequest_class_data_; +// ------------------------------------------------------------------- + +class TusDataStatusResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusDataStatusResponse) */ { + public: + inline TusDataStatusResponse() : TusDataStatusResponse(nullptr) {} + ~TusDataStatusResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusDataStatusResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusDataStatusResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusDataStatusResponse(::google::protobuf::internal::ConstantInitialized); + + inline TusDataStatusResponse(const TusDataStatusResponse& from) : TusDataStatusResponse(nullptr, from) {} + inline TusDataStatusResponse(TusDataStatusResponse&& from) noexcept + : TusDataStatusResponse(nullptr, ::std::move(from)) {} + inline TusDataStatusResponse& operator=(const TusDataStatusResponse& from) { + CopyFrom(from); + return *this; + } + inline TusDataStatusResponse& operator=(TusDataStatusResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusDataStatusResponse& default_instance() { + return *reinterpret_cast( + &_TusDataStatusResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 68; + friend void swap(TusDataStatusResponse& a, TusDataStatusResponse& b) { a.Swap(&b); } + inline void Swap(TusDataStatusResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusDataStatusResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusDataStatusResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusDataStatusResponse& from); + void MergeFrom(const TusDataStatusResponse& from) { TusDataStatusResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusDataStatusResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusDataStatusResponse"; } + + explicit TusDataStatusResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusDataStatusResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusDataStatusResponse& from); + TusDataStatusResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusDataStatusResponse&& from) noexcept + : TusDataStatusResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kStatusFieldNumber = 1, + }; + // repeated .np2_structs.TusDataStatus status = 1; + int status_size() const; + private: + int _internal_status_size() const; + + public: + void clear_status() ; + ::np2_structs::TusDataStatus* PROTOBUF_NONNULL mutable_status(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>* PROTOBUF_NONNULL mutable_status(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>& _internal_status() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>* PROTOBUF_NONNULL _internal_mutable_status(); + public: + const ::np2_structs::TusDataStatus& status(int index) const; + ::np2_structs::TusDataStatus* PROTOBUF_NONNULL add_status(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>& status() const; + // @@protoc_insertion_point(class_scope:np2_structs.TusDataStatusResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusDataStatusResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::TusDataStatus > status_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<34> TusDataStatusResponse_class_data_; +// ------------------------------------------------------------------- + +class TusData final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusData) */ { + public: + inline TusData() : TusData(nullptr) {} + ~TusData() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusData* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusData)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusData(::google::protobuf::internal::ConstantInitialized); + + inline TusData(const TusData& from) : TusData(nullptr, from) {} + inline TusData(TusData&& from) noexcept + : TusData(nullptr, ::std::move(from)) {} + inline TusData& operator=(const TusData& from) { + CopyFrom(from); + return *this; + } + inline TusData& operator=(TusData&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusData& default_instance() { + return *reinterpret_cast( + &_TusData_default_instance_); + } + static constexpr int kIndexInFileMessages = 67; + friend void swap(TusData& a, TusData& b) { a.Swap(&b); } + inline void Swap(TusData* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusData* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusData* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusData& from); + void MergeFrom(const TusData& from) { TusData::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusData* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusData"; } + + explicit TusData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusData& from); + TusData( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusData&& from) noexcept + : TusData(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDataFieldNumber = 2, + kStatusFieldNumber = 1, + }; + // bytes data = 2; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // .np2_structs.TusDataStatus status = 1; + bool has_status() const; + void clear_status() ; + const ::np2_structs::TusDataStatus& status() const; + [[nodiscard]] ::np2_structs::TusDataStatus* PROTOBUF_NULLABLE release_status(); + ::np2_structs::TusDataStatus* PROTOBUF_NONNULL mutable_status(); + void set_allocated_status(::np2_structs::TusDataStatus* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_status(::np2_structs::TusDataStatus* PROTOBUF_NULLABLE value); + ::np2_structs::TusDataStatus* PROTOBUF_NULLABLE unsafe_arena_release_status(); + + private: + const ::np2_structs::TusDataStatus& _internal_status() const; + ::np2_structs::TusDataStatus* PROTOBUF_NONNULL _internal_mutable_status(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusData) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusData& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::np2_structs::TusDataStatus* PROTOBUF_NULLABLE status_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<20> TusData_class_data_; +// ------------------------------------------------------------------- + +class TusAddAndGetVariableRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.TusAddAndGetVariableRequest) */ { + public: + inline TusAddAndGetVariableRequest() : TusAddAndGetVariableRequest(nullptr) {} + ~TusAddAndGetVariableRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TusAddAndGetVariableRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TusAddAndGetVariableRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TusAddAndGetVariableRequest(::google::protobuf::internal::ConstantInitialized); + + inline TusAddAndGetVariableRequest(const TusAddAndGetVariableRequest& from) : TusAddAndGetVariableRequest(nullptr, from) {} + inline TusAddAndGetVariableRequest(TusAddAndGetVariableRequest&& from) noexcept + : TusAddAndGetVariableRequest(nullptr, ::std::move(from)) {} + inline TusAddAndGetVariableRequest& operator=(const TusAddAndGetVariableRequest& from) { + CopyFrom(from); + return *this; + } + inline TusAddAndGetVariableRequest& operator=(TusAddAndGetVariableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const TusAddAndGetVariableRequest& default_instance() { + return *reinterpret_cast( + &_TusAddAndGetVariableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 62; + friend void swap(TusAddAndGetVariableRequest& a, TusAddAndGetVariableRequest& b) { a.Swap(&b); } + inline void Swap(TusAddAndGetVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TusAddAndGetVariableRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TusAddAndGetVariableRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const TusAddAndGetVariableRequest& from); + void MergeFrom(const TusAddAndGetVariableRequest& from) { TusAddAndGetVariableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TusAddAndGetVariableRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.TusAddAndGetVariableRequest"; } + + explicit TusAddAndGetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + TusAddAndGetVariableRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TusAddAndGetVariableRequest& from); + TusAddAndGetVariableRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TusAddAndGetVariableRequest&& from) noexcept + : TusAddAndGetVariableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIsLastChangedDateFieldNumber = 4, + kIsLastChangedAuthorIdFieldNumber = 5, + kUserFieldNumber = 1, + kInVariableFieldNumber = 3, + kSlotIdFieldNumber = 2, + }; + // repeated uint64 isLastChangedDate = 4; + int islastchangeddate_size() const; + private: + int _internal_islastchangeddate_size() const; + + public: + void clear_islastchangeddate() ; + ::uint64_t islastchangeddate(int index) const; + void set_islastchangeddate(int index, ::uint64_t value); + void add_islastchangeddate(::uint64_t value); + const ::google::protobuf::RepeatedField<::uint64_t>& islastchangeddate() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_islastchangeddate(); + + private: + const ::google::protobuf::RepeatedField<::uint64_t>& _internal_islastchangeddate() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_islastchangeddate(); + + public: + // string isLastChangedAuthorId = 5; + void clear_islastchangedauthorid() ; + const ::std::string& islastchangedauthorid() const; + template + void set_islastchangedauthorid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_islastchangedauthorid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_islastchangedauthorid(); + void set_allocated_islastchangedauthorid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_islastchangedauthorid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_islastchangedauthorid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_islastchangedauthorid(); + + public: + // .np2_structs.TusUser user = 1; + bool has_user() const; + void clear_user() ; + const ::np2_structs::TusUser& user() const; + [[nodiscard]] ::np2_structs::TusUser* PROTOBUF_NULLABLE release_user(); + ::np2_structs::TusUser* PROTOBUF_NONNULL mutable_user(); + void set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value); + ::np2_structs::TusUser* PROTOBUF_NULLABLE unsafe_arena_release_user(); + + private: + const ::np2_structs::TusUser& _internal_user() const; + ::np2_structs::TusUser* PROTOBUF_NONNULL _internal_mutable_user(); + + public: + // int64 inVariable = 3; + void clear_invariable() ; + ::int64_t invariable() const; + void set_invariable(::int64_t value); + + private: + ::int64_t _internal_invariable() const; + void _internal_set_invariable(::int64_t value); + + public: + // int32 slotId = 2; + void clear_slotid() ; + ::int32_t slotid() const; + void set_slotid(::int32_t value); + + private: + ::int32_t _internal_slotid() const; + void _internal_set_slotid(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.TusAddAndGetVariableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 1, 69, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const TusAddAndGetVariableRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::uint64_t> islastchangeddate_; + ::google::protobuf::internal::CachedSize _islastchangeddate_cached_byte_size_; + ::google::protobuf::internal::ArenaStringPtr islastchangedauthorid_; + ::np2_structs::TusUser* PROTOBUF_NULLABLE user_; + ::int64_t invariable_; + ::int32_t slotid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<40> TusAddAndGetVariableRequest_class_data_; +// ------------------------------------------------------------------- + +class SignalingAddr final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SignalingAddr) */ { + public: + inline SignalingAddr() : SignalingAddr(nullptr) {} + ~SignalingAddr() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SignalingAddr* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SignalingAddr)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SignalingAddr(::google::protobuf::internal::ConstantInitialized); + + inline SignalingAddr(const SignalingAddr& from) : SignalingAddr(nullptr, from) {} + inline SignalingAddr(SignalingAddr&& from) noexcept + : SignalingAddr(nullptr, ::std::move(from)) {} + inline SignalingAddr& operator=(const SignalingAddr& from) { + CopyFrom(from); + return *this; + } + inline SignalingAddr& operator=(SignalingAddr&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SignalingAddr& default_instance() { + return *reinterpret_cast( + &_SignalingAddr_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(SignalingAddr& a, SignalingAddr& b) { a.Swap(&b); } + inline void Swap(SignalingAddr* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SignalingAddr* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SignalingAddr* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SignalingAddr& from); + void MergeFrom(const SignalingAddr& from) { SignalingAddr::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SignalingAddr* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SignalingAddr"; } + + explicit SignalingAddr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SignalingAddr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SignalingAddr& from); + SignalingAddr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SignalingAddr&& from) noexcept + : SignalingAddr(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIpFieldNumber = 1, + kPortFieldNumber = 2, + }; + // bytes ip = 1; + void clear_ip() ; + const ::std::string& ip() const; + template + void set_ip(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_ip(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ip(); + void set_allocated_ip(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_ip() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_ip(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_ip(); + + public: + // .np2_structs.uint16 port = 2; + bool has_port() const; + void clear_port() ; + const ::np2_structs::uint16& port() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_port(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_port(); + void set_allocated_port(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_port(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_port(); + + private: + const ::np2_structs::uint16& _internal_port() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_port(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SignalingAddr) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SignalingAddr& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr ip_; + ::np2_structs::uint16* PROTOBUF_NULLABLE port_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<26> SignalingAddr_class_data_; +// ------------------------------------------------------------------- + +class SendRoomMessageRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SendRoomMessageRequest) */ { + public: + inline SendRoomMessageRequest() : SendRoomMessageRequest(nullptr) {} + ~SendRoomMessageRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SendRoomMessageRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SendRoomMessageRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SendRoomMessageRequest(::google::protobuf::internal::ConstantInitialized); + + inline SendRoomMessageRequest(const SendRoomMessageRequest& from) : SendRoomMessageRequest(nullptr, from) {} + inline SendRoomMessageRequest(SendRoomMessageRequest&& from) noexcept + : SendRoomMessageRequest(nullptr, ::std::move(from)) {} + inline SendRoomMessageRequest& operator=(const SendRoomMessageRequest& from) { + CopyFrom(from); + return *this; + } + inline SendRoomMessageRequest& operator=(SendRoomMessageRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SendRoomMessageRequest& default_instance() { + return *reinterpret_cast( + &_SendRoomMessageRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 40; + friend void swap(SendRoomMessageRequest& a, SendRoomMessageRequest& b) { a.Swap(&b); } + inline void Swap(SendRoomMessageRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SendRoomMessageRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SendRoomMessageRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SendRoomMessageRequest& from); + void MergeFrom(const SendRoomMessageRequest& from) { SendRoomMessageRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SendRoomMessageRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SendRoomMessageRequest"; } + + explicit SendRoomMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SendRoomMessageRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SendRoomMessageRequest& from); + SendRoomMessageRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SendRoomMessageRequest&& from) noexcept + : SendRoomMessageRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDstFieldNumber = 3, + kMsgFieldNumber = 4, + kCastTypeFieldNumber = 2, + kOptionFieldNumber = 5, + kRoomIdFieldNumber = 1, + }; + // repeated .np2_structs.uint16 dst = 3; + int dst_size() const; + private: + int _internal_dst_size() const; + + public: + void clear_dst() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_dst(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_dst(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_dst() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_dst(); + public: + const ::np2_structs::uint16& dst(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_dst(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& dst() const; + // bytes msg = 4; + void clear_msg() ; + const ::std::string& msg() const; + template + void set_msg(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_msg(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_msg(); + void set_allocated_msg(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_msg() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_msg(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_msg(); + + public: + // .np2_structs.uint8 castType = 2; + bool has_casttype() const; + void clear_casttype() ; + const ::np2_structs::uint8& casttype() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_casttype(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_casttype(); + void set_allocated_casttype(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_casttype(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_casttype(); + + private: + const ::np2_structs::uint8& _internal_casttype() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_casttype(); + + public: + // .np2_structs.uint8 option = 5; + bool has_option() const; + void clear_option() ; + const ::np2_structs::uint8& option() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_option(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_option(); + void set_allocated_option(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_option(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_option(); + + private: + const ::np2_structs::uint8& _internal_option() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_option(); + + public: + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SendRoomMessageRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SendRoomMessageRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > dst_; + ::google::protobuf::internal::ArenaStringPtr msg_; + ::np2_structs::uint8* PROTOBUF_NULLABLE casttype_; + ::np2_structs::uint8* PROTOBUF_NULLABLE option_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<35> SendRoomMessageRequest_class_data_; +// ------------------------------------------------------------------- + +class SearchJoinRoomGUIRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SearchJoinRoomGUIRequest) */ { + public: + inline SearchJoinRoomGUIRequest() : SearchJoinRoomGUIRequest(nullptr) {} + ~SearchJoinRoomGUIRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SearchJoinRoomGUIRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SearchJoinRoomGUIRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SearchJoinRoomGUIRequest(::google::protobuf::internal::ConstantInitialized); + + inline SearchJoinRoomGUIRequest(const SearchJoinRoomGUIRequest& from) : SearchJoinRoomGUIRequest(nullptr, from) {} + inline SearchJoinRoomGUIRequest(SearchJoinRoomGUIRequest&& from) noexcept + : SearchJoinRoomGUIRequest(nullptr, ::std::move(from)) {} + inline SearchJoinRoomGUIRequest& operator=(const SearchJoinRoomGUIRequest& from) { + CopyFrom(from); + return *this; + } + inline SearchJoinRoomGUIRequest& operator=(SearchJoinRoomGUIRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SearchJoinRoomGUIRequest& default_instance() { + return *reinterpret_cast( + &_SearchJoinRoomGUIRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 86; + friend void swap(SearchJoinRoomGUIRequest& a, SearchJoinRoomGUIRequest& b) { a.Swap(&b); } + inline void Swap(SearchJoinRoomGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SearchJoinRoomGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SearchJoinRoomGUIRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SearchJoinRoomGUIRequest& from); + void MergeFrom(const SearchJoinRoomGUIRequest& from) { SearchJoinRoomGUIRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SearchJoinRoomGUIRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SearchJoinRoomGUIRequest"; } + + explicit SearchJoinRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SearchJoinRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchJoinRoomGUIRequest& from); + SearchJoinRoomGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchJoinRoomGUIRequest&& from) noexcept + : SearchJoinRoomGUIRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCondsFieldNumber = 1, + kAttrsFieldNumber = 2, + }; + // repeated .np2_structs.MatchingSearchCondition conds = 1; + int conds_size() const; + private: + int _internal_conds_size() const; + + public: + void clear_conds() ; + ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL mutable_conds(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL mutable_conds(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& _internal_conds() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL _internal_mutable_conds(); + public: + const ::np2_structs::MatchingSearchCondition& conds(int index) const; + ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL add_conds(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& conds() const; + // repeated .np2_structs.MatchingAttr attrs = 2; + int attrs_size() const; + private: + int _internal_attrs_size() const; + + public: + void clear_attrs() ; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL mutable_attrs(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL mutable_attrs(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& _internal_attrs() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL _internal_mutable_attrs(); + public: + const ::np2_structs::MatchingAttr& attrs(int index) const; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL add_attrs(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& attrs() const; + // @@protoc_insertion_point(class_scope:np2_structs.SearchJoinRoomGUIRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SearchJoinRoomGUIRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingSearchCondition > conds_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingAttr > attrs_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<37> SearchJoinRoomGUIRequest_class_data_; +// ------------------------------------------------------------------- + +class RoomUpdateInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomUpdateInfo) */ { + public: + inline RoomUpdateInfo() : RoomUpdateInfo(nullptr) {} + ~RoomUpdateInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomUpdateInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomUpdateInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomUpdateInfo(::google::protobuf::internal::ConstantInitialized); + + inline RoomUpdateInfo(const RoomUpdateInfo& from) : RoomUpdateInfo(nullptr, from) {} + inline RoomUpdateInfo(RoomUpdateInfo&& from) noexcept + : RoomUpdateInfo(nullptr, ::std::move(from)) {} + inline RoomUpdateInfo& operator=(const RoomUpdateInfo& from) { + CopyFrom(from); + return *this; + } + inline RoomUpdateInfo& operator=(RoomUpdateInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomUpdateInfo& default_instance() { + return *reinterpret_cast( + &_RoomUpdateInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 36; + friend void swap(RoomUpdateInfo& a, RoomUpdateInfo& b) { a.Swap(&b); } + inline void Swap(RoomUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomUpdateInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomUpdateInfo& from); + void MergeFrom(const RoomUpdateInfo& from) { RoomUpdateInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomUpdateInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomUpdateInfo"; } + + explicit RoomUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomUpdateInfo& from); + RoomUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomUpdateInfo&& from) noexcept + : RoomUpdateInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kEventCauseFieldNumber = 1, + kOptDataFieldNumber = 3, + kErrorCodeFieldNumber = 2, + }; + // .np2_structs.uint8 eventCause = 1; + bool has_eventcause() const; + void clear_eventcause() ; + const ::np2_structs::uint8& eventcause() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_eventcause(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_eventcause(); + void set_allocated_eventcause(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_eventcause(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_eventcause(); + + private: + const ::np2_structs::uint8& _internal_eventcause() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_eventcause(); + + public: + // .np2_structs.PresenceOptionData optData = 3; + bool has_optdata() const; + void clear_optdata() ; + const ::np2_structs::PresenceOptionData& optdata() const; + [[nodiscard]] ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE release_optdata(); + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL mutable_optdata(); + void set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE unsafe_arena_release_optdata(); + + private: + const ::np2_structs::PresenceOptionData& _internal_optdata() const; + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL _internal_mutable_optdata(); + + public: + // int32 errorCode = 2; + void clear_errorcode() ; + ::int32_t errorcode() const; + void set_errorcode(::int32_t value); + + private: + ::int32_t _internal_errorcode() const; + void _internal_set_errorcode(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomUpdateInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomUpdateInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint8* PROTOBUF_NULLABLE eventcause_; + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE optdata_; + ::int32_t errorcode_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<27> RoomUpdateInfo_class_data_; +// ------------------------------------------------------------------- + +class RoomMessageInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomMessageInfo) */ { + public: + inline RoomMessageInfo() : RoomMessageInfo(nullptr) {} + ~RoomMessageInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomMessageInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomMessageInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomMessageInfo(::google::protobuf::internal::ConstantInitialized); + + inline RoomMessageInfo(const RoomMessageInfo& from) : RoomMessageInfo(nullptr, from) {} + inline RoomMessageInfo(RoomMessageInfo&& from) noexcept + : RoomMessageInfo(nullptr, ::std::move(from)) {} + inline RoomMessageInfo& operator=(const RoomMessageInfo& from) { + CopyFrom(from); + return *this; + } + inline RoomMessageInfo& operator=(RoomMessageInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomMessageInfo& default_instance() { + return *reinterpret_cast( + &_RoomMessageInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 41; + friend void swap(RoomMessageInfo& a, RoomMessageInfo& b) { a.Swap(&b); } + inline void Swap(RoomMessageInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomMessageInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomMessageInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomMessageInfo& from); + void MergeFrom(const RoomMessageInfo& from) { RoomMessageInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomMessageInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomMessageInfo"; } + + explicit RoomMessageInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomMessageInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomMessageInfo& from); + RoomMessageInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomMessageInfo&& from) noexcept + : RoomMessageInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDstFieldNumber = 3, + kMsgFieldNumber = 5, + kCastTypeFieldNumber = 2, + kSrcMemberFieldNumber = 4, + kFilteredFieldNumber = 1, + }; + // repeated .np2_structs.uint16 dst = 3; + int dst_size() const; + private: + int _internal_dst_size() const; + + public: + void clear_dst() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_dst(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_dst(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_dst() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_dst(); + public: + const ::np2_structs::uint16& dst(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_dst(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& dst() const; + // bytes msg = 5; + void clear_msg() ; + const ::std::string& msg() const; + template + void set_msg(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_msg(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_msg(); + void set_allocated_msg(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_msg() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_msg(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_msg(); + + public: + // .np2_structs.uint8 castType = 2; + bool has_casttype() const; + void clear_casttype() ; + const ::np2_structs::uint8& casttype() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_casttype(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_casttype(); + void set_allocated_casttype(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_casttype(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_casttype(); + + private: + const ::np2_structs::uint8& _internal_casttype() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_casttype(); + + public: + // .np2_structs.UserInfo srcMember = 4; + bool has_srcmember() const; + void clear_srcmember() ; + const ::np2_structs::UserInfo& srcmember() const; + [[nodiscard]] ::np2_structs::UserInfo* PROTOBUF_NULLABLE release_srcmember(); + ::np2_structs::UserInfo* PROTOBUF_NONNULL mutable_srcmember(); + void set_allocated_srcmember(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_srcmember(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + ::np2_structs::UserInfo* PROTOBUF_NULLABLE unsafe_arena_release_srcmember(); + + private: + const ::np2_structs::UserInfo& _internal_srcmember() const; + ::np2_structs::UserInfo* PROTOBUF_NONNULL _internal_mutable_srcmember(); + + public: + // bool filtered = 1; + void clear_filtered() ; + bool filtered() const; + void set_filtered(bool value); + + private: + bool _internal_filtered() const; + void _internal_set_filtered(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomMessageInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomMessageInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > dst_; + ::google::protobuf::internal::ArenaStringPtr msg_; + ::np2_structs::uint8* PROTOBUF_NULLABLE casttype_; + ::np2_structs::UserInfo* PROTOBUF_NULLABLE srcmember_; + bool filtered_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<28> RoomMessageInfo_class_data_; +// ------------------------------------------------------------------- + +class RoomGroupPasswordConfig final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomGroupPasswordConfig) */ { + public: + inline RoomGroupPasswordConfig() : RoomGroupPasswordConfig(nullptr) {} + ~RoomGroupPasswordConfig() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomGroupPasswordConfig* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomGroupPasswordConfig)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomGroupPasswordConfig(::google::protobuf::internal::ConstantInitialized); + + inline RoomGroupPasswordConfig(const RoomGroupPasswordConfig& from) : RoomGroupPasswordConfig(nullptr, from) {} + inline RoomGroupPasswordConfig(RoomGroupPasswordConfig&& from) noexcept + : RoomGroupPasswordConfig(nullptr, ::std::move(from)) {} + inline RoomGroupPasswordConfig& operator=(const RoomGroupPasswordConfig& from) { + CopyFrom(from); + return *this; + } + inline RoomGroupPasswordConfig& operator=(RoomGroupPasswordConfig&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomGroupPasswordConfig& default_instance() { + return *reinterpret_cast( + &_RoomGroupPasswordConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = 19; + friend void swap(RoomGroupPasswordConfig& a, RoomGroupPasswordConfig& b) { a.Swap(&b); } + inline void Swap(RoomGroupPasswordConfig* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomGroupPasswordConfig* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomGroupPasswordConfig* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomGroupPasswordConfig& from); + void MergeFrom(const RoomGroupPasswordConfig& from) { RoomGroupPasswordConfig::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomGroupPasswordConfig* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomGroupPasswordConfig"; } + + explicit RoomGroupPasswordConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomGroupPasswordConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomGroupPasswordConfig& from); + RoomGroupPasswordConfig( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomGroupPasswordConfig&& from) noexcept + : RoomGroupPasswordConfig(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kGroupIdFieldNumber = 1, + kWithPasswordFieldNumber = 2, + }; + // .np2_structs.uint8 groupId = 1; + bool has_groupid() const; + void clear_groupid() ; + const ::np2_structs::uint8& groupid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_groupid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_groupid(); + void set_allocated_groupid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_groupid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_groupid(); + + private: + const ::np2_structs::uint8& _internal_groupid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_groupid(); + + public: + // bool withPassword = 2; + void clear_withpassword() ; + bool withpassword() const; + void set_withpassword(bool value); + + private: + bool _internal_withpassword() const; + void _internal_set_withpassword(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomGroupPasswordConfig) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomGroupPasswordConfig& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint8* PROTOBUF_NULLABLE groupid_; + bool withpassword_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<36> RoomGroupPasswordConfig_class_data_; +// ------------------------------------------------------------------- + +class RoomGroup final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomGroup) */ { + public: + inline RoomGroup() : RoomGroup(nullptr) {} + ~RoomGroup() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomGroup* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomGroup)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomGroup(::google::protobuf::internal::ConstantInitialized); + + inline RoomGroup(const RoomGroup& from) : RoomGroup(nullptr, from) {} + inline RoomGroup(RoomGroup&& from) noexcept + : RoomGroup(nullptr, ::std::move(from)) {} + inline RoomGroup& operator=(const RoomGroup& from) { + CopyFrom(from); + return *this; + } + inline RoomGroup& operator=(RoomGroup&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomGroup& default_instance() { + return *reinterpret_cast( + &_RoomGroup_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(RoomGroup& a, RoomGroup& b) { a.Swap(&b); } + inline void Swap(RoomGroup* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomGroup* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomGroup* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomGroup& from); + void MergeFrom(const RoomGroup& from) { RoomGroup::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomGroup* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomGroup"; } + + explicit RoomGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomGroup(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomGroup& from); + RoomGroup( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomGroup&& from) noexcept + : RoomGroup(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLabelFieldNumber = 3, + kGroupIdFieldNumber = 1, + kWithPasswordFieldNumber = 2, + kSlotNumFieldNumber = 4, + kCurGroupMemberNumFieldNumber = 5, + }; + // bytes label = 3; + void clear_label() ; + const ::std::string& label() const; + template + void set_label(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_label(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_label(); + void set_allocated_label(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_label() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_label(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_label(); + + public: + // .np2_structs.uint8 groupId = 1; + bool has_groupid() const; + void clear_groupid() ; + const ::np2_structs::uint8& groupid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_groupid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_groupid(); + void set_allocated_groupid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_groupid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_groupid(); + + private: + const ::np2_structs::uint8& _internal_groupid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_groupid(); + + public: + // bool withPassword = 2; + void clear_withpassword() ; + bool withpassword() const; + void set_withpassword(bool value); + + private: + bool _internal_withpassword() const; + void _internal_set_withpassword(bool value); + + public: + // uint32 slotNum = 4; + void clear_slotnum() ; + ::uint32_t slotnum() const; + void set_slotnum(::uint32_t value); + + private: + ::uint32_t _internal_slotnum() const; + void _internal_set_slotnum(::uint32_t value); + + public: + // uint32 curGroupMemberNum = 5; + void clear_curgroupmembernum() ; + ::uint32_t curgroupmembernum() const; + void set_curgroupmembernum(::uint32_t value); + + private: + ::uint32_t _internal_curgroupmembernum() const; + void _internal_set_curgroupmembernum(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomGroup) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomGroup& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr label_; + ::np2_structs::uint8* PROTOBUF_NULLABLE groupid_; + bool withpassword_; + ::uint32_t slotnum_; + ::uint32_t curgroupmembernum_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<22> RoomGroup_class_data_; +// ------------------------------------------------------------------- + +class QuickMatchGUIRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.QuickMatchGUIRequest) */ { + public: + inline QuickMatchGUIRequest() : QuickMatchGUIRequest(nullptr) {} + ~QuickMatchGUIRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(QuickMatchGUIRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(QuickMatchGUIRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR QuickMatchGUIRequest(::google::protobuf::internal::ConstantInitialized); + + inline QuickMatchGUIRequest(const QuickMatchGUIRequest& from) : QuickMatchGUIRequest(nullptr, from) {} + inline QuickMatchGUIRequest(QuickMatchGUIRequest&& from) noexcept + : QuickMatchGUIRequest(nullptr, ::std::move(from)) {} + inline QuickMatchGUIRequest& operator=(const QuickMatchGUIRequest& from) { + CopyFrom(from); + return *this; + } + inline QuickMatchGUIRequest& operator=(QuickMatchGUIRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const QuickMatchGUIRequest& default_instance() { + return *reinterpret_cast( + &_QuickMatchGUIRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 85; + friend void swap(QuickMatchGUIRequest& a, QuickMatchGUIRequest& b) { a.Swap(&b); } + inline void Swap(QuickMatchGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(QuickMatchGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + QuickMatchGUIRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const QuickMatchGUIRequest& from); + void MergeFrom(const QuickMatchGUIRequest& from) { QuickMatchGUIRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(QuickMatchGUIRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.QuickMatchGUIRequest"; } + + explicit QuickMatchGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + QuickMatchGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuickMatchGUIRequest& from); + QuickMatchGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, QuickMatchGUIRequest&& from) noexcept + : QuickMatchGUIRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCondsFieldNumber = 1, + kAvailableNumFieldNumber = 2, + }; + // repeated .np2_structs.MatchingSearchCondition conds = 1; + int conds_size() const; + private: + int _internal_conds_size() const; + + public: + void clear_conds() ; + ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL mutable_conds(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL mutable_conds(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& _internal_conds() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL _internal_mutable_conds(); + public: + const ::np2_structs::MatchingSearchCondition& conds(int index) const; + ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL add_conds(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& conds() const; + // uint32 available_num = 2; + void clear_available_num() ; + ::uint32_t available_num() const; + void set_available_num(::uint32_t value); + + private: + ::uint32_t _internal_available_num() const; + void _internal_set_available_num(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.QuickMatchGUIRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const QuickMatchGUIRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingSearchCondition > conds_; + ::uint32_t available_num_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<33> QuickMatchGUIRequest_class_data_; +// ------------------------------------------------------------------- + +class OptParam final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.OptParam) */ { + public: + inline OptParam() : OptParam(nullptr) {} + ~OptParam() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OptParam* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OptParam)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OptParam(::google::protobuf::internal::ConstantInitialized); + + inline OptParam(const OptParam& from) : OptParam(nullptr, from) {} + inline OptParam(OptParam&& from) noexcept + : OptParam(nullptr, ::std::move(from)) {} + inline OptParam& operator=(const OptParam& from) { + CopyFrom(from); + return *this; + } + inline OptParam& operator=(OptParam&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const OptParam& default_instance() { + return *reinterpret_cast( + &_OptParam_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(OptParam& a, OptParam& b) { a.Swap(&b); } + inline void Swap(OptParam* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OptParam* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OptParam* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const OptParam& from); + void MergeFrom(const OptParam& from) { OptParam::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OptParam* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.OptParam"; } + + explicit OptParam(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + OptParam(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OptParam& from); + OptParam( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OptParam&& from) noexcept + : OptParam(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTypeFieldNumber = 1, + kFlagFieldNumber = 2, + kHubMemberIdFieldNumber = 3, + }; + // .np2_structs.uint8 type = 1; + bool has_type() const; + void clear_type() ; + const ::np2_structs::uint8& type() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_type(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_type(); + void set_allocated_type(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_type(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_type(); + + private: + const ::np2_structs::uint8& _internal_type() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_type(); + + public: + // .np2_structs.uint8 flag = 2; + bool has_flag() const; + void clear_flag() ; + const ::np2_structs::uint8& flag() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_flag(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_flag(); + void set_allocated_flag(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_flag(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_flag(); + + private: + const ::np2_structs::uint8& _internal_flag() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_flag(); + + public: + // .np2_structs.uint16 hubMemberId = 3; + bool has_hubmemberid() const; + void clear_hubmemberid() ; + const ::np2_structs::uint16& hubmemberid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_hubmemberid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_hubmemberid(); + void set_allocated_hubmemberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_hubmemberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_hubmemberid(); + + private: + const ::np2_structs::uint16& _internal_hubmemberid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_hubmemberid(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.OptParam) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const OptParam& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint8* PROTOBUF_NULLABLE type_; + ::np2_structs::uint8* PROTOBUF_NULLABLE flag_; + ::np2_structs::uint16* PROTOBUF_NULLABLE hubmemberid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<21> OptParam_class_data_; +// ------------------------------------------------------------------- + +class MessageDetails final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MessageDetails) */ { + public: + inline MessageDetails() : MessageDetails(nullptr) {} + ~MessageDetails() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MessageDetails* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MessageDetails)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MessageDetails(::google::protobuf::internal::ConstantInitialized); + + inline MessageDetails(const MessageDetails& from) : MessageDetails(nullptr, from) {} + inline MessageDetails(MessageDetails&& from) noexcept + : MessageDetails(nullptr, ::std::move(from)) {} + inline MessageDetails& operator=(const MessageDetails& from) { + CopyFrom(from); + return *this; + } + inline MessageDetails& operator=(MessageDetails&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MessageDetails& default_instance() { + return *reinterpret_cast( + &_MessageDetails_default_instance_); + } + static constexpr int kIndexInFileMessages = 42; + friend void swap(MessageDetails& a, MessageDetails& b) { a.Swap(&b); } + inline void Swap(MessageDetails* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MessageDetails* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MessageDetails* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MessageDetails& from); + void MergeFrom(const MessageDetails& from) { MessageDetails::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MessageDetails* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MessageDetails"; } + + explicit MessageDetails(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MessageDetails(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MessageDetails& from); + MessageDetails( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MessageDetails&& from) noexcept + : MessageDetails(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCommunicationIdFieldNumber = 1, + kSubjectFieldNumber = 6, + kBodyFieldNumber = 7, + kDataFieldNumber = 8, + kMainTypeFieldNumber = 3, + kSubTypeFieldNumber = 4, + kMsgIdFieldNumber = 2, + kMsgFeaturesFieldNumber = 5, + }; + // string communicationId = 1; + void clear_communicationid() ; + const ::std::string& communicationid() const; + template + void set_communicationid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_communicationid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_communicationid(); + void set_allocated_communicationid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_communicationid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_communicationid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_communicationid(); + + public: + // string subject = 6; + void clear_subject() ; + const ::std::string& subject() const; + template + void set_subject(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_subject(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_subject(); + void set_allocated_subject(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_subject() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_subject(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_subject(); + + public: + // string body = 7; + void clear_body() ; + const ::std::string& body() const; + template + void set_body(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_body(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_body(); + void set_allocated_body(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_body() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_body(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_body(); + + public: + // bytes data = 8; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // .np2_structs.uint16 mainType = 3; + bool has_maintype() const; + void clear_maintype() ; + const ::np2_structs::uint16& maintype() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_maintype(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_maintype(); + void set_allocated_maintype(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_maintype(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_maintype(); + + private: + const ::np2_structs::uint16& _internal_maintype() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_maintype(); + + public: + // .np2_structs.uint16 subType = 4; + bool has_subtype() const; + void clear_subtype() ; + const ::np2_structs::uint16& subtype() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_subtype(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_subtype(); + void set_allocated_subtype(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_subtype(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_subtype(); + + private: + const ::np2_structs::uint16& _internal_subtype() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_subtype(); + + public: + // uint64 msgId = 2; + void clear_msgid() ; + ::uint64_t msgid() const; + void set_msgid(::uint64_t value); + + private: + ::uint64_t _internal_msgid() const; + void _internal_set_msgid(::uint64_t value); + + public: + // uint32 msgFeatures = 5; + void clear_msgfeatures() ; + ::uint32_t msgfeatures() const; + void set_msgfeatures(::uint32_t value); + + private: + ::uint32_t _internal_msgfeatures() const; + void _internal_set_msgfeatures(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MessageDetails) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 8, + 2, 69, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MessageDetails& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr communicationid_; + ::google::protobuf::internal::ArenaStringPtr subject_; + ::google::protobuf::internal::ArenaStringPtr body_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::np2_structs::uint16* PROTOBUF_NULLABLE maintype_; + ::np2_structs::uint16* PROTOBUF_NULLABLE subtype_; + ::uint64_t msgid_; + ::uint32_t msgfeatures_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<27> MessageDetails_class_data_; +// ------------------------------------------------------------------- + +class MatchingRoom final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingRoom) */ { + public: + inline MatchingRoom() : MatchingRoom(nullptr) {} + ~MatchingRoom() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingRoom* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingRoom)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingRoom(::google::protobuf::internal::ConstantInitialized); + + inline MatchingRoom(const MatchingRoom& from) : MatchingRoom(nullptr, from) {} + inline MatchingRoom(MatchingRoom&& from) noexcept + : MatchingRoom(nullptr, ::std::move(from)) {} + inline MatchingRoom& operator=(const MatchingRoom& from) { + CopyFrom(from); + return *this; + } + inline MatchingRoom& operator=(MatchingRoom&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingRoom& default_instance() { + return *reinterpret_cast( + &_MatchingRoom_default_instance_); + } + static constexpr int kIndexInFileMessages = 81; + friend void swap(MatchingRoom& a, MatchingRoom& b) { a.Swap(&b); } + inline void Swap(MatchingRoom* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingRoom* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingRoom* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingRoom& from); + void MergeFrom(const MatchingRoom& from) { MatchingRoom::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingRoom* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingRoom"; } + + explicit MatchingRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingRoom& from); + MatchingRoom( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingRoom&& from) noexcept + : MatchingRoom(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAttrFieldNumber = 2, + kIdFieldNumber = 1, + }; + // repeated .np2_structs.MatchingAttr attr = 2; + int attr_size() const; + private: + int _internal_attr_size() const; + + public: + void clear_attr() ; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL mutable_attr(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL mutable_attr(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& _internal_attr() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL _internal_mutable_attr(); + public: + const ::np2_structs::MatchingAttr& attr(int index) const; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL add_attr(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& attr() const; + // bytes id = 1; + void clear_id() ; + const ::std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_id(); + void set_allocated_id(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_id(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingRoom) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingRoom& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingAttr > attr_; + ::google::protobuf::internal::ArenaStringPtr id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<25> MatchingRoom_class_data_; +// ------------------------------------------------------------------- + +class LeaveRoomRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.LeaveRoomRequest) */ { + public: + inline LeaveRoomRequest() : LeaveRoomRequest(nullptr) {} + ~LeaveRoomRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(LeaveRoomRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LeaveRoomRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR LeaveRoomRequest(::google::protobuf::internal::ConstantInitialized); + + inline LeaveRoomRequest(const LeaveRoomRequest& from) : LeaveRoomRequest(nullptr, from) {} + inline LeaveRoomRequest(LeaveRoomRequest&& from) noexcept + : LeaveRoomRequest(nullptr, ::std::move(from)) {} + inline LeaveRoomRequest& operator=(const LeaveRoomRequest& from) { + CopyFrom(from); + return *this; + } + inline LeaveRoomRequest& operator=(LeaveRoomRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const LeaveRoomRequest& default_instance() { + return *reinterpret_cast( + &_LeaveRoomRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 25; + friend void swap(LeaveRoomRequest& a, LeaveRoomRequest& b) { a.Swap(&b); } + inline void Swap(LeaveRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LeaveRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LeaveRoomRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const LeaveRoomRequest& from); + void MergeFrom(const LeaveRoomRequest& from) { LeaveRoomRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(LeaveRoomRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.LeaveRoomRequest"; } + + explicit LeaveRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + LeaveRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LeaveRoomRequest& from); + LeaveRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LeaveRoomRequest&& from) noexcept + : LeaveRoomRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOptDataFieldNumber = 2, + kRoomIdFieldNumber = 1, + }; + // .np2_structs.PresenceOptionData optData = 2; + bool has_optdata() const; + void clear_optdata() ; + const ::np2_structs::PresenceOptionData& optdata() const; + [[nodiscard]] ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE release_optdata(); + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL mutable_optdata(); + void set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE unsafe_arena_release_optdata(); + + private: + const ::np2_structs::PresenceOptionData& _internal_optdata() const; + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL _internal_mutable_optdata(); + + public: + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.LeaveRoomRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const LeaveRoomRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE optdata_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<29> LeaveRoomRequest_class_data_; +// ------------------------------------------------------------------- + +class IntAttr final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.IntAttr) */ { + public: + inline IntAttr() : IntAttr(nullptr) {} + ~IntAttr() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(IntAttr* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(IntAttr)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR IntAttr(::google::protobuf::internal::ConstantInitialized); + + inline IntAttr(const IntAttr& from) : IntAttr(nullptr, from) {} + inline IntAttr(IntAttr&& from) noexcept + : IntAttr(nullptr, ::std::move(from)) {} + inline IntAttr& operator=(const IntAttr& from) { + CopyFrom(from); + return *this; + } + inline IntAttr& operator=(IntAttr&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const IntAttr& default_instance() { + return *reinterpret_cast( + &_IntAttr_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(IntAttr& a, IntAttr& b) { a.Swap(&b); } + inline void Swap(IntAttr* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(IntAttr* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + IntAttr* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const IntAttr& from); + void MergeFrom(const IntAttr& from) { IntAttr::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(IntAttr* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.IntAttr"; } + + explicit IntAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + IntAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntAttr& from); + IntAttr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntAttr&& from) noexcept + : IntAttr(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIdFieldNumber = 1, + kNumFieldNumber = 2, + }; + // .np2_structs.uint16 id = 1; + bool has_id() const; + void clear_id() ; + const ::np2_structs::uint16& id() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_id(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_id(); + void set_allocated_id(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_id(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_id(); + + private: + const ::np2_structs::uint16& _internal_id() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_id(); + + public: + // uint32 num = 2; + void clear_num() ; + ::uint32_t num() const; + void set_num(::uint32_t value); + + private: + ::uint32_t _internal_num() const; + void _internal_set_num(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.IntAttr) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const IntAttr& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint16* PROTOBUF_NULLABLE id_; + ::uint32_t num_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<20> IntAttr_class_data_; +// ------------------------------------------------------------------- + +class GetScoreResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetScoreResponse) */ { + public: + inline GetScoreResponse() : GetScoreResponse(nullptr) {} + ~GetScoreResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetScoreResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetScoreResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetScoreResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetScoreResponse(const GetScoreResponse& from) : GetScoreResponse(nullptr, from) {} + inline GetScoreResponse(GetScoreResponse&& from) noexcept + : GetScoreResponse(nullptr, ::std::move(from)) {} + inline GetScoreResponse& operator=(const GetScoreResponse& from) { + CopyFrom(from); + return *this; + } + inline GetScoreResponse& operator=(GetScoreResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetScoreResponse& default_instance() { + return *reinterpret_cast( + &_GetScoreResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 52; + friend void swap(GetScoreResponse& a, GetScoreResponse& b) { a.Swap(&b); } + inline void Swap(GetScoreResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetScoreResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetScoreResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetScoreResponse& from); + void MergeFrom(const GetScoreResponse& from) { GetScoreResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetScoreResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetScoreResponse"; } + + explicit GetScoreResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetScoreResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreResponse& from); + GetScoreResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetScoreResponse&& from) noexcept + : GetScoreResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRankArrayFieldNumber = 1, + kCommentArrayFieldNumber = 2, + kInfoArrayFieldNumber = 3, + kLastSortDateFieldNumber = 4, + kTotalRecordFieldNumber = 5, + }; + // repeated .np2_structs.ScoreRankData rankArray = 1; + int rankarray_size() const; + private: + int _internal_rankarray_size() const; + + public: + void clear_rankarray() ; + ::np2_structs::ScoreRankData* PROTOBUF_NONNULL mutable_rankarray(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>* PROTOBUF_NONNULL mutable_rankarray(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>& _internal_rankarray() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>* PROTOBUF_NONNULL _internal_mutable_rankarray(); + public: + const ::np2_structs::ScoreRankData& rankarray(int index) const; + ::np2_structs::ScoreRankData* PROTOBUF_NONNULL add_rankarray(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>& rankarray() const; + // repeated string commentArray = 2; + int commentarray_size() const; + private: + int _internal_commentarray_size() const; + + public: + void clear_commentarray() ; + const ::std::string& commentarray(int index) const; + ::std::string* PROTOBUF_NONNULL mutable_commentarray(int index); + template + void set_commentarray(int index, Arg_&& value, Args_... args); + ::std::string* PROTOBUF_NONNULL add_commentarray(); + template + void add_commentarray(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField<::std::string>& commentarray() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_commentarray(); + + private: + const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_commentarray() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_commentarray(); + + public: + // repeated .np2_structs.ScoreInfo infoArray = 3; + int infoarray_size() const; + private: + int _internal_infoarray_size() const; + + public: + void clear_infoarray() ; + ::np2_structs::ScoreInfo* PROTOBUF_NONNULL mutable_infoarray(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>* PROTOBUF_NONNULL mutable_infoarray(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>& _internal_infoarray() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>* PROTOBUF_NONNULL _internal_mutable_infoarray(); + public: + const ::np2_structs::ScoreInfo& infoarray(int index) const; + ::np2_structs::ScoreInfo* PROTOBUF_NONNULL add_infoarray(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>& infoarray() const; + // uint64 lastSortDate = 4; + void clear_lastsortdate() ; + ::uint64_t lastsortdate() const; + void set_lastsortdate(::uint64_t value); + + private: + ::uint64_t _internal_lastsortdate() const; + void _internal_set_lastsortdate(::uint64_t value); + + public: + // uint32 totalRecord = 5; + void clear_totalrecord() ; + ::uint32_t totalrecord() const; + void set_totalrecord(::uint32_t value); + + private: + ::uint32_t _internal_totalrecord() const; + void _internal_set_totalrecord(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetScoreResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 2, 49, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetScoreResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::ScoreRankData > rankarray_; + ::google::protobuf::RepeatedPtrField<::std::string> commentarray_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::ScoreInfo > infoarray_; + ::uint64_t lastsortdate_; + ::uint32_t totalrecord_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<29> GetScoreResponse_class_data_; +// ------------------------------------------------------------------- + +class GetScoreNpIdRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetScoreNpIdRequest) */ { + public: + inline GetScoreNpIdRequest() : GetScoreNpIdRequest(nullptr) {} + ~GetScoreNpIdRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetScoreNpIdRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetScoreNpIdRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetScoreNpIdRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetScoreNpIdRequest(const GetScoreNpIdRequest& from) : GetScoreNpIdRequest(nullptr, from) {} + inline GetScoreNpIdRequest(GetScoreNpIdRequest&& from) noexcept + : GetScoreNpIdRequest(nullptr, ::std::move(from)) {} + inline GetScoreNpIdRequest& operator=(const GetScoreNpIdRequest& from) { + CopyFrom(from); + return *this; + } + inline GetScoreNpIdRequest& operator=(GetScoreNpIdRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetScoreNpIdRequest& default_instance() { + return *reinterpret_cast( + &_GetScoreNpIdRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 48; + friend void swap(GetScoreNpIdRequest& a, GetScoreNpIdRequest& b) { a.Swap(&b); } + inline void Swap(GetScoreNpIdRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetScoreNpIdRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetScoreNpIdRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetScoreNpIdRequest& from); + void MergeFrom(const GetScoreNpIdRequest& from) { GetScoreNpIdRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetScoreNpIdRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetScoreNpIdRequest"; } + + explicit GetScoreNpIdRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetScoreNpIdRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetScoreNpIdRequest& from); + GetScoreNpIdRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetScoreNpIdRequest&& from) noexcept + : GetScoreNpIdRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpidsFieldNumber = 2, + kBoardIdFieldNumber = 1, + kWithCommentFieldNumber = 3, + kWithGameInfoFieldNumber = 4, + }; + // repeated .np2_structs.ScoreNpIdPcId npids = 2; + int npids_size() const; + private: + int _internal_npids_size() const; + + public: + void clear_npids() ; + ::np2_structs::ScoreNpIdPcId* PROTOBUF_NONNULL mutable_npids(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>* PROTOBUF_NONNULL mutable_npids(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>& _internal_npids() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>* PROTOBUF_NONNULL _internal_mutable_npids(); + public: + const ::np2_structs::ScoreNpIdPcId& npids(int index) const; + ::np2_structs::ScoreNpIdPcId* PROTOBUF_NONNULL add_npids(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>& npids() const; + // uint32 boardId = 1; + void clear_boardid() ; + ::uint32_t boardid() const; + void set_boardid(::uint32_t value); + + private: + ::uint32_t _internal_boardid() const; + void _internal_set_boardid(::uint32_t value); + + public: + // bool withComment = 3; + void clear_withcomment() ; + bool withcomment() const; + void set_withcomment(bool value); + + private: + bool _internal_withcomment() const; + void _internal_set_withcomment(bool value); + + public: + // bool withGameInfo = 4; + void clear_withgameinfo() ; + bool withgameinfo() const; + void set_withgameinfo(bool value); + + private: + bool _internal_withgameinfo() const; + void _internal_set_withgameinfo(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetScoreNpIdRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetScoreNpIdRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::ScoreNpIdPcId > npids_; + ::uint32_t boardid_; + bool withcomment_; + bool withgameinfo_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<32> GetScoreNpIdRequest_class_data_; +// ------------------------------------------------------------------- + +class GetRoomMemberDataInternalRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetRoomMemberDataInternalRequest) */ { + public: + inline GetRoomMemberDataInternalRequest() : GetRoomMemberDataInternalRequest(nullptr) {} + ~GetRoomMemberDataInternalRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetRoomMemberDataInternalRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRoomMemberDataInternalRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetRoomMemberDataInternalRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetRoomMemberDataInternalRequest(const GetRoomMemberDataInternalRequest& from) : GetRoomMemberDataInternalRequest(nullptr, from) {} + inline GetRoomMemberDataInternalRequest(GetRoomMemberDataInternalRequest&& from) noexcept + : GetRoomMemberDataInternalRequest(nullptr, ::std::move(from)) {} + inline GetRoomMemberDataInternalRequest& operator=(const GetRoomMemberDataInternalRequest& from) { + CopyFrom(from); + return *this; + } + inline GetRoomMemberDataInternalRequest& operator=(GetRoomMemberDataInternalRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetRoomMemberDataInternalRequest& default_instance() { + return *reinterpret_cast( + &_GetRoomMemberDataInternalRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 30; + friend void swap(GetRoomMemberDataInternalRequest& a, GetRoomMemberDataInternalRequest& b) { a.Swap(&b); } + inline void Swap(GetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRoomMemberDataInternalRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetRoomMemberDataInternalRequest& from); + void MergeFrom(const GetRoomMemberDataInternalRequest& from) { GetRoomMemberDataInternalRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetRoomMemberDataInternalRequest"; } + + explicit GetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRoomMemberDataInternalRequest& from); + GetRoomMemberDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRoomMemberDataInternalRequest&& from) noexcept + : GetRoomMemberDataInternalRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAttrIdFieldNumber = 3, + kMemberIdFieldNumber = 2, + kRoomIdFieldNumber = 1, + }; + // repeated .np2_structs.uint16 attrId = 3; + int attrid_size() const; + private: + int _internal_attrid_size() const; + + public: + void clear_attrid() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_attrid(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_attrid(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_attrid() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_attrid(); + public: + const ::np2_structs::uint16& attrid(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_attrid(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& attrid() const; + // .np2_structs.uint16 memberId = 2; + bool has_memberid() const; + void clear_memberid() ; + const ::np2_structs::uint16& memberid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_memberid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_memberid(); + void set_allocated_memberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_memberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_memberid(); + + private: + const ::np2_structs::uint16& _internal_memberid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_memberid(); + + public: + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetRoomMemberDataInternalRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRoomMemberDataInternalRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > attrid_; + ::np2_structs::uint16* PROTOBUF_NULLABLE memberid_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<45> GetRoomMemberDataInternalRequest_class_data_; +// ------------------------------------------------------------------- + +class GetRoomListGUIRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetRoomListGUIRequest) */ { + public: + inline GetRoomListGUIRequest() : GetRoomListGUIRequest(nullptr) {} + ~GetRoomListGUIRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetRoomListGUIRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRoomListGUIRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetRoomListGUIRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetRoomListGUIRequest(const GetRoomListGUIRequest& from) : GetRoomListGUIRequest(nullptr, from) {} + inline GetRoomListGUIRequest(GetRoomListGUIRequest&& from) noexcept + : GetRoomListGUIRequest(nullptr, ::std::move(from)) {} + inline GetRoomListGUIRequest& operator=(const GetRoomListGUIRequest& from) { + CopyFrom(from); + return *this; + } + inline GetRoomListGUIRequest& operator=(GetRoomListGUIRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetRoomListGUIRequest& default_instance() { + return *reinterpret_cast( + &_GetRoomListGUIRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 80; + friend void swap(GetRoomListGUIRequest& a, GetRoomListGUIRequest& b) { a.Swap(&b); } + inline void Swap(GetRoomListGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRoomListGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRoomListGUIRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetRoomListGUIRequest& from); + void MergeFrom(const GetRoomListGUIRequest& from) { GetRoomListGUIRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetRoomListGUIRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetRoomListGUIRequest"; } + + explicit GetRoomListGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRoomListGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRoomListGUIRequest& from); + GetRoomListGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRoomListGUIRequest&& from) noexcept + : GetRoomListGUIRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCondsFieldNumber = 3, + kAttrsFieldNumber = 4, + kRangeStartFieldNumber = 1, + kRangeMaxFieldNumber = 2, + }; + // repeated .np2_structs.MatchingSearchCondition conds = 3; + int conds_size() const; + private: + int _internal_conds_size() const; + + public: + void clear_conds() ; + ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL mutable_conds(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL mutable_conds(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& _internal_conds() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL _internal_mutable_conds(); + public: + const ::np2_structs::MatchingSearchCondition& conds(int index) const; + ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL add_conds(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& conds() const; + // repeated .np2_structs.MatchingAttr attrs = 4; + int attrs_size() const; + private: + int _internal_attrs_size() const; + + public: + void clear_attrs() ; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL mutable_attrs(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL mutable_attrs(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& _internal_attrs() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL _internal_mutable_attrs(); + public: + const ::np2_structs::MatchingAttr& attrs(int index) const; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL add_attrs(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& attrs() const; + // uint32 range_start = 1; + void clear_range_start() ; + ::uint32_t range_start() const; + void set_range_start(::uint32_t value); + + private: + ::uint32_t _internal_range_start() const; + void _internal_set_range_start(::uint32_t value); + + public: + // uint32 range_max = 2; + void clear_range_max() ; + ::uint32_t range_max() const; + void set_range_max(::uint32_t value); + + private: + ::uint32_t _internal_range_max() const; + void _internal_set_range_max(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetRoomListGUIRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRoomListGUIRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingSearchCondition > conds_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingAttr > attrs_; + ::uint32_t range_start_; + ::uint32_t range_max_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<34> GetRoomListGUIRequest_class_data_; +// ------------------------------------------------------------------- + +class GetRoomDataInternalRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetRoomDataInternalRequest) */ { + public: + inline GetRoomDataInternalRequest() : GetRoomDataInternalRequest(nullptr) {} + ~GetRoomDataInternalRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetRoomDataInternalRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRoomDataInternalRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetRoomDataInternalRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetRoomDataInternalRequest(const GetRoomDataInternalRequest& from) : GetRoomDataInternalRequest(nullptr, from) {} + inline GetRoomDataInternalRequest(GetRoomDataInternalRequest&& from) noexcept + : GetRoomDataInternalRequest(nullptr, ::std::move(from)) {} + inline GetRoomDataInternalRequest& operator=(const GetRoomDataInternalRequest& from) { + CopyFrom(from); + return *this; + } + inline GetRoomDataInternalRequest& operator=(GetRoomDataInternalRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetRoomDataInternalRequest& default_instance() { + return *reinterpret_cast( + &_GetRoomDataInternalRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 33; + friend void swap(GetRoomDataInternalRequest& a, GetRoomDataInternalRequest& b) { a.Swap(&b); } + inline void Swap(GetRoomDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRoomDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRoomDataInternalRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetRoomDataInternalRequest& from); + void MergeFrom(const GetRoomDataInternalRequest& from) { GetRoomDataInternalRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetRoomDataInternalRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetRoomDataInternalRequest"; } + + explicit GetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRoomDataInternalRequest& from); + GetRoomDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRoomDataInternalRequest&& from) noexcept + : GetRoomDataInternalRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAttrIdFieldNumber = 2, + kRoomIdFieldNumber = 1, + }; + // repeated .np2_structs.uint16 attrId = 2; + int attrid_size() const; + private: + int _internal_attrid_size() const; + + public: + void clear_attrid() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_attrid(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_attrid(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_attrid() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_attrid(); + public: + const ::np2_structs::uint16& attrid(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_attrid(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& attrid() const; + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetRoomDataInternalRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRoomDataInternalRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > attrid_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> GetRoomDataInternalRequest_class_data_; +// ------------------------------------------------------------------- + +class GetRoomDataExternalListRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetRoomDataExternalListRequest) */ { + public: + inline GetRoomDataExternalListRequest() : GetRoomDataExternalListRequest(nullptr) {} + ~GetRoomDataExternalListRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetRoomDataExternalListRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRoomDataExternalListRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetRoomDataExternalListRequest(::google::protobuf::internal::ConstantInitialized); + + inline GetRoomDataExternalListRequest(const GetRoomDataExternalListRequest& from) : GetRoomDataExternalListRequest(nullptr, from) {} + inline GetRoomDataExternalListRequest(GetRoomDataExternalListRequest&& from) noexcept + : GetRoomDataExternalListRequest(nullptr, ::std::move(from)) {} + inline GetRoomDataExternalListRequest& operator=(const GetRoomDataExternalListRequest& from) { + CopyFrom(from); + return *this; + } + inline GetRoomDataExternalListRequest& operator=(GetRoomDataExternalListRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetRoomDataExternalListRequest& default_instance() { + return *reinterpret_cast( + &_GetRoomDataExternalListRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 26; + friend void swap(GetRoomDataExternalListRequest& a, GetRoomDataExternalListRequest& b) { a.Swap(&b); } + inline void Swap(GetRoomDataExternalListRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRoomDataExternalListRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRoomDataExternalListRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetRoomDataExternalListRequest& from); + void MergeFrom(const GetRoomDataExternalListRequest& from) { GetRoomDataExternalListRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetRoomDataExternalListRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetRoomDataExternalListRequest"; } + + explicit GetRoomDataExternalListRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRoomDataExternalListRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRoomDataExternalListRequest& from); + GetRoomDataExternalListRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRoomDataExternalListRequest&& from) noexcept + : GetRoomDataExternalListRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomIdsFieldNumber = 1, + kAttrIdsFieldNumber = 2, + }; + // repeated uint64 roomIds = 1; + int roomids_size() const; + private: + int _internal_roomids_size() const; + + public: + void clear_roomids() ; + ::uint64_t roomids(int index) const; + void set_roomids(int index, ::uint64_t value); + void add_roomids(::uint64_t value); + const ::google::protobuf::RepeatedField<::uint64_t>& roomids() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_roomids(); + + private: + const ::google::protobuf::RepeatedField<::uint64_t>& _internal_roomids() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_roomids(); + + public: + // repeated .np2_structs.uint16 attrIds = 2; + int attrids_size() const; + private: + int _internal_attrids_size() const; + + public: + void clear_attrids() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_attrids(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_attrids(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_attrids() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_attrids(); + public: + const ::np2_structs::uint16& attrids(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_attrids(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& attrids() const; + // @@protoc_insertion_point(class_scope:np2_structs.GetRoomDataExternalListRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRoomDataExternalListRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedField<::uint64_t> roomids_; + ::google::protobuf::internal::CachedSize _roomids_cached_byte_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > attrids_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<43> GetRoomDataExternalListRequest_class_data_; +// ------------------------------------------------------------------- + +class GetPingInfoResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetPingInfoResponse) */ { + public: + inline GetPingInfoResponse() : GetPingInfoResponse(nullptr) {} + ~GetPingInfoResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetPingInfoResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetPingInfoResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetPingInfoResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetPingInfoResponse(const GetPingInfoResponse& from) : GetPingInfoResponse(nullptr, from) {} + inline GetPingInfoResponse(GetPingInfoResponse&& from) noexcept + : GetPingInfoResponse(nullptr, ::std::move(from)) {} + inline GetPingInfoResponse& operator=(const GetPingInfoResponse& from) { + CopyFrom(from); + return *this; + } + inline GetPingInfoResponse& operator=(GetPingInfoResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetPingInfoResponse& default_instance() { + return *reinterpret_cast( + &_GetPingInfoResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 39; + friend void swap(GetPingInfoResponse& a, GetPingInfoResponse& b) { a.Swap(&b); } + inline void Swap(GetPingInfoResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetPingInfoResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetPingInfoResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetPingInfoResponse& from); + void MergeFrom(const GetPingInfoResponse& from) { GetPingInfoResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetPingInfoResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetPingInfoResponse"; } + + explicit GetPingInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetPingInfoResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetPingInfoResponse& from); + GetPingInfoResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetPingInfoResponse&& from) noexcept + : GetPingInfoResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kServerIdFieldNumber = 1, + kRoomIdFieldNumber = 3, + kWorldIdFieldNumber = 2, + kRttFieldNumber = 4, + }; + // .np2_structs.uint16 serverId = 1; + bool has_serverid() const; + void clear_serverid() ; + const ::np2_structs::uint16& serverid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_serverid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_serverid(); + void set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_serverid(); + + private: + const ::np2_structs::uint16& _internal_serverid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_serverid(); + + public: + // uint64 roomId = 3; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // uint32 worldId = 2; + void clear_worldid() ; + ::uint32_t worldid() const; + void set_worldid(::uint32_t value); + + private: + ::uint32_t _internal_worldid() const; + void _internal_set_worldid(::uint32_t value); + + public: + // uint32 rtt = 4; + void clear_rtt() ; + ::uint32_t rtt() const; + void set_rtt(::uint32_t value); + + private: + ::uint32_t _internal_rtt() const; + void _internal_set_rtt(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GetPingInfoResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetPingInfoResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint16* PROTOBUF_NULLABLE serverid_; + ::uint64_t roomid_; + ::uint32_t worldid_; + ::uint32_t rtt_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<32> GetPingInfoResponse_class_data_; +// ------------------------------------------------------------------- + +class GUIUserInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GUIUserInfo) */ { + public: + inline GUIUserInfo() : GUIUserInfo(nullptr) {} + ~GUIUserInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GUIUserInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GUIUserInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GUIUserInfo(::google::protobuf::internal::ConstantInitialized); + + inline GUIUserInfo(const GUIUserInfo& from) : GUIUserInfo(nullptr, from) {} + inline GUIUserInfo(GUIUserInfo&& from) noexcept + : GUIUserInfo(nullptr, ::std::move(from)) {} + inline GUIUserInfo& operator=(const GUIUserInfo& from) { + CopyFrom(from); + return *this; + } + inline GUIUserInfo& operator=(GUIUserInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GUIUserInfo& default_instance() { + return *reinterpret_cast( + &_GUIUserInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 78; + friend void swap(GUIUserInfo& a, GUIUserInfo& b) { a.Swap(&b); } + inline void Swap(GUIUserInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GUIUserInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GUIUserInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GUIUserInfo& from); + void MergeFrom(const GUIUserInfo& from) { GUIUserInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GUIUserInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GUIUserInfo"; } + + explicit GUIUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GUIUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GUIUserInfo& from); + GUIUserInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GUIUserInfo&& from) noexcept + : GUIUserInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInfoFieldNumber = 1, + kOwnerFieldNumber = 2, + }; + // .np2_structs.UserInfo info = 1; + bool has_info() const; + void clear_info() ; + const ::np2_structs::UserInfo& info() const; + [[nodiscard]] ::np2_structs::UserInfo* PROTOBUF_NULLABLE release_info(); + ::np2_structs::UserInfo* PROTOBUF_NONNULL mutable_info(); + void set_allocated_info(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_info(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + ::np2_structs::UserInfo* PROTOBUF_NULLABLE unsafe_arena_release_info(); + + private: + const ::np2_structs::UserInfo& _internal_info() const; + ::np2_structs::UserInfo* PROTOBUF_NONNULL _internal_mutable_info(); + + public: + // bool owner = 2; + void clear_owner() ; + bool owner() const; + void set_owner(bool value); + + private: + bool _internal_owner() const; + void _internal_set_owner(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.GUIUserInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GUIUserInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::UserInfo* PROTOBUF_NULLABLE info_; + bool owner_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<24> GUIUserInfo_class_data_; +// ------------------------------------------------------------------- + +class CreateRoomGUIRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.CreateRoomGUIRequest) */ { + public: + inline CreateRoomGUIRequest() : CreateRoomGUIRequest(nullptr) {} + ~CreateRoomGUIRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CreateRoomGUIRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateRoomGUIRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CreateRoomGUIRequest(::google::protobuf::internal::ConstantInitialized); + + inline CreateRoomGUIRequest(const CreateRoomGUIRequest& from) : CreateRoomGUIRequest(nullptr, from) {} + inline CreateRoomGUIRequest(CreateRoomGUIRequest&& from) noexcept + : CreateRoomGUIRequest(nullptr, ::std::move(from)) {} + inline CreateRoomGUIRequest& operator=(const CreateRoomGUIRequest& from) { + CopyFrom(from); + return *this; + } + inline CreateRoomGUIRequest& operator=(CreateRoomGUIRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const CreateRoomGUIRequest& default_instance() { + return *reinterpret_cast( + &_CreateRoomGUIRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 77; + friend void swap(CreateRoomGUIRequest& a, CreateRoomGUIRequest& b) { a.Swap(&b); } + inline void Swap(CreateRoomGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CreateRoomGUIRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CreateRoomGUIRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const CreateRoomGUIRequest& from); + void MergeFrom(const CreateRoomGUIRequest& from) { CreateRoomGUIRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CreateRoomGUIRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.CreateRoomGUIRequest"; } + + explicit CreateRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreateRoomGUIRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateRoomGUIRequest& from); + CreateRoomGUIRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CreateRoomGUIRequest&& from) noexcept + : CreateRoomGUIRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kGameAttrsFieldNumber = 5, + kTotalSlotsFieldNumber = 1, + kPrivateSlotsFieldNumber = 2, + kPrivilegeGrantFieldNumber = 3, + kStealthFieldNumber = 4, + }; + // repeated .np2_structs.MatchingAttr game_attrs = 5; + int game_attrs_size() const; + private: + int _internal_game_attrs_size() const; + + public: + void clear_game_attrs() ; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL mutable_game_attrs(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL mutable_game_attrs(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& _internal_game_attrs() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL _internal_mutable_game_attrs(); + public: + const ::np2_structs::MatchingAttr& game_attrs(int index) const; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL add_game_attrs(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& game_attrs() const; + // uint32 total_slots = 1; + void clear_total_slots() ; + ::uint32_t total_slots() const; + void set_total_slots(::uint32_t value); + + private: + ::uint32_t _internal_total_slots() const; + void _internal_set_total_slots(::uint32_t value); + + public: + // uint32 private_slots = 2; + void clear_private_slots() ; + ::uint32_t private_slots() const; + void set_private_slots(::uint32_t value); + + private: + ::uint32_t _internal_private_slots() const; + void _internal_set_private_slots(::uint32_t value); + + public: + // bool privilege_grant = 3; + void clear_privilege_grant() ; + bool privilege_grant() const; + void set_privilege_grant(bool value); + + private: + bool _internal_privilege_grant() const; + void _internal_set_privilege_grant(bool value); + + public: + // bool stealth = 4; + void clear_stealth() ; + bool stealth() const; + void set_stealth(bool value); + + private: + bool _internal_stealth() const; + void _internal_set_stealth(bool value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.CreateRoomGUIRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CreateRoomGUIRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingAttr > game_attrs_; + ::uint32_t total_slots_; + ::uint32_t private_slots_; + bool privilege_grant_; + bool stealth_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<33> CreateRoomGUIRequest_class_data_; +// ------------------------------------------------------------------- + +class BinAttr final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.BinAttr) */ { + public: + inline BinAttr() : BinAttr(nullptr) {} + ~BinAttr() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BinAttr* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BinAttr)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BinAttr(::google::protobuf::internal::ConstantInitialized); + + inline BinAttr(const BinAttr& from) : BinAttr(nullptr, from) {} + inline BinAttr(BinAttr&& from) noexcept + : BinAttr(nullptr, ::std::move(from)) {} + inline BinAttr& operator=(const BinAttr& from) { + CopyFrom(from); + return *this; + } + inline BinAttr& operator=(BinAttr&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const BinAttr& default_instance() { + return *reinterpret_cast( + &_BinAttr_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(BinAttr& a, BinAttr& b) { a.Swap(&b); } + inline void Swap(BinAttr* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BinAttr* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BinAttr* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const BinAttr& from); + void MergeFrom(const BinAttr& from) { BinAttr::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BinAttr* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.BinAttr"; } + + explicit BinAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BinAttr(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BinAttr& from); + BinAttr( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BinAttr&& from) noexcept + : BinAttr(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDataFieldNumber = 2, + kIdFieldNumber = 1, + }; + // bytes data = 2; + void clear_data() ; + const ::std::string& data() const; + template + void set_data(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_data(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_data(); + void set_allocated_data(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_data() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_data(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // .np2_structs.uint16 id = 1; + bool has_id() const; + void clear_id() ; + const ::np2_structs::uint16& id() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_id(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_id(); + void set_allocated_id(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_id(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_id(); + + private: + const ::np2_structs::uint16& _internal_id() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_id(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.BinAttr) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BinAttr& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr data_; + ::np2_structs::uint16* PROTOBUF_NULLABLE id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<20> BinAttr_class_data_; +// ------------------------------------------------------------------- + +class SetUserInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SetUserInfo) */ { + public: + inline SetUserInfo() : SetUserInfo(nullptr) {} + ~SetUserInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetUserInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetUserInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetUserInfo(::google::protobuf::internal::ConstantInitialized); + + inline SetUserInfo(const SetUserInfo& from) : SetUserInfo(nullptr, from) {} + inline SetUserInfo(SetUserInfo&& from) noexcept + : SetUserInfo(nullptr, ::std::move(from)) {} + inline SetUserInfo& operator=(const SetUserInfo& from) { + CopyFrom(from); + return *this; + } + inline SetUserInfo& operator=(SetUserInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SetUserInfo& default_instance() { + return *reinterpret_cast( + &_SetUserInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 32; + friend void swap(SetUserInfo& a, SetUserInfo& b) { a.Swap(&b); } + inline void Swap(SetUserInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetUserInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetUserInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SetUserInfo& from); + void MergeFrom(const SetUserInfo& from) { SetUserInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetUserInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SetUserInfo"; } + + explicit SetUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetUserInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetUserInfo& from); + SetUserInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetUserInfo&& from) noexcept + : SetUserInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUserBinAttrFieldNumber = 2, + kServerIdFieldNumber = 1, + }; + // repeated .np2_structs.BinAttr userBinAttr = 2; + int userbinattr_size() const; + private: + int _internal_userbinattr_size() const; + + public: + void clear_userbinattr() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_userbinattr(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_userbinattr(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_userbinattr() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_userbinattr(); + public: + const ::np2_structs::BinAttr& userbinattr(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_userbinattr(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& userbinattr() const; + // .np2_structs.uint16 serverId = 1; + bool has_serverid() const; + void clear_serverid() ; + const ::np2_structs::uint16& serverid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_serverid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_serverid(); + void set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_serverid(); + + private: + const ::np2_structs::uint16& _internal_serverid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_serverid(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SetUserInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetUserInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > userbinattr_; + ::np2_structs::uint16* PROTOBUF_NULLABLE serverid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<24> SetUserInfo_class_data_; +// ------------------------------------------------------------------- + +class SetRoomMemberDataInternalRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SetRoomMemberDataInternalRequest) */ { + public: + inline SetRoomMemberDataInternalRequest() : SetRoomMemberDataInternalRequest(nullptr) {} + ~SetRoomMemberDataInternalRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetRoomMemberDataInternalRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetRoomMemberDataInternalRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetRoomMemberDataInternalRequest(::google::protobuf::internal::ConstantInitialized); + + inline SetRoomMemberDataInternalRequest(const SetRoomMemberDataInternalRequest& from) : SetRoomMemberDataInternalRequest(nullptr, from) {} + inline SetRoomMemberDataInternalRequest(SetRoomMemberDataInternalRequest&& from) noexcept + : SetRoomMemberDataInternalRequest(nullptr, ::std::move(from)) {} + inline SetRoomMemberDataInternalRequest& operator=(const SetRoomMemberDataInternalRequest& from) { + CopyFrom(from); + return *this; + } + inline SetRoomMemberDataInternalRequest& operator=(SetRoomMemberDataInternalRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SetRoomMemberDataInternalRequest& default_instance() { + return *reinterpret_cast( + &_SetRoomMemberDataInternalRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 31; + friend void swap(SetRoomMemberDataInternalRequest& a, SetRoomMemberDataInternalRequest& b) { a.Swap(&b); } + inline void Swap(SetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetRoomMemberDataInternalRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SetRoomMemberDataInternalRequest& from); + void MergeFrom(const SetRoomMemberDataInternalRequest& from) { SetRoomMemberDataInternalRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SetRoomMemberDataInternalRequest"; } + + explicit SetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetRoomMemberDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetRoomMemberDataInternalRequest& from); + SetRoomMemberDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetRoomMemberDataInternalRequest&& from) noexcept + : SetRoomMemberDataInternalRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomMemberBinAttrInternalFieldNumber = 4, + kMemberIdFieldNumber = 2, + kTeamIdFieldNumber = 3, + kRoomIdFieldNumber = 1, + }; + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + int roommemberbinattrinternal_size() const; + private: + int _internal_roommemberbinattrinternal_size() const; + + public: + void clear_roommemberbinattrinternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roommemberbinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roommemberbinattrinternal(); + public: + const ::np2_structs::BinAttr& roommemberbinattrinternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roommemberbinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roommemberbinattrinternal() const; + // .np2_structs.uint16 memberId = 2; + bool has_memberid() const; + void clear_memberid() ; + const ::np2_structs::uint16& memberid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_memberid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_memberid(); + void set_allocated_memberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_memberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_memberid(); + + private: + const ::np2_structs::uint16& _internal_memberid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_memberid(); + + public: + // .np2_structs.uint8 teamId = 3; + bool has_teamid() const; + void clear_teamid() ; + const ::np2_structs::uint8& teamid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_teamid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_teamid(); + void set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_teamid(); + + private: + const ::np2_structs::uint8& _internal_teamid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_teamid(); + + public: + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SetRoomMemberDataInternalRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetRoomMemberDataInternalRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roommemberbinattrinternal_; + ::np2_structs::uint16* PROTOBUF_NULLABLE memberid_; + ::np2_structs::uint8* PROTOBUF_NULLABLE teamid_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<45> SetRoomMemberDataInternalRequest_class_data_; +// ------------------------------------------------------------------- + +class SetRoomDataInternalRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SetRoomDataInternalRequest) */ { + public: + inline SetRoomDataInternalRequest() : SetRoomDataInternalRequest(nullptr) {} + ~SetRoomDataInternalRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetRoomDataInternalRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetRoomDataInternalRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetRoomDataInternalRequest(::google::protobuf::internal::ConstantInitialized); + + inline SetRoomDataInternalRequest(const SetRoomDataInternalRequest& from) : SetRoomDataInternalRequest(nullptr, from) {} + inline SetRoomDataInternalRequest(SetRoomDataInternalRequest&& from) noexcept + : SetRoomDataInternalRequest(nullptr, ::std::move(from)) {} + inline SetRoomDataInternalRequest& operator=(const SetRoomDataInternalRequest& from) { + CopyFrom(from); + return *this; + } + inline SetRoomDataInternalRequest& operator=(SetRoomDataInternalRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SetRoomDataInternalRequest& default_instance() { + return *reinterpret_cast( + &_SetRoomDataInternalRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 29; + friend void swap(SetRoomDataInternalRequest& a, SetRoomDataInternalRequest& b) { a.Swap(&b); } + inline void Swap(SetRoomDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetRoomDataInternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetRoomDataInternalRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SetRoomDataInternalRequest& from); + void MergeFrom(const SetRoomDataInternalRequest& from) { SetRoomDataInternalRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetRoomDataInternalRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SetRoomDataInternalRequest"; } + + explicit SetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetRoomDataInternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetRoomDataInternalRequest& from); + SetRoomDataInternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetRoomDataInternalRequest&& from) noexcept + : SetRoomDataInternalRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomBinAttrInternalFieldNumber = 4, + kPasswordConfigFieldNumber = 5, + kPasswordSlotMaskFieldNumber = 6, + kOwnerPrivilegeRankFieldNumber = 7, + kRoomIdFieldNumber = 1, + kFlagFilterFieldNumber = 2, + kFlagAttrFieldNumber = 3, + }; + // repeated .np2_structs.BinAttr roomBinAttrInternal = 4; + int roombinattrinternal_size() const; + private: + int _internal_roombinattrinternal_size() const; + + public: + void clear_roombinattrinternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roombinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roombinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roombinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roombinattrinternal(); + public: + const ::np2_structs::BinAttr& roombinattrinternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roombinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roombinattrinternal() const; + // repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5; + int passwordconfig_size() const; + private: + int _internal_passwordconfig_size() const; + + public: + void clear_passwordconfig() ; + ::np2_structs::RoomGroupPasswordConfig* PROTOBUF_NONNULL mutable_passwordconfig(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>* PROTOBUF_NONNULL mutable_passwordconfig(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>& _internal_passwordconfig() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>* PROTOBUF_NONNULL _internal_mutable_passwordconfig(); + public: + const ::np2_structs::RoomGroupPasswordConfig& passwordconfig(int index) const; + ::np2_structs::RoomGroupPasswordConfig* PROTOBUF_NONNULL add_passwordconfig(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>& passwordconfig() const; + // repeated uint64 passwordSlotMask = 6; + int passwordslotmask_size() const; + private: + int _internal_passwordslotmask_size() const; + + public: + void clear_passwordslotmask() ; + ::uint64_t passwordslotmask(int index) const; + void set_passwordslotmask(int index, ::uint64_t value); + void add_passwordslotmask(::uint64_t value); + const ::google::protobuf::RepeatedField<::uint64_t>& passwordslotmask() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL mutable_passwordslotmask(); + + private: + const ::google::protobuf::RepeatedField<::uint64_t>& _internal_passwordslotmask() const; + ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL _internal_mutable_passwordslotmask(); + + public: + // repeated .np2_structs.uint16 ownerPrivilegeRank = 7; + int ownerprivilegerank_size() const; + private: + int _internal_ownerprivilegerank_size() const; + + public: + void clear_ownerprivilegerank() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_ownerprivilegerank(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_ownerprivilegerank(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_ownerprivilegerank() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_ownerprivilegerank(); + public: + const ::np2_structs::uint16& ownerprivilegerank(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_ownerprivilegerank(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& ownerprivilegerank() const; + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // uint32 flagFilter = 2; + void clear_flagfilter() ; + ::uint32_t flagfilter() const; + void set_flagfilter(::uint32_t value); + + private: + ::uint32_t _internal_flagfilter() const; + void _internal_set_flagfilter(::uint32_t value); + + public: + // uint32 flagAttr = 3; + void clear_flagattr() ; + ::uint32_t flagattr() const; + void set_flagattr(::uint32_t value); + + private: + ::uint32_t _internal_flagattr() const; + void _internal_set_flagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SetRoomDataInternalRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 7, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetRoomDataInternalRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roombinattrinternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomGroupPasswordConfig > passwordconfig_; + ::google::protobuf::RepeatedField<::uint64_t> passwordslotmask_; + ::google::protobuf::internal::CachedSize _passwordslotmask_cached_byte_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > ownerprivilegerank_; + ::uint64_t roomid_; + ::uint32_t flagfilter_; + ::uint32_t flagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataInternalRequest_class_data_; +// ------------------------------------------------------------------- + +class SetRoomDataExternalRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SetRoomDataExternalRequest) */ { + public: + inline SetRoomDataExternalRequest() : SetRoomDataExternalRequest(nullptr) {} + ~SetRoomDataExternalRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetRoomDataExternalRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetRoomDataExternalRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetRoomDataExternalRequest(::google::protobuf::internal::ConstantInitialized); + + inline SetRoomDataExternalRequest(const SetRoomDataExternalRequest& from) : SetRoomDataExternalRequest(nullptr, from) {} + inline SetRoomDataExternalRequest(SetRoomDataExternalRequest&& from) noexcept + : SetRoomDataExternalRequest(nullptr, ::std::move(from)) {} + inline SetRoomDataExternalRequest& operator=(const SetRoomDataExternalRequest& from) { + CopyFrom(from); + return *this; + } + inline SetRoomDataExternalRequest& operator=(SetRoomDataExternalRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SetRoomDataExternalRequest& default_instance() { + return *reinterpret_cast( + &_SetRoomDataExternalRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 28; + friend void swap(SetRoomDataExternalRequest& a, SetRoomDataExternalRequest& b) { a.Swap(&b); } + inline void Swap(SetRoomDataExternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetRoomDataExternalRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetRoomDataExternalRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SetRoomDataExternalRequest& from); + void MergeFrom(const SetRoomDataExternalRequest& from) { SetRoomDataExternalRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetRoomDataExternalRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SetRoomDataExternalRequest"; } + + explicit SetRoomDataExternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SetRoomDataExternalRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetRoomDataExternalRequest& from); + SetRoomDataExternalRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetRoomDataExternalRequest&& from) noexcept + : SetRoomDataExternalRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomSearchableIntAttrExternalFieldNumber = 2, + kRoomSearchableBinAttrExternalFieldNumber = 3, + kRoomBinAttrExternalFieldNumber = 4, + kRoomIdFieldNumber = 1, + }; + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2; + int roomsearchableintattrexternal_size() const; + private: + int _internal_roomsearchableintattrexternal_size() const; + + public: + void clear_roomsearchableintattrexternal() ; + ::np2_structs::IntAttr* PROTOBUF_NONNULL mutable_roomsearchableintattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL mutable_roomsearchableintattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& _internal_roomsearchableintattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL _internal_mutable_roomsearchableintattrexternal(); + public: + const ::np2_structs::IntAttr& roomsearchableintattrexternal(int index) const; + ::np2_structs::IntAttr* PROTOBUF_NONNULL add_roomsearchableintattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& roomsearchableintattrexternal() const; + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3; + int roomsearchablebinattrexternal_size() const; + private: + int _internal_roomsearchablebinattrexternal_size() const; + + public: + void clear_roomsearchablebinattrexternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roomsearchablebinattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roomsearchablebinattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roomsearchablebinattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roomsearchablebinattrexternal(); + public: + const ::np2_structs::BinAttr& roomsearchablebinattrexternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roomsearchablebinattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roomsearchablebinattrexternal() const; + // repeated .np2_structs.BinAttr roomBinAttrExternal = 4; + int roombinattrexternal_size() const; + private: + int _internal_roombinattrexternal_size() const; + + public: + void clear_roombinattrexternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roombinattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roombinattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roombinattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roombinattrexternal(); + public: + const ::np2_structs::BinAttr& roombinattrexternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roombinattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roombinattrexternal() const; + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SetRoomDataExternalRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SetRoomDataExternalRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::IntAttr > roomsearchableintattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roomsearchablebinattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roombinattrexternal_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> SetRoomDataExternalRequest_class_data_; +// ------------------------------------------------------------------- + +class RoomMemberBinAttrInternal final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomMemberBinAttrInternal) */ { + public: + inline RoomMemberBinAttrInternal() : RoomMemberBinAttrInternal(nullptr) {} + ~RoomMemberBinAttrInternal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomMemberBinAttrInternal* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomMemberBinAttrInternal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomMemberBinAttrInternal(::google::protobuf::internal::ConstantInitialized); + + inline RoomMemberBinAttrInternal(const RoomMemberBinAttrInternal& from) : RoomMemberBinAttrInternal(nullptr, from) {} + inline RoomMemberBinAttrInternal(RoomMemberBinAttrInternal&& from) noexcept + : RoomMemberBinAttrInternal(nullptr, ::std::move(from)) {} + inline RoomMemberBinAttrInternal& operator=(const RoomMemberBinAttrInternal& from) { + CopyFrom(from); + return *this; + } + inline RoomMemberBinAttrInternal& operator=(RoomMemberBinAttrInternal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomMemberBinAttrInternal& default_instance() { + return *reinterpret_cast( + &_RoomMemberBinAttrInternal_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(RoomMemberBinAttrInternal& a, RoomMemberBinAttrInternal& b) { a.Swap(&b); } + inline void Swap(RoomMemberBinAttrInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomMemberBinAttrInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomMemberBinAttrInternal* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomMemberBinAttrInternal& from); + void MergeFrom(const RoomMemberBinAttrInternal& from) { RoomMemberBinAttrInternal::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomMemberBinAttrInternal* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomMemberBinAttrInternal"; } + + explicit RoomMemberBinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomMemberBinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomMemberBinAttrInternal& from); + RoomMemberBinAttrInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomMemberBinAttrInternal&& from) noexcept + : RoomMemberBinAttrInternal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDataFieldNumber = 2, + kUpdateDateFieldNumber = 1, + }; + // .np2_structs.BinAttr data = 2; + bool has_data() const; + void clear_data() ; + const ::np2_structs::BinAttr& data() const; + [[nodiscard]] ::np2_structs::BinAttr* PROTOBUF_NULLABLE release_data(); + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_data(); + void set_allocated_data(::np2_structs::BinAttr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_data(::np2_structs::BinAttr* PROTOBUF_NULLABLE value); + ::np2_structs::BinAttr* PROTOBUF_NULLABLE unsafe_arena_release_data(); + + private: + const ::np2_structs::BinAttr& _internal_data() const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // uint64 updateDate = 1; + void clear_updatedate() ; + ::uint64_t updatedate() const; + void set_updatedate(::uint64_t value); + + private: + ::uint64_t _internal_updatedate() const; + void _internal_set_updatedate(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomMemberBinAttrInternal) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomMemberBinAttrInternal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::BinAttr* PROTOBUF_NULLABLE data_; + ::uint64_t updatedate_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<38> RoomMemberBinAttrInternal_class_data_; +// ------------------------------------------------------------------- + +class RoomDataExternal final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomDataExternal) */ { + public: + inline RoomDataExternal() : RoomDataExternal(nullptr) {} + ~RoomDataExternal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomDataExternal* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomDataExternal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomDataExternal(::google::protobuf::internal::ConstantInitialized); + + inline RoomDataExternal(const RoomDataExternal& from) : RoomDataExternal(nullptr, from) {} + inline RoomDataExternal(RoomDataExternal&& from) noexcept + : RoomDataExternal(nullptr, ::std::move(from)) {} + inline RoomDataExternal& operator=(const RoomDataExternal& from) { + CopyFrom(from); + return *this; + } + inline RoomDataExternal& operator=(RoomDataExternal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomDataExternal& default_instance() { + return *reinterpret_cast( + &_RoomDataExternal_default_instance_); + } + static constexpr int kIndexInFileMessages = 15; + friend void swap(RoomDataExternal& a, RoomDataExternal& b) { a.Swap(&b); } + inline void Swap(RoomDataExternal* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomDataExternal* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomDataExternal* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomDataExternal& from); + void MergeFrom(const RoomDataExternal& from) { RoomDataExternal::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomDataExternal* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomDataExternal"; } + + explicit RoomDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomDataExternal& from); + RoomDataExternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomDataExternal&& from) noexcept + : RoomDataExternal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomGroupFieldNumber = 13, + kRoomSearchableIntAttrExternalFieldNumber = 15, + kRoomSearchableBinAttrExternalFieldNumber = 16, + kRoomBinAttrExternalFieldNumber = 17, + kServerIdFieldNumber = 1, + kPublicSlotNumFieldNumber = 3, + kPrivateSlotNumFieldNumber = 4, + kOpenPublicSlotNumFieldNumber = 7, + kMaxSlotFieldNumber = 8, + kOpenPrivateSlotNumFieldNumber = 9, + kCurMemberNumFieldNumber = 10, + kOwnerFieldNumber = 12, + kLobbyIdFieldNumber = 5, + kRoomIdFieldNumber = 6, + kWorldIdFieldNumber = 2, + kFlagAttrFieldNumber = 14, + kPasswordSlotMaskFieldNumber = 11, + }; + // repeated .np2_structs.RoomGroup roomGroup = 13; + int roomgroup_size() const; + private: + int _internal_roomgroup_size() const; + + public: + void clear_roomgroup() ; + ::np2_structs::RoomGroup* PROTOBUF_NONNULL mutable_roomgroup(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL mutable_roomgroup(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& _internal_roomgroup() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL _internal_mutable_roomgroup(); + public: + const ::np2_structs::RoomGroup& roomgroup(int index) const; + ::np2_structs::RoomGroup* PROTOBUF_NONNULL add_roomgroup(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& roomgroup() const; + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15; + int roomsearchableintattrexternal_size() const; + private: + int _internal_roomsearchableintattrexternal_size() const; + + public: + void clear_roomsearchableintattrexternal() ; + ::np2_structs::IntAttr* PROTOBUF_NONNULL mutable_roomsearchableintattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL mutable_roomsearchableintattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& _internal_roomsearchableintattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL _internal_mutable_roomsearchableintattrexternal(); + public: + const ::np2_structs::IntAttr& roomsearchableintattrexternal(int index) const; + ::np2_structs::IntAttr* PROTOBUF_NONNULL add_roomsearchableintattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& roomsearchableintattrexternal() const; + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16; + int roomsearchablebinattrexternal_size() const; + private: + int _internal_roomsearchablebinattrexternal_size() const; + + public: + void clear_roomsearchablebinattrexternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roomsearchablebinattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roomsearchablebinattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roomsearchablebinattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roomsearchablebinattrexternal(); + public: + const ::np2_structs::BinAttr& roomsearchablebinattrexternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roomsearchablebinattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roomsearchablebinattrexternal() const; + // repeated .np2_structs.BinAttr roomBinAttrExternal = 17; + int roombinattrexternal_size() const; + private: + int _internal_roombinattrexternal_size() const; + + public: + void clear_roombinattrexternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roombinattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roombinattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roombinattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roombinattrexternal(); + public: + const ::np2_structs::BinAttr& roombinattrexternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roombinattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roombinattrexternal() const; + // .np2_structs.uint16 serverId = 1; + bool has_serverid() const; + void clear_serverid() ; + const ::np2_structs::uint16& serverid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_serverid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_serverid(); + void set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_serverid(); + + private: + const ::np2_structs::uint16& _internal_serverid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_serverid(); + + public: + // .np2_structs.uint16 publicSlotNum = 3; + bool has_publicslotnum() const; + void clear_publicslotnum() ; + const ::np2_structs::uint16& publicslotnum() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_publicslotnum(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_publicslotnum(); + void set_allocated_publicslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_publicslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_publicslotnum(); + + private: + const ::np2_structs::uint16& _internal_publicslotnum() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_publicslotnum(); + + public: + // .np2_structs.uint16 privateSlotNum = 4; + bool has_privateslotnum() const; + void clear_privateslotnum() ; + const ::np2_structs::uint16& privateslotnum() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_privateslotnum(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_privateslotnum(); + void set_allocated_privateslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_privateslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_privateslotnum(); + + private: + const ::np2_structs::uint16& _internal_privateslotnum() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_privateslotnum(); + + public: + // .np2_structs.uint16 openPublicSlotNum = 7; + bool has_openpublicslotnum() const; + void clear_openpublicslotnum() ; + const ::np2_structs::uint16& openpublicslotnum() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_openpublicslotnum(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_openpublicslotnum(); + void set_allocated_openpublicslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_openpublicslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_openpublicslotnum(); + + private: + const ::np2_structs::uint16& _internal_openpublicslotnum() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_openpublicslotnum(); + + public: + // .np2_structs.uint16 maxSlot = 8; + bool has_maxslot() const; + void clear_maxslot() ; + const ::np2_structs::uint16& maxslot() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_maxslot(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_maxslot(); + void set_allocated_maxslot(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_maxslot(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_maxslot(); + + private: + const ::np2_structs::uint16& _internal_maxslot() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_maxslot(); + + public: + // .np2_structs.uint16 openPrivateSlotNum = 9; + bool has_openprivateslotnum() const; + void clear_openprivateslotnum() ; + const ::np2_structs::uint16& openprivateslotnum() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_openprivateslotnum(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_openprivateslotnum(); + void set_allocated_openprivateslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_openprivateslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_openprivateslotnum(); + + private: + const ::np2_structs::uint16& _internal_openprivateslotnum() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_openprivateslotnum(); + + public: + // .np2_structs.uint16 curMemberNum = 10; + bool has_curmembernum() const; + void clear_curmembernum() ; + const ::np2_structs::uint16& curmembernum() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_curmembernum(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_curmembernum(); + void set_allocated_curmembernum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_curmembernum(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_curmembernum(); + + private: + const ::np2_structs::uint16& _internal_curmembernum() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_curmembernum(); + + public: + // .np2_structs.UserInfo owner = 12; + bool has_owner() const; + void clear_owner() ; + const ::np2_structs::UserInfo& owner() const; + [[nodiscard]] ::np2_structs::UserInfo* PROTOBUF_NULLABLE release_owner(); + ::np2_structs::UserInfo* PROTOBUF_NONNULL mutable_owner(); + void set_allocated_owner(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_owner(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + ::np2_structs::UserInfo* PROTOBUF_NULLABLE unsafe_arena_release_owner(); + + private: + const ::np2_structs::UserInfo& _internal_owner() const; + ::np2_structs::UserInfo* PROTOBUF_NONNULL _internal_mutable_owner(); + + public: + // uint64 lobbyId = 5; + void clear_lobbyid() ; + ::uint64_t lobbyid() const; + void set_lobbyid(::uint64_t value); + + private: + ::uint64_t _internal_lobbyid() const; + void _internal_set_lobbyid(::uint64_t value); + + public: + // uint64 roomId = 6; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // uint32 worldId = 2; + void clear_worldid() ; + ::uint32_t worldid() const; + void set_worldid(::uint32_t value); + + private: + ::uint32_t _internal_worldid() const; + void _internal_set_worldid(::uint32_t value); + + public: + // uint32 flagAttr = 14; + void clear_flagattr() ; + ::uint32_t flagattr() const; + void set_flagattr(::uint32_t value); + + private: + ::uint32_t _internal_flagattr() const; + void _internal_set_flagattr(::uint32_t value); + + public: + // uint64 passwordSlotMask = 11; + void clear_passwordslotmask() ; + ::uint64_t passwordslotmask() const; + void set_passwordslotmask(::uint64_t value); + + private: + ::uint64_t _internal_passwordslotmask() const; + void _internal_set_passwordslotmask(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomDataExternal) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<5, 17, + 12, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomDataExternal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomGroup > roomgroup_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::IntAttr > roomsearchableintattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roomsearchablebinattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roombinattrexternal_; + ::np2_structs::uint16* PROTOBUF_NULLABLE serverid_; + ::np2_structs::uint16* PROTOBUF_NULLABLE publicslotnum_; + ::np2_structs::uint16* PROTOBUF_NULLABLE privateslotnum_; + ::np2_structs::uint16* PROTOBUF_NULLABLE openpublicslotnum_; + ::np2_structs::uint16* PROTOBUF_NULLABLE maxslot_; + ::np2_structs::uint16* PROTOBUF_NULLABLE openprivateslotnum_; + ::np2_structs::uint16* PROTOBUF_NULLABLE curmembernum_; + ::np2_structs::UserInfo* PROTOBUF_NULLABLE owner_; + ::uint64_t lobbyid_; + ::uint64_t roomid_; + ::uint32_t worldid_; + ::uint32_t flagattr_; + ::uint64_t passwordslotmask_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<29> RoomDataExternal_class_data_; +// ------------------------------------------------------------------- + +class MatchingSignalingInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingSignalingInfo) */ { + public: + inline MatchingSignalingInfo() : MatchingSignalingInfo(nullptr) {} + ~MatchingSignalingInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingSignalingInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingSignalingInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingSignalingInfo(::google::protobuf::internal::ConstantInitialized); + + inline MatchingSignalingInfo(const MatchingSignalingInfo& from) : MatchingSignalingInfo(nullptr, from) {} + inline MatchingSignalingInfo(MatchingSignalingInfo&& from) noexcept + : MatchingSignalingInfo(nullptr, ::std::move(from)) {} + inline MatchingSignalingInfo& operator=(const MatchingSignalingInfo& from) { + CopyFrom(from); + return *this; + } + inline MatchingSignalingInfo& operator=(MatchingSignalingInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingSignalingInfo& default_instance() { + return *reinterpret_cast( + &_MatchingSignalingInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(MatchingSignalingInfo& a, MatchingSignalingInfo& b) { a.Swap(&b); } + inline void Swap(MatchingSignalingInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingSignalingInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingSignalingInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingSignalingInfo& from); + void MergeFrom(const MatchingSignalingInfo& from) { MatchingSignalingInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingSignalingInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingSignalingInfo"; } + + explicit MatchingSignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingSignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingSignalingInfo& from); + MatchingSignalingInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingSignalingInfo&& from) noexcept + : MatchingSignalingInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNpidFieldNumber = 1, + kAddrFieldNumber = 2, + }; + // string npid = 1; + void clear_npid() ; + const ::std::string& npid() const; + template + void set_npid(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_npid(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_npid(); + void set_allocated_npid(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_npid() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_npid(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_npid(); + + public: + // .np2_structs.SignalingAddr addr = 2; + bool has_addr() const; + void clear_addr() ; + const ::np2_structs::SignalingAddr& addr() const; + [[nodiscard]] ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE release_addr(); + ::np2_structs::SignalingAddr* PROTOBUF_NONNULL mutable_addr(); + void set_allocated_addr(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_addr(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value); + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE unsafe_arena_release_addr(); + + private: + const ::np2_structs::SignalingAddr& _internal_addr() const; + ::np2_structs::SignalingAddr* PROTOBUF_NONNULL _internal_mutable_addr(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingSignalingInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 1, 46, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingSignalingInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr npid_; + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE addr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<34> MatchingSignalingInfo_class_data_; +// ------------------------------------------------------------------- + +class MatchingRoomStatus final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingRoomStatus) */ { + public: + inline MatchingRoomStatus() : MatchingRoomStatus(nullptr) {} + ~MatchingRoomStatus() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingRoomStatus* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingRoomStatus)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingRoomStatus(::google::protobuf::internal::ConstantInitialized); + + inline MatchingRoomStatus(const MatchingRoomStatus& from) : MatchingRoomStatus(nullptr, from) {} + inline MatchingRoomStatus(MatchingRoomStatus&& from) noexcept + : MatchingRoomStatus(nullptr, ::std::move(from)) {} + inline MatchingRoomStatus& operator=(const MatchingRoomStatus& from) { + CopyFrom(from); + return *this; + } + inline MatchingRoomStatus& operator=(MatchingRoomStatus&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingRoomStatus& default_instance() { + return *reinterpret_cast( + &_MatchingRoomStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = 79; + friend void swap(MatchingRoomStatus& a, MatchingRoomStatus& b) { a.Swap(&b); } + inline void Swap(MatchingRoomStatus* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingRoomStatus* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingRoomStatus* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingRoomStatus& from); + void MergeFrom(const MatchingRoomStatus& from) { MatchingRoomStatus::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingRoomStatus* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingRoomStatus"; } + + explicit MatchingRoomStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingRoomStatus(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingRoomStatus& from); + MatchingRoomStatus( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingRoomStatus&& from) noexcept + : MatchingRoomStatus(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMembersFieldNumber = 2, + kIdFieldNumber = 1, + kKickActorFieldNumber = 3, + kOptFieldNumber = 4, + }; + // repeated .np2_structs.GUIUserInfo members = 2; + int members_size() const; + private: + int _internal_members_size() const; + + public: + void clear_members() ; + ::np2_structs::GUIUserInfo* PROTOBUF_NONNULL mutable_members(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>* PROTOBUF_NONNULL mutable_members(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>& _internal_members() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>* PROTOBUF_NONNULL _internal_mutable_members(); + public: + const ::np2_structs::GUIUserInfo& members(int index) const; + ::np2_structs::GUIUserInfo* PROTOBUF_NONNULL add_members(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>& members() const; + // bytes id = 1; + void clear_id() ; + const ::std::string& id() const; + template + void set_id(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_id(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_id(); + void set_allocated_id(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_id() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_id(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_id(); + + public: + // string kick_actor = 3; + void clear_kick_actor() ; + const ::std::string& kick_actor() const; + template + void set_kick_actor(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_kick_actor(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_kick_actor(); + void set_allocated_kick_actor(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_kick_actor() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_kick_actor(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_kick_actor(); + + public: + // bytes opt = 4; + void clear_opt() ; + const ::std::string& opt() const; + template + void set_opt(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_opt(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_opt(); + void set_allocated_opt(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_opt() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_opt(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_opt(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingRoomStatus) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 1, 49, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingRoomStatus& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::GUIUserInfo > members_; + ::google::protobuf::internal::ArenaStringPtr id_; + ::google::protobuf::internal::ArenaStringPtr kick_actor_; + ::google::protobuf::internal::ArenaStringPtr opt_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> MatchingRoomStatus_class_data_; +// ------------------------------------------------------------------- + +class MatchingRoomList final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingRoomList) */ { + public: + inline MatchingRoomList() : MatchingRoomList(nullptr) {} + ~MatchingRoomList() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingRoomList* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingRoomList)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingRoomList(::google::protobuf::internal::ConstantInitialized); + + inline MatchingRoomList(const MatchingRoomList& from) : MatchingRoomList(nullptr, from) {} + inline MatchingRoomList(MatchingRoomList&& from) noexcept + : MatchingRoomList(nullptr, ::std::move(from)) {} + inline MatchingRoomList& operator=(const MatchingRoomList& from) { + CopyFrom(from); + return *this; + } + inline MatchingRoomList& operator=(MatchingRoomList&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingRoomList& default_instance() { + return *reinterpret_cast( + &_MatchingRoomList_default_instance_); + } + static constexpr int kIndexInFileMessages = 82; + friend void swap(MatchingRoomList& a, MatchingRoomList& b) { a.Swap(&b); } + inline void Swap(MatchingRoomList* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingRoomList* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingRoomList* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingRoomList& from); + void MergeFrom(const MatchingRoomList& from) { MatchingRoomList::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingRoomList* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingRoomList"; } + + explicit MatchingRoomList(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingRoomList(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingRoomList& from); + MatchingRoomList( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingRoomList&& from) noexcept + : MatchingRoomList(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomsFieldNumber = 3, + kStartFieldNumber = 1, + kTotalFieldNumber = 2, + }; + // repeated .np2_structs.MatchingRoom rooms = 3; + int rooms_size() const; + private: + int _internal_rooms_size() const; + + public: + void clear_rooms() ; + ::np2_structs::MatchingRoom* PROTOBUF_NONNULL mutable_rooms(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>* PROTOBUF_NONNULL mutable_rooms(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>& _internal_rooms() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>* PROTOBUF_NONNULL _internal_mutable_rooms(); + public: + const ::np2_structs::MatchingRoom& rooms(int index) const; + ::np2_structs::MatchingRoom* PROTOBUF_NONNULL add_rooms(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>& rooms() const; + // uint32 start = 1; + void clear_start() ; + ::uint32_t start() const; + void set_start(::uint32_t value); + + private: + ::uint32_t _internal_start() const; + void _internal_set_start(::uint32_t value); + + public: + // uint32 total = 2; + void clear_total() ; + ::uint32_t total() const; + void set_total(::uint32_t value); + + private: + ::uint32_t _internal_total() const; + void _internal_set_total(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingRoomList) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingRoomList& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingRoom > rooms_; + ::uint32_t start_; + ::uint32_t total_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<29> MatchingRoomList_class_data_; +// ------------------------------------------------------------------- + +class Matching2SignalingInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.Matching2SignalingInfo) */ { + public: + inline Matching2SignalingInfo() : Matching2SignalingInfo(nullptr) {} + ~Matching2SignalingInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Matching2SignalingInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Matching2SignalingInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Matching2SignalingInfo(::google::protobuf::internal::ConstantInitialized); + + inline Matching2SignalingInfo(const Matching2SignalingInfo& from) : Matching2SignalingInfo(nullptr, from) {} + inline Matching2SignalingInfo(Matching2SignalingInfo&& from) noexcept + : Matching2SignalingInfo(nullptr, ::std::move(from)) {} + inline Matching2SignalingInfo& operator=(const Matching2SignalingInfo& from) { + CopyFrom(from); + return *this; + } + inline Matching2SignalingInfo& operator=(Matching2SignalingInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const Matching2SignalingInfo& default_instance() { + return *reinterpret_cast( + &_Matching2SignalingInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(Matching2SignalingInfo& a, Matching2SignalingInfo& b) { a.Swap(&b); } + inline void Swap(Matching2SignalingInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Matching2SignalingInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Matching2SignalingInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const Matching2SignalingInfo& from); + void MergeFrom(const Matching2SignalingInfo& from) { Matching2SignalingInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Matching2SignalingInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.Matching2SignalingInfo"; } + + explicit Matching2SignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + Matching2SignalingInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Matching2SignalingInfo& from); + Matching2SignalingInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Matching2SignalingInfo&& from) noexcept + : Matching2SignalingInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMemberIdFieldNumber = 1, + kAddrFieldNumber = 2, + }; + // .np2_structs.uint16 member_id = 1; + bool has_member_id() const; + void clear_member_id() ; + const ::np2_structs::uint16& member_id() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_member_id(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_member_id(); + void set_allocated_member_id(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_member_id(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_member_id(); + + private: + const ::np2_structs::uint16& _internal_member_id() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_member_id(); + + public: + // .np2_structs.SignalingAddr addr = 2; + bool has_addr() const; + void clear_addr() ; + const ::np2_structs::SignalingAddr& addr() const; + [[nodiscard]] ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE release_addr(); + ::np2_structs::SignalingAddr* PROTOBUF_NONNULL mutable_addr(); + void set_allocated_addr(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_addr(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value); + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE unsafe_arena_release_addr(); + + private: + const ::np2_structs::SignalingAddr& _internal_addr() const; + ::np2_structs::SignalingAddr* PROTOBUF_NONNULL _internal_mutable_addr(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.Matching2SignalingInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const Matching2SignalingInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint16* PROTOBUF_NULLABLE member_id_; + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE addr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<35> Matching2SignalingInfo_class_data_; +// ------------------------------------------------------------------- + +class JoinRoomRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.JoinRoomRequest) */ { + public: + inline JoinRoomRequest() : JoinRoomRequest(nullptr) {} + ~JoinRoomRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(JoinRoomRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(JoinRoomRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR JoinRoomRequest(::google::protobuf::internal::ConstantInitialized); + + inline JoinRoomRequest(const JoinRoomRequest& from) : JoinRoomRequest(nullptr, from) {} + inline JoinRoomRequest(JoinRoomRequest&& from) noexcept + : JoinRoomRequest(nullptr, ::std::move(from)) {} + inline JoinRoomRequest& operator=(const JoinRoomRequest& from) { + CopyFrom(from); + return *this; + } + inline JoinRoomRequest& operator=(JoinRoomRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const JoinRoomRequest& default_instance() { + return *reinterpret_cast( + &_JoinRoomRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 23; + friend void swap(JoinRoomRequest& a, JoinRoomRequest& b) { a.Swap(&b); } + inline void Swap(JoinRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(JoinRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + JoinRoomRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const JoinRoomRequest& from); + void MergeFrom(const JoinRoomRequest& from) { JoinRoomRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(JoinRoomRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.JoinRoomRequest"; } + + explicit JoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JoinRoomRequest& from); + JoinRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JoinRoomRequest&& from) noexcept + : JoinRoomRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomMemberBinAttrInternalFieldNumber = 4, + kRoomPasswordFieldNumber = 2, + kJoinRoomGroupLabelFieldNumber = 3, + kOptDataFieldNumber = 5, + kTeamIdFieldNumber = 6, + kRoomIdFieldNumber = 1, + }; + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; + int roommemberbinattrinternal_size() const; + private: + int _internal_roommemberbinattrinternal_size() const; + + public: + void clear_roommemberbinattrinternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roommemberbinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roommemberbinattrinternal(); + public: + const ::np2_structs::BinAttr& roommemberbinattrinternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roommemberbinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roommemberbinattrinternal() const; + // bytes roomPassword = 2; + void clear_roompassword() ; + const ::std::string& roompassword() const; + template + void set_roompassword(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_roompassword(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_roompassword(); + void set_allocated_roompassword(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_roompassword() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_roompassword(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_roompassword(); + + public: + // bytes joinRoomGroupLabel = 3; + void clear_joinroomgrouplabel() ; + const ::std::string& joinroomgrouplabel() const; + template + void set_joinroomgrouplabel(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_joinroomgrouplabel(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_joinroomgrouplabel(); + void set_allocated_joinroomgrouplabel(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_joinroomgrouplabel() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_joinroomgrouplabel(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_joinroomgrouplabel(); + + public: + // .np2_structs.PresenceOptionData optData = 5; + bool has_optdata() const; + void clear_optdata() ; + const ::np2_structs::PresenceOptionData& optdata() const; + [[nodiscard]] ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE release_optdata(); + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL mutable_optdata(); + void set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE unsafe_arena_release_optdata(); + + private: + const ::np2_structs::PresenceOptionData& _internal_optdata() const; + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL _internal_mutable_optdata(); + + public: + // .np2_structs.uint8 teamId = 6; + bool has_teamid() const; + void clear_teamid() ; + const ::np2_structs::uint8& teamid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_teamid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_teamid(); + void set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_teamid(); + + private: + const ::np2_structs::uint8& _internal_teamid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_teamid(); + + public: + // uint64 roomId = 1; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.JoinRoomRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 6, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const JoinRoomRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roommemberbinattrinternal_; + ::google::protobuf::internal::ArenaStringPtr roompassword_; + ::google::protobuf::internal::ArenaStringPtr joinroomgrouplabel_; + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE optdata_; + ::np2_structs::uint8* PROTOBUF_NULLABLE teamid_; + ::uint64_t roomid_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<28> JoinRoomRequest_class_data_; +// ------------------------------------------------------------------- + +class IntSearchFilter final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.IntSearchFilter) */ { + public: + inline IntSearchFilter() : IntSearchFilter(nullptr) {} + ~IntSearchFilter() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(IntSearchFilter* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(IntSearchFilter)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR IntSearchFilter(::google::protobuf::internal::ConstantInitialized); + + inline IntSearchFilter(const IntSearchFilter& from) : IntSearchFilter(nullptr, from) {} + inline IntSearchFilter(IntSearchFilter&& from) noexcept + : IntSearchFilter(nullptr, ::std::move(from)) {} + inline IntSearchFilter& operator=(const IntSearchFilter& from) { + CopyFrom(from); + return *this; + } + inline IntSearchFilter& operator=(IntSearchFilter&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const IntSearchFilter& default_instance() { + return *reinterpret_cast( + &_IntSearchFilter_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(IntSearchFilter& a, IntSearchFilter& b) { a.Swap(&b); } + inline void Swap(IntSearchFilter* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(IntSearchFilter* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + IntSearchFilter* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const IntSearchFilter& from); + void MergeFrom(const IntSearchFilter& from) { IntSearchFilter::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(IntSearchFilter* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.IntSearchFilter"; } + + explicit IntSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + IntSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntSearchFilter& from); + IntSearchFilter( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntSearchFilter&& from) noexcept + : IntSearchFilter(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSearchOperatorFieldNumber = 1, + kAttrFieldNumber = 2, + }; + // .np2_structs.uint8 searchOperator = 1; + bool has_searchoperator() const; + void clear_searchoperator() ; + const ::np2_structs::uint8& searchoperator() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_searchoperator(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_searchoperator(); + void set_allocated_searchoperator(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_searchoperator(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_searchoperator(); + + private: + const ::np2_structs::uint8& _internal_searchoperator() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_searchoperator(); + + public: + // .np2_structs.IntAttr attr = 2; + bool has_attr() const; + void clear_attr() ; + const ::np2_structs::IntAttr& attr() const; + [[nodiscard]] ::np2_structs::IntAttr* PROTOBUF_NULLABLE release_attr(); + ::np2_structs::IntAttr* PROTOBUF_NONNULL mutable_attr(); + void set_allocated_attr(::np2_structs::IntAttr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_attr(::np2_structs::IntAttr* PROTOBUF_NULLABLE value); + ::np2_structs::IntAttr* PROTOBUF_NULLABLE unsafe_arena_release_attr(); + + private: + const ::np2_structs::IntAttr& _internal_attr() const; + ::np2_structs::IntAttr* PROTOBUF_NONNULL _internal_mutable_attr(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.IntSearchFilter) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const IntSearchFilter& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint8* PROTOBUF_NULLABLE searchoperator_; + ::np2_structs::IntAttr* PROTOBUF_NULLABLE attr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<28> IntSearchFilter_class_data_; +// ------------------------------------------------------------------- + +class CreateJoinRoomRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.CreateJoinRoomRequest) */ { + public: + inline CreateJoinRoomRequest() : CreateJoinRoomRequest(nullptr) {} + ~CreateJoinRoomRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CreateJoinRoomRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateJoinRoomRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CreateJoinRoomRequest(::google::protobuf::internal::ConstantInitialized); + + inline CreateJoinRoomRequest(const CreateJoinRoomRequest& from) : CreateJoinRoomRequest(nullptr, from) {} + inline CreateJoinRoomRequest(CreateJoinRoomRequest&& from) noexcept + : CreateJoinRoomRequest(nullptr, ::std::move(from)) {} + inline CreateJoinRoomRequest& operator=(const CreateJoinRoomRequest& from) { + CopyFrom(from); + return *this; + } + inline CreateJoinRoomRequest& operator=(CreateJoinRoomRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const CreateJoinRoomRequest& default_instance() { + return *reinterpret_cast( + &_CreateJoinRoomRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 22; + friend void swap(CreateJoinRoomRequest& a, CreateJoinRoomRequest& b) { a.Swap(&b); } + inline void Swap(CreateJoinRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CreateJoinRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CreateJoinRoomRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const CreateJoinRoomRequest& from); + void MergeFrom(const CreateJoinRoomRequest& from) { CreateJoinRoomRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CreateJoinRoomRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.CreateJoinRoomRequest"; } + + explicit CreateJoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreateJoinRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateJoinRoomRequest& from); + CreateJoinRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CreateJoinRoomRequest&& from) noexcept + : CreateJoinRoomRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomBinAttrInternalFieldNumber = 5, + kRoomSearchableIntAttrExternalFieldNumber = 6, + kRoomSearchableBinAttrExternalFieldNumber = 7, + kRoomBinAttrExternalFieldNumber = 8, + kGroupConfigFieldNumber = 10, + kAllowedUserFieldNumber = 12, + kBlockedUserFieldNumber = 13, + kRoomMemberBinAttrInternalFieldNumber = 15, + kRoomPasswordFieldNumber = 9, + kJoinRoomGroupLabelFieldNumber = 14, + kTeamIdFieldNumber = 16, + kSigOptParamFieldNumber = 17, + kLobbyIdFieldNumber = 2, + kWorldIdFieldNumber = 1, + kMaxSlotFieldNumber = 3, + kPasswordSlotMaskFieldNumber = 11, + kFlagAttrFieldNumber = 4, + }; + // repeated .np2_structs.BinAttr roomBinAttrInternal = 5; + int roombinattrinternal_size() const; + private: + int _internal_roombinattrinternal_size() const; + + public: + void clear_roombinattrinternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roombinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roombinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roombinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roombinattrinternal(); + public: + const ::np2_structs::BinAttr& roombinattrinternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roombinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roombinattrinternal() const; + // repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6; + int roomsearchableintattrexternal_size() const; + private: + int _internal_roomsearchableintattrexternal_size() const; + + public: + void clear_roomsearchableintattrexternal() ; + ::np2_structs::IntAttr* PROTOBUF_NONNULL mutable_roomsearchableintattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL mutable_roomsearchableintattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& _internal_roomsearchableintattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL _internal_mutable_roomsearchableintattrexternal(); + public: + const ::np2_structs::IntAttr& roomsearchableintattrexternal(int index) const; + ::np2_structs::IntAttr* PROTOBUF_NONNULL add_roomsearchableintattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& roomsearchableintattrexternal() const; + // repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7; + int roomsearchablebinattrexternal_size() const; + private: + int _internal_roomsearchablebinattrexternal_size() const; + + public: + void clear_roomsearchablebinattrexternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roomsearchablebinattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roomsearchablebinattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roomsearchablebinattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roomsearchablebinattrexternal(); + public: + const ::np2_structs::BinAttr& roomsearchablebinattrexternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roomsearchablebinattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roomsearchablebinattrexternal() const; + // repeated .np2_structs.BinAttr roomBinAttrExternal = 8; + int roombinattrexternal_size() const; + private: + int _internal_roombinattrexternal_size() const; + + public: + void clear_roombinattrexternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roombinattrexternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roombinattrexternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roombinattrexternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roombinattrexternal(); + public: + const ::np2_structs::BinAttr& roombinattrexternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roombinattrexternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roombinattrexternal() const; + // repeated .np2_structs.GroupConfig groupConfig = 10; + int groupconfig_size() const; + private: + int _internal_groupconfig_size() const; + + public: + void clear_groupconfig() ; + ::np2_structs::GroupConfig* PROTOBUF_NONNULL mutable_groupconfig(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>* PROTOBUF_NONNULL mutable_groupconfig(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>& _internal_groupconfig() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>* PROTOBUF_NONNULL _internal_mutable_groupconfig(); + public: + const ::np2_structs::GroupConfig& groupconfig(int index) const; + ::np2_structs::GroupConfig* PROTOBUF_NONNULL add_groupconfig(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>& groupconfig() const; + // repeated string allowedUser = 12; + int alloweduser_size() const; + private: + int _internal_alloweduser_size() const; + + public: + void clear_alloweduser() ; + const ::std::string& alloweduser(int index) const; + ::std::string* PROTOBUF_NONNULL mutable_alloweduser(int index); + template + void set_alloweduser(int index, Arg_&& value, Args_... args); + ::std::string* PROTOBUF_NONNULL add_alloweduser(); + template + void add_alloweduser(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField<::std::string>& alloweduser() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_alloweduser(); + + private: + const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_alloweduser() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_alloweduser(); + + public: + // repeated string blockedUser = 13; + int blockeduser_size() const; + private: + int _internal_blockeduser_size() const; + + public: + void clear_blockeduser() ; + const ::std::string& blockeduser(int index) const; + ::std::string* PROTOBUF_NONNULL mutable_blockeduser(int index); + template + void set_blockeduser(int index, Arg_&& value, Args_... args); + ::std::string* PROTOBUF_NONNULL add_blockeduser(); + template + void add_blockeduser(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField<::std::string>& blockeduser() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_blockeduser(); + + private: + const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_blockeduser() const; + ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_blockeduser(); + + public: + // repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15; + int roommemberbinattrinternal_size() const; + private: + int _internal_roommemberbinattrinternal_size() const; + + public: + void clear_roommemberbinattrinternal() ; + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& _internal_roommemberbinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL _internal_mutable_roommemberbinattrinternal(); + public: + const ::np2_structs::BinAttr& roommemberbinattrinternal(int index) const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL add_roommemberbinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& roommemberbinattrinternal() const; + // bytes roomPassword = 9; + void clear_roompassword() ; + const ::std::string& roompassword() const; + template + void set_roompassword(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_roompassword(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_roompassword(); + void set_allocated_roompassword(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_roompassword() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_roompassword(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_roompassword(); + + public: + // bytes joinRoomGroupLabel = 14; + void clear_joinroomgrouplabel() ; + const ::std::string& joinroomgrouplabel() const; + template + void set_joinroomgrouplabel(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_joinroomgrouplabel(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_joinroomgrouplabel(); + void set_allocated_joinroomgrouplabel(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_joinroomgrouplabel() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_joinroomgrouplabel(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_joinroomgrouplabel(); + + public: + // .np2_structs.uint8 teamId = 16; + bool has_teamid() const; + void clear_teamid() ; + const ::np2_structs::uint8& teamid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_teamid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_teamid(); + void set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_teamid(); + + private: + const ::np2_structs::uint8& _internal_teamid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_teamid(); + + public: + // .np2_structs.OptParam sigOptParam = 17; + bool has_sigoptparam() const; + void clear_sigoptparam() ; + const ::np2_structs::OptParam& sigoptparam() const; + [[nodiscard]] ::np2_structs::OptParam* PROTOBUF_NULLABLE release_sigoptparam(); + ::np2_structs::OptParam* PROTOBUF_NONNULL mutable_sigoptparam(); + void set_allocated_sigoptparam(::np2_structs::OptParam* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_sigoptparam(::np2_structs::OptParam* PROTOBUF_NULLABLE value); + ::np2_structs::OptParam* PROTOBUF_NULLABLE unsafe_arena_release_sigoptparam(); + + private: + const ::np2_structs::OptParam& _internal_sigoptparam() const; + ::np2_structs::OptParam* PROTOBUF_NONNULL _internal_mutable_sigoptparam(); + + public: + // uint64 lobbyId = 2; + void clear_lobbyid() ; + ::uint64_t lobbyid() const; + void set_lobbyid(::uint64_t value); + + private: + ::uint64_t _internal_lobbyid() const; + void _internal_set_lobbyid(::uint64_t value); + + public: + // uint32 worldId = 1; + void clear_worldid() ; + ::uint32_t worldid() const; + void set_worldid(::uint32_t value); + + private: + ::uint32_t _internal_worldid() const; + void _internal_set_worldid(::uint32_t value); + + public: + // uint32 maxSlot = 3; + void clear_maxslot() ; + ::uint32_t maxslot() const; + void set_maxslot(::uint32_t value); + + private: + ::uint32_t _internal_maxslot() const; + void _internal_set_maxslot(::uint32_t value); + + public: + // uint64 passwordSlotMask = 11; + void clear_passwordslotmask() ; + ::uint64_t passwordslotmask() const; + void set_passwordslotmask(::uint64_t value); + + private: + ::uint64_t _internal_passwordslotmask() const; + void _internal_set_passwordslotmask(::uint64_t value); + + public: + // uint32 flagAttr = 4; + void clear_flagattr() ; + ::uint32_t flagattr() const; + void set_flagattr(::uint32_t value); + + private: + ::uint32_t _internal_flagattr() const; + void _internal_set_flagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.CreateJoinRoomRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<5, 17, + 8, 80, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CreateJoinRoomRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roombinattrinternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::IntAttr > roomsearchableintattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roomsearchablebinattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roombinattrexternal_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::GroupConfig > groupconfig_; + ::google::protobuf::RepeatedPtrField<::std::string> alloweduser_; + ::google::protobuf::RepeatedPtrField<::std::string> blockeduser_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttr > roommemberbinattrinternal_; + ::google::protobuf::internal::ArenaStringPtr roompassword_; + ::google::protobuf::internal::ArenaStringPtr joinroomgrouplabel_; + ::np2_structs::uint8* PROTOBUF_NULLABLE teamid_; + ::np2_structs::OptParam* PROTOBUF_NULLABLE sigoptparam_; + ::uint64_t lobbyid_; + ::uint32_t worldid_; + ::uint32_t maxslot_; + ::uint64_t passwordslotmask_; + ::uint32_t flagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<34> CreateJoinRoomRequest_class_data_; +// ------------------------------------------------------------------- + +class BinSearchFilter final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.BinSearchFilter) */ { + public: + inline BinSearchFilter() : BinSearchFilter(nullptr) {} + ~BinSearchFilter() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BinSearchFilter* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BinSearchFilter)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BinSearchFilter(::google::protobuf::internal::ConstantInitialized); + + inline BinSearchFilter(const BinSearchFilter& from) : BinSearchFilter(nullptr, from) {} + inline BinSearchFilter(BinSearchFilter&& from) noexcept + : BinSearchFilter(nullptr, ::std::move(from)) {} + inline BinSearchFilter& operator=(const BinSearchFilter& from) { + CopyFrom(from); + return *this; + } + inline BinSearchFilter& operator=(BinSearchFilter&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const BinSearchFilter& default_instance() { + return *reinterpret_cast( + &_BinSearchFilter_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(BinSearchFilter& a, BinSearchFilter& b) { a.Swap(&b); } + inline void Swap(BinSearchFilter* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BinSearchFilter* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BinSearchFilter* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const BinSearchFilter& from); + void MergeFrom(const BinSearchFilter& from) { BinSearchFilter::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BinSearchFilter* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.BinSearchFilter"; } + + explicit BinSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BinSearchFilter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BinSearchFilter& from); + BinSearchFilter( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BinSearchFilter&& from) noexcept + : BinSearchFilter(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSearchOperatorFieldNumber = 1, + kAttrFieldNumber = 2, + }; + // .np2_structs.uint8 searchOperator = 1; + bool has_searchoperator() const; + void clear_searchoperator() ; + const ::np2_structs::uint8& searchoperator() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_searchoperator(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_searchoperator(); + void set_allocated_searchoperator(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_searchoperator(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_searchoperator(); + + private: + const ::np2_structs::uint8& _internal_searchoperator() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_searchoperator(); + + public: + // .np2_structs.BinAttr attr = 2; + bool has_attr() const; + void clear_attr() ; + const ::np2_structs::BinAttr& attr() const; + [[nodiscard]] ::np2_structs::BinAttr* PROTOBUF_NULLABLE release_attr(); + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_attr(); + void set_allocated_attr(::np2_structs::BinAttr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_attr(::np2_structs::BinAttr* PROTOBUF_NULLABLE value); + ::np2_structs::BinAttr* PROTOBUF_NULLABLE unsafe_arena_release_attr(); + + private: + const ::np2_structs::BinAttr& _internal_attr() const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL _internal_mutable_attr(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.BinSearchFilter) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BinSearchFilter& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint8* PROTOBUF_NULLABLE searchoperator_; + ::np2_structs::BinAttr* PROTOBUF_NULLABLE attr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<28> BinSearchFilter_class_data_; +// ------------------------------------------------------------------- + +class BinAttrInternal final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.BinAttrInternal) */ { + public: + inline BinAttrInternal() : BinAttrInternal(nullptr) {} + ~BinAttrInternal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BinAttrInternal* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BinAttrInternal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BinAttrInternal(::google::protobuf::internal::ConstantInitialized); + + inline BinAttrInternal(const BinAttrInternal& from) : BinAttrInternal(nullptr, from) {} + inline BinAttrInternal(BinAttrInternal&& from) noexcept + : BinAttrInternal(nullptr, ::std::move(from)) {} + inline BinAttrInternal& operator=(const BinAttrInternal& from) { + CopyFrom(from); + return *this; + } + inline BinAttrInternal& operator=(BinAttrInternal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const BinAttrInternal& default_instance() { + return *reinterpret_cast( + &_BinAttrInternal_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(BinAttrInternal& a, BinAttrInternal& b) { a.Swap(&b); } + inline void Swap(BinAttrInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BinAttrInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BinAttrInternal* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const BinAttrInternal& from); + void MergeFrom(const BinAttrInternal& from) { BinAttrInternal::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BinAttrInternal* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.BinAttrInternal"; } + + explicit BinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + BinAttrInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BinAttrInternal& from); + BinAttrInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BinAttrInternal&& from) noexcept + : BinAttrInternal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUpdateMemberIdFieldNumber = 2, + kDataFieldNumber = 3, + kUpdateDateFieldNumber = 1, + }; + // .np2_structs.uint16 updateMemberId = 2; + bool has_updatememberid() const; + void clear_updatememberid() ; + const ::np2_structs::uint16& updatememberid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_updatememberid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_updatememberid(); + void set_allocated_updatememberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_updatememberid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_updatememberid(); + + private: + const ::np2_structs::uint16& _internal_updatememberid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_updatememberid(); + + public: + // .np2_structs.BinAttr data = 3; + bool has_data() const; + void clear_data() ; + const ::np2_structs::BinAttr& data() const; + [[nodiscard]] ::np2_structs::BinAttr* PROTOBUF_NULLABLE release_data(); + ::np2_structs::BinAttr* PROTOBUF_NONNULL mutable_data(); + void set_allocated_data(::np2_structs::BinAttr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_data(::np2_structs::BinAttr* PROTOBUF_NULLABLE value); + ::np2_structs::BinAttr* PROTOBUF_NULLABLE unsafe_arena_release_data(); + + private: + const ::np2_structs::BinAttr& _internal_data() const; + ::np2_structs::BinAttr* PROTOBUF_NONNULL _internal_mutable_data(); + + public: + // uint64 updateDate = 1; + void clear_updatedate() ; + ::uint64_t updatedate() const; + void set_updatedate(::uint64_t value); + + private: + ::uint64_t _internal_updatedate() const; + void _internal_set_updatedate(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.BinAttrInternal) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const BinAttrInternal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::uint16* PROTOBUF_NULLABLE updatememberid_; + ::np2_structs::BinAttr* PROTOBUF_NULLABLE data_; + ::uint64_t updatedate_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<28> BinAttrInternal_class_data_; +// ------------------------------------------------------------------- + +class SearchRoomResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SearchRoomResponse) */ { + public: + inline SearchRoomResponse() : SearchRoomResponse(nullptr) {} + ~SearchRoomResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SearchRoomResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SearchRoomResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SearchRoomResponse(::google::protobuf::internal::ConstantInitialized); + + inline SearchRoomResponse(const SearchRoomResponse& from) : SearchRoomResponse(nullptr, from) {} + inline SearchRoomResponse(SearchRoomResponse&& from) noexcept + : SearchRoomResponse(nullptr, ::std::move(from)) {} + inline SearchRoomResponse& operator=(const SearchRoomResponse& from) { + CopyFrom(from); + return *this; + } + inline SearchRoomResponse& operator=(SearchRoomResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SearchRoomResponse& default_instance() { + return *reinterpret_cast( + &_SearchRoomResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 21; + friend void swap(SearchRoomResponse& a, SearchRoomResponse& b) { a.Swap(&b); } + inline void Swap(SearchRoomResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SearchRoomResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SearchRoomResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SearchRoomResponse& from); + void MergeFrom(const SearchRoomResponse& from) { SearchRoomResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SearchRoomResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SearchRoomResponse"; } + + explicit SearchRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SearchRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchRoomResponse& from); + SearchRoomResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchRoomResponse&& from) noexcept + : SearchRoomResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomsFieldNumber = 3, + kStartIndexFieldNumber = 1, + kTotalFieldNumber = 2, + }; + // repeated .np2_structs.RoomDataExternal rooms = 3; + int rooms_size() const; + private: + int _internal_rooms_size() const; + + public: + void clear_rooms() ; + ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL mutable_rooms(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL mutable_rooms(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& _internal_rooms() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL _internal_mutable_rooms(); + public: + const ::np2_structs::RoomDataExternal& rooms(int index) const; + ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL add_rooms(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& rooms() const; + // uint32 startIndex = 1; + void clear_startindex() ; + ::uint32_t startindex() const; + void set_startindex(::uint32_t value); + + private: + ::uint32_t _internal_startindex() const; + void _internal_set_startindex(::uint32_t value); + + public: + // uint32 total = 2; + void clear_total() ; + ::uint32_t total() const; + void set_total(::uint32_t value); + + private: + ::uint32_t _internal_total() const; + void _internal_set_total(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SearchRoomResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SearchRoomResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomDataExternal > rooms_; + ::uint32_t startindex_; + ::uint32_t total_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> SearchRoomResponse_class_data_; +// ------------------------------------------------------------------- + +class SearchRoomRequest final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.SearchRoomRequest) */ { + public: + inline SearchRoomRequest() : SearchRoomRequest(nullptr) {} + ~SearchRoomRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SearchRoomRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SearchRoomRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SearchRoomRequest(::google::protobuf::internal::ConstantInitialized); + + inline SearchRoomRequest(const SearchRoomRequest& from) : SearchRoomRequest(nullptr, from) {} + inline SearchRoomRequest(SearchRoomRequest&& from) noexcept + : SearchRoomRequest(nullptr, ::std::move(from)) {} + inline SearchRoomRequest& operator=(const SearchRoomRequest& from) { + CopyFrom(from); + return *this; + } + inline SearchRoomRequest& operator=(SearchRoomRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const SearchRoomRequest& default_instance() { + return *reinterpret_cast( + &_SearchRoomRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 20; + friend void swap(SearchRoomRequest& a, SearchRoomRequest& b) { a.Swap(&b); } + inline void Swap(SearchRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SearchRoomRequest* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SearchRoomRequest* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const SearchRoomRequest& from); + void MergeFrom(const SearchRoomRequest& from) { SearchRoomRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SearchRoomRequest* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.SearchRoomRequest"; } + + explicit SearchRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + SearchRoomRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SearchRoomRequest& from); + SearchRoomRequest( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SearchRoomRequest&& from) noexcept + : SearchRoomRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIntFilterFieldNumber = 8, + kBinFilterFieldNumber = 9, + kAttrIdFieldNumber = 10, + kOptionFieldNumber = 1, + kWorldIdFieldNumber = 2, + kLobbyIdFieldNumber = 3, + kRangeFilterStartIndexFieldNumber = 4, + kRangeFilterMaxFieldNumber = 5, + kFlagFilterFieldNumber = 6, + kFlagAttrFieldNumber = 7, + }; + // repeated .np2_structs.IntSearchFilter intFilter = 8; + int intfilter_size() const; + private: + int _internal_intfilter_size() const; + + public: + void clear_intfilter() ; + ::np2_structs::IntSearchFilter* PROTOBUF_NONNULL mutable_intfilter(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>* PROTOBUF_NONNULL mutable_intfilter(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>& _internal_intfilter() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>* PROTOBUF_NONNULL _internal_mutable_intfilter(); + public: + const ::np2_structs::IntSearchFilter& intfilter(int index) const; + ::np2_structs::IntSearchFilter* PROTOBUF_NONNULL add_intfilter(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>& intfilter() const; + // repeated .np2_structs.BinSearchFilter binFilter = 9; + int binfilter_size() const; + private: + int _internal_binfilter_size() const; + + public: + void clear_binfilter() ; + ::np2_structs::BinSearchFilter* PROTOBUF_NONNULL mutable_binfilter(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>* PROTOBUF_NONNULL mutable_binfilter(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>& _internal_binfilter() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>* PROTOBUF_NONNULL _internal_mutable_binfilter(); + public: + const ::np2_structs::BinSearchFilter& binfilter(int index) const; + ::np2_structs::BinSearchFilter* PROTOBUF_NONNULL add_binfilter(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>& binfilter() const; + // repeated .np2_structs.uint16 attrId = 10; + int attrid_size() const; + private: + int _internal_attrid_size() const; + + public: + void clear_attrid() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_attrid(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_attrid(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_attrid() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_attrid(); + public: + const ::np2_structs::uint16& attrid(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_attrid(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& attrid() const; + // int32 option = 1; + void clear_option() ; + ::int32_t option() const; + void set_option(::int32_t value); + + private: + ::int32_t _internal_option() const; + void _internal_set_option(::int32_t value); + + public: + // uint32 worldId = 2; + void clear_worldid() ; + ::uint32_t worldid() const; + void set_worldid(::uint32_t value); + + private: + ::uint32_t _internal_worldid() const; + void _internal_set_worldid(::uint32_t value); + + public: + // uint64 lobbyId = 3; + void clear_lobbyid() ; + ::uint64_t lobbyid() const; + void set_lobbyid(::uint64_t value); + + private: + ::uint64_t _internal_lobbyid() const; + void _internal_set_lobbyid(::uint64_t value); + + public: + // uint32 rangeFilter_startIndex = 4; + void clear_rangefilter_startindex() ; + ::uint32_t rangefilter_startindex() const; + void set_rangefilter_startindex(::uint32_t value); + + private: + ::uint32_t _internal_rangefilter_startindex() const; + void _internal_set_rangefilter_startindex(::uint32_t value); + + public: + // uint32 rangeFilter_max = 5; + void clear_rangefilter_max() ; + ::uint32_t rangefilter_max() const; + void set_rangefilter_max(::uint32_t value); + + private: + ::uint32_t _internal_rangefilter_max() const; + void _internal_set_rangefilter_max(::uint32_t value); + + public: + // uint32 flagFilter = 6; + void clear_flagfilter() ; + ::uint32_t flagfilter() const; + void set_flagfilter(::uint32_t value); + + private: + ::uint32_t _internal_flagfilter() const; + void _internal_set_flagfilter(::uint32_t value); + + public: + // uint32 flagAttr = 7; + void clear_flagattr() ; + ::uint32_t flagattr() const; + void set_flagattr(::uint32_t value); + + private: + ::uint32_t _internal_flagattr() const; + void _internal_set_flagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.SearchRoomRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<4, 10, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const SearchRoomRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::IntSearchFilter > intfilter_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinSearchFilter > binfilter_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > attrid_; + ::int32_t option_; + ::uint32_t worldid_; + ::uint64_t lobbyid_; + ::uint32_t rangefilter_startindex_; + ::uint32_t rangefilter_max_; + ::uint32_t flagfilter_; + ::uint32_t flagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<30> SearchRoomRequest_class_data_; +// ------------------------------------------------------------------- + +class RoomMemberDataInternal final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomMemberDataInternal) */ { + public: + inline RoomMemberDataInternal() : RoomMemberDataInternal(nullptr) {} + ~RoomMemberDataInternal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomMemberDataInternal* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomMemberDataInternal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomMemberDataInternal(::google::protobuf::internal::ConstantInitialized); + + inline RoomMemberDataInternal(const RoomMemberDataInternal& from) : RoomMemberDataInternal(nullptr, from) {} + inline RoomMemberDataInternal(RoomMemberDataInternal&& from) noexcept + : RoomMemberDataInternal(nullptr, ::std::move(from)) {} + inline RoomMemberDataInternal& operator=(const RoomMemberDataInternal& from) { + CopyFrom(from); + return *this; + } + inline RoomMemberDataInternal& operator=(RoomMemberDataInternal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomMemberDataInternal& default_instance() { + return *reinterpret_cast( + &_RoomMemberDataInternal_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(RoomMemberDataInternal& a, RoomMemberDataInternal& b) { a.Swap(&b); } + inline void Swap(RoomMemberDataInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomMemberDataInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomMemberDataInternal* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomMemberDataInternal& from); + void MergeFrom(const RoomMemberDataInternal& from) { RoomMemberDataInternal::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomMemberDataInternal* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomMemberDataInternal"; } + + explicit RoomMemberDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomMemberDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomMemberDataInternal& from); + RoomMemberDataInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomMemberDataInternal&& from) noexcept + : RoomMemberDataInternal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomMemberBinAttrInternalFieldNumber = 8, + kUserInfoFieldNumber = 1, + kTeamIdFieldNumber = 4, + kRoomGroupFieldNumber = 5, + kNatTypeFieldNumber = 6, + kJoinDateFieldNumber = 2, + kMemberIdFieldNumber = 3, + kFlagAttrFieldNumber = 7, + }; + // repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; + int roommemberbinattrinternal_size() const; + private: + int _internal_roommemberbinattrinternal_size() const; + + public: + void clear_roommemberbinattrinternal() ; + ::np2_structs::RoomMemberBinAttrInternal* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>* PROTOBUF_NONNULL mutable_roommemberbinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>& _internal_roommemberbinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>* PROTOBUF_NONNULL _internal_mutable_roommemberbinattrinternal(); + public: + const ::np2_structs::RoomMemberBinAttrInternal& roommemberbinattrinternal(int index) const; + ::np2_structs::RoomMemberBinAttrInternal* PROTOBUF_NONNULL add_roommemberbinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>& roommemberbinattrinternal() const; + // .np2_structs.UserInfo userInfo = 1; + bool has_userinfo() const; + void clear_userinfo() ; + const ::np2_structs::UserInfo& userinfo() const; + [[nodiscard]] ::np2_structs::UserInfo* PROTOBUF_NULLABLE release_userinfo(); + ::np2_structs::UserInfo* PROTOBUF_NONNULL mutable_userinfo(); + void set_allocated_userinfo(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_userinfo(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + ::np2_structs::UserInfo* PROTOBUF_NULLABLE unsafe_arena_release_userinfo(); + + private: + const ::np2_structs::UserInfo& _internal_userinfo() const; + ::np2_structs::UserInfo* PROTOBUF_NONNULL _internal_mutable_userinfo(); + + public: + // .np2_structs.uint8 teamId = 4; + bool has_teamid() const; + void clear_teamid() ; + const ::np2_structs::uint8& teamid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_teamid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_teamid(); + void set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_teamid(); + + private: + const ::np2_structs::uint8& _internal_teamid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_teamid(); + + public: + // .np2_structs.RoomGroup roomGroup = 5; + bool has_roomgroup() const; + void clear_roomgroup() ; + const ::np2_structs::RoomGroup& roomgroup() const; + [[nodiscard]] ::np2_structs::RoomGroup* PROTOBUF_NULLABLE release_roomgroup(); + ::np2_structs::RoomGroup* PROTOBUF_NONNULL mutable_roomgroup(); + void set_allocated_roomgroup(::np2_structs::RoomGroup* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_roomgroup(::np2_structs::RoomGroup* PROTOBUF_NULLABLE value); + ::np2_structs::RoomGroup* PROTOBUF_NULLABLE unsafe_arena_release_roomgroup(); + + private: + const ::np2_structs::RoomGroup& _internal_roomgroup() const; + ::np2_structs::RoomGroup* PROTOBUF_NONNULL _internal_mutable_roomgroup(); + + public: + // .np2_structs.uint8 natType = 6; + bool has_nattype() const; + void clear_nattype() ; + const ::np2_structs::uint8& nattype() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_nattype(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_nattype(); + void set_allocated_nattype(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_nattype(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_nattype(); + + private: + const ::np2_structs::uint8& _internal_nattype() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_nattype(); + + public: + // uint64 joinDate = 2; + void clear_joindate() ; + ::uint64_t joindate() const; + void set_joindate(::uint64_t value); + + private: + ::uint64_t _internal_joindate() const; + void _internal_set_joindate(::uint64_t value); + + public: + // uint32 memberId = 3; + void clear_memberid() ; + ::uint32_t memberid() const; + void set_memberid(::uint32_t value); + + private: + ::uint32_t _internal_memberid() const; + void _internal_set_memberid(::uint32_t value); + + public: + // uint32 flagAttr = 7; + void clear_flagattr() ; + ::uint32_t flagattr() const; + void set_flagattr(::uint32_t value); + + private: + ::uint32_t _internal_flagattr() const; + void _internal_set_flagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomMemberDataInternal) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 8, + 5, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomMemberDataInternal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomMemberBinAttrInternal > roommemberbinattrinternal_; + ::np2_structs::UserInfo* PROTOBUF_NULLABLE userinfo_; + ::np2_structs::uint8* PROTOBUF_NULLABLE teamid_; + ::np2_structs::RoomGroup* PROTOBUF_NULLABLE roomgroup_; + ::np2_structs::uint8* PROTOBUF_NULLABLE nattype_; + ::uint64_t joindate_; + ::uint32_t memberid_; + ::uint32_t flagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataInternal_class_data_; +// ------------------------------------------------------------------- + +class MatchingSearchJoinRoomInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.MatchingSearchJoinRoomInfo) */ { + public: + inline MatchingSearchJoinRoomInfo() : MatchingSearchJoinRoomInfo(nullptr) {} + ~MatchingSearchJoinRoomInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MatchingSearchJoinRoomInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MatchingSearchJoinRoomInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MatchingSearchJoinRoomInfo(::google::protobuf::internal::ConstantInitialized); + + inline MatchingSearchJoinRoomInfo(const MatchingSearchJoinRoomInfo& from) : MatchingSearchJoinRoomInfo(nullptr, from) {} + inline MatchingSearchJoinRoomInfo(MatchingSearchJoinRoomInfo&& from) noexcept + : MatchingSearchJoinRoomInfo(nullptr, ::std::move(from)) {} + inline MatchingSearchJoinRoomInfo& operator=(const MatchingSearchJoinRoomInfo& from) { + CopyFrom(from); + return *this; + } + inline MatchingSearchJoinRoomInfo& operator=(MatchingSearchJoinRoomInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const MatchingSearchJoinRoomInfo& default_instance() { + return *reinterpret_cast( + &_MatchingSearchJoinRoomInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 87; + friend void swap(MatchingSearchJoinRoomInfo& a, MatchingSearchJoinRoomInfo& b) { a.Swap(&b); } + inline void Swap(MatchingSearchJoinRoomInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchingSearchJoinRoomInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchingSearchJoinRoomInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const MatchingSearchJoinRoomInfo& from); + void MergeFrom(const MatchingSearchJoinRoomInfo& from) { MatchingSearchJoinRoomInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MatchingSearchJoinRoomInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.MatchingSearchJoinRoomInfo"; } + + explicit MatchingSearchJoinRoomInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + MatchingSearchJoinRoomInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MatchingSearchJoinRoomInfo& from); + MatchingSearchJoinRoomInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MatchingSearchJoinRoomInfo&& from) noexcept + : MatchingSearchJoinRoomInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAttrFieldNumber = 2, + kRoomFieldNumber = 1, + }; + // repeated .np2_structs.MatchingAttr attr = 2; + int attr_size() const; + private: + int _internal_attr_size() const; + + public: + void clear_attr() ; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL mutable_attr(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL mutable_attr(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& _internal_attr() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL _internal_mutable_attr(); + public: + const ::np2_structs::MatchingAttr& attr(int index) const; + ::np2_structs::MatchingAttr* PROTOBUF_NONNULL add_attr(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& attr() const; + // .np2_structs.MatchingRoomStatus room = 1; + bool has_room() const; + void clear_room() ; + const ::np2_structs::MatchingRoomStatus& room() const; + [[nodiscard]] ::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE release_room(); + ::np2_structs::MatchingRoomStatus* PROTOBUF_NONNULL mutable_room(); + void set_allocated_room(::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_room(::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE value); + ::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE unsafe_arena_release_room(); + + private: + const ::np2_structs::MatchingRoomStatus& _internal_room() const; + ::np2_structs::MatchingRoomStatus* PROTOBUF_NONNULL _internal_mutable_room(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.MatchingSearchJoinRoomInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const MatchingSearchJoinRoomInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::MatchingAttr > attr_; + ::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE room_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> MatchingSearchJoinRoomInfo_class_data_; +// ------------------------------------------------------------------- + +class GetRoomDataExternalListResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetRoomDataExternalListResponse) */ { + public: + inline GetRoomDataExternalListResponse() : GetRoomDataExternalListResponse(nullptr) {} + ~GetRoomDataExternalListResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetRoomDataExternalListResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRoomDataExternalListResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetRoomDataExternalListResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetRoomDataExternalListResponse(const GetRoomDataExternalListResponse& from) : GetRoomDataExternalListResponse(nullptr, from) {} + inline GetRoomDataExternalListResponse(GetRoomDataExternalListResponse&& from) noexcept + : GetRoomDataExternalListResponse(nullptr, ::std::move(from)) {} + inline GetRoomDataExternalListResponse& operator=(const GetRoomDataExternalListResponse& from) { + CopyFrom(from); + return *this; + } + inline GetRoomDataExternalListResponse& operator=(GetRoomDataExternalListResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetRoomDataExternalListResponse& default_instance() { + return *reinterpret_cast( + &_GetRoomDataExternalListResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 27; + friend void swap(GetRoomDataExternalListResponse& a, GetRoomDataExternalListResponse& b) { a.Swap(&b); } + inline void Swap(GetRoomDataExternalListResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRoomDataExternalListResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRoomDataExternalListResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetRoomDataExternalListResponse& from); + void MergeFrom(const GetRoomDataExternalListResponse& from) { GetRoomDataExternalListResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetRoomDataExternalListResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetRoomDataExternalListResponse"; } + + explicit GetRoomDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRoomDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRoomDataExternalListResponse& from); + GetRoomDataExternalListResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRoomDataExternalListResponse&& from) noexcept + : GetRoomDataExternalListResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomsFieldNumber = 1, + }; + // repeated .np2_structs.RoomDataExternal rooms = 1; + int rooms_size() const; + private: + int _internal_rooms_size() const; + + public: + void clear_rooms() ; + ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL mutable_rooms(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL mutable_rooms(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& _internal_rooms() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL _internal_mutable_rooms(); + public: + const ::np2_structs::RoomDataExternal& rooms(int index) const; + ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL add_rooms(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& rooms() const; + // @@protoc_insertion_point(class_scope:np2_structs.GetRoomDataExternalListResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRoomDataExternalListResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomDataExternal > rooms_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<44> GetRoomDataExternalListResponse_class_data_; +// ------------------------------------------------------------------- + +class RoomMemberUpdateInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomMemberUpdateInfo) */ { + public: + inline RoomMemberUpdateInfo() : RoomMemberUpdateInfo(nullptr) {} + ~RoomMemberUpdateInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomMemberUpdateInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomMemberUpdateInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomMemberUpdateInfo(::google::protobuf::internal::ConstantInitialized); + + inline RoomMemberUpdateInfo(const RoomMemberUpdateInfo& from) : RoomMemberUpdateInfo(nullptr, from) {} + inline RoomMemberUpdateInfo(RoomMemberUpdateInfo&& from) noexcept + : RoomMemberUpdateInfo(nullptr, ::std::move(from)) {} + inline RoomMemberUpdateInfo& operator=(const RoomMemberUpdateInfo& from) { + CopyFrom(from); + return *this; + } + inline RoomMemberUpdateInfo& operator=(RoomMemberUpdateInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomMemberUpdateInfo& default_instance() { + return *reinterpret_cast( + &_RoomMemberUpdateInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 34; + friend void swap(RoomMemberUpdateInfo& a, RoomMemberUpdateInfo& b) { a.Swap(&b); } + inline void Swap(RoomMemberUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomMemberUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomMemberUpdateInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomMemberUpdateInfo& from); + void MergeFrom(const RoomMemberUpdateInfo& from) { RoomMemberUpdateInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomMemberUpdateInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomMemberUpdateInfo"; } + + explicit RoomMemberUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomMemberUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomMemberUpdateInfo& from); + RoomMemberUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomMemberUpdateInfo&& from) noexcept + : RoomMemberUpdateInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRoomMemberDataInternalFieldNumber = 1, + kEventCauseFieldNumber = 2, + kOptDataFieldNumber = 3, + }; + // .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1; + bool has_roommemberdatainternal() const; + void clear_roommemberdatainternal() ; + const ::np2_structs::RoomMemberDataInternal& roommemberdatainternal() const; + [[nodiscard]] ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE release_roommemberdatainternal(); + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL mutable_roommemberdatainternal(); + void set_allocated_roommemberdatainternal(::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_roommemberdatainternal(::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value); + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE unsafe_arena_release_roommemberdatainternal(); + + private: + const ::np2_structs::RoomMemberDataInternal& _internal_roommemberdatainternal() const; + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL _internal_mutable_roommemberdatainternal(); + + public: + // .np2_structs.uint8 eventCause = 2; + bool has_eventcause() const; + void clear_eventcause() ; + const ::np2_structs::uint8& eventcause() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_eventcause(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_eventcause(); + void set_allocated_eventcause(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_eventcause(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_eventcause(); + + private: + const ::np2_structs::uint8& _internal_eventcause() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_eventcause(); + + public: + // .np2_structs.PresenceOptionData optData = 3; + bool has_optdata() const; + void clear_optdata() ; + const ::np2_structs::PresenceOptionData& optdata() const; + [[nodiscard]] ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE release_optdata(); + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL mutable_optdata(); + void set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value); + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE unsafe_arena_release_optdata(); + + private: + const ::np2_structs::PresenceOptionData& _internal_optdata() const; + ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL _internal_mutable_optdata(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomMemberUpdateInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomMemberUpdateInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE roommemberdatainternal_; + ::np2_structs::uint8* PROTOBUF_NULLABLE eventcause_; + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE optdata_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<33> RoomMemberUpdateInfo_class_data_; +// ------------------------------------------------------------------- + +class RoomMemberDataInternalUpdateInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomMemberDataInternalUpdateInfo) */ { + public: + inline RoomMemberDataInternalUpdateInfo() : RoomMemberDataInternalUpdateInfo(nullptr) {} + ~RoomMemberDataInternalUpdateInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomMemberDataInternalUpdateInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomMemberDataInternalUpdateInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomMemberDataInternalUpdateInfo(::google::protobuf::internal::ConstantInitialized); + + inline RoomMemberDataInternalUpdateInfo(const RoomMemberDataInternalUpdateInfo& from) : RoomMemberDataInternalUpdateInfo(nullptr, from) {} + inline RoomMemberDataInternalUpdateInfo(RoomMemberDataInternalUpdateInfo&& from) noexcept + : RoomMemberDataInternalUpdateInfo(nullptr, ::std::move(from)) {} + inline RoomMemberDataInternalUpdateInfo& operator=(const RoomMemberDataInternalUpdateInfo& from) { + CopyFrom(from); + return *this; + } + inline RoomMemberDataInternalUpdateInfo& operator=(RoomMemberDataInternalUpdateInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomMemberDataInternalUpdateInfo& default_instance() { + return *reinterpret_cast( + &_RoomMemberDataInternalUpdateInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 38; + friend void swap(RoomMemberDataInternalUpdateInfo& a, RoomMemberDataInternalUpdateInfo& b) { a.Swap(&b); } + inline void Swap(RoomMemberDataInternalUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomMemberDataInternalUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomMemberDataInternalUpdateInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomMemberDataInternalUpdateInfo& from); + void MergeFrom(const RoomMemberDataInternalUpdateInfo& from) { RoomMemberDataInternalUpdateInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomMemberDataInternalUpdateInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomMemberDataInternalUpdateInfo"; } + + explicit RoomMemberDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomMemberDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomMemberDataInternalUpdateInfo& from); + RoomMemberDataInternalUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomMemberDataInternalUpdateInfo&& from) noexcept + : RoomMemberDataInternalUpdateInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNewRoomMemberBinAttrInternalFieldNumber = 4, + kNewRoomMemberDataInternalFieldNumber = 1, + kPrevTeamIdFieldNumber = 3, + kPrevFlagAttrFieldNumber = 2, + }; + // repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4; + int newroommemberbinattrinternal_size() const; + private: + int _internal_newroommemberbinattrinternal_size() const; + + public: + void clear_newroommemberbinattrinternal() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_newroommemberbinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_newroommemberbinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_newroommemberbinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_newroommemberbinattrinternal(); + public: + const ::np2_structs::uint16& newroommemberbinattrinternal(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_newroommemberbinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& newroommemberbinattrinternal() const; + // .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1; + bool has_newroommemberdatainternal() const; + void clear_newroommemberdatainternal() ; + const ::np2_structs::RoomMemberDataInternal& newroommemberdatainternal() const; + [[nodiscard]] ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE release_newroommemberdatainternal(); + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL mutable_newroommemberdatainternal(); + void set_allocated_newroommemberdatainternal(::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_newroommemberdatainternal(::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value); + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE unsafe_arena_release_newroommemberdatainternal(); + + private: + const ::np2_structs::RoomMemberDataInternal& _internal_newroommemberdatainternal() const; + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL _internal_mutable_newroommemberdatainternal(); + + public: + // .np2_structs.uint8 prevTeamId = 3; + bool has_prevteamid() const; + void clear_prevteamid() ; + const ::np2_structs::uint8& prevteamid() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_prevteamid(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_prevteamid(); + void set_allocated_prevteamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_prevteamid(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_prevteamid(); + + private: + const ::np2_structs::uint8& _internal_prevteamid() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_prevteamid(); + + public: + // uint32 prevFlagAttr = 2; + void clear_prevflagattr() ; + ::uint32_t prevflagattr() const; + void set_prevflagattr(::uint32_t value); + + private: + ::uint32_t _internal_prevflagattr() const; + void _internal_set_prevflagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomMemberDataInternalUpdateInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 4, + 3, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomMemberDataInternalUpdateInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > newroommemberbinattrinternal_; + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE newroommemberdatainternal_; + ::np2_structs::uint8* PROTOBUF_NULLABLE prevteamid_; + ::uint32_t prevflagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<45> RoomMemberDataInternalUpdateInfo_class_data_; +// ------------------------------------------------------------------- + +class RoomDataInternal final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomDataInternal) */ { + public: + inline RoomDataInternal() : RoomDataInternal(nullptr) {} + ~RoomDataInternal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomDataInternal* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomDataInternal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomDataInternal(::google::protobuf::internal::ConstantInitialized); + + inline RoomDataInternal(const RoomDataInternal& from) : RoomDataInternal(nullptr, from) {} + inline RoomDataInternal(RoomDataInternal&& from) noexcept + : RoomDataInternal(nullptr, ::std::move(from)) {} + inline RoomDataInternal& operator=(const RoomDataInternal& from) { + CopyFrom(from); + return *this; + } + inline RoomDataInternal& operator=(RoomDataInternal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomDataInternal& default_instance() { + return *reinterpret_cast( + &_RoomDataInternal_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(RoomDataInternal& a, RoomDataInternal& b) { a.Swap(&b); } + inline void Swap(RoomDataInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomDataInternal* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomDataInternal* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomDataInternal& from); + void MergeFrom(const RoomDataInternal& from) { RoomDataInternal::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomDataInternal* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomDataInternal"; } + + explicit RoomDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomDataInternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomDataInternal& from); + RoomDataInternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomDataInternal&& from) noexcept + : RoomDataInternal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMemberListFieldNumber = 7, + kRoomGroupFieldNumber = 9, + kRoomBinAttrInternalFieldNumber = 11, + kServerIdFieldNumber = 1, + kOwnerIdFieldNumber = 8, + kLobbyIdFieldNumber = 3, + kRoomIdFieldNumber = 4, + kWorldIdFieldNumber = 2, + kMaxSlotFieldNumber = 6, + kPasswordSlotMaskFieldNumber = 5, + kFlagAttrFieldNumber = 10, + }; + // repeated .np2_structs.RoomMemberDataInternal memberList = 7; + int memberlist_size() const; + private: + int _internal_memberlist_size() const; + + public: + void clear_memberlist() ; + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL mutable_memberlist(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>* PROTOBUF_NONNULL mutable_memberlist(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>& _internal_memberlist() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>* PROTOBUF_NONNULL _internal_mutable_memberlist(); + public: + const ::np2_structs::RoomMemberDataInternal& memberlist(int index) const; + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL add_memberlist(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>& memberlist() const; + // repeated .np2_structs.RoomGroup roomGroup = 9; + int roomgroup_size() const; + private: + int _internal_roomgroup_size() const; + + public: + void clear_roomgroup() ; + ::np2_structs::RoomGroup* PROTOBUF_NONNULL mutable_roomgroup(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL mutable_roomgroup(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& _internal_roomgroup() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL _internal_mutable_roomgroup(); + public: + const ::np2_structs::RoomGroup& roomgroup(int index) const; + ::np2_structs::RoomGroup* PROTOBUF_NONNULL add_roomgroup(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& roomgroup() const; + // repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11; + int roombinattrinternal_size() const; + private: + int _internal_roombinattrinternal_size() const; + + public: + void clear_roombinattrinternal() ; + ::np2_structs::BinAttrInternal* PROTOBUF_NONNULL mutable_roombinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>* PROTOBUF_NONNULL mutable_roombinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>& _internal_roombinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>* PROTOBUF_NONNULL _internal_mutable_roombinattrinternal(); + public: + const ::np2_structs::BinAttrInternal& roombinattrinternal(int index) const; + ::np2_structs::BinAttrInternal* PROTOBUF_NONNULL add_roombinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>& roombinattrinternal() const; + // .np2_structs.uint16 serverId = 1; + bool has_serverid() const; + void clear_serverid() ; + const ::np2_structs::uint16& serverid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_serverid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_serverid(); + void set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_serverid(); + + private: + const ::np2_structs::uint16& _internal_serverid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_serverid(); + + public: + // .np2_structs.uint16 ownerId = 8; + bool has_ownerid() const; + void clear_ownerid() ; + const ::np2_structs::uint16& ownerid() const; + [[nodiscard]] ::np2_structs::uint16* PROTOBUF_NULLABLE release_ownerid(); + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_ownerid(); + void set_allocated_ownerid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_ownerid(::np2_structs::uint16* PROTOBUF_NULLABLE value); + ::np2_structs::uint16* PROTOBUF_NULLABLE unsafe_arena_release_ownerid(); + + private: + const ::np2_structs::uint16& _internal_ownerid() const; + ::np2_structs::uint16* PROTOBUF_NONNULL _internal_mutable_ownerid(); + + public: + // uint64 lobbyId = 3; + void clear_lobbyid() ; + ::uint64_t lobbyid() const; + void set_lobbyid(::uint64_t value); + + private: + ::uint64_t _internal_lobbyid() const; + void _internal_set_lobbyid(::uint64_t value); + + public: + // uint64 roomId = 4; + void clear_roomid() ; + ::uint64_t roomid() const; + void set_roomid(::uint64_t value); + + private: + ::uint64_t _internal_roomid() const; + void _internal_set_roomid(::uint64_t value); + + public: + // uint32 worldId = 2; + void clear_worldid() ; + ::uint32_t worldid() const; + void set_worldid(::uint32_t value); + + private: + ::uint32_t _internal_worldid() const; + void _internal_set_worldid(::uint32_t value); + + public: + // uint32 maxSlot = 6; + void clear_maxslot() ; + ::uint32_t maxslot() const; + void set_maxslot(::uint32_t value); + + private: + ::uint32_t _internal_maxslot() const; + void _internal_set_maxslot(::uint32_t value); + + public: + // uint64 passwordSlotMask = 5; + void clear_passwordslotmask() ; + ::uint64_t passwordslotmask() const; + void set_passwordslotmask(::uint64_t value); + + private: + ::uint64_t _internal_passwordslotmask() const; + void _internal_set_passwordslotmask(::uint64_t value); + + public: + // uint32 flagAttr = 10; + void clear_flagattr() ; + ::uint32_t flagattr() const; + void set_flagattr(::uint32_t value); + + private: + ::uint32_t _internal_flagattr() const; + void _internal_set_flagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomDataInternal) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<4, 11, + 5, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomDataInternal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomMemberDataInternal > memberlist_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomGroup > roomgroup_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::BinAttrInternal > roombinattrinternal_; + ::np2_structs::uint16* PROTOBUF_NULLABLE serverid_; + ::np2_structs::uint16* PROTOBUF_NULLABLE ownerid_; + ::uint64_t lobbyid_; + ::uint64_t roomid_; + ::uint32_t worldid_; + ::uint32_t maxslot_; + ::uint64_t passwordslotmask_; + ::uint32_t flagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<29> RoomDataInternal_class_data_; +// ------------------------------------------------------------------- + +class RoomDataInternalUpdateInfo final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomDataInternalUpdateInfo) */ { + public: + inline RoomDataInternalUpdateInfo() : RoomDataInternalUpdateInfo(nullptr) {} + ~RoomDataInternalUpdateInfo() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomDataInternalUpdateInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomDataInternalUpdateInfo)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomDataInternalUpdateInfo(::google::protobuf::internal::ConstantInitialized); + + inline RoomDataInternalUpdateInfo(const RoomDataInternalUpdateInfo& from) : RoomDataInternalUpdateInfo(nullptr, from) {} + inline RoomDataInternalUpdateInfo(RoomDataInternalUpdateInfo&& from) noexcept + : RoomDataInternalUpdateInfo(nullptr, ::std::move(from)) {} + inline RoomDataInternalUpdateInfo& operator=(const RoomDataInternalUpdateInfo& from) { + CopyFrom(from); + return *this; + } + inline RoomDataInternalUpdateInfo& operator=(RoomDataInternalUpdateInfo&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomDataInternalUpdateInfo& default_instance() { + return *reinterpret_cast( + &_RoomDataInternalUpdateInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = 37; + friend void swap(RoomDataInternalUpdateInfo& a, RoomDataInternalUpdateInfo& b) { a.Swap(&b); } + inline void Swap(RoomDataInternalUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomDataInternalUpdateInfo* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomDataInternalUpdateInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomDataInternalUpdateInfo& from); + void MergeFrom(const RoomDataInternalUpdateInfo& from) { RoomDataInternalUpdateInfo::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomDataInternalUpdateInfo* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomDataInternalUpdateInfo"; } + + explicit RoomDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomDataInternalUpdateInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomDataInternalUpdateInfo& from); + RoomDataInternalUpdateInfo( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomDataInternalUpdateInfo&& from) noexcept + : RoomDataInternalUpdateInfo(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNewRoomBinAttrInternalFieldNumber = 5, + kNewRoomGroupFieldNumber = 4, + kNewRoomDataInternalFieldNumber = 1, + kPrevRoomPasswordSlotMaskFieldNumber = 3, + kPrevFlagAttrFieldNumber = 2, + }; + // repeated .np2_structs.uint16 newRoomBinAttrInternal = 5; + int newroombinattrinternal_size() const; + private: + int _internal_newroombinattrinternal_size() const; + + public: + void clear_newroombinattrinternal() ; + ::np2_structs::uint16* PROTOBUF_NONNULL mutable_newroombinattrinternal(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL mutable_newroombinattrinternal(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& _internal_newroombinattrinternal() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL _internal_mutable_newroombinattrinternal(); + public: + const ::np2_structs::uint16& newroombinattrinternal(int index) const; + ::np2_structs::uint16* PROTOBUF_NONNULL add_newroombinattrinternal(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& newroombinattrinternal() const; + // bytes newRoomGroup = 4; + void clear_newroomgroup() ; + const ::std::string& newroomgroup() const; + template + void set_newroomgroup(Arg_&& arg, Args_... args); + ::std::string* PROTOBUF_NONNULL mutable_newroomgroup(); + [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_newroomgroup(); + void set_allocated_newroomgroup(::std::string* PROTOBUF_NULLABLE value); + + private: + const ::std::string& _internal_newroomgroup() const; + PROTOBUF_ALWAYS_INLINE void _internal_set_newroomgroup(const ::std::string& value); + ::std::string* PROTOBUF_NONNULL _internal_mutable_newroomgroup(); + + public: + // .np2_structs.RoomDataInternal newRoomDataInternal = 1; + bool has_newroomdatainternal() const; + void clear_newroomdatainternal() ; + const ::np2_structs::RoomDataInternal& newroomdatainternal() const; + [[nodiscard]] ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE release_newroomdatainternal(); + ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL mutable_newroomdatainternal(); + void set_allocated_newroomdatainternal(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_newroomdatainternal(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value); + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE unsafe_arena_release_newroomdatainternal(); + + private: + const ::np2_structs::RoomDataInternal& _internal_newroomdatainternal() const; + ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL _internal_mutable_newroomdatainternal(); + + public: + // uint64 prevRoomPasswordSlotMask = 3; + void clear_prevroompasswordslotmask() ; + ::uint64_t prevroompasswordslotmask() const; + void set_prevroompasswordslotmask(::uint64_t value); + + private: + ::uint64_t _internal_prevroompasswordslotmask() const; + void _internal_set_prevroompasswordslotmask(::uint64_t value); + + public: + // uint32 prevFlagAttr = 2; + void clear_prevflagattr() ; + ::uint32_t prevflagattr() const; + void set_prevflagattr(::uint32_t value); + + private: + ::uint32_t _internal_prevflagattr() const; + void _internal_set_prevflagattr(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomDataInternalUpdateInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<3, 5, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomDataInternalUpdateInfo& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::uint16 > newroombinattrinternal_; + ::google::protobuf::internal::ArenaStringPtr newroomgroup_; + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE newroomdatainternal_; + ::uint64_t prevroompasswordslotmask_; + ::uint32_t prevflagattr_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> RoomDataInternalUpdateInfo_class_data_; +// ------------------------------------------------------------------- + +class NotificationUserJoinedRoom final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.NotificationUserJoinedRoom) */ { + public: + inline NotificationUserJoinedRoom() : NotificationUserJoinedRoom(nullptr) {} + ~NotificationUserJoinedRoom() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(NotificationUserJoinedRoom* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(NotificationUserJoinedRoom)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR NotificationUserJoinedRoom(::google::protobuf::internal::ConstantInitialized); + + inline NotificationUserJoinedRoom(const NotificationUserJoinedRoom& from) : NotificationUserJoinedRoom(nullptr, from) {} + inline NotificationUserJoinedRoom(NotificationUserJoinedRoom&& from) noexcept + : NotificationUserJoinedRoom(nullptr, ::std::move(from)) {} + inline NotificationUserJoinedRoom& operator=(const NotificationUserJoinedRoom& from) { + CopyFrom(from); + return *this; + } + inline NotificationUserJoinedRoom& operator=(NotificationUserJoinedRoom&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const NotificationUserJoinedRoom& default_instance() { + return *reinterpret_cast( + &_NotificationUserJoinedRoom_default_instance_); + } + static constexpr int kIndexInFileMessages = 35; + friend void swap(NotificationUserJoinedRoom& a, NotificationUserJoinedRoom& b) { a.Swap(&b); } + inline void Swap(NotificationUserJoinedRoom* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(NotificationUserJoinedRoom* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + NotificationUserJoinedRoom* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const NotificationUserJoinedRoom& from); + void MergeFrom(const NotificationUserJoinedRoom& from) { NotificationUserJoinedRoom::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(NotificationUserJoinedRoom* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.NotificationUserJoinedRoom"; } + + explicit NotificationUserJoinedRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + NotificationUserJoinedRoom(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const NotificationUserJoinedRoom& from); + NotificationUserJoinedRoom( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, NotificationUserJoinedRoom&& from) noexcept + : NotificationUserJoinedRoom(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUpdateInfoFieldNumber = 2, + kSignalingFieldNumber = 3, + kRoomIdFieldNumber = 1, + }; + // .np2_structs.RoomMemberUpdateInfo update_info = 2; + bool has_update_info() const; + void clear_update_info() ; + const ::np2_structs::RoomMemberUpdateInfo& update_info() const; + [[nodiscard]] ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE release_update_info(); + ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NONNULL mutable_update_info(); + void set_allocated_update_info(::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_update_info(::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE value); + ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE unsafe_arena_release_update_info(); + + private: + const ::np2_structs::RoomMemberUpdateInfo& _internal_update_info() const; + ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NONNULL _internal_mutable_update_info(); + + public: + // .np2_structs.SignalingAddr signaling = 3; + bool has_signaling() const; + void clear_signaling() ; + const ::np2_structs::SignalingAddr& signaling() const; + [[nodiscard]] ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE release_signaling(); + ::np2_structs::SignalingAddr* PROTOBUF_NONNULL mutable_signaling(); + void set_allocated_signaling(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_signaling(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value); + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE unsafe_arena_release_signaling(); + + private: + const ::np2_structs::SignalingAddr& _internal_signaling() const; + ::np2_structs::SignalingAddr* PROTOBUF_NONNULL _internal_mutable_signaling(); + + public: + // uint64 room_id = 1; + void clear_room_id() ; + ::uint64_t room_id() const; + void set_room_id(::uint64_t value); + + private: + ::uint64_t _internal_room_id() const; + void _internal_set_room_id(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.NotificationUserJoinedRoom) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const NotificationUserJoinedRoom& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE update_info_; + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE signaling_; + ::uint64_t room_id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<39> NotificationUserJoinedRoom_class_data_; +// ------------------------------------------------------------------- + +class JoinRoomResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.JoinRoomResponse) */ { + public: + inline JoinRoomResponse() : JoinRoomResponse(nullptr) {} + ~JoinRoomResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(JoinRoomResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(JoinRoomResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR JoinRoomResponse(::google::protobuf::internal::ConstantInitialized); + + inline JoinRoomResponse(const JoinRoomResponse& from) : JoinRoomResponse(nullptr, from) {} + inline JoinRoomResponse(JoinRoomResponse&& from) noexcept + : JoinRoomResponse(nullptr, ::std::move(from)) {} + inline JoinRoomResponse& operator=(const JoinRoomResponse& from) { + CopyFrom(from); + return *this; + } + inline JoinRoomResponse& operator=(JoinRoomResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const JoinRoomResponse& default_instance() { + return *reinterpret_cast( + &_JoinRoomResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 24; + friend void swap(JoinRoomResponse& a, JoinRoomResponse& b) { a.Swap(&b); } + inline void Swap(JoinRoomResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(JoinRoomResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + JoinRoomResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const JoinRoomResponse& from); + void MergeFrom(const JoinRoomResponse& from) { JoinRoomResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(JoinRoomResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.JoinRoomResponse"; } + + explicit JoinRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + JoinRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JoinRoomResponse& from); + JoinRoomResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JoinRoomResponse&& from) noexcept + : JoinRoomResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSignalingDataFieldNumber = 2, + kRoomDataFieldNumber = 1, + }; + // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; + int signaling_data_size() const; + private: + int _internal_signaling_data_size() const; + + public: + void clear_signaling_data() ; + ::np2_structs::Matching2SignalingInfo* PROTOBUF_NONNULL mutable_signaling_data(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>* PROTOBUF_NONNULL mutable_signaling_data(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>& _internal_signaling_data() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>* PROTOBUF_NONNULL _internal_mutable_signaling_data(); + public: + const ::np2_structs::Matching2SignalingInfo& signaling_data(int index) const; + ::np2_structs::Matching2SignalingInfo* PROTOBUF_NONNULL add_signaling_data(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>& signaling_data() const; + // .np2_structs.RoomDataInternal room_data = 1; + bool has_room_data() const; + void clear_room_data() ; + const ::np2_structs::RoomDataInternal& room_data() const; + [[nodiscard]] ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE release_room_data(); + ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL mutable_room_data(); + void set_allocated_room_data(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_room_data(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value); + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE unsafe_arena_release_room_data(); + + private: + const ::np2_structs::RoomDataInternal& _internal_room_data() const; + ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL _internal_mutable_room_data(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.JoinRoomResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const JoinRoomResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::Matching2SignalingInfo > signaling_data_; + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE room_data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<29> JoinRoomResponse_class_data_; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// uint8 + +// uint32 value = 1; +inline void uint8::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t uint8::value() const { + // @@protoc_insertion_point(field_get:np2_structs.uint8.value) + return _internal_value(); +} +inline void uint8::set_value(::uint32_t value) { + _internal_set_value(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.uint8.value) +} +inline ::uint32_t uint8::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; +} +inline void uint8::_internal_set_value(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; +} + +// ------------------------------------------------------------------- + +// uint16 + +// uint32 value = 1; +inline void uint16::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t uint16::value() const { + // @@protoc_insertion_point(field_get:np2_structs.uint16.value) + return _internal_value(); +} +inline void uint16::set_value(::uint32_t value) { + _internal_set_value(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.uint16.value) +} +inline ::uint32_t uint16::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; +} +inline void uint16::_internal_set_value(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; +} + +// ------------------------------------------------------------------- + +// SignalingAddr + +// bytes ip = 1; +inline void SignalingAddr::clear_ip() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ip_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& SignalingAddr::ip() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SignalingAddr.ip) + return _internal_ip(); +} +template +PROTOBUF_ALWAYS_INLINE void SignalingAddr::set_ip(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.ip_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SignalingAddr.ip) +} +inline ::std::string* PROTOBUF_NONNULL SignalingAddr::mutable_ip() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_ip(); + // @@protoc_insertion_point(field_mutable:np2_structs.SignalingAddr.ip) + return _s; +} +inline const ::std::string& SignalingAddr::_internal_ip() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ip_.Get(); +} +inline void SignalingAddr::_internal_set_ip(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ip_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SignalingAddr::_internal_mutable_ip() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.ip_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SignalingAddr::release_ip() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SignalingAddr.ip) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.ip_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.ip_.Set("", GetArena()); + } + return released; +} +inline void SignalingAddr::set_allocated_ip(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.ip_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ip_.IsDefault()) { + _impl_.ip_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SignalingAddr.ip) +} + +// .np2_structs.uint16 port = 2; +inline bool SignalingAddr::has_port() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.port_ != nullptr); + return value; +} +inline void SignalingAddr::clear_port() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.port_ != nullptr) _impl_.port_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint16& SignalingAddr::_internal_port() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.port_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& SignalingAddr::port() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SignalingAddr.port) + return _internal_port(); +} +inline void SignalingAddr::unsafe_arena_set_allocated_port( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.port_); + } + _impl_.port_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.SignalingAddr.port) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE SignalingAddr::release_port() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* released = _impl_.port_; + _impl_.port_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE SignalingAddr::unsafe_arena_release_port() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SignalingAddr.port) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* temp = _impl_.port_; + _impl_.port_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SignalingAddr::_internal_mutable_port() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.port_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.port_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.port_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SignalingAddr::mutable_port() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* _msg = _internal_mutable_port(); + // @@protoc_insertion_point(field_mutable:np2_structs.SignalingAddr.port) + return _msg; +} +inline void SignalingAddr::set_allocated_port(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.port_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.port_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.SignalingAddr.port) +} + +// ------------------------------------------------------------------- + +// MatchingSignalingInfo + +// string npid = 1; +inline void MatchingSignalingInfo::clear_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& MatchingSignalingInfo::npid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSignalingInfo.npid) + return _internal_npid(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingSignalingInfo::set_npid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.npid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingSignalingInfo.npid) +} +inline ::std::string* PROTOBUF_NONNULL MatchingSignalingInfo::mutable_npid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_npid(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingSignalingInfo.npid) + return _s; +} +inline const ::std::string& MatchingSignalingInfo::_internal_npid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npid_.Get(); +} +inline void MatchingSignalingInfo::_internal_set_npid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingSignalingInfo::_internal_mutable_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.npid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingSignalingInfo::release_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingSignalingInfo.npid) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.npid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.npid_.Set("", GetArena()); + } + return released; +} +inline void MatchingSignalingInfo::set_allocated_npid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.npid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.npid_.IsDefault()) { + _impl_.npid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingSignalingInfo.npid) +} + +// .np2_structs.SignalingAddr addr = 2; +inline bool MatchingSignalingInfo::has_addr() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.addr_ != nullptr); + return value; +} +inline void MatchingSignalingInfo::clear_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.addr_ != nullptr) _impl_.addr_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::SignalingAddr& MatchingSignalingInfo::_internal_addr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::SignalingAddr* p = _impl_.addr_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_SignalingAddr_default_instance_); +} +inline const ::np2_structs::SignalingAddr& MatchingSignalingInfo::addr() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSignalingInfo.addr) + return _internal_addr(); +} +inline void MatchingSignalingInfo::unsafe_arena_set_allocated_addr( + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.addr_); + } + _impl_.addr_ = reinterpret_cast<::np2_structs::SignalingAddr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.MatchingSignalingInfo.addr) +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE MatchingSignalingInfo::release_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* released = _impl_.addr_; + _impl_.addr_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE MatchingSignalingInfo::unsafe_arena_release_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingSignalingInfo.addr) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* temp = _impl_.addr_; + _impl_.addr_ = nullptr; + return temp; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NONNULL MatchingSignalingInfo::_internal_mutable_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.addr_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::SignalingAddr>(GetArena()); + _impl_.addr_ = reinterpret_cast<::np2_structs::SignalingAddr*>(p); + } + return _impl_.addr_; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NONNULL MatchingSignalingInfo::mutable_addr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* _msg = _internal_mutable_addr(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingSignalingInfo.addr) + return _msg; +} +inline void MatchingSignalingInfo::set_allocated_addr(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.addr_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.addr_ = reinterpret_cast<::np2_structs::SignalingAddr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingSignalingInfo.addr) +} + +// ------------------------------------------------------------------- + +// Matching2SignalingInfo + +// .np2_structs.uint16 member_id = 1; +inline bool Matching2SignalingInfo::has_member_id() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.member_id_ != nullptr); + return value; +} +inline void Matching2SignalingInfo::clear_member_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.member_id_ != nullptr) _impl_.member_id_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint16& Matching2SignalingInfo::_internal_member_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.member_id_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& Matching2SignalingInfo::member_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.Matching2SignalingInfo.member_id) + return _internal_member_id(); +} +inline void Matching2SignalingInfo::unsafe_arena_set_allocated_member_id( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.member_id_); + } + _impl_.member_id_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.Matching2SignalingInfo.member_id) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE Matching2SignalingInfo::release_member_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* released = _impl_.member_id_; + _impl_.member_id_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE Matching2SignalingInfo::unsafe_arena_release_member_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.Matching2SignalingInfo.member_id) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* temp = _impl_.member_id_; + _impl_.member_id_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL Matching2SignalingInfo::_internal_mutable_member_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.member_id_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.member_id_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.member_id_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL Matching2SignalingInfo::mutable_member_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* _msg = _internal_mutable_member_id(); + // @@protoc_insertion_point(field_mutable:np2_structs.Matching2SignalingInfo.member_id) + return _msg; +} +inline void Matching2SignalingInfo::set_allocated_member_id(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.member_id_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.member_id_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.Matching2SignalingInfo.member_id) +} + +// .np2_structs.SignalingAddr addr = 2; +inline bool Matching2SignalingInfo::has_addr() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.addr_ != nullptr); + return value; +} +inline void Matching2SignalingInfo::clear_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.addr_ != nullptr) _impl_.addr_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::SignalingAddr& Matching2SignalingInfo::_internal_addr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::SignalingAddr* p = _impl_.addr_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_SignalingAddr_default_instance_); +} +inline const ::np2_structs::SignalingAddr& Matching2SignalingInfo::addr() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.Matching2SignalingInfo.addr) + return _internal_addr(); +} +inline void Matching2SignalingInfo::unsafe_arena_set_allocated_addr( + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.addr_); + } + _impl_.addr_ = reinterpret_cast<::np2_structs::SignalingAddr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.Matching2SignalingInfo.addr) +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE Matching2SignalingInfo::release_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* released = _impl_.addr_; + _impl_.addr_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE Matching2SignalingInfo::unsafe_arena_release_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.Matching2SignalingInfo.addr) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* temp = _impl_.addr_; + _impl_.addr_ = nullptr; + return temp; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NONNULL Matching2SignalingInfo::_internal_mutable_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.addr_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::SignalingAddr>(GetArena()); + _impl_.addr_ = reinterpret_cast<::np2_structs::SignalingAddr*>(p); + } + return _impl_.addr_; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NONNULL Matching2SignalingInfo::mutable_addr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* _msg = _internal_mutable_addr(); + // @@protoc_insertion_point(field_mutable:np2_structs.Matching2SignalingInfo.addr) + return _msg; +} +inline void Matching2SignalingInfo::set_allocated_addr(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.addr_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.addr_ = reinterpret_cast<::np2_structs::SignalingAddr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.Matching2SignalingInfo.addr) +} + +// ------------------------------------------------------------------- + +// BinAttr + +// .np2_structs.uint16 id = 1; +inline bool BinAttr::has_id() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr); + return value; +} +inline void BinAttr::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.id_ != nullptr) _impl_.id_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint16& BinAttr::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.id_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& BinAttr::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.BinAttr.id) + return _internal_id(); +} +inline void BinAttr::unsafe_arena_set_allocated_id( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); + } + _impl_.id_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.BinAttr.id) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE BinAttr::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* released = _impl_.id_; + _impl_.id_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE BinAttr::unsafe_arena_release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.BinAttr.id) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* temp = _impl_.id_; + _impl_.id_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL BinAttr::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.id_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.id_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.id_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL BinAttr::mutable_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:np2_structs.BinAttr.id) + return _msg; +} +inline void BinAttr::set_allocated_id(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.id_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.BinAttr.id) +} + +// bytes data = 2; +inline void BinAttr::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& BinAttr::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.BinAttr.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void BinAttr::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.BinAttr.data) +} +inline ::std::string* PROTOBUF_NONNULL BinAttr::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.BinAttr.data) + return _s; +} +inline const ::std::string& BinAttr::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void BinAttr::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL BinAttr::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE BinAttr::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.BinAttr.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void BinAttr::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.BinAttr.data) +} + +// ------------------------------------------------------------------- + +// IntAttr + +// .np2_structs.uint16 id = 1; +inline bool IntAttr::has_id() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr); + return value; +} +inline void IntAttr::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.id_ != nullptr) _impl_.id_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint16& IntAttr::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.id_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& IntAttr::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.IntAttr.id) + return _internal_id(); +} +inline void IntAttr::unsafe_arena_set_allocated_id( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); + } + _impl_.id_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.IntAttr.id) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE IntAttr::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* released = _impl_.id_; + _impl_.id_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE IntAttr::unsafe_arena_release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.IntAttr.id) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* temp = _impl_.id_; + _impl_.id_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL IntAttr::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.id_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.id_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.id_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL IntAttr::mutable_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* _msg = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:np2_structs.IntAttr.id) + return _msg; +} +inline void IntAttr::set_allocated_id(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.id_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.IntAttr.id) +} + +// uint32 num = 2; +inline void IntAttr::clear_num() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t IntAttr::num() const { + // @@protoc_insertion_point(field_get:np2_structs.IntAttr.num) + return _internal_num(); +} +inline void IntAttr::set_num(::uint32_t value) { + _internal_set_num(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.IntAttr.num) +} +inline ::uint32_t IntAttr::_internal_num() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.num_; +} +inline void IntAttr::_internal_set_num(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_ = value; +} + +// ------------------------------------------------------------------- + +// RoomMemberBinAttrInternal + +// uint64 updateDate = 1; +inline void RoomMemberBinAttrInternal::clear_updatedate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.updatedate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint64_t RoomMemberBinAttrInternal::updatedate() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberBinAttrInternal.updateDate) + return _internal_updatedate(); +} +inline void RoomMemberBinAttrInternal::set_updatedate(::uint64_t value) { + _internal_set_updatedate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMemberBinAttrInternal.updateDate) +} +inline ::uint64_t RoomMemberBinAttrInternal::_internal_updatedate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.updatedate_; +} +inline void RoomMemberBinAttrInternal::_internal_set_updatedate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.updatedate_ = value; +} + +// .np2_structs.BinAttr data = 2; +inline bool RoomMemberBinAttrInternal::has_data() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline void RoomMemberBinAttrInternal::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::BinAttr& RoomMemberBinAttrInternal::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::BinAttr* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_BinAttr_default_instance_); +} +inline const ::np2_structs::BinAttr& RoomMemberBinAttrInternal::data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberBinAttrInternal.data) + return _internal_data(); +} +inline void RoomMemberBinAttrInternal::unsafe_arena_set_allocated_data( + ::np2_structs::BinAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_); + } + _impl_.data_ = reinterpret_cast<::np2_structs::BinAttr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberBinAttrInternal.data) +} +inline ::np2_structs::BinAttr* PROTOBUF_NULLABLE RoomMemberBinAttrInternal::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::BinAttr* released = _impl_.data_; + _impl_.data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::BinAttr* PROTOBUF_NULLABLE RoomMemberBinAttrInternal::unsafe_arena_release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberBinAttrInternal.data) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::BinAttr* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL RoomMemberBinAttrInternal::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::BinAttr>(GetArena()); + _impl_.data_ = reinterpret_cast<::np2_structs::BinAttr*>(p); + } + return _impl_.data_; +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL RoomMemberBinAttrInternal::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::BinAttr* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberBinAttrInternal.data) + return _msg; +} +inline void RoomMemberBinAttrInternal::set_allocated_data(::np2_structs::BinAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.data_ = reinterpret_cast<::np2_structs::BinAttr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberBinAttrInternal.data) +} + +// ------------------------------------------------------------------- + +// BinAttrInternal + +// uint64 updateDate = 1; +inline void BinAttrInternal::clear_updatedate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.updatedate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint64_t BinAttrInternal::updatedate() const { + // @@protoc_insertion_point(field_get:np2_structs.BinAttrInternal.updateDate) + return _internal_updatedate(); +} +inline void BinAttrInternal::set_updatedate(::uint64_t value) { + _internal_set_updatedate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.BinAttrInternal.updateDate) +} +inline ::uint64_t BinAttrInternal::_internal_updatedate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.updatedate_; +} +inline void BinAttrInternal::_internal_set_updatedate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.updatedate_ = value; +} + +// .np2_structs.uint16 updateMemberId = 2; +inline bool BinAttrInternal::has_updatememberid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.updatememberid_ != nullptr); + return value; +} +inline void BinAttrInternal::clear_updatememberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.updatememberid_ != nullptr) _impl_.updatememberid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint16& BinAttrInternal::_internal_updatememberid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.updatememberid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& BinAttrInternal::updatememberid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.BinAttrInternal.updateMemberId) + return _internal_updatememberid(); +} +inline void BinAttrInternal::unsafe_arena_set_allocated_updatememberid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.updatememberid_); + } + _impl_.updatememberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.BinAttrInternal.updateMemberId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE BinAttrInternal::release_updatememberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* released = _impl_.updatememberid_; + _impl_.updatememberid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE BinAttrInternal::unsafe_arena_release_updatememberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.BinAttrInternal.updateMemberId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* temp = _impl_.updatememberid_; + _impl_.updatememberid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL BinAttrInternal::_internal_mutable_updatememberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.updatememberid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.updatememberid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.updatememberid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL BinAttrInternal::mutable_updatememberid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* _msg = _internal_mutable_updatememberid(); + // @@protoc_insertion_point(field_mutable:np2_structs.BinAttrInternal.updateMemberId) + return _msg; +} +inline void BinAttrInternal::set_allocated_updatememberid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.updatememberid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.updatememberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.BinAttrInternal.updateMemberId) +} + +// .np2_structs.BinAttr data = 3; +inline bool BinAttrInternal::has_data() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); + return value; +} +inline void BinAttrInternal::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_ != nullptr) _impl_.data_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::BinAttr& BinAttrInternal::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::BinAttr* p = _impl_.data_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_BinAttr_default_instance_); +} +inline const ::np2_structs::BinAttr& BinAttrInternal::data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.BinAttrInternal.data) + return _internal_data(); +} +inline void BinAttrInternal::unsafe_arena_set_allocated_data( + ::np2_structs::BinAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_); + } + _impl_.data_ = reinterpret_cast<::np2_structs::BinAttr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.BinAttrInternal.data) +} +inline ::np2_structs::BinAttr* PROTOBUF_NULLABLE BinAttrInternal::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::BinAttr* released = _impl_.data_; + _impl_.data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::BinAttr* PROTOBUF_NULLABLE BinAttrInternal::unsafe_arena_release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.BinAttrInternal.data) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::BinAttr* temp = _impl_.data_; + _impl_.data_ = nullptr; + return temp; +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL BinAttrInternal::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.data_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::BinAttr>(GetArena()); + _impl_.data_ = reinterpret_cast<::np2_structs::BinAttr*>(p); + } + return _impl_.data_; +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL BinAttrInternal::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::BinAttr* _msg = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.BinAttrInternal.data) + return _msg; +} +inline void BinAttrInternal::set_allocated_data(::np2_structs::BinAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.data_ = reinterpret_cast<::np2_structs::BinAttr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.BinAttrInternal.data) +} + +// ------------------------------------------------------------------- + +// OptParam + +// .np2_structs.uint8 type = 1; +inline bool OptParam::has_type() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.type_ != nullptr); + return value; +} +inline void OptParam::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.type_ != nullptr) _impl_.type_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint8& OptParam::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.type_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& OptParam::type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.OptParam.type) + return _internal_type(); +} +inline void OptParam::unsafe_arena_set_allocated_type( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.type_); + } + _impl_.type_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.OptParam.type) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE OptParam::release_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* released = _impl_.type_; + _impl_.type_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE OptParam::unsafe_arena_release_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.OptParam.type) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* temp = _impl_.type_; + _impl_.type_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL OptParam::_internal_mutable_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.type_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.type_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.type_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL OptParam::mutable_type() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* _msg = _internal_mutable_type(); + // @@protoc_insertion_point(field_mutable:np2_structs.OptParam.type) + return _msg; +} +inline void OptParam::set_allocated_type(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.type_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.type_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.OptParam.type) +} + +// .np2_structs.uint8 flag = 2; +inline bool OptParam::has_flag() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.flag_ != nullptr); + return value; +} +inline void OptParam::clear_flag() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.flag_ != nullptr) _impl_.flag_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint8& OptParam::_internal_flag() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.flag_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& OptParam::flag() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.OptParam.flag) + return _internal_flag(); +} +inline void OptParam::unsafe_arena_set_allocated_flag( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.flag_); + } + _impl_.flag_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.OptParam.flag) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE OptParam::release_flag() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* released = _impl_.flag_; + _impl_.flag_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE OptParam::unsafe_arena_release_flag() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.OptParam.flag) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* temp = _impl_.flag_; + _impl_.flag_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL OptParam::_internal_mutable_flag() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.flag_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.flag_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.flag_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL OptParam::mutable_flag() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* _msg = _internal_mutable_flag(); + // @@protoc_insertion_point(field_mutable:np2_structs.OptParam.flag) + return _msg; +} +inline void OptParam::set_allocated_flag(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.flag_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.flag_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.OptParam.flag) +} + +// .np2_structs.uint16 hubMemberId = 3; +inline bool OptParam::has_hubmemberid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.hubmemberid_ != nullptr); + return value; +} +inline void OptParam::clear_hubmemberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.hubmemberid_ != nullptr) _impl_.hubmemberid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::uint16& OptParam::_internal_hubmemberid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.hubmemberid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& OptParam::hubmemberid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.OptParam.hubMemberId) + return _internal_hubmemberid(); +} +inline void OptParam::unsafe_arena_set_allocated_hubmemberid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.hubmemberid_); + } + _impl_.hubmemberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.OptParam.hubMemberId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE OptParam::release_hubmemberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint16* released = _impl_.hubmemberid_; + _impl_.hubmemberid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE OptParam::unsafe_arena_release_hubmemberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.OptParam.hubMemberId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint16* temp = _impl_.hubmemberid_; + _impl_.hubmemberid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL OptParam::_internal_mutable_hubmemberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.hubmemberid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.hubmemberid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.hubmemberid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL OptParam::mutable_hubmemberid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint16* _msg = _internal_mutable_hubmemberid(); + // @@protoc_insertion_point(field_mutable:np2_structs.OptParam.hubMemberId) + return _msg; +} +inline void OptParam::set_allocated_hubmemberid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.hubmemberid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.hubmemberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.OptParam.hubMemberId) +} + +// ------------------------------------------------------------------- + +// GroupConfig + +// uint32 slotNum = 1; +inline void GroupConfig::clear_slotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotnum_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t GroupConfig::slotnum() const { + // @@protoc_insertion_point(field_get:np2_structs.GroupConfig.slotNum) + return _internal_slotnum(); +} +inline void GroupConfig::set_slotnum(::uint32_t value) { + _internal_set_slotnum(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GroupConfig.slotNum) +} +inline ::uint32_t GroupConfig::_internal_slotnum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotnum_; +} +inline void GroupConfig::_internal_set_slotnum(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotnum_ = value; +} + +// bytes label = 2; +inline void GroupConfig::clear_label() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.label_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& GroupConfig::label() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GroupConfig.label) + return _internal_label(); +} +template +PROTOBUF_ALWAYS_INLINE void GroupConfig::set_label(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.label_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.GroupConfig.label) +} +inline ::std::string* PROTOBUF_NONNULL GroupConfig::mutable_label() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_label(); + // @@protoc_insertion_point(field_mutable:np2_structs.GroupConfig.label) + return _s; +} +inline const ::std::string& GroupConfig::_internal_label() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.label_.Get(); +} +inline void GroupConfig::_internal_set_label(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.label_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL GroupConfig::_internal_mutable_label() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.label_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE GroupConfig::release_label() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.GroupConfig.label) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.label_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.label_.Set("", GetArena()); + } + return released; +} +inline void GroupConfig::set_allocated_label(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.label_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.label_.IsDefault()) { + _impl_.label_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.GroupConfig.label) +} + +// bool withPassword = 3; +inline void GroupConfig::clear_withpassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withpassword_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline bool GroupConfig::withpassword() const { + // @@protoc_insertion_point(field_get:np2_structs.GroupConfig.withPassword) + return _internal_withpassword(); +} +inline void GroupConfig::set_withpassword(bool value) { + _internal_set_withpassword(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GroupConfig.withPassword) +} +inline bool GroupConfig::_internal_withpassword() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withpassword_; +} +inline void GroupConfig::_internal_set_withpassword(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withpassword_ = value; +} + +// ------------------------------------------------------------------- + +// UserInfo + +// string npId = 1; +inline void UserInfo::clear_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& UserInfo::npid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.UserInfo.npId) + return _internal_npid(); +} +template +PROTOBUF_ALWAYS_INLINE void UserInfo::set_npid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.npid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.UserInfo.npId) +} +inline ::std::string* PROTOBUF_NONNULL UserInfo::mutable_npid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_npid(); + // @@protoc_insertion_point(field_mutable:np2_structs.UserInfo.npId) + return _s; +} +inline const ::std::string& UserInfo::_internal_npid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npid_.Get(); +} +inline void UserInfo::_internal_set_npid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL UserInfo::_internal_mutable_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.npid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE UserInfo::release_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.UserInfo.npId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.npid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.npid_.Set("", GetArena()); + } + return released; +} +inline void UserInfo::set_allocated_npid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.npid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.npid_.IsDefault()) { + _impl_.npid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.UserInfo.npId) +} + +// string onlineName = 2; +inline void UserInfo::clear_onlinename() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.onlinename_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& UserInfo::onlinename() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.UserInfo.onlineName) + return _internal_onlinename(); +} +template +PROTOBUF_ALWAYS_INLINE void UserInfo::set_onlinename(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.onlinename_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.UserInfo.onlineName) +} +inline ::std::string* PROTOBUF_NONNULL UserInfo::mutable_onlinename() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_onlinename(); + // @@protoc_insertion_point(field_mutable:np2_structs.UserInfo.onlineName) + return _s; +} +inline const ::std::string& UserInfo::_internal_onlinename() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.onlinename_.Get(); +} +inline void UserInfo::_internal_set_onlinename(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.onlinename_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL UserInfo::_internal_mutable_onlinename() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.onlinename_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE UserInfo::release_onlinename() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.UserInfo.onlineName) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.onlinename_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.onlinename_.Set("", GetArena()); + } + return released; +} +inline void UserInfo::set_allocated_onlinename(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.onlinename_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.onlinename_.IsDefault()) { + _impl_.onlinename_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.UserInfo.onlineName) +} + +// string avatarUrl = 3; +inline void UserInfo::clear_avatarurl() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.avatarurl_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& UserInfo::avatarurl() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.UserInfo.avatarUrl) + return _internal_avatarurl(); +} +template +PROTOBUF_ALWAYS_INLINE void UserInfo::set_avatarurl(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.avatarurl_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.UserInfo.avatarUrl) +} +inline ::std::string* PROTOBUF_NONNULL UserInfo::mutable_avatarurl() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_avatarurl(); + // @@protoc_insertion_point(field_mutable:np2_structs.UserInfo.avatarUrl) + return _s; +} +inline const ::std::string& UserInfo::_internal_avatarurl() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.avatarurl_.Get(); +} +inline void UserInfo::_internal_set_avatarurl(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.avatarurl_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL UserInfo::_internal_mutable_avatarurl() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.avatarurl_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE UserInfo::release_avatarurl() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.UserInfo.avatarUrl) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.avatarurl_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.avatarurl_.Set("", GetArena()); + } + return released; +} +inline void UserInfo::set_allocated_avatarurl(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.avatarurl_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.avatarurl_.IsDefault()) { + _impl_.avatarurl_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.UserInfo.avatarUrl) +} + +// ------------------------------------------------------------------- + +// RoomMemberDataInternal + +// .np2_structs.UserInfo userInfo = 1; +inline bool RoomMemberDataInternal::has_userinfo() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.userinfo_ != nullptr); + return value; +} +inline void RoomMemberDataInternal::clear_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.userinfo_ != nullptr) _impl_.userinfo_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::UserInfo& RoomMemberDataInternal::_internal_userinfo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::UserInfo* p = _impl_.userinfo_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_UserInfo_default_instance_); +} +inline const ::np2_structs::UserInfo& RoomMemberDataInternal::userinfo() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.userInfo) + return _internal_userinfo(); +} +inline void RoomMemberDataInternal::unsafe_arena_set_allocated_userinfo( + ::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.userinfo_); + } + _impl_.userinfo_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataInternal.userInfo) +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomMemberDataInternal::release_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::UserInfo* released = _impl_.userinfo_; + _impl_.userinfo_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomMemberDataInternal::unsafe_arena_release_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataInternal.userInfo) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::UserInfo* temp = _impl_.userinfo_; + _impl_.userinfo_ = nullptr; + return temp; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomMemberDataInternal::_internal_mutable_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.userinfo_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::UserInfo>(GetArena()); + _impl_.userinfo_ = reinterpret_cast<::np2_structs::UserInfo*>(p); + } + return _impl_.userinfo_; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomMemberDataInternal::mutable_userinfo() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::UserInfo* _msg = _internal_mutable_userinfo(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternal.userInfo) + return _msg; +} +inline void RoomMemberDataInternal::set_allocated_userinfo(::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.userinfo_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.userinfo_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataInternal.userInfo) +} + +// uint64 joinDate = 2; +inline void RoomMemberDataInternal::clear_joindate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joindate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::uint64_t RoomMemberDataInternal::joindate() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.joinDate) + return _internal_joindate(); +} +inline void RoomMemberDataInternal::set_joindate(::uint64_t value) { + _internal_set_joindate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMemberDataInternal.joinDate) +} +inline ::uint64_t RoomMemberDataInternal::_internal_joindate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.joindate_; +} +inline void RoomMemberDataInternal::_internal_set_joindate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joindate_ = value; +} + +// uint32 memberId = 3; +inline void RoomMemberDataInternal::clear_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.memberid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::uint32_t RoomMemberDataInternal::memberid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.memberId) + return _internal_memberid(); +} +inline void RoomMemberDataInternal::set_memberid(::uint32_t value) { + _internal_set_memberid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMemberDataInternal.memberId) +} +inline ::uint32_t RoomMemberDataInternal::_internal_memberid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.memberid_; +} +inline void RoomMemberDataInternal::_internal_set_memberid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.memberid_ = value; +} + +// .np2_structs.uint8 teamId = 4; +inline bool RoomMemberDataInternal::has_teamid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.teamid_ != nullptr); + return value; +} +inline void RoomMemberDataInternal::clear_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ != nullptr) _impl_.teamid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::uint8& RoomMemberDataInternal::_internal_teamid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.teamid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomMemberDataInternal::teamid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.teamId) + return _internal_teamid(); +} +inline void RoomMemberDataInternal::unsafe_arena_set_allocated_teamid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataInternal.teamId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataInternal::release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* released = _impl_.teamid_; + _impl_.teamid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataInternal::unsafe_arena_release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataInternal.teamId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* temp = _impl_.teamid_; + _impl_.teamid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataInternal::_internal_mutable_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.teamid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataInternal::mutable_teamid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* _msg = _internal_mutable_teamid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternal.teamId) + return _msg; +} +inline void RoomMemberDataInternal::set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataInternal.teamId) +} + +// .np2_structs.RoomGroup roomGroup = 5; +inline bool RoomMemberDataInternal::has_roomgroup() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U); + PROTOBUF_ASSUME(!value || _impl_.roomgroup_ != nullptr); + return value; +} +inline void RoomMemberDataInternal::clear_roomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.roomgroup_ != nullptr) _impl_.roomgroup_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::np2_structs::RoomGroup& RoomMemberDataInternal::_internal_roomgroup() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomGroup* p = _impl_.roomgroup_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomGroup_default_instance_); +} +inline const ::np2_structs::RoomGroup& RoomMemberDataInternal::roomgroup() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.roomGroup) + return _internal_roomgroup(); +} +inline void RoomMemberDataInternal::unsafe_arena_set_allocated_roomgroup( + ::np2_structs::RoomGroup* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.roomgroup_); + } + _impl_.roomgroup_ = reinterpret_cast<::np2_structs::RoomGroup*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataInternal.roomGroup) +} +inline ::np2_structs::RoomGroup* PROTOBUF_NULLABLE RoomMemberDataInternal::release_roomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::RoomGroup* released = _impl_.roomgroup_; + _impl_.roomgroup_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomGroup* PROTOBUF_NULLABLE RoomMemberDataInternal::unsafe_arena_release_roomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataInternal.roomGroup) + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::RoomGroup* temp = _impl_.roomgroup_; + _impl_.roomgroup_ = nullptr; + return temp; +} +inline ::np2_structs::RoomGroup* PROTOBUF_NONNULL RoomMemberDataInternal::_internal_mutable_roomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.roomgroup_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomGroup>(GetArena()); + _impl_.roomgroup_ = reinterpret_cast<::np2_structs::RoomGroup*>(p); + } + return _impl_.roomgroup_; +} +inline ::np2_structs::RoomGroup* PROTOBUF_NONNULL RoomMemberDataInternal::mutable_roomgroup() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::RoomGroup* _msg = _internal_mutable_roomgroup(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternal.roomGroup) + return _msg; +} +inline void RoomMemberDataInternal::set_allocated_roomgroup(::np2_structs::RoomGroup* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.roomgroup_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + + _impl_.roomgroup_ = reinterpret_cast<::np2_structs::RoomGroup*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataInternal.roomGroup) +} + +// .np2_structs.uint8 natType = 6; +inline bool RoomMemberDataInternal::has_nattype() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U); + PROTOBUF_ASSUME(!value || _impl_.nattype_ != nullptr); + return value; +} +inline void RoomMemberDataInternal::clear_nattype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.nattype_ != nullptr) _impl_.nattype_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline const ::np2_structs::uint8& RoomMemberDataInternal::_internal_nattype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.nattype_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomMemberDataInternal::nattype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.natType) + return _internal_nattype(); +} +inline void RoomMemberDataInternal::unsafe_arena_set_allocated_nattype( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.nattype_); + } + _impl_.nattype_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataInternal.natType) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataInternal::release_nattype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint8* released = _impl_.nattype_; + _impl_.nattype_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataInternal::unsafe_arena_release_nattype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataInternal.natType) + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint8* temp = _impl_.nattype_; + _impl_.nattype_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataInternal::_internal_mutable_nattype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.nattype_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.nattype_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.nattype_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataInternal::mutable_nattype() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint8* _msg = _internal_mutable_nattype(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternal.natType) + return _msg; +} +inline void RoomMemberDataInternal::set_allocated_nattype(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.nattype_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + + _impl_.nattype_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataInternal.natType) +} + +// uint32 flagAttr = 7; +inline void RoomMemberDataInternal::clear_flagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000080U); +} +inline ::uint32_t RoomMemberDataInternal::flagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.flagAttr) + return _internal_flagattr(); +} +inline void RoomMemberDataInternal::set_flagattr(::uint32_t value) { + _internal_set_flagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMemberDataInternal.flagAttr) +} +inline ::uint32_t RoomMemberDataInternal::_internal_flagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagattr_; +} +inline void RoomMemberDataInternal::_internal_set_flagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = value; +} + +// repeated .np2_structs.RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; +inline int RoomMemberDataInternal::_internal_roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal().size(); +} +inline int RoomMemberDataInternal::roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal_size(); +} +inline void RoomMemberDataInternal::clear_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roommemberbinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::RoomMemberBinAttrInternal* PROTOBUF_NONNULL RoomMemberDataInternal::mutable_roommemberbinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternal.roomMemberBinAttrInternal) + return _internal_mutable_roommemberbinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>* PROTOBUF_NONNULL RoomMemberDataInternal::mutable_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomMemberDataInternal.roomMemberBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roommemberbinattrinternal(); +} +inline const ::np2_structs::RoomMemberBinAttrInternal& RoomMemberDataInternal::roommemberbinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternal.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal().Get(index); +} +inline ::np2_structs::RoomMemberBinAttrInternal* PROTOBUF_NONNULL RoomMemberDataInternal::add_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomMemberBinAttrInternal* _add = + _internal_mutable_roommemberbinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.RoomMemberDataInternal.roomMemberBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>& RoomMemberDataInternal::roommemberbinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomMemberDataInternal.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>& +RoomMemberDataInternal::_internal_roommemberbinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roommemberbinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberBinAttrInternal>* PROTOBUF_NONNULL +RoomMemberDataInternal::_internal_mutable_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roommemberbinattrinternal_; +} + +// ------------------------------------------------------------------- + +// RoomGroup + +// .np2_structs.uint8 groupId = 1; +inline bool RoomGroup::has_groupid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.groupid_ != nullptr); + return value; +} +inline void RoomGroup::clear_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.groupid_ != nullptr) _impl_.groupid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint8& RoomGroup::_internal_groupid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.groupid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomGroup::groupid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroup.groupId) + return _internal_groupid(); +} +inline void RoomGroup::unsafe_arena_set_allocated_groupid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.groupid_); + } + _impl_.groupid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomGroup.groupId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomGroup::release_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* released = _impl_.groupid_; + _impl_.groupid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomGroup::unsafe_arena_release_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomGroup.groupId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* temp = _impl_.groupid_; + _impl_.groupid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomGroup::_internal_mutable_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.groupid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.groupid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.groupid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomGroup::mutable_groupid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* _msg = _internal_mutable_groupid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomGroup.groupId) + return _msg; +} +inline void RoomGroup::set_allocated_groupid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.groupid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.groupid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomGroup.groupId) +} + +// bool withPassword = 2; +inline void RoomGroup::clear_withpassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withpassword_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline bool RoomGroup::withpassword() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroup.withPassword) + return _internal_withpassword(); +} +inline void RoomGroup::set_withpassword(bool value) { + _internal_set_withpassword(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.RoomGroup.withPassword) +} +inline bool RoomGroup::_internal_withpassword() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withpassword_; +} +inline void RoomGroup::_internal_set_withpassword(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withpassword_ = value; +} + +// bytes label = 3; +inline void RoomGroup::clear_label() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.label_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& RoomGroup::label() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroup.label) + return _internal_label(); +} +template +PROTOBUF_ALWAYS_INLINE void RoomGroup::set_label(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.label_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.RoomGroup.label) +} +inline ::std::string* PROTOBUF_NONNULL RoomGroup::mutable_label() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_label(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomGroup.label) + return _s; +} +inline const ::std::string& RoomGroup::_internal_label() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.label_.Get(); +} +inline void RoomGroup::_internal_set_label(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.label_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL RoomGroup::_internal_mutable_label() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.label_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE RoomGroup::release_label() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomGroup.label) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.label_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.label_.Set("", GetArena()); + } + return released; +} +inline void RoomGroup::set_allocated_label(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.label_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.label_.IsDefault()) { + _impl_.label_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomGroup.label) +} + +// uint32 slotNum = 4; +inline void RoomGroup::clear_slotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotnum_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t RoomGroup::slotnum() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroup.slotNum) + return _internal_slotnum(); +} +inline void RoomGroup::set_slotnum(::uint32_t value) { + _internal_set_slotnum(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.RoomGroup.slotNum) +} +inline ::uint32_t RoomGroup::_internal_slotnum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotnum_; +} +inline void RoomGroup::_internal_set_slotnum(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotnum_ = value; +} + +// uint32 curGroupMemberNum = 5; +inline void RoomGroup::clear_curgroupmembernum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.curgroupmembernum_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint32_t RoomGroup::curgroupmembernum() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroup.curGroupMemberNum) + return _internal_curgroupmembernum(); +} +inline void RoomGroup::set_curgroupmembernum(::uint32_t value) { + _internal_set_curgroupmembernum(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.RoomGroup.curGroupMemberNum) +} +inline ::uint32_t RoomGroup::_internal_curgroupmembernum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.curgroupmembernum_; +} +inline void RoomGroup::_internal_set_curgroupmembernum(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.curgroupmembernum_ = value; +} + +// ------------------------------------------------------------------- + +// RoomDataInternal + +// .np2_structs.uint16 serverId = 1; +inline bool RoomDataInternal::has_serverid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U); + PROTOBUF_ASSUME(!value || _impl_.serverid_ != nullptr); + return value; +} +inline void RoomDataInternal::clear_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ != nullptr) _impl_.serverid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::np2_structs::uint16& RoomDataInternal::_internal_serverid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.serverid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataInternal::serverid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.serverId) + return _internal_serverid(); +} +inline void RoomDataInternal::unsafe_arena_set_allocated_serverid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataInternal.serverId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataInternal::release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::uint16* released = _impl_.serverid_; + _impl_.serverid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataInternal::unsafe_arena_release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataInternal.serverId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::uint16* temp = _impl_.serverid_; + _impl_.serverid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataInternal::_internal_mutable_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.serverid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataInternal::mutable_serverid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::uint16* _msg = _internal_mutable_serverid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternal.serverId) + return _msg; +} +inline void RoomDataInternal::set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataInternal.serverId) +} + +// uint32 worldId = 2; +inline void RoomDataInternal::clear_worldid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000080U); +} +inline ::uint32_t RoomDataInternal::worldid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.worldId) + return _internal_worldid(); +} +inline void RoomDataInternal::set_worldid(::uint32_t value) { + _internal_set_worldid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternal.worldId) +} +inline ::uint32_t RoomDataInternal::_internal_worldid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.worldid_; +} +inline void RoomDataInternal::_internal_set_worldid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = value; +} + +// uint64 lobbyId = 3; +inline void RoomDataInternal::clear_lobbyid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::uint64_t RoomDataInternal::lobbyid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.lobbyId) + return _internal_lobbyid(); +} +inline void RoomDataInternal::set_lobbyid(::uint64_t value) { + _internal_set_lobbyid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternal.lobbyId) +} +inline ::uint64_t RoomDataInternal::_internal_lobbyid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lobbyid_; +} +inline void RoomDataInternal::_internal_set_lobbyid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = value; +} + +// uint64 roomId = 4; +inline void RoomDataInternal::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::uint64_t RoomDataInternal::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.roomId) + return _internal_roomid(); +} +inline void RoomDataInternal::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternal.roomId) +} +inline ::uint64_t RoomDataInternal::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void RoomDataInternal::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// uint64 passwordSlotMask = 5; +inline void RoomDataInternal::clear_passwordslotmask() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000200U); +} +inline ::uint64_t RoomDataInternal::passwordslotmask() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.passwordSlotMask) + return _internal_passwordslotmask(); +} +inline void RoomDataInternal::set_passwordslotmask(::uint64_t value) { + _internal_set_passwordslotmask(value); + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternal.passwordSlotMask) +} +inline ::uint64_t RoomDataInternal::_internal_passwordslotmask() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.passwordslotmask_; +} +inline void RoomDataInternal::_internal_set_passwordslotmask(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_ = value; +} + +// uint32 maxSlot = 6; +inline void RoomDataInternal::clear_maxslot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.maxslot_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000100U); +} +inline ::uint32_t RoomDataInternal::maxslot() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.maxSlot) + return _internal_maxslot(); +} +inline void RoomDataInternal::set_maxslot(::uint32_t value) { + _internal_set_maxslot(value); + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternal.maxSlot) +} +inline ::uint32_t RoomDataInternal::_internal_maxslot() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.maxslot_; +} +inline void RoomDataInternal::_internal_set_maxslot(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.maxslot_ = value; +} + +// repeated .np2_structs.RoomMemberDataInternal memberList = 7; +inline int RoomDataInternal::_internal_memberlist_size() const { + return _internal_memberlist().size(); +} +inline int RoomDataInternal::memberlist_size() const { + return _internal_memberlist_size(); +} +inline void RoomDataInternal::clear_memberlist() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.memberlist_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL RoomDataInternal::mutable_memberlist(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternal.memberList) + return _internal_mutable_memberlist()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>* PROTOBUF_NONNULL RoomDataInternal::mutable_memberlist() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataInternal.memberList) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_memberlist(); +} +inline const ::np2_structs::RoomMemberDataInternal& RoomDataInternal::memberlist(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.memberList) + return _internal_memberlist().Get(index); +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL RoomDataInternal::add_memberlist() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomMemberDataInternal* _add = + _internal_mutable_memberlist()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataInternal.memberList) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>& RoomDataInternal::memberlist() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataInternal.memberList) + return _internal_memberlist(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>& +RoomDataInternal::_internal_memberlist() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.memberlist_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataInternal>* PROTOBUF_NONNULL +RoomDataInternal::_internal_mutable_memberlist() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.memberlist_; +} + +// .np2_structs.uint16 ownerId = 8; +inline bool RoomDataInternal::has_ownerid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U); + PROTOBUF_ASSUME(!value || _impl_.ownerid_ != nullptr); + return value; +} +inline void RoomDataInternal::clear_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ownerid_ != nullptr) _impl_.ownerid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline const ::np2_structs::uint16& RoomDataInternal::_internal_ownerid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.ownerid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataInternal::ownerid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.ownerId) + return _internal_ownerid(); +} +inline void RoomDataInternal::unsafe_arena_set_allocated_ownerid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ownerid_); + } + _impl_.ownerid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataInternal.ownerId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataInternal::release_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* released = _impl_.ownerid_; + _impl_.ownerid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataInternal::unsafe_arena_release_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataInternal.ownerId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* temp = _impl_.ownerid_; + _impl_.ownerid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataInternal::_internal_mutable_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ownerid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.ownerid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.ownerid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataInternal::mutable_ownerid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* _msg = _internal_mutable_ownerid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternal.ownerId) + return _msg; +} +inline void RoomDataInternal::set_allocated_ownerid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ownerid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + + _impl_.ownerid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataInternal.ownerId) +} + +// repeated .np2_structs.RoomGroup roomGroup = 9; +inline int RoomDataInternal::_internal_roomgroup_size() const { + return _internal_roomgroup().size(); +} +inline int RoomDataInternal::roomgroup_size() const { + return _internal_roomgroup_size(); +} +inline void RoomDataInternal::clear_roomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomgroup_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::RoomGroup* PROTOBUF_NONNULL RoomDataInternal::mutable_roomgroup(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternal.roomGroup) + return _internal_mutable_roomgroup()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL RoomDataInternal::mutable_roomgroup() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataInternal.roomGroup) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomgroup(); +} +inline const ::np2_structs::RoomGroup& RoomDataInternal::roomgroup(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.roomGroup) + return _internal_roomgroup().Get(index); +} +inline ::np2_structs::RoomGroup* PROTOBUF_NONNULL RoomDataInternal::add_roomgroup() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomGroup* _add = + _internal_mutable_roomgroup()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataInternal.roomGroup) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& RoomDataInternal::roomgroup() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataInternal.roomGroup) + return _internal_roomgroup(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& +RoomDataInternal::_internal_roomgroup() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomgroup_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL +RoomDataInternal::_internal_mutable_roomgroup() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomgroup_; +} + +// uint32 flagAttr = 10; +inline void RoomDataInternal::clear_flagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000400U); +} +inline ::uint32_t RoomDataInternal::flagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.flagAttr) + return _internal_flagattr(); +} +inline void RoomDataInternal::set_flagattr(::uint32_t value) { + _internal_set_flagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternal.flagAttr) +} +inline ::uint32_t RoomDataInternal::_internal_flagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagattr_; +} +inline void RoomDataInternal::_internal_set_flagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = value; +} + +// repeated .np2_structs.BinAttrInternal roomBinAttrInternal = 11; +inline int RoomDataInternal::_internal_roombinattrinternal_size() const { + return _internal_roombinattrinternal().size(); +} +inline int RoomDataInternal::roombinattrinternal_size() const { + return _internal_roombinattrinternal_size(); +} +inline void RoomDataInternal::clear_roombinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roombinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::np2_structs::BinAttrInternal* PROTOBUF_NONNULL RoomDataInternal::mutable_roombinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternal.roomBinAttrInternal) + return _internal_mutable_roombinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>* PROTOBUF_NONNULL RoomDataInternal::mutable_roombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataInternal.roomBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roombinattrinternal(); +} +inline const ::np2_structs::BinAttrInternal& RoomDataInternal::roombinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternal.roomBinAttrInternal) + return _internal_roombinattrinternal().Get(index); +} +inline ::np2_structs::BinAttrInternal* PROTOBUF_NONNULL RoomDataInternal::add_roombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttrInternal* _add = + _internal_mutable_roombinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataInternal.roomBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>& RoomDataInternal::roombinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataInternal.roomBinAttrInternal) + return _internal_roombinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>& +RoomDataInternal::_internal_roombinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roombinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttrInternal>* PROTOBUF_NONNULL +RoomDataInternal::_internal_mutable_roombinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roombinattrinternal_; +} + +// ------------------------------------------------------------------- + +// RoomDataExternal + +// .np2_structs.uint16 serverId = 1; +inline bool RoomDataExternal::has_serverid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U); + PROTOBUF_ASSUME(!value || _impl_.serverid_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ != nullptr) _impl_.serverid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_serverid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.serverid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::serverid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.serverId) + return _internal_serverid(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_serverid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.serverId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* released = _impl_.serverid_; + _impl_.serverid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.serverId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* temp = _impl_.serverid_; + _impl_.serverid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.serverid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_serverid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* _msg = _internal_mutable_serverid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.serverId) + return _msg; +} +inline void RoomDataExternal::set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.serverId) +} + +// uint32 worldId = 2; +inline void RoomDataExternal::clear_worldid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00004000U); +} +inline ::uint32_t RoomDataExternal::worldid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.worldId) + return _internal_worldid(); +} +inline void RoomDataExternal::set_worldid(::uint32_t value) { + _internal_set_worldid(value); + SetHasBit(_impl_._has_bits_[0], 0x00004000U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataExternal.worldId) +} +inline ::uint32_t RoomDataExternal::_internal_worldid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.worldid_; +} +inline void RoomDataExternal::_internal_set_worldid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = value; +} + +// .np2_structs.uint16 publicSlotNum = 3; +inline bool RoomDataExternal::has_publicslotnum() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U); + PROTOBUF_ASSUME(!value || _impl_.publicslotnum_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_publicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.publicslotnum_ != nullptr) _impl_.publicslotnum_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_publicslotnum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.publicslotnum_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::publicslotnum() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.publicSlotNum) + return _internal_publicslotnum(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_publicslotnum( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.publicslotnum_); + } + _impl_.publicslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.publicSlotNum) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_publicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + ::np2_structs::uint16* released = _impl_.publicslotnum_; + _impl_.publicslotnum_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_publicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.publicSlotNum) + + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + ::np2_structs::uint16* temp = _impl_.publicslotnum_; + _impl_.publicslotnum_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_publicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.publicslotnum_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.publicslotnum_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.publicslotnum_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_publicslotnum() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + ::np2_structs::uint16* _msg = _internal_mutable_publicslotnum(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.publicSlotNum) + return _msg; +} +inline void RoomDataExternal::set_allocated_publicslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.publicslotnum_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + } + + _impl_.publicslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.publicSlotNum) +} + +// .np2_structs.uint16 privateSlotNum = 4; +inline bool RoomDataExternal::has_privateslotnum() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U); + PROTOBUF_ASSUME(!value || _impl_.privateslotnum_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_privateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.privateslotnum_ != nullptr) _impl_.privateslotnum_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_privateslotnum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.privateslotnum_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::privateslotnum() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.privateSlotNum) + return _internal_privateslotnum(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_privateslotnum( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.privateslotnum_); + } + _impl_.privateslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000040U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.privateSlotNum) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_privateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000040U); + ::np2_structs::uint16* released = _impl_.privateslotnum_; + _impl_.privateslotnum_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_privateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.privateSlotNum) + + ClearHasBit(_impl_._has_bits_[0], 0x00000040U); + ::np2_structs::uint16* temp = _impl_.privateslotnum_; + _impl_.privateslotnum_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_privateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.privateslotnum_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.privateslotnum_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.privateslotnum_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_privateslotnum() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + ::np2_structs::uint16* _msg = _internal_mutable_privateslotnum(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.privateSlotNum) + return _msg; +} +inline void RoomDataExternal::set_allocated_privateslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.privateslotnum_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000040U); + } + + _impl_.privateslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.privateSlotNum) +} + +// uint64 lobbyId = 5; +inline void RoomDataExternal::clear_lobbyid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00001000U); +} +inline ::uint64_t RoomDataExternal::lobbyid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.lobbyId) + return _internal_lobbyid(); +} +inline void RoomDataExternal::set_lobbyid(::uint64_t value) { + _internal_set_lobbyid(value); + SetHasBit(_impl_._has_bits_[0], 0x00001000U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataExternal.lobbyId) +} +inline ::uint64_t RoomDataExternal::_internal_lobbyid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lobbyid_; +} +inline void RoomDataExternal::_internal_set_lobbyid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = value; +} + +// uint64 roomId = 6; +inline void RoomDataExternal::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00002000U); +} +inline ::uint64_t RoomDataExternal::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.roomId) + return _internal_roomid(); +} +inline void RoomDataExternal::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00002000U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataExternal.roomId) +} +inline ::uint64_t RoomDataExternal::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void RoomDataExternal::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// .np2_structs.uint16 openPublicSlotNum = 7; +inline bool RoomDataExternal::has_openpublicslotnum() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U); + PROTOBUF_ASSUME(!value || _impl_.openpublicslotnum_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_openpublicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.openpublicslotnum_ != nullptr) _impl_.openpublicslotnum_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000080U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_openpublicslotnum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.openpublicslotnum_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::openpublicslotnum() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.openPublicSlotNum) + return _internal_openpublicslotnum(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_openpublicslotnum( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.openpublicslotnum_); + } + _impl_.openpublicslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000080U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.openPublicSlotNum) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_openpublicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000080U); + ::np2_structs::uint16* released = _impl_.openpublicslotnum_; + _impl_.openpublicslotnum_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_openpublicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.openPublicSlotNum) + + ClearHasBit(_impl_._has_bits_[0], 0x00000080U); + ::np2_structs::uint16* temp = _impl_.openpublicslotnum_; + _impl_.openpublicslotnum_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_openpublicslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.openpublicslotnum_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.openpublicslotnum_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.openpublicslotnum_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_openpublicslotnum() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + ::np2_structs::uint16* _msg = _internal_mutable_openpublicslotnum(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.openPublicSlotNum) + return _msg; +} +inline void RoomDataExternal::set_allocated_openpublicslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.openpublicslotnum_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000080U); + } + + _impl_.openpublicslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.openPublicSlotNum) +} + +// .np2_structs.uint16 maxSlot = 8; +inline bool RoomDataExternal::has_maxslot() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U); + PROTOBUF_ASSUME(!value || _impl_.maxslot_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_maxslot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maxslot_ != nullptr) _impl_.maxslot_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000100U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_maxslot() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.maxslot_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::maxslot() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.maxSlot) + return _internal_maxslot(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_maxslot( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.maxslot_); + } + _impl_.maxslot_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000100U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.maxSlot) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_maxslot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000100U); + ::np2_structs::uint16* released = _impl_.maxslot_; + _impl_.maxslot_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_maxslot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.maxSlot) + + ClearHasBit(_impl_._has_bits_[0], 0x00000100U); + ::np2_structs::uint16* temp = _impl_.maxslot_; + _impl_.maxslot_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_maxslot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maxslot_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.maxslot_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.maxslot_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_maxslot() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + ::np2_structs::uint16* _msg = _internal_mutable_maxslot(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.maxSlot) + return _msg; +} +inline void RoomDataExternal::set_allocated_maxslot(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.maxslot_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000100U); + } + + _impl_.maxslot_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.maxSlot) +} + +// .np2_structs.uint16 openPrivateSlotNum = 9; +inline bool RoomDataExternal::has_openprivateslotnum() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U); + PROTOBUF_ASSUME(!value || _impl_.openprivateslotnum_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_openprivateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.openprivateslotnum_ != nullptr) _impl_.openprivateslotnum_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000200U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_openprivateslotnum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.openprivateslotnum_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::openprivateslotnum() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.openPrivateSlotNum) + return _internal_openprivateslotnum(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_openprivateslotnum( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.openprivateslotnum_); + } + _impl_.openprivateslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000200U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.openPrivateSlotNum) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_openprivateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000200U); + ::np2_structs::uint16* released = _impl_.openprivateslotnum_; + _impl_.openprivateslotnum_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_openprivateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.openPrivateSlotNum) + + ClearHasBit(_impl_._has_bits_[0], 0x00000200U); + ::np2_structs::uint16* temp = _impl_.openprivateslotnum_; + _impl_.openprivateslotnum_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_openprivateslotnum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.openprivateslotnum_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.openprivateslotnum_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.openprivateslotnum_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_openprivateslotnum() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + ::np2_structs::uint16* _msg = _internal_mutable_openprivateslotnum(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.openPrivateSlotNum) + return _msg; +} +inline void RoomDataExternal::set_allocated_openprivateslotnum(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.openprivateslotnum_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000200U); + } + + _impl_.openprivateslotnum_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.openPrivateSlotNum) +} + +// .np2_structs.uint16 curMemberNum = 10; +inline bool RoomDataExternal::has_curmembernum() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U); + PROTOBUF_ASSUME(!value || _impl_.curmembernum_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_curmembernum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.curmembernum_ != nullptr) _impl_.curmembernum_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000400U); +} +inline const ::np2_structs::uint16& RoomDataExternal::_internal_curmembernum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.curmembernum_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& RoomDataExternal::curmembernum() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.curMemberNum) + return _internal_curmembernum(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_curmembernum( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.curmembernum_); + } + _impl_.curmembernum_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.curMemberNum) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::release_curmembernum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + ::np2_structs::uint16* released = _impl_.curmembernum_; + _impl_.curmembernum_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_curmembernum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.curMemberNum) + + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + ::np2_structs::uint16* temp = _impl_.curmembernum_; + _impl_.curmembernum_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_curmembernum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.curmembernum_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.curmembernum_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.curmembernum_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataExternal::mutable_curmembernum() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + ::np2_structs::uint16* _msg = _internal_mutable_curmembernum(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.curMemberNum) + return _msg; +} +inline void RoomDataExternal::set_allocated_curmembernum(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.curmembernum_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + } + + _impl_.curmembernum_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.curMemberNum) +} + +// uint64 passwordSlotMask = 11; +inline void RoomDataExternal::clear_passwordslotmask() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00010000U); +} +inline ::uint64_t RoomDataExternal::passwordslotmask() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.passwordSlotMask) + return _internal_passwordslotmask(); +} +inline void RoomDataExternal::set_passwordslotmask(::uint64_t value) { + _internal_set_passwordslotmask(value); + SetHasBit(_impl_._has_bits_[0], 0x00010000U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataExternal.passwordSlotMask) +} +inline ::uint64_t RoomDataExternal::_internal_passwordslotmask() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.passwordslotmask_; +} +inline void RoomDataExternal::_internal_set_passwordslotmask(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_ = value; +} + +// .np2_structs.UserInfo owner = 12; +inline bool RoomDataExternal::has_owner() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U); + PROTOBUF_ASSUME(!value || _impl_.owner_ != nullptr); + return value; +} +inline void RoomDataExternal::clear_owner() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.owner_ != nullptr) _impl_.owner_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000800U); +} +inline const ::np2_structs::UserInfo& RoomDataExternal::_internal_owner() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::UserInfo* p = _impl_.owner_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_UserInfo_default_instance_); +} +inline const ::np2_structs::UserInfo& RoomDataExternal::owner() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.owner) + return _internal_owner(); +} +inline void RoomDataExternal::unsafe_arena_set_allocated_owner( + ::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.owner_); + } + _impl_.owner_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000800U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataExternal.owner) +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomDataExternal::release_owner() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + ::np2_structs::UserInfo* released = _impl_.owner_; + _impl_.owner_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomDataExternal::unsafe_arena_release_owner() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataExternal.owner) + + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + ::np2_structs::UserInfo* temp = _impl_.owner_; + _impl_.owner_ = nullptr; + return temp; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomDataExternal::_internal_mutable_owner() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.owner_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::UserInfo>(GetArena()); + _impl_.owner_ = reinterpret_cast<::np2_structs::UserInfo*>(p); + } + return _impl_.owner_; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomDataExternal::mutable_owner() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000800U); + ::np2_structs::UserInfo* _msg = _internal_mutable_owner(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.owner) + return _msg; +} +inline void RoomDataExternal::set_allocated_owner(::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.owner_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000800U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + } + + _impl_.owner_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataExternal.owner) +} + +// repeated .np2_structs.RoomGroup roomGroup = 13; +inline int RoomDataExternal::_internal_roomgroup_size() const { + return _internal_roomgroup().size(); +} +inline int RoomDataExternal::roomgroup_size() const { + return _internal_roomgroup_size(); +} +inline void RoomDataExternal::clear_roomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomgroup_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::RoomGroup* PROTOBUF_NONNULL RoomDataExternal::mutable_roomgroup(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.roomGroup) + return _internal_mutable_roomgroup()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL RoomDataExternal::mutable_roomgroup() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataExternal.roomGroup) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomgroup(); +} +inline const ::np2_structs::RoomGroup& RoomDataExternal::roomgroup(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.roomGroup) + return _internal_roomgroup().Get(index); +} +inline ::np2_structs::RoomGroup* PROTOBUF_NONNULL RoomDataExternal::add_roomgroup() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomGroup* _add = + _internal_mutable_roomgroup()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataExternal.roomGroup) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& RoomDataExternal::roomgroup() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataExternal.roomGroup) + return _internal_roomgroup(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>& +RoomDataExternal::_internal_roomgroup() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomgroup_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroup>* PROTOBUF_NONNULL +RoomDataExternal::_internal_mutable_roomgroup() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomgroup_; +} + +// uint32 flagAttr = 14; +inline void RoomDataExternal::clear_flagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00008000U); +} +inline ::uint32_t RoomDataExternal::flagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.flagAttr) + return _internal_flagattr(); +} +inline void RoomDataExternal::set_flagattr(::uint32_t value) { + _internal_set_flagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00008000U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataExternal.flagAttr) +} +inline ::uint32_t RoomDataExternal::_internal_flagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagattr_; +} +inline void RoomDataExternal::_internal_set_flagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = value; +} + +// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 15; +inline int RoomDataExternal::_internal_roomsearchableintattrexternal_size() const { + return _internal_roomsearchableintattrexternal().size(); +} +inline int RoomDataExternal::roomsearchableintattrexternal_size() const { + return _internal_roomsearchableintattrexternal_size(); +} +inline void RoomDataExternal::clear_roomsearchableintattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomsearchableintattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL RoomDataExternal::mutable_roomsearchableintattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.roomSearchableIntAttrExternal) + return _internal_mutable_roomsearchableintattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL RoomDataExternal::mutable_roomsearchableintattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataExternal.roomSearchableIntAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomsearchableintattrexternal(); +} +inline const ::np2_structs::IntAttr& RoomDataExternal::roomsearchableintattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.roomSearchableIntAttrExternal) + return _internal_roomsearchableintattrexternal().Get(index); +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL RoomDataExternal::add_roomsearchableintattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::IntAttr* _add = + _internal_mutable_roomsearchableintattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataExternal.roomSearchableIntAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& RoomDataExternal::roomsearchableintattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataExternal.roomSearchableIntAttrExternal) + return _internal_roomsearchableintattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& +RoomDataExternal::_internal_roomsearchableintattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomsearchableintattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL +RoomDataExternal::_internal_mutable_roomsearchableintattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomsearchableintattrexternal_; +} + +// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 16; +inline int RoomDataExternal::_internal_roomsearchablebinattrexternal_size() const { + return _internal_roomsearchablebinattrexternal().size(); +} +inline int RoomDataExternal::roomsearchablebinattrexternal_size() const { + return _internal_roomsearchablebinattrexternal_size(); +} +inline void RoomDataExternal::clear_roomsearchablebinattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomsearchablebinattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL RoomDataExternal::mutable_roomsearchablebinattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.roomSearchableBinAttrExternal) + return _internal_mutable_roomsearchablebinattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL RoomDataExternal::mutable_roomsearchablebinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataExternal.roomSearchableBinAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomsearchablebinattrexternal(); +} +inline const ::np2_structs::BinAttr& RoomDataExternal::roomsearchablebinattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.roomSearchableBinAttrExternal) + return _internal_roomsearchablebinattrexternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL RoomDataExternal::add_roomsearchablebinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roomsearchablebinattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataExternal.roomSearchableBinAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& RoomDataExternal::roomsearchablebinattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataExternal.roomSearchableBinAttrExternal) + return _internal_roomsearchablebinattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +RoomDataExternal::_internal_roomsearchablebinattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomsearchablebinattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +RoomDataExternal::_internal_mutable_roomsearchablebinattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomsearchablebinattrexternal_; +} + +// repeated .np2_structs.BinAttr roomBinAttrExternal = 17; +inline int RoomDataExternal::_internal_roombinattrexternal_size() const { + return _internal_roombinattrexternal().size(); +} +inline int RoomDataExternal::roombinattrexternal_size() const { + return _internal_roombinattrexternal_size(); +} +inline void RoomDataExternal::clear_roombinattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roombinattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL RoomDataExternal::mutable_roombinattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataExternal.roomBinAttrExternal) + return _internal_mutable_roombinattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL RoomDataExternal::mutable_roombinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataExternal.roomBinAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roombinattrexternal(); +} +inline const ::np2_structs::BinAttr& RoomDataExternal::roombinattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataExternal.roomBinAttrExternal) + return _internal_roombinattrexternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL RoomDataExternal::add_roombinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roombinattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataExternal.roomBinAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& RoomDataExternal::roombinattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataExternal.roomBinAttrExternal) + return _internal_roombinattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +RoomDataExternal::_internal_roombinattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roombinattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +RoomDataExternal::_internal_mutable_roombinattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roombinattrexternal_; +} + +// ------------------------------------------------------------------- + +// IntSearchFilter + +// .np2_structs.uint8 searchOperator = 1; +inline bool IntSearchFilter::has_searchoperator() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.searchoperator_ != nullptr); + return value; +} +inline void IntSearchFilter::clear_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.searchoperator_ != nullptr) _impl_.searchoperator_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint8& IntSearchFilter::_internal_searchoperator() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.searchoperator_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& IntSearchFilter::searchoperator() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.IntSearchFilter.searchOperator) + return _internal_searchoperator(); +} +inline void IntSearchFilter::unsafe_arena_set_allocated_searchoperator( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.searchoperator_); + } + _impl_.searchoperator_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.IntSearchFilter.searchOperator) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE IntSearchFilter::release_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* released = _impl_.searchoperator_; + _impl_.searchoperator_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE IntSearchFilter::unsafe_arena_release_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.IntSearchFilter.searchOperator) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* temp = _impl_.searchoperator_; + _impl_.searchoperator_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL IntSearchFilter::_internal_mutable_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.searchoperator_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.searchoperator_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.searchoperator_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL IntSearchFilter::mutable_searchoperator() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* _msg = _internal_mutable_searchoperator(); + // @@protoc_insertion_point(field_mutable:np2_structs.IntSearchFilter.searchOperator) + return _msg; +} +inline void IntSearchFilter::set_allocated_searchoperator(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.searchoperator_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.searchoperator_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.IntSearchFilter.searchOperator) +} + +// .np2_structs.IntAttr attr = 2; +inline bool IntSearchFilter::has_attr() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.attr_ != nullptr); + return value; +} +inline void IntSearchFilter::clear_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.attr_ != nullptr) _impl_.attr_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::IntAttr& IntSearchFilter::_internal_attr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::IntAttr* p = _impl_.attr_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_IntAttr_default_instance_); +} +inline const ::np2_structs::IntAttr& IntSearchFilter::attr() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.IntSearchFilter.attr) + return _internal_attr(); +} +inline void IntSearchFilter::unsafe_arena_set_allocated_attr( + ::np2_structs::IntAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attr_); + } + _impl_.attr_ = reinterpret_cast<::np2_structs::IntAttr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.IntSearchFilter.attr) +} +inline ::np2_structs::IntAttr* PROTOBUF_NULLABLE IntSearchFilter::release_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::IntAttr* released = _impl_.attr_; + _impl_.attr_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::IntAttr* PROTOBUF_NULLABLE IntSearchFilter::unsafe_arena_release_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.IntSearchFilter.attr) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::IntAttr* temp = _impl_.attr_; + _impl_.attr_ = nullptr; + return temp; +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL IntSearchFilter::_internal_mutable_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.attr_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::IntAttr>(GetArena()); + _impl_.attr_ = reinterpret_cast<::np2_structs::IntAttr*>(p); + } + return _impl_.attr_; +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL IntSearchFilter::mutable_attr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::IntAttr* _msg = _internal_mutable_attr(); + // @@protoc_insertion_point(field_mutable:np2_structs.IntSearchFilter.attr) + return _msg; +} +inline void IntSearchFilter::set_allocated_attr(::np2_structs::IntAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attr_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.attr_ = reinterpret_cast<::np2_structs::IntAttr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.IntSearchFilter.attr) +} + +// ------------------------------------------------------------------- + +// BinSearchFilter + +// .np2_structs.uint8 searchOperator = 1; +inline bool BinSearchFilter::has_searchoperator() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.searchoperator_ != nullptr); + return value; +} +inline void BinSearchFilter::clear_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.searchoperator_ != nullptr) _impl_.searchoperator_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint8& BinSearchFilter::_internal_searchoperator() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.searchoperator_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& BinSearchFilter::searchoperator() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.BinSearchFilter.searchOperator) + return _internal_searchoperator(); +} +inline void BinSearchFilter::unsafe_arena_set_allocated_searchoperator( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.searchoperator_); + } + _impl_.searchoperator_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.BinSearchFilter.searchOperator) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE BinSearchFilter::release_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* released = _impl_.searchoperator_; + _impl_.searchoperator_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE BinSearchFilter::unsafe_arena_release_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.BinSearchFilter.searchOperator) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* temp = _impl_.searchoperator_; + _impl_.searchoperator_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL BinSearchFilter::_internal_mutable_searchoperator() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.searchoperator_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.searchoperator_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.searchoperator_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL BinSearchFilter::mutable_searchoperator() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* _msg = _internal_mutable_searchoperator(); + // @@protoc_insertion_point(field_mutable:np2_structs.BinSearchFilter.searchOperator) + return _msg; +} +inline void BinSearchFilter::set_allocated_searchoperator(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.searchoperator_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.searchoperator_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.BinSearchFilter.searchOperator) +} + +// .np2_structs.BinAttr attr = 2; +inline bool BinSearchFilter::has_attr() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.attr_ != nullptr); + return value; +} +inline void BinSearchFilter::clear_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.attr_ != nullptr) _impl_.attr_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::BinAttr& BinSearchFilter::_internal_attr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::BinAttr* p = _impl_.attr_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_BinAttr_default_instance_); +} +inline const ::np2_structs::BinAttr& BinSearchFilter::attr() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.BinSearchFilter.attr) + return _internal_attr(); +} +inline void BinSearchFilter::unsafe_arena_set_allocated_attr( + ::np2_structs::BinAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attr_); + } + _impl_.attr_ = reinterpret_cast<::np2_structs::BinAttr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.BinSearchFilter.attr) +} +inline ::np2_structs::BinAttr* PROTOBUF_NULLABLE BinSearchFilter::release_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::BinAttr* released = _impl_.attr_; + _impl_.attr_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::BinAttr* PROTOBUF_NULLABLE BinSearchFilter::unsafe_arena_release_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.BinSearchFilter.attr) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::BinAttr* temp = _impl_.attr_; + _impl_.attr_ = nullptr; + return temp; +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL BinSearchFilter::_internal_mutable_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.attr_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::BinAttr>(GetArena()); + _impl_.attr_ = reinterpret_cast<::np2_structs::BinAttr*>(p); + } + return _impl_.attr_; +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL BinSearchFilter::mutable_attr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::BinAttr* _msg = _internal_mutable_attr(); + // @@protoc_insertion_point(field_mutable:np2_structs.BinSearchFilter.attr) + return _msg; +} +inline void BinSearchFilter::set_allocated_attr(::np2_structs::BinAttr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attr_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.attr_ = reinterpret_cast<::np2_structs::BinAttr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.BinSearchFilter.attr) +} + +// ------------------------------------------------------------------- + +// PresenceOptionData + +// bytes data = 1; +inline void PresenceOptionData::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& PresenceOptionData::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.PresenceOptionData.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void PresenceOptionData::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.PresenceOptionData.data) +} +inline ::std::string* PROTOBUF_NONNULL PresenceOptionData::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.PresenceOptionData.data) + return _s; +} +inline const ::std::string& PresenceOptionData::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void PresenceOptionData::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL PresenceOptionData::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE PresenceOptionData::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.PresenceOptionData.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void PresenceOptionData::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.PresenceOptionData.data) +} + +// uint32 len = 2; +inline void PresenceOptionData::clear_len() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.len_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t PresenceOptionData::len() const { + // @@protoc_insertion_point(field_get:np2_structs.PresenceOptionData.len) + return _internal_len(); +} +inline void PresenceOptionData::set_len(::uint32_t value) { + _internal_set_len(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.PresenceOptionData.len) +} +inline ::uint32_t PresenceOptionData::_internal_len() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.len_; +} +inline void PresenceOptionData::_internal_set_len(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.len_ = value; +} + +// ------------------------------------------------------------------- + +// RoomGroupPasswordConfig + +// .np2_structs.uint8 groupId = 1; +inline bool RoomGroupPasswordConfig::has_groupid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.groupid_ != nullptr); + return value; +} +inline void RoomGroupPasswordConfig::clear_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.groupid_ != nullptr) _impl_.groupid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint8& RoomGroupPasswordConfig::_internal_groupid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.groupid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomGroupPasswordConfig::groupid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroupPasswordConfig.groupId) + return _internal_groupid(); +} +inline void RoomGroupPasswordConfig::unsafe_arena_set_allocated_groupid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.groupid_); + } + _impl_.groupid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomGroupPasswordConfig.groupId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomGroupPasswordConfig::release_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* released = _impl_.groupid_; + _impl_.groupid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomGroupPasswordConfig::unsafe_arena_release_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomGroupPasswordConfig.groupId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* temp = _impl_.groupid_; + _impl_.groupid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomGroupPasswordConfig::_internal_mutable_groupid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.groupid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.groupid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.groupid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomGroupPasswordConfig::mutable_groupid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* _msg = _internal_mutable_groupid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomGroupPasswordConfig.groupId) + return _msg; +} +inline void RoomGroupPasswordConfig::set_allocated_groupid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.groupid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.groupid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomGroupPasswordConfig.groupId) +} + +// bool withPassword = 2; +inline void RoomGroupPasswordConfig::clear_withpassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withpassword_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline bool RoomGroupPasswordConfig::withpassword() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomGroupPasswordConfig.withPassword) + return _internal_withpassword(); +} +inline void RoomGroupPasswordConfig::set_withpassword(bool value) { + _internal_set_withpassword(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.RoomGroupPasswordConfig.withPassword) +} +inline bool RoomGroupPasswordConfig::_internal_withpassword() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withpassword_; +} +inline void RoomGroupPasswordConfig::_internal_set_withpassword(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withpassword_ = value; +} + +// ------------------------------------------------------------------- + +// SearchRoomRequest + +// int32 option = 1; +inline void SearchRoomRequest::clear_option() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.option_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::int32_t SearchRoomRequest::option() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.option) + return _internal_option(); +} +inline void SearchRoomRequest::set_option(::int32_t value) { + _internal_set_option(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.option) +} +inline ::int32_t SearchRoomRequest::_internal_option() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.option_; +} +inline void SearchRoomRequest::_internal_set_option(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.option_ = value; +} + +// uint32 worldId = 2; +inline void SearchRoomRequest::clear_worldid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint32_t SearchRoomRequest::worldid() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.worldId) + return _internal_worldid(); +} +inline void SearchRoomRequest::set_worldid(::uint32_t value) { + _internal_set_worldid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.worldId) +} +inline ::uint32_t SearchRoomRequest::_internal_worldid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.worldid_; +} +inline void SearchRoomRequest::_internal_set_worldid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = value; +} + +// uint64 lobbyId = 3; +inline void SearchRoomRequest::clear_lobbyid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::uint64_t SearchRoomRequest::lobbyid() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.lobbyId) + return _internal_lobbyid(); +} +inline void SearchRoomRequest::set_lobbyid(::uint64_t value) { + _internal_set_lobbyid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.lobbyId) +} +inline ::uint64_t SearchRoomRequest::_internal_lobbyid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lobbyid_; +} +inline void SearchRoomRequest::_internal_set_lobbyid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = value; +} + +// uint32 rangeFilter_startIndex = 4; +inline void SearchRoomRequest::clear_rangefilter_startindex() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rangefilter_startindex_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::uint32_t SearchRoomRequest::rangefilter_startindex() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.rangeFilter_startIndex) + return _internal_rangefilter_startindex(); +} +inline void SearchRoomRequest::set_rangefilter_startindex(::uint32_t value) { + _internal_set_rangefilter_startindex(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.rangeFilter_startIndex) +} +inline ::uint32_t SearchRoomRequest::_internal_rangefilter_startindex() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rangefilter_startindex_; +} +inline void SearchRoomRequest::_internal_set_rangefilter_startindex(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rangefilter_startindex_ = value; +} + +// uint32 rangeFilter_max = 5; +inline void SearchRoomRequest::clear_rangefilter_max() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rangefilter_max_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000080U); +} +inline ::uint32_t SearchRoomRequest::rangefilter_max() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.rangeFilter_max) + return _internal_rangefilter_max(); +} +inline void SearchRoomRequest::set_rangefilter_max(::uint32_t value) { + _internal_set_rangefilter_max(value); + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.rangeFilter_max) +} +inline ::uint32_t SearchRoomRequest::_internal_rangefilter_max() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rangefilter_max_; +} +inline void SearchRoomRequest::_internal_set_rangefilter_max(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rangefilter_max_ = value; +} + +// uint32 flagFilter = 6; +inline void SearchRoomRequest::clear_flagfilter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagfilter_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000100U); +} +inline ::uint32_t SearchRoomRequest::flagfilter() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.flagFilter) + return _internal_flagfilter(); +} +inline void SearchRoomRequest::set_flagfilter(::uint32_t value) { + _internal_set_flagfilter(value); + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.flagFilter) +} +inline ::uint32_t SearchRoomRequest::_internal_flagfilter() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagfilter_; +} +inline void SearchRoomRequest::_internal_set_flagfilter(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagfilter_ = value; +} + +// uint32 flagAttr = 7; +inline void SearchRoomRequest::clear_flagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000200U); +} +inline ::uint32_t SearchRoomRequest::flagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.flagAttr) + return _internal_flagattr(); +} +inline void SearchRoomRequest::set_flagattr(::uint32_t value) { + _internal_set_flagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomRequest.flagAttr) +} +inline ::uint32_t SearchRoomRequest::_internal_flagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagattr_; +} +inline void SearchRoomRequest::_internal_set_flagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = value; +} + +// repeated .np2_structs.IntSearchFilter intFilter = 8; +inline int SearchRoomRequest::_internal_intfilter_size() const { + return _internal_intfilter().size(); +} +inline int SearchRoomRequest::intfilter_size() const { + return _internal_intfilter_size(); +} +inline void SearchRoomRequest::clear_intfilter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.intfilter_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::IntSearchFilter* PROTOBUF_NONNULL SearchRoomRequest::mutable_intfilter(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SearchRoomRequest.intFilter) + return _internal_mutable_intfilter()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>* PROTOBUF_NONNULL SearchRoomRequest::mutable_intfilter() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SearchRoomRequest.intFilter) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_intfilter(); +} +inline const ::np2_structs::IntSearchFilter& SearchRoomRequest::intfilter(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.intFilter) + return _internal_intfilter().Get(index); +} +inline ::np2_structs::IntSearchFilter* PROTOBUF_NONNULL SearchRoomRequest::add_intfilter() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::IntSearchFilter* _add = + _internal_mutable_intfilter()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SearchRoomRequest.intFilter) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>& SearchRoomRequest::intfilter() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SearchRoomRequest.intFilter) + return _internal_intfilter(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>& +SearchRoomRequest::_internal_intfilter() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.intfilter_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntSearchFilter>* PROTOBUF_NONNULL +SearchRoomRequest::_internal_mutable_intfilter() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.intfilter_; +} + +// repeated .np2_structs.BinSearchFilter binFilter = 9; +inline int SearchRoomRequest::_internal_binfilter_size() const { + return _internal_binfilter().size(); +} +inline int SearchRoomRequest::binfilter_size() const { + return _internal_binfilter_size(); +} +inline void SearchRoomRequest::clear_binfilter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.binfilter_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::BinSearchFilter* PROTOBUF_NONNULL SearchRoomRequest::mutable_binfilter(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SearchRoomRequest.binFilter) + return _internal_mutable_binfilter()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>* PROTOBUF_NONNULL SearchRoomRequest::mutable_binfilter() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SearchRoomRequest.binFilter) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_binfilter(); +} +inline const ::np2_structs::BinSearchFilter& SearchRoomRequest::binfilter(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.binFilter) + return _internal_binfilter().Get(index); +} +inline ::np2_structs::BinSearchFilter* PROTOBUF_NONNULL SearchRoomRequest::add_binfilter() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinSearchFilter* _add = + _internal_mutable_binfilter()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.SearchRoomRequest.binFilter) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>& SearchRoomRequest::binfilter() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SearchRoomRequest.binFilter) + return _internal_binfilter(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>& +SearchRoomRequest::_internal_binfilter() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.binfilter_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinSearchFilter>* PROTOBUF_NONNULL +SearchRoomRequest::_internal_mutable_binfilter() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.binfilter_; +} + +// repeated .np2_structs.uint16 attrId = 10; +inline int SearchRoomRequest::_internal_attrid_size() const { + return _internal_attrid().size(); +} +inline int SearchRoomRequest::attrid_size() const { + return _internal_attrid_size(); +} +inline void SearchRoomRequest::clear_attrid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attrid_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SearchRoomRequest::mutable_attrid(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SearchRoomRequest.attrId) + return _internal_mutable_attrid()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL SearchRoomRequest::mutable_attrid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SearchRoomRequest.attrId) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attrid(); +} +inline const ::np2_structs::uint16& SearchRoomRequest::attrid(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomRequest.attrId) + return _internal_attrid().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SearchRoomRequest::add_attrid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_attrid()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.SearchRoomRequest.attrId) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& SearchRoomRequest::attrid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SearchRoomRequest.attrId) + return _internal_attrid(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +SearchRoomRequest::_internal_attrid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attrid_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +SearchRoomRequest::_internal_mutable_attrid() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attrid_; +} + +// ------------------------------------------------------------------- + +// SearchRoomResponse + +// uint32 startIndex = 1; +inline void SearchRoomResponse::clear_startindex() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.startindex_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t SearchRoomResponse::startindex() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomResponse.startIndex) + return _internal_startindex(); +} +inline void SearchRoomResponse::set_startindex(::uint32_t value) { + _internal_set_startindex(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomResponse.startIndex) +} +inline ::uint32_t SearchRoomResponse::_internal_startindex() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.startindex_; +} +inline void SearchRoomResponse::_internal_set_startindex(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.startindex_ = value; +} + +// uint32 total = 2; +inline void SearchRoomResponse::clear_total() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.total_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t SearchRoomResponse::total() const { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomResponse.total) + return _internal_total(); +} +inline void SearchRoomResponse::set_total(::uint32_t value) { + _internal_set_total(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.SearchRoomResponse.total) +} +inline ::uint32_t SearchRoomResponse::_internal_total() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.total_; +} +inline void SearchRoomResponse::_internal_set_total(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.total_ = value; +} + +// repeated .np2_structs.RoomDataExternal rooms = 3; +inline int SearchRoomResponse::_internal_rooms_size() const { + return _internal_rooms().size(); +} +inline int SearchRoomResponse::rooms_size() const { + return _internal_rooms_size(); +} +inline void SearchRoomResponse::clear_rooms() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rooms_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL SearchRoomResponse::mutable_rooms(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SearchRoomResponse.rooms) + return _internal_mutable_rooms()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL SearchRoomResponse::mutable_rooms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SearchRoomResponse.rooms) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_rooms(); +} +inline const ::np2_structs::RoomDataExternal& SearchRoomResponse::rooms(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SearchRoomResponse.rooms) + return _internal_rooms().Get(index); +} +inline ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL SearchRoomResponse::add_rooms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomDataExternal* _add = + _internal_mutable_rooms()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SearchRoomResponse.rooms) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& SearchRoomResponse::rooms() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SearchRoomResponse.rooms) + return _internal_rooms(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& +SearchRoomResponse::_internal_rooms() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rooms_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL +SearchRoomResponse::_internal_mutable_rooms() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.rooms_; +} + +// ------------------------------------------------------------------- + +// CreateJoinRoomRequest + +// uint32 worldId = 1; +inline void CreateJoinRoomRequest::clear_worldid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00002000U); +} +inline ::uint32_t CreateJoinRoomRequest::worldid() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.worldId) + return _internal_worldid(); +} +inline void CreateJoinRoomRequest::set_worldid(::uint32_t value) { + _internal_set_worldid(value); + SetHasBit(_impl_._has_bits_[0], 0x00002000U); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.worldId) +} +inline ::uint32_t CreateJoinRoomRequest::_internal_worldid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.worldid_; +} +inline void CreateJoinRoomRequest::_internal_set_worldid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = value; +} + +// uint64 lobbyId = 2; +inline void CreateJoinRoomRequest::clear_lobbyid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00001000U); +} +inline ::uint64_t CreateJoinRoomRequest::lobbyid() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.lobbyId) + return _internal_lobbyid(); +} +inline void CreateJoinRoomRequest::set_lobbyid(::uint64_t value) { + _internal_set_lobbyid(value); + SetHasBit(_impl_._has_bits_[0], 0x00001000U); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.lobbyId) +} +inline ::uint64_t CreateJoinRoomRequest::_internal_lobbyid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lobbyid_; +} +inline void CreateJoinRoomRequest::_internal_set_lobbyid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lobbyid_ = value; +} + +// uint32 maxSlot = 3; +inline void CreateJoinRoomRequest::clear_maxslot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.maxslot_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00004000U); +} +inline ::uint32_t CreateJoinRoomRequest::maxslot() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.maxSlot) + return _internal_maxslot(); +} +inline void CreateJoinRoomRequest::set_maxslot(::uint32_t value) { + _internal_set_maxslot(value); + SetHasBit(_impl_._has_bits_[0], 0x00004000U); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.maxSlot) +} +inline ::uint32_t CreateJoinRoomRequest::_internal_maxslot() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.maxslot_; +} +inline void CreateJoinRoomRequest::_internal_set_maxslot(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.maxslot_ = value; +} + +// uint32 flagAttr = 4; +inline void CreateJoinRoomRequest::clear_flagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00010000U); +} +inline ::uint32_t CreateJoinRoomRequest::flagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.flagAttr) + return _internal_flagattr(); +} +inline void CreateJoinRoomRequest::set_flagattr(::uint32_t value) { + _internal_set_flagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00010000U); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.flagAttr) +} +inline ::uint32_t CreateJoinRoomRequest::_internal_flagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagattr_; +} +inline void CreateJoinRoomRequest::_internal_set_flagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = value; +} + +// repeated .np2_structs.BinAttr roomBinAttrInternal = 5; +inline int CreateJoinRoomRequest::_internal_roombinattrinternal_size() const { + return _internal_roombinattrinternal().size(); +} +inline int CreateJoinRoomRequest::roombinattrinternal_size() const { + return _internal_roombinattrinternal_size(); +} +inline void CreateJoinRoomRequest::clear_roombinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roombinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roombinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.roomBinAttrInternal) + return _internal_mutable_roombinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.roomBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roombinattrinternal(); +} +inline const ::np2_structs::BinAttr& CreateJoinRoomRequest::roombinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.roomBinAttrInternal) + return _internal_roombinattrinternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::add_roombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roombinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.roomBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& CreateJoinRoomRequest::roombinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.roomBinAttrInternal) + return _internal_roombinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +CreateJoinRoomRequest::_internal_roombinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roombinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_roombinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roombinattrinternal_; +} + +// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 6; +inline int CreateJoinRoomRequest::_internal_roomsearchableintattrexternal_size() const { + return _internal_roomsearchableintattrexternal().size(); +} +inline int CreateJoinRoomRequest::roomsearchableintattrexternal_size() const { + return _internal_roomsearchableintattrexternal_size(); +} +inline void CreateJoinRoomRequest::clear_roomsearchableintattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomsearchableintattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roomsearchableintattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.roomSearchableIntAttrExternal) + return _internal_mutable_roomsearchableintattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roomsearchableintattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.roomSearchableIntAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomsearchableintattrexternal(); +} +inline const ::np2_structs::IntAttr& CreateJoinRoomRequest::roomsearchableintattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.roomSearchableIntAttrExternal) + return _internal_roomsearchableintattrexternal().Get(index); +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::add_roomsearchableintattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::IntAttr* _add = + _internal_mutable_roomsearchableintattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.roomSearchableIntAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& CreateJoinRoomRequest::roomsearchableintattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.roomSearchableIntAttrExternal) + return _internal_roomsearchableintattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& +CreateJoinRoomRequest::_internal_roomsearchableintattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomsearchableintattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_roomsearchableintattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomsearchableintattrexternal_; +} + +// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 7; +inline int CreateJoinRoomRequest::_internal_roomsearchablebinattrexternal_size() const { + return _internal_roomsearchablebinattrexternal().size(); +} +inline int CreateJoinRoomRequest::roomsearchablebinattrexternal_size() const { + return _internal_roomsearchablebinattrexternal_size(); +} +inline void CreateJoinRoomRequest::clear_roomsearchablebinattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomsearchablebinattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roomsearchablebinattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.roomSearchableBinAttrExternal) + return _internal_mutable_roomsearchablebinattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roomsearchablebinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.roomSearchableBinAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomsearchablebinattrexternal(); +} +inline const ::np2_structs::BinAttr& CreateJoinRoomRequest::roomsearchablebinattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.roomSearchableBinAttrExternal) + return _internal_roomsearchablebinattrexternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::add_roomsearchablebinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roomsearchablebinattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.roomSearchableBinAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& CreateJoinRoomRequest::roomsearchablebinattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.roomSearchableBinAttrExternal) + return _internal_roomsearchablebinattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +CreateJoinRoomRequest::_internal_roomsearchablebinattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomsearchablebinattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_roomsearchablebinattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomsearchablebinattrexternal_; +} + +// repeated .np2_structs.BinAttr roomBinAttrExternal = 8; +inline int CreateJoinRoomRequest::_internal_roombinattrexternal_size() const { + return _internal_roombinattrexternal().size(); +} +inline int CreateJoinRoomRequest::roombinattrexternal_size() const { + return _internal_roombinattrexternal_size(); +} +inline void CreateJoinRoomRequest::clear_roombinattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roombinattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roombinattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.roomBinAttrExternal) + return _internal_mutable_roombinattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roombinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.roomBinAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roombinattrexternal(); +} +inline const ::np2_structs::BinAttr& CreateJoinRoomRequest::roombinattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.roomBinAttrExternal) + return _internal_roombinattrexternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::add_roombinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roombinattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.roomBinAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& CreateJoinRoomRequest::roombinattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.roomBinAttrExternal) + return _internal_roombinattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +CreateJoinRoomRequest::_internal_roombinattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roombinattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_roombinattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roombinattrexternal_; +} + +// bytes roomPassword = 9; +inline void CreateJoinRoomRequest::clear_roompassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roompassword_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000100U); +} +inline const ::std::string& CreateJoinRoomRequest::roompassword() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.roomPassword) + return _internal_roompassword(); +} +template +PROTOBUF_ALWAYS_INLINE void CreateJoinRoomRequest::set_roompassword(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + _impl_.roompassword_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.roomPassword) +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roompassword() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + ::std::string* _s = _internal_mutable_roompassword(); + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.roomPassword) + return _s; +} +inline const ::std::string& CreateJoinRoomRequest::_internal_roompassword() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roompassword_.Get(); +} +inline void CreateJoinRoomRequest::_internal_set_roompassword(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roompassword_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::_internal_mutable_roompassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.roompassword_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE CreateJoinRoomRequest::release_roompassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.CreateJoinRoomRequest.roomPassword) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000100U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000100U); + auto* released = _impl_.roompassword_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.roompassword_.Set("", GetArena()); + } + return released; +} +inline void CreateJoinRoomRequest::set_allocated_roompassword(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000100U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000100U); + } + _impl_.roompassword_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.roompassword_.IsDefault()) { + _impl_.roompassword_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.CreateJoinRoomRequest.roomPassword) +} + +// repeated .np2_structs.GroupConfig groupConfig = 10; +inline int CreateJoinRoomRequest::_internal_groupconfig_size() const { + return _internal_groupconfig().size(); +} +inline int CreateJoinRoomRequest::groupconfig_size() const { + return _internal_groupconfig_size(); +} +inline void CreateJoinRoomRequest::clear_groupconfig() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.groupconfig_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::np2_structs::GroupConfig* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_groupconfig(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.groupConfig) + return _internal_mutable_groupconfig()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_groupconfig() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.groupConfig) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_groupconfig(); +} +inline const ::np2_structs::GroupConfig& CreateJoinRoomRequest::groupconfig(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.groupConfig) + return _internal_groupconfig().Get(index); +} +inline ::np2_structs::GroupConfig* PROTOBUF_NONNULL CreateJoinRoomRequest::add_groupconfig() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::GroupConfig* _add = + _internal_mutable_groupconfig()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.groupConfig) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>& CreateJoinRoomRequest::groupconfig() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.groupConfig) + return _internal_groupconfig(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>& +CreateJoinRoomRequest::_internal_groupconfig() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.groupconfig_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::GroupConfig>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_groupconfig() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.groupconfig_; +} + +// uint64 passwordSlotMask = 11; +inline void CreateJoinRoomRequest::clear_passwordslotmask() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00008000U); +} +inline ::uint64_t CreateJoinRoomRequest::passwordslotmask() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.passwordSlotMask) + return _internal_passwordslotmask(); +} +inline void CreateJoinRoomRequest::set_passwordslotmask(::uint64_t value) { + _internal_set_passwordslotmask(value); + SetHasBit(_impl_._has_bits_[0], 0x00008000U); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.passwordSlotMask) +} +inline ::uint64_t CreateJoinRoomRequest::_internal_passwordslotmask() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.passwordslotmask_; +} +inline void CreateJoinRoomRequest::_internal_set_passwordslotmask(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_ = value; +} + +// repeated string allowedUser = 12; +inline int CreateJoinRoomRequest::_internal_alloweduser_size() const { + return _internal_alloweduser().size(); +} +inline int CreateJoinRoomRequest::alloweduser_size() const { + return _internal_alloweduser_size(); +} +inline void CreateJoinRoomRequest::clear_alloweduser() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.alloweduser_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::add_alloweduser() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::std::string* _s = + _internal_mutable_alloweduser()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_add_mutable:np2_structs.CreateJoinRoomRequest.allowedUser) + return _s; +} +inline const ::std::string& CreateJoinRoomRequest::alloweduser(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.allowedUser) + return _internal_alloweduser().Get(index); +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_alloweduser(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.allowedUser) + return _internal_mutable_alloweduser()->Mutable(index); +} +template +inline void CreateJoinRoomRequest::set_alloweduser(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString(*_internal_mutable_alloweduser()->Mutable(index), ::std::forward(value), + args... ); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.allowedUser) +} +template +inline void CreateJoinRoomRequest::add_alloweduser(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField( + ::google::protobuf::MessageLite::internal_visibility(), GetArena(), + *_internal_mutable_alloweduser(), ::std::forward(value), + args... ); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.allowedUser) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& CreateJoinRoomRequest::alloweduser() + const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.allowedUser) + return _internal_alloweduser(); +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +CreateJoinRoomRequest::mutable_alloweduser() ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.allowedUser) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_alloweduser(); +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +CreateJoinRoomRequest::_internal_alloweduser() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.alloweduser_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_alloweduser() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.alloweduser_; +} + +// repeated string blockedUser = 13; +inline int CreateJoinRoomRequest::_internal_blockeduser_size() const { + return _internal_blockeduser().size(); +} +inline int CreateJoinRoomRequest::blockeduser_size() const { + return _internal_blockeduser_size(); +} +inline void CreateJoinRoomRequest::clear_blockeduser() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.blockeduser_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::add_blockeduser() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::std::string* _s = + _internal_mutable_blockeduser()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_add_mutable:np2_structs.CreateJoinRoomRequest.blockedUser) + return _s; +} +inline const ::std::string& CreateJoinRoomRequest::blockeduser(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.blockedUser) + return _internal_blockeduser().Get(index); +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_blockeduser(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.blockedUser) + return _internal_mutable_blockeduser()->Mutable(index); +} +template +inline void CreateJoinRoomRequest::set_blockeduser(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString(*_internal_mutable_blockeduser()->Mutable(index), ::std::forward(value), + args... ); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.blockedUser) +} +template +inline void CreateJoinRoomRequest::add_blockeduser(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField( + ::google::protobuf::MessageLite::internal_visibility(), GetArena(), + *_internal_mutable_blockeduser(), ::std::forward(value), + args... ); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.blockedUser) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& CreateJoinRoomRequest::blockeduser() + const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.blockedUser) + return _internal_blockeduser(); +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +CreateJoinRoomRequest::mutable_blockeduser() ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.blockedUser) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_blockeduser(); +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +CreateJoinRoomRequest::_internal_blockeduser() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.blockeduser_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_blockeduser() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.blockeduser_; +} + +// bytes joinRoomGroupLabel = 14; +inline void CreateJoinRoomRequest::clear_joinroomgrouplabel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joinroomgrouplabel_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000200U); +} +inline const ::std::string& CreateJoinRoomRequest::joinroomgrouplabel() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.joinRoomGroupLabel) + return _internal_joinroomgrouplabel(); +} +template +PROTOBUF_ALWAYS_INLINE void CreateJoinRoomRequest::set_joinroomgrouplabel(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + _impl_.joinroomgrouplabel_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.CreateJoinRoomRequest.joinRoomGroupLabel) +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_joinroomgrouplabel() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + ::std::string* _s = _internal_mutable_joinroomgrouplabel(); + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.joinRoomGroupLabel) + return _s; +} +inline const ::std::string& CreateJoinRoomRequest::_internal_joinroomgrouplabel() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.joinroomgrouplabel_.Get(); +} +inline void CreateJoinRoomRequest::_internal_set_joinroomgrouplabel(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joinroomgrouplabel_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL CreateJoinRoomRequest::_internal_mutable_joinroomgrouplabel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.joinroomgrouplabel_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE CreateJoinRoomRequest::release_joinroomgrouplabel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.CreateJoinRoomRequest.joinRoomGroupLabel) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000200U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000200U); + auto* released = _impl_.joinroomgrouplabel_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.joinroomgrouplabel_.Set("", GetArena()); + } + return released; +} +inline void CreateJoinRoomRequest::set_allocated_joinroomgrouplabel(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000200U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000200U); + } + _impl_.joinroomgrouplabel_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.joinroomgrouplabel_.IsDefault()) { + _impl_.joinroomgrouplabel_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.CreateJoinRoomRequest.joinRoomGroupLabel) +} + +// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 15; +inline int CreateJoinRoomRequest::_internal_roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal().size(); +} +inline int CreateJoinRoomRequest::roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal_size(); +} +inline void CreateJoinRoomRequest::clear_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roommemberbinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000080U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roommemberbinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.roomMemberBinAttrInternal) + return _internal_mutable_roommemberbinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateJoinRoomRequest.roomMemberBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roommemberbinattrinternal(); +} +inline const ::np2_structs::BinAttr& CreateJoinRoomRequest::roommemberbinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL CreateJoinRoomRequest::add_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roommemberbinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U); + // @@protoc_insertion_point(field_add:np2_structs.CreateJoinRoomRequest.roomMemberBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& CreateJoinRoomRequest::roommemberbinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateJoinRoomRequest.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +CreateJoinRoomRequest::_internal_roommemberbinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roommemberbinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +CreateJoinRoomRequest::_internal_mutable_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roommemberbinattrinternal_; +} + +// .np2_structs.uint8 teamId = 16; +inline bool CreateJoinRoomRequest::has_teamid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U); + PROTOBUF_ASSUME(!value || _impl_.teamid_ != nullptr); + return value; +} +inline void CreateJoinRoomRequest::clear_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ != nullptr) _impl_.teamid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000400U); +} +inline const ::np2_structs::uint8& CreateJoinRoomRequest::_internal_teamid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.teamid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& CreateJoinRoomRequest::teamid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.teamId) + return _internal_teamid(); +} +inline void CreateJoinRoomRequest::unsafe_arena_set_allocated_teamid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.CreateJoinRoomRequest.teamId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE CreateJoinRoomRequest::release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + ::np2_structs::uint8* released = _impl_.teamid_; + _impl_.teamid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE CreateJoinRoomRequest::unsafe_arena_release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.CreateJoinRoomRequest.teamId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + ::np2_structs::uint8* temp = _impl_.teamid_; + _impl_.teamid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL CreateJoinRoomRequest::_internal_mutable_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.teamid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_teamid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + ::np2_structs::uint8* _msg = _internal_mutable_teamid(); + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.teamId) + return _msg; +} +inline void CreateJoinRoomRequest::set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000400U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000400U); + } + + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.CreateJoinRoomRequest.teamId) +} + +// .np2_structs.OptParam sigOptParam = 17; +inline bool CreateJoinRoomRequest::has_sigoptparam() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U); + PROTOBUF_ASSUME(!value || _impl_.sigoptparam_ != nullptr); + return value; +} +inline void CreateJoinRoomRequest::clear_sigoptparam() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sigoptparam_ != nullptr) _impl_.sigoptparam_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000800U); +} +inline const ::np2_structs::OptParam& CreateJoinRoomRequest::_internal_sigoptparam() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::OptParam* p = _impl_.sigoptparam_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_OptParam_default_instance_); +} +inline const ::np2_structs::OptParam& CreateJoinRoomRequest::sigoptparam() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateJoinRoomRequest.sigOptParam) + return _internal_sigoptparam(); +} +inline void CreateJoinRoomRequest::unsafe_arena_set_allocated_sigoptparam( + ::np2_structs::OptParam* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sigoptparam_); + } + _impl_.sigoptparam_ = reinterpret_cast<::np2_structs::OptParam*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000800U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.CreateJoinRoomRequest.sigOptParam) +} +inline ::np2_structs::OptParam* PROTOBUF_NULLABLE CreateJoinRoomRequest::release_sigoptparam() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + ::np2_structs::OptParam* released = _impl_.sigoptparam_; + _impl_.sigoptparam_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::OptParam* PROTOBUF_NULLABLE CreateJoinRoomRequest::unsafe_arena_release_sigoptparam() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.CreateJoinRoomRequest.sigOptParam) + + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + ::np2_structs::OptParam* temp = _impl_.sigoptparam_; + _impl_.sigoptparam_ = nullptr; + return temp; +} +inline ::np2_structs::OptParam* PROTOBUF_NONNULL CreateJoinRoomRequest::_internal_mutable_sigoptparam() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.sigoptparam_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::OptParam>(GetArena()); + _impl_.sigoptparam_ = reinterpret_cast<::np2_structs::OptParam*>(p); + } + return _impl_.sigoptparam_; +} +inline ::np2_structs::OptParam* PROTOBUF_NONNULL CreateJoinRoomRequest::mutable_sigoptparam() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000800U); + ::np2_structs::OptParam* _msg = _internal_mutable_sigoptparam(); + // @@protoc_insertion_point(field_mutable:np2_structs.CreateJoinRoomRequest.sigOptParam) + return _msg; +} +inline void CreateJoinRoomRequest::set_allocated_sigoptparam(::np2_structs::OptParam* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.sigoptparam_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000800U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000800U); + } + + _impl_.sigoptparam_ = reinterpret_cast<::np2_structs::OptParam*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.CreateJoinRoomRequest.sigOptParam) +} + +// ------------------------------------------------------------------- + +// JoinRoomRequest + +// uint64 roomId = 1; +inline void JoinRoomRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::uint64_t JoinRoomRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomRequest.roomId) + return _internal_roomid(); +} +inline void JoinRoomRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.JoinRoomRequest.roomId) +} +inline ::uint64_t JoinRoomRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void JoinRoomRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// bytes roomPassword = 2; +inline void JoinRoomRequest::clear_roompassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roompassword_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& JoinRoomRequest::roompassword() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomRequest.roomPassword) + return _internal_roompassword(); +} +template +PROTOBUF_ALWAYS_INLINE void JoinRoomRequest::set_roompassword(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.roompassword_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.JoinRoomRequest.roomPassword) +} +inline ::std::string* PROTOBUF_NONNULL JoinRoomRequest::mutable_roompassword() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_roompassword(); + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomRequest.roomPassword) + return _s; +} +inline const ::std::string& JoinRoomRequest::_internal_roompassword() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roompassword_.Get(); +} +inline void JoinRoomRequest::_internal_set_roompassword(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roompassword_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL JoinRoomRequest::_internal_mutable_roompassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.roompassword_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE JoinRoomRequest::release_roompassword() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.JoinRoomRequest.roomPassword) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.roompassword_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.roompassword_.Set("", GetArena()); + } + return released; +} +inline void JoinRoomRequest::set_allocated_roompassword(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.roompassword_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.roompassword_.IsDefault()) { + _impl_.roompassword_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.JoinRoomRequest.roomPassword) +} + +// bytes joinRoomGroupLabel = 3; +inline void JoinRoomRequest::clear_joinroomgrouplabel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joinroomgrouplabel_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& JoinRoomRequest::joinroomgrouplabel() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomRequest.joinRoomGroupLabel) + return _internal_joinroomgrouplabel(); +} +template +PROTOBUF_ALWAYS_INLINE void JoinRoomRequest::set_joinroomgrouplabel(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.joinroomgrouplabel_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.JoinRoomRequest.joinRoomGroupLabel) +} +inline ::std::string* PROTOBUF_NONNULL JoinRoomRequest::mutable_joinroomgrouplabel() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_joinroomgrouplabel(); + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomRequest.joinRoomGroupLabel) + return _s; +} +inline const ::std::string& JoinRoomRequest::_internal_joinroomgrouplabel() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.joinroomgrouplabel_.Get(); +} +inline void JoinRoomRequest::_internal_set_joinroomgrouplabel(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joinroomgrouplabel_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL JoinRoomRequest::_internal_mutable_joinroomgrouplabel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.joinroomgrouplabel_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE JoinRoomRequest::release_joinroomgrouplabel() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.JoinRoomRequest.joinRoomGroupLabel) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.joinroomgrouplabel_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.joinroomgrouplabel_.Set("", GetArena()); + } + return released; +} +inline void JoinRoomRequest::set_allocated_joinroomgrouplabel(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.joinroomgrouplabel_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.joinroomgrouplabel_.IsDefault()) { + _impl_.joinroomgrouplabel_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.JoinRoomRequest.joinRoomGroupLabel) +} + +// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; +inline int JoinRoomRequest::_internal_roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal().size(); +} +inline int JoinRoomRequest::roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal_size(); +} +inline void JoinRoomRequest::clear_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roommemberbinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL JoinRoomRequest::mutable_roommemberbinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomRequest.roomMemberBinAttrInternal) + return _internal_mutable_roommemberbinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL JoinRoomRequest::mutable_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.JoinRoomRequest.roomMemberBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roommemberbinattrinternal(); +} +inline const ::np2_structs::BinAttr& JoinRoomRequest::roommemberbinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomRequest.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL JoinRoomRequest::add_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roommemberbinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.JoinRoomRequest.roomMemberBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& JoinRoomRequest::roommemberbinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.JoinRoomRequest.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +JoinRoomRequest::_internal_roommemberbinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roommemberbinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +JoinRoomRequest::_internal_mutable_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roommemberbinattrinternal_; +} + +// .np2_structs.PresenceOptionData optData = 5; +inline bool JoinRoomRequest::has_optdata() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U); + PROTOBUF_ASSUME(!value || _impl_.optdata_ != nullptr); + return value; +} +inline void JoinRoomRequest::clear_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ != nullptr) _impl_.optdata_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::np2_structs::PresenceOptionData& JoinRoomRequest::_internal_optdata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::PresenceOptionData* p = _impl_.optdata_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_PresenceOptionData_default_instance_); +} +inline const ::np2_structs::PresenceOptionData& JoinRoomRequest::optdata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomRequest.optData) + return _internal_optdata(); +} +inline void JoinRoomRequest::unsafe_arena_set_allocated_optdata( + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.JoinRoomRequest.optData) +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE JoinRoomRequest::release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::PresenceOptionData* released = _impl_.optdata_; + _impl_.optdata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE JoinRoomRequest::unsafe_arena_release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.JoinRoomRequest.optData) + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::PresenceOptionData* temp = _impl_.optdata_; + _impl_.optdata_ = nullptr; + return temp; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL JoinRoomRequest::_internal_mutable_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::PresenceOptionData>(GetArena()); + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(p); + } + return _impl_.optdata_; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL JoinRoomRequest::mutable_optdata() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::PresenceOptionData* _msg = _internal_mutable_optdata(); + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomRequest.optData) + return _msg; +} +inline void JoinRoomRequest::set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.JoinRoomRequest.optData) +} + +// .np2_structs.uint8 teamId = 6; +inline bool JoinRoomRequest::has_teamid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U); + PROTOBUF_ASSUME(!value || _impl_.teamid_ != nullptr); + return value; +} +inline void JoinRoomRequest::clear_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ != nullptr) _impl_.teamid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline const ::np2_structs::uint8& JoinRoomRequest::_internal_teamid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.teamid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& JoinRoomRequest::teamid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomRequest.teamId) + return _internal_teamid(); +} +inline void JoinRoomRequest::unsafe_arena_set_allocated_teamid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.JoinRoomRequest.teamId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE JoinRoomRequest::release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint8* released = _impl_.teamid_; + _impl_.teamid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE JoinRoomRequest::unsafe_arena_release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.JoinRoomRequest.teamId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint8* temp = _impl_.teamid_; + _impl_.teamid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL JoinRoomRequest::_internal_mutable_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.teamid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL JoinRoomRequest::mutable_teamid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint8* _msg = _internal_mutable_teamid(); + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomRequest.teamId) + return _msg; +} +inline void JoinRoomRequest::set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.JoinRoomRequest.teamId) +} + +// ------------------------------------------------------------------- + +// JoinRoomResponse + +// .np2_structs.RoomDataInternal room_data = 1; +inline bool JoinRoomResponse::has_room_data() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.room_data_ != nullptr); + return value; +} +inline void JoinRoomResponse::clear_room_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.room_data_ != nullptr) _impl_.room_data_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::RoomDataInternal& JoinRoomResponse::_internal_room_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomDataInternal* p = _impl_.room_data_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomDataInternal_default_instance_); +} +inline const ::np2_structs::RoomDataInternal& JoinRoomResponse::room_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomResponse.room_data) + return _internal_room_data(); +} +inline void JoinRoomResponse::unsafe_arena_set_allocated_room_data( + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.room_data_); + } + _impl_.room_data_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.JoinRoomResponse.room_data) +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE JoinRoomResponse::release_room_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::RoomDataInternal* released = _impl_.room_data_; + _impl_.room_data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE JoinRoomResponse::unsafe_arena_release_room_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.JoinRoomResponse.room_data) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::RoomDataInternal* temp = _impl_.room_data_; + _impl_.room_data_ = nullptr; + return temp; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL JoinRoomResponse::_internal_mutable_room_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.room_data_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomDataInternal>(GetArena()); + _impl_.room_data_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(p); + } + return _impl_.room_data_; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL JoinRoomResponse::mutable_room_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::RoomDataInternal* _msg = _internal_mutable_room_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomResponse.room_data) + return _msg; +} +inline void JoinRoomResponse::set_allocated_room_data(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.room_data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.room_data_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.JoinRoomResponse.room_data) +} + +// repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; +inline int JoinRoomResponse::_internal_signaling_data_size() const { + return _internal_signaling_data().size(); +} +inline int JoinRoomResponse::signaling_data_size() const { + return _internal_signaling_data_size(); +} +inline void JoinRoomResponse::clear_signaling_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.signaling_data_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::Matching2SignalingInfo* PROTOBUF_NONNULL JoinRoomResponse::mutable_signaling_data(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomResponse.signaling_data) + return _internal_mutable_signaling_data()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>* PROTOBUF_NONNULL JoinRoomResponse::mutable_signaling_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.JoinRoomResponse.signaling_data) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_signaling_data(); +} +inline const ::np2_structs::Matching2SignalingInfo& JoinRoomResponse::signaling_data(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomResponse.signaling_data) + return _internal_signaling_data().Get(index); +} +inline ::np2_structs::Matching2SignalingInfo* PROTOBUF_NONNULL JoinRoomResponse::add_signaling_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::Matching2SignalingInfo* _add = + _internal_mutable_signaling_data()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.JoinRoomResponse.signaling_data) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>& JoinRoomResponse::signaling_data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.JoinRoomResponse.signaling_data) + return _internal_signaling_data(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>& +JoinRoomResponse::_internal_signaling_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.signaling_data_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::Matching2SignalingInfo>* PROTOBUF_NONNULL +JoinRoomResponse::_internal_mutable_signaling_data() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.signaling_data_; +} + +// ------------------------------------------------------------------- + +// LeaveRoomRequest + +// uint64 roomId = 1; +inline void LeaveRoomRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint64_t LeaveRoomRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.LeaveRoomRequest.roomId) + return _internal_roomid(); +} +inline void LeaveRoomRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.LeaveRoomRequest.roomId) +} +inline ::uint64_t LeaveRoomRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void LeaveRoomRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// .np2_structs.PresenceOptionData optData = 2; +inline bool LeaveRoomRequest::has_optdata() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.optdata_ != nullptr); + return value; +} +inline void LeaveRoomRequest::clear_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ != nullptr) _impl_.optdata_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::PresenceOptionData& LeaveRoomRequest::_internal_optdata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::PresenceOptionData* p = _impl_.optdata_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_PresenceOptionData_default_instance_); +} +inline const ::np2_structs::PresenceOptionData& LeaveRoomRequest::optdata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.LeaveRoomRequest.optData) + return _internal_optdata(); +} +inline void LeaveRoomRequest::unsafe_arena_set_allocated_optdata( + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.LeaveRoomRequest.optData) +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE LeaveRoomRequest::release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::PresenceOptionData* released = _impl_.optdata_; + _impl_.optdata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE LeaveRoomRequest::unsafe_arena_release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.LeaveRoomRequest.optData) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::PresenceOptionData* temp = _impl_.optdata_; + _impl_.optdata_ = nullptr; + return temp; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL LeaveRoomRequest::_internal_mutable_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::PresenceOptionData>(GetArena()); + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(p); + } + return _impl_.optdata_; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL LeaveRoomRequest::mutable_optdata() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::PresenceOptionData* _msg = _internal_mutable_optdata(); + // @@protoc_insertion_point(field_mutable:np2_structs.LeaveRoomRequest.optData) + return _msg; +} +inline void LeaveRoomRequest::set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.LeaveRoomRequest.optData) +} + +// ------------------------------------------------------------------- + +// GetRoomDataExternalListRequest + +// repeated uint64 roomIds = 1; +inline int GetRoomDataExternalListRequest::_internal_roomids_size() const { + return _internal_roomids().size(); +} +inline int GetRoomDataExternalListRequest::roomids_size() const { + return _internal_roomids_size(); +} +inline void GetRoomDataExternalListRequest::clear_roomids() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomids_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint64_t GetRoomDataExternalListRequest::roomids(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomDataExternalListRequest.roomIds) + return _internal_roomids().Get(index); +} +inline void GetRoomDataExternalListRequest::set_roomids(int index, ::uint64_t value) { + _internal_mutable_roomids()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.GetRoomDataExternalListRequest.roomIds) +} +inline void GetRoomDataExternalListRequest::add_roomids(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_roomids()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomDataExternalListRequest.roomIds) +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& GetRoomDataExternalListRequest::roomids() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomDataExternalListRequest.roomIds) + return _internal_roomids(); +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL GetRoomDataExternalListRequest::mutable_roomids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomDataExternalListRequest.roomIds) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomids(); +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& +GetRoomDataExternalListRequest::_internal_roomids() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomids_; +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL +GetRoomDataExternalListRequest::_internal_mutable_roomids() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomids_; +} + +// repeated .np2_structs.uint16 attrIds = 2; +inline int GetRoomDataExternalListRequest::_internal_attrids_size() const { + return _internal_attrids().size(); +} +inline int GetRoomDataExternalListRequest::attrids_size() const { + return _internal_attrids_size(); +} +inline void GetRoomDataExternalListRequest::clear_attrids() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attrids_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomDataExternalListRequest::mutable_attrids(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomDataExternalListRequest.attrIds) + return _internal_mutable_attrids()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL GetRoomDataExternalListRequest::mutable_attrids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomDataExternalListRequest.attrIds) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attrids(); +} +inline const ::np2_structs::uint16& GetRoomDataExternalListRequest::attrids(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomDataExternalListRequest.attrIds) + return _internal_attrids().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomDataExternalListRequest::add_attrids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_attrids()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomDataExternalListRequest.attrIds) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& GetRoomDataExternalListRequest::attrids() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomDataExternalListRequest.attrIds) + return _internal_attrids(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +GetRoomDataExternalListRequest::_internal_attrids() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attrids_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +GetRoomDataExternalListRequest::_internal_mutable_attrids() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attrids_; +} + +// ------------------------------------------------------------------- + +// GetRoomDataExternalListResponse + +// repeated .np2_structs.RoomDataExternal rooms = 1; +inline int GetRoomDataExternalListResponse::_internal_rooms_size() const { + return _internal_rooms().size(); +} +inline int GetRoomDataExternalListResponse::rooms_size() const { + return _internal_rooms_size(); +} +inline void GetRoomDataExternalListResponse::clear_rooms() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rooms_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL GetRoomDataExternalListResponse::mutable_rooms(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomDataExternalListResponse.rooms) + return _internal_mutable_rooms()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL GetRoomDataExternalListResponse::mutable_rooms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomDataExternalListResponse.rooms) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_rooms(); +} +inline const ::np2_structs::RoomDataExternal& GetRoomDataExternalListResponse::rooms(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomDataExternalListResponse.rooms) + return _internal_rooms().Get(index); +} +inline ::np2_structs::RoomDataExternal* PROTOBUF_NONNULL GetRoomDataExternalListResponse::add_rooms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomDataExternal* _add = + _internal_mutable_rooms()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomDataExternalListResponse.rooms) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& GetRoomDataExternalListResponse::rooms() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomDataExternalListResponse.rooms) + return _internal_rooms(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>& +GetRoomDataExternalListResponse::_internal_rooms() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rooms_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomDataExternal>* PROTOBUF_NONNULL +GetRoomDataExternalListResponse::_internal_mutable_rooms() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.rooms_; +} + +// ------------------------------------------------------------------- + +// SetRoomDataExternalRequest + +// uint64 roomId = 1; +inline void SetRoomDataExternalRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint64_t SetRoomDataExternalRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataExternalRequest.roomId) + return _internal_roomid(); +} +inline void SetRoomDataExternalRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomDataExternalRequest.roomId) +} +inline ::uint64_t SetRoomDataExternalRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void SetRoomDataExternalRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// repeated .np2_structs.IntAttr roomSearchableIntAttrExternal = 2; +inline int SetRoomDataExternalRequest::_internal_roomsearchableintattrexternal_size() const { + return _internal_roomsearchableintattrexternal().size(); +} +inline int SetRoomDataExternalRequest::roomsearchableintattrexternal_size() const { + return _internal_roomsearchableintattrexternal_size(); +} +inline void SetRoomDataExternalRequest::clear_roomsearchableintattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomsearchableintattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL SetRoomDataExternalRequest::mutable_roomsearchableintattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomDataExternalRequest.roomSearchableIntAttrExternal) + return _internal_mutable_roomsearchableintattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL SetRoomDataExternalRequest::mutable_roomsearchableintattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataExternalRequest.roomSearchableIntAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomsearchableintattrexternal(); +} +inline const ::np2_structs::IntAttr& SetRoomDataExternalRequest::roomsearchableintattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataExternalRequest.roomSearchableIntAttrExternal) + return _internal_roomsearchableintattrexternal().Get(index); +} +inline ::np2_structs::IntAttr* PROTOBUF_NONNULL SetRoomDataExternalRequest::add_roomsearchableintattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::IntAttr* _add = + _internal_mutable_roomsearchableintattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataExternalRequest.roomSearchableIntAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& SetRoomDataExternalRequest::roomsearchableintattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataExternalRequest.roomSearchableIntAttrExternal) + return _internal_roomsearchableintattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>& +SetRoomDataExternalRequest::_internal_roomsearchableintattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomsearchableintattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::IntAttr>* PROTOBUF_NONNULL +SetRoomDataExternalRequest::_internal_mutable_roomsearchableintattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomsearchableintattrexternal_; +} + +// repeated .np2_structs.BinAttr roomSearchableBinAttrExternal = 3; +inline int SetRoomDataExternalRequest::_internal_roomsearchablebinattrexternal_size() const { + return _internal_roomsearchablebinattrexternal().size(); +} +inline int SetRoomDataExternalRequest::roomsearchablebinattrexternal_size() const { + return _internal_roomsearchablebinattrexternal_size(); +} +inline void SetRoomDataExternalRequest::clear_roomsearchablebinattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomsearchablebinattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomDataExternalRequest::mutable_roomsearchablebinattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomDataExternalRequest.roomSearchableBinAttrExternal) + return _internal_mutable_roomsearchablebinattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL SetRoomDataExternalRequest::mutable_roomsearchablebinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataExternalRequest.roomSearchableBinAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roomsearchablebinattrexternal(); +} +inline const ::np2_structs::BinAttr& SetRoomDataExternalRequest::roomsearchablebinattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataExternalRequest.roomSearchableBinAttrExternal) + return _internal_roomsearchablebinattrexternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomDataExternalRequest::add_roomsearchablebinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roomsearchablebinattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataExternalRequest.roomSearchableBinAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& SetRoomDataExternalRequest::roomsearchablebinattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataExternalRequest.roomSearchableBinAttrExternal) + return _internal_roomsearchablebinattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +SetRoomDataExternalRequest::_internal_roomsearchablebinattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomsearchablebinattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +SetRoomDataExternalRequest::_internal_mutable_roomsearchablebinattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roomsearchablebinattrexternal_; +} + +// repeated .np2_structs.BinAttr roomBinAttrExternal = 4; +inline int SetRoomDataExternalRequest::_internal_roombinattrexternal_size() const { + return _internal_roombinattrexternal().size(); +} +inline int SetRoomDataExternalRequest::roombinattrexternal_size() const { + return _internal_roombinattrexternal_size(); +} +inline void SetRoomDataExternalRequest::clear_roombinattrexternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roombinattrexternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomDataExternalRequest::mutable_roombinattrexternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomDataExternalRequest.roomBinAttrExternal) + return _internal_mutable_roombinattrexternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL SetRoomDataExternalRequest::mutable_roombinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataExternalRequest.roomBinAttrExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roombinattrexternal(); +} +inline const ::np2_structs::BinAttr& SetRoomDataExternalRequest::roombinattrexternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataExternalRequest.roomBinAttrExternal) + return _internal_roombinattrexternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomDataExternalRequest::add_roombinattrexternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roombinattrexternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataExternalRequest.roomBinAttrExternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& SetRoomDataExternalRequest::roombinattrexternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataExternalRequest.roomBinAttrExternal) + return _internal_roombinattrexternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +SetRoomDataExternalRequest::_internal_roombinattrexternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roombinattrexternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +SetRoomDataExternalRequest::_internal_mutable_roombinattrexternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roombinattrexternal_; +} + +// ------------------------------------------------------------------- + +// SetRoomDataInternalRequest + +// uint64 roomId = 1; +inline void SetRoomDataInternalRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint64_t SetRoomDataInternalRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.roomId) + return _internal_roomid(); +} +inline void SetRoomDataInternalRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomDataInternalRequest.roomId) +} +inline ::uint64_t SetRoomDataInternalRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void SetRoomDataInternalRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// uint32 flagFilter = 2; +inline void SetRoomDataInternalRequest::clear_flagfilter() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagfilter_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::uint32_t SetRoomDataInternalRequest::flagfilter() const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.flagFilter) + return _internal_flagfilter(); +} +inline void SetRoomDataInternalRequest::set_flagfilter(::uint32_t value) { + _internal_set_flagfilter(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomDataInternalRequest.flagFilter) +} +inline ::uint32_t SetRoomDataInternalRequest::_internal_flagfilter() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagfilter_; +} +inline void SetRoomDataInternalRequest::_internal_set_flagfilter(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagfilter_ = value; +} + +// uint32 flagAttr = 3; +inline void SetRoomDataInternalRequest::clear_flagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::uint32_t SetRoomDataInternalRequest::flagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.flagAttr) + return _internal_flagattr(); +} +inline void SetRoomDataInternalRequest::set_flagattr(::uint32_t value) { + _internal_set_flagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomDataInternalRequest.flagAttr) +} +inline ::uint32_t SetRoomDataInternalRequest::_internal_flagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flagattr_; +} +inline void SetRoomDataInternalRequest::_internal_set_flagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flagattr_ = value; +} + +// repeated .np2_structs.BinAttr roomBinAttrInternal = 4; +inline int SetRoomDataInternalRequest::_internal_roombinattrinternal_size() const { + return _internal_roombinattrinternal().size(); +} +inline int SetRoomDataInternalRequest::roombinattrinternal_size() const { + return _internal_roombinattrinternal_size(); +} +inline void SetRoomDataInternalRequest::clear_roombinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roombinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_roombinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomDataInternalRequest.roomBinAttrInternal) + return _internal_mutable_roombinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_roombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataInternalRequest.roomBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roombinattrinternal(); +} +inline const ::np2_structs::BinAttr& SetRoomDataInternalRequest::roombinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.roomBinAttrInternal) + return _internal_roombinattrinternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomDataInternalRequest::add_roombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roombinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataInternalRequest.roomBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& SetRoomDataInternalRequest::roombinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataInternalRequest.roomBinAttrInternal) + return _internal_roombinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +SetRoomDataInternalRequest::_internal_roombinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roombinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +SetRoomDataInternalRequest::_internal_mutable_roombinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roombinattrinternal_; +} + +// repeated .np2_structs.RoomGroupPasswordConfig passwordConfig = 5; +inline int SetRoomDataInternalRequest::_internal_passwordconfig_size() const { + return _internal_passwordconfig().size(); +} +inline int SetRoomDataInternalRequest::passwordconfig_size() const { + return _internal_passwordconfig_size(); +} +inline void SetRoomDataInternalRequest::clear_passwordconfig() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordconfig_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::RoomGroupPasswordConfig* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_passwordconfig(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomDataInternalRequest.passwordConfig) + return _internal_mutable_passwordconfig()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_passwordconfig() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataInternalRequest.passwordConfig) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_passwordconfig(); +} +inline const ::np2_structs::RoomGroupPasswordConfig& SetRoomDataInternalRequest::passwordconfig(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.passwordConfig) + return _internal_passwordconfig().Get(index); +} +inline ::np2_structs::RoomGroupPasswordConfig* PROTOBUF_NONNULL SetRoomDataInternalRequest::add_passwordconfig() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomGroupPasswordConfig* _add = + _internal_mutable_passwordconfig()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataInternalRequest.passwordConfig) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>& SetRoomDataInternalRequest::passwordconfig() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataInternalRequest.passwordConfig) + return _internal_passwordconfig(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>& +SetRoomDataInternalRequest::_internal_passwordconfig() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.passwordconfig_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomGroupPasswordConfig>* PROTOBUF_NONNULL +SetRoomDataInternalRequest::_internal_mutable_passwordconfig() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.passwordconfig_; +} + +// repeated uint64 passwordSlotMask = 6; +inline int SetRoomDataInternalRequest::_internal_passwordslotmask_size() const { + return _internal_passwordslotmask().size(); +} +inline int SetRoomDataInternalRequest::passwordslotmask_size() const { + return _internal_passwordslotmask_size(); +} +inline void SetRoomDataInternalRequest::clear_passwordslotmask() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.passwordslotmask_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint64_t SetRoomDataInternalRequest::passwordslotmask(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.passwordSlotMask) + return _internal_passwordslotmask().Get(index); +} +inline void SetRoomDataInternalRequest::set_passwordslotmask(int index, ::uint64_t value) { + _internal_mutable_passwordslotmask()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomDataInternalRequest.passwordSlotMask) +} +inline void SetRoomDataInternalRequest::add_passwordslotmask(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_passwordslotmask()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataInternalRequest.passwordSlotMask) +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& SetRoomDataInternalRequest::passwordslotmask() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataInternalRequest.passwordSlotMask) + return _internal_passwordslotmask(); +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_passwordslotmask() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataInternalRequest.passwordSlotMask) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_passwordslotmask(); +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& +SetRoomDataInternalRequest::_internal_passwordslotmask() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.passwordslotmask_; +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL +SetRoomDataInternalRequest::_internal_mutable_passwordslotmask() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.passwordslotmask_; +} + +// repeated .np2_structs.uint16 ownerPrivilegeRank = 7; +inline int SetRoomDataInternalRequest::_internal_ownerprivilegerank_size() const { + return _internal_ownerprivilegerank().size(); +} +inline int SetRoomDataInternalRequest::ownerprivilegerank_size() const { + return _internal_ownerprivilegerank_size(); +} +inline void SetRoomDataInternalRequest::clear_ownerprivilegerank() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ownerprivilegerank_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_ownerprivilegerank(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomDataInternalRequest.ownerPrivilegeRank) + return _internal_mutable_ownerprivilegerank()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL SetRoomDataInternalRequest::mutable_ownerprivilegerank() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomDataInternalRequest.ownerPrivilegeRank) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_ownerprivilegerank(); +} +inline const ::np2_structs::uint16& SetRoomDataInternalRequest::ownerprivilegerank(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomDataInternalRequest.ownerPrivilegeRank) + return _internal_ownerprivilegerank().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SetRoomDataInternalRequest::add_ownerprivilegerank() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_ownerprivilegerank()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomDataInternalRequest.ownerPrivilegeRank) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& SetRoomDataInternalRequest::ownerprivilegerank() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomDataInternalRequest.ownerPrivilegeRank) + return _internal_ownerprivilegerank(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +SetRoomDataInternalRequest::_internal_ownerprivilegerank() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ownerprivilegerank_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +SetRoomDataInternalRequest::_internal_mutable_ownerprivilegerank() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.ownerprivilegerank_; +} + +// ------------------------------------------------------------------- + +// GetRoomMemberDataInternalRequest + +// uint64 roomId = 1; +inline void GetRoomMemberDataInternalRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint64_t GetRoomMemberDataInternalRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomMemberDataInternalRequest.roomId) + return _internal_roomid(); +} +inline void GetRoomMemberDataInternalRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetRoomMemberDataInternalRequest.roomId) +} +inline ::uint64_t GetRoomMemberDataInternalRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void GetRoomMemberDataInternalRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// .np2_structs.uint16 memberId = 2; +inline bool GetRoomMemberDataInternalRequest::has_memberid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.memberid_ != nullptr); + return value; +} +inline void GetRoomMemberDataInternalRequest::clear_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.memberid_ != nullptr) _impl_.memberid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint16& GetRoomMemberDataInternalRequest::_internal_memberid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.memberid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& GetRoomMemberDataInternalRequest::memberid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomMemberDataInternalRequest.memberId) + return _internal_memberid(); +} +inline void GetRoomMemberDataInternalRequest::unsafe_arena_set_allocated_memberid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.memberid_); + } + _impl_.memberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.GetRoomMemberDataInternalRequest.memberId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE GetRoomMemberDataInternalRequest::release_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* released = _impl_.memberid_; + _impl_.memberid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE GetRoomMemberDataInternalRequest::unsafe_arena_release_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.GetRoomMemberDataInternalRequest.memberId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* temp = _impl_.memberid_; + _impl_.memberid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::_internal_mutable_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.memberid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.memberid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.memberid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::mutable_memberid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* _msg = _internal_mutable_memberid(); + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomMemberDataInternalRequest.memberId) + return _msg; +} +inline void GetRoomMemberDataInternalRequest::set_allocated_memberid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.memberid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.memberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.GetRoomMemberDataInternalRequest.memberId) +} + +// repeated .np2_structs.uint16 attrId = 3; +inline int GetRoomMemberDataInternalRequest::_internal_attrid_size() const { + return _internal_attrid().size(); +} +inline int GetRoomMemberDataInternalRequest::attrid_size() const { + return _internal_attrid_size(); +} +inline void GetRoomMemberDataInternalRequest::clear_attrid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attrid_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::mutable_attrid(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomMemberDataInternalRequest.attrId) + return _internal_mutable_attrid()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::mutable_attrid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomMemberDataInternalRequest.attrId) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attrid(); +} +inline const ::np2_structs::uint16& GetRoomMemberDataInternalRequest::attrid(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomMemberDataInternalRequest.attrId) + return _internal_attrid().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomMemberDataInternalRequest::add_attrid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_attrid()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomMemberDataInternalRequest.attrId) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& GetRoomMemberDataInternalRequest::attrid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomMemberDataInternalRequest.attrId) + return _internal_attrid(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +GetRoomMemberDataInternalRequest::_internal_attrid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attrid_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +GetRoomMemberDataInternalRequest::_internal_mutable_attrid() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attrid_; +} + +// ------------------------------------------------------------------- + +// SetRoomMemberDataInternalRequest + +// uint64 roomId = 1; +inline void SetRoomMemberDataInternalRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint64_t SetRoomMemberDataInternalRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomMemberDataInternalRequest.roomId) + return _internal_roomid(); +} +inline void SetRoomMemberDataInternalRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomMemberDataInternalRequest.roomId) +} +inline ::uint64_t SetRoomMemberDataInternalRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void SetRoomMemberDataInternalRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// .np2_structs.uint16 memberId = 2; +inline bool SetRoomMemberDataInternalRequest::has_memberid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.memberid_ != nullptr); + return value; +} +inline void SetRoomMemberDataInternalRequest::clear_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.memberid_ != nullptr) _impl_.memberid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint16& SetRoomMemberDataInternalRequest::_internal_memberid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.memberid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& SetRoomMemberDataInternalRequest::memberid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomMemberDataInternalRequest.memberId) + return _internal_memberid(); +} +inline void SetRoomMemberDataInternalRequest::unsafe_arena_set_allocated_memberid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.memberid_); + } + _impl_.memberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.SetRoomMemberDataInternalRequest.memberId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE SetRoomMemberDataInternalRequest::release_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* released = _impl_.memberid_; + _impl_.memberid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE SetRoomMemberDataInternalRequest::unsafe_arena_release_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetRoomMemberDataInternalRequest.memberId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* temp = _impl_.memberid_; + _impl_.memberid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::_internal_mutable_memberid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.memberid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.memberid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.memberid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::mutable_memberid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* _msg = _internal_mutable_memberid(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomMemberDataInternalRequest.memberId) + return _msg; +} +inline void SetRoomMemberDataInternalRequest::set_allocated_memberid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.memberid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.memberid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetRoomMemberDataInternalRequest.memberId) +} + +// .np2_structs.uint8 teamId = 3; +inline bool SetRoomMemberDataInternalRequest::has_teamid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.teamid_ != nullptr); + return value; +} +inline void SetRoomMemberDataInternalRequest::clear_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ != nullptr) _impl_.teamid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::uint8& SetRoomMemberDataInternalRequest::_internal_teamid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.teamid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& SetRoomMemberDataInternalRequest::teamid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomMemberDataInternalRequest.teamId) + return _internal_teamid(); +} +inline void SetRoomMemberDataInternalRequest::unsafe_arena_set_allocated_teamid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.SetRoomMemberDataInternalRequest.teamId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE SetRoomMemberDataInternalRequest::release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* released = _impl_.teamid_; + _impl_.teamid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE SetRoomMemberDataInternalRequest::unsafe_arena_release_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetRoomMemberDataInternalRequest.teamId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* temp = _impl_.teamid_; + _impl_.teamid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::_internal_mutable_teamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.teamid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.teamid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::mutable_teamid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* _msg = _internal_mutable_teamid(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomMemberDataInternalRequest.teamId) + return _msg; +} +inline void SetRoomMemberDataInternalRequest::set_allocated_teamid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.teamid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.teamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetRoomMemberDataInternalRequest.teamId) +} + +// repeated .np2_structs.BinAttr roomMemberBinAttrInternal = 4; +inline int SetRoomMemberDataInternalRequest::_internal_roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal().size(); +} +inline int SetRoomMemberDataInternalRequest::roommemberbinattrinternal_size() const { + return _internal_roommemberbinattrinternal_size(); +} +inline void SetRoomMemberDataInternalRequest::clear_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roommemberbinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::mutable_roommemberbinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomMemberDataInternalRequest.roomMemberBinAttrInternal) + return _internal_mutable_roommemberbinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::mutable_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetRoomMemberDataInternalRequest.roomMemberBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_roommemberbinattrinternal(); +} +inline const ::np2_structs::BinAttr& SetRoomMemberDataInternalRequest::roommemberbinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomMemberDataInternalRequest.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetRoomMemberDataInternalRequest::add_roommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_roommemberbinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SetRoomMemberDataInternalRequest.roomMemberBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& SetRoomMemberDataInternalRequest::roommemberbinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetRoomMemberDataInternalRequest.roomMemberBinAttrInternal) + return _internal_roommemberbinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +SetRoomMemberDataInternalRequest::_internal_roommemberbinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roommemberbinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +SetRoomMemberDataInternalRequest::_internal_mutable_roommemberbinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.roommemberbinattrinternal_; +} + +// ------------------------------------------------------------------- + +// SetUserInfo + +// .np2_structs.uint16 serverId = 1; +inline bool SetUserInfo::has_serverid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.serverid_ != nullptr); + return value; +} +inline void SetUserInfo::clear_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ != nullptr) _impl_.serverid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint16& SetUserInfo::_internal_serverid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.serverid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& SetUserInfo::serverid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetUserInfo.serverId) + return _internal_serverid(); +} +inline void SetUserInfo::unsafe_arena_set_allocated_serverid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.SetUserInfo.serverId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE SetUserInfo::release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* released = _impl_.serverid_; + _impl_.serverid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE SetUserInfo::unsafe_arena_release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetUserInfo.serverId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* temp = _impl_.serverid_; + _impl_.serverid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SetUserInfo::_internal_mutable_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.serverid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SetUserInfo::mutable_serverid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint16* _msg = _internal_mutable_serverid(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetUserInfo.serverId) + return _msg; +} +inline void SetUserInfo::set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetUserInfo.serverId) +} + +// repeated .np2_structs.BinAttr userBinAttr = 2; +inline int SetUserInfo::_internal_userbinattr_size() const { + return _internal_userbinattr().size(); +} +inline int SetUserInfo::userbinattr_size() const { + return _internal_userbinattr_size(); +} +inline void SetUserInfo::clear_userbinattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.userbinattr_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetUserInfo::mutable_userbinattr(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SetUserInfo.userBinAttr) + return _internal_mutable_userbinattr()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL SetUserInfo::mutable_userbinattr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SetUserInfo.userBinAttr) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_userbinattr(); +} +inline const ::np2_structs::BinAttr& SetUserInfo::userbinattr(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetUserInfo.userBinAttr) + return _internal_userbinattr().Get(index); +} +inline ::np2_structs::BinAttr* PROTOBUF_NONNULL SetUserInfo::add_userbinattr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::BinAttr* _add = + _internal_mutable_userbinattr()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SetUserInfo.userBinAttr) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& SetUserInfo::userbinattr() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SetUserInfo.userBinAttr) + return _internal_userbinattr(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>& +SetUserInfo::_internal_userbinattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.userbinattr_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::BinAttr>* PROTOBUF_NONNULL +SetUserInfo::_internal_mutable_userbinattr() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.userbinattr_; +} + +// ------------------------------------------------------------------- + +// GetRoomDataInternalRequest + +// uint64 roomId = 1; +inline void GetRoomDataInternalRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint64_t GetRoomDataInternalRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomDataInternalRequest.roomId) + return _internal_roomid(); +} +inline void GetRoomDataInternalRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GetRoomDataInternalRequest.roomId) +} +inline ::uint64_t GetRoomDataInternalRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void GetRoomDataInternalRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// repeated .np2_structs.uint16 attrId = 2; +inline int GetRoomDataInternalRequest::_internal_attrid_size() const { + return _internal_attrid().size(); +} +inline int GetRoomDataInternalRequest::attrid_size() const { + return _internal_attrid_size(); +} +inline void GetRoomDataInternalRequest::clear_attrid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attrid_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomDataInternalRequest::mutable_attrid(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomDataInternalRequest.attrId) + return _internal_mutable_attrid()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL GetRoomDataInternalRequest::mutable_attrid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomDataInternalRequest.attrId) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attrid(); +} +inline const ::np2_structs::uint16& GetRoomDataInternalRequest::attrid(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomDataInternalRequest.attrId) + return _internal_attrid().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetRoomDataInternalRequest::add_attrid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_attrid()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomDataInternalRequest.attrId) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& GetRoomDataInternalRequest::attrid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomDataInternalRequest.attrId) + return _internal_attrid(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +GetRoomDataInternalRequest::_internal_attrid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attrid_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +GetRoomDataInternalRequest::_internal_mutable_attrid() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attrid_; +} + +// ------------------------------------------------------------------- + +// RoomMemberUpdateInfo + +// .np2_structs.RoomMemberDataInternal roomMemberDataInternal = 1; +inline bool RoomMemberUpdateInfo::has_roommemberdatainternal() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.roommemberdatainternal_ != nullptr); + return value; +} +inline void RoomMemberUpdateInfo::clear_roommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.roommemberdatainternal_ != nullptr) _impl_.roommemberdatainternal_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::RoomMemberDataInternal& RoomMemberUpdateInfo::_internal_roommemberdatainternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomMemberDataInternal* p = _impl_.roommemberdatainternal_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomMemberDataInternal_default_instance_); +} +inline const ::np2_structs::RoomMemberDataInternal& RoomMemberUpdateInfo::roommemberdatainternal() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberUpdateInfo.roomMemberDataInternal) + return _internal_roommemberdatainternal(); +} +inline void RoomMemberUpdateInfo::unsafe_arena_set_allocated_roommemberdatainternal( + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.roommemberdatainternal_); + } + _impl_.roommemberdatainternal_ = reinterpret_cast<::np2_structs::RoomMemberDataInternal*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberUpdateInfo.roomMemberDataInternal) +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE RoomMemberUpdateInfo::release_roommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomMemberDataInternal* released = _impl_.roommemberdatainternal_; + _impl_.roommemberdatainternal_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE RoomMemberUpdateInfo::unsafe_arena_release_roommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberUpdateInfo.roomMemberDataInternal) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomMemberDataInternal* temp = _impl_.roommemberdatainternal_; + _impl_.roommemberdatainternal_ = nullptr; + return temp; +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL RoomMemberUpdateInfo::_internal_mutable_roommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.roommemberdatainternal_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomMemberDataInternal>(GetArena()); + _impl_.roommemberdatainternal_ = reinterpret_cast<::np2_structs::RoomMemberDataInternal*>(p); + } + return _impl_.roommemberdatainternal_; +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL RoomMemberUpdateInfo::mutable_roommemberdatainternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomMemberDataInternal* _msg = _internal_mutable_roommemberdatainternal(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberUpdateInfo.roomMemberDataInternal) + return _msg; +} +inline void RoomMemberUpdateInfo::set_allocated_roommemberdatainternal(::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.roommemberdatainternal_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.roommemberdatainternal_ = reinterpret_cast<::np2_structs::RoomMemberDataInternal*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberUpdateInfo.roomMemberDataInternal) +} + +// .np2_structs.uint8 eventCause = 2; +inline bool RoomMemberUpdateInfo::has_eventcause() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.eventcause_ != nullptr); + return value; +} +inline void RoomMemberUpdateInfo::clear_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.eventcause_ != nullptr) _impl_.eventcause_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint8& RoomMemberUpdateInfo::_internal_eventcause() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.eventcause_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomMemberUpdateInfo::eventcause() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberUpdateInfo.eventCause) + return _internal_eventcause(); +} +inline void RoomMemberUpdateInfo::unsafe_arena_set_allocated_eventcause( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.eventcause_); + } + _impl_.eventcause_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberUpdateInfo.eventCause) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberUpdateInfo::release_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* released = _impl_.eventcause_; + _impl_.eventcause_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberUpdateInfo::unsafe_arena_release_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberUpdateInfo.eventCause) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* temp = _impl_.eventcause_; + _impl_.eventcause_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberUpdateInfo::_internal_mutable_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.eventcause_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.eventcause_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.eventcause_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberUpdateInfo::mutable_eventcause() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* _msg = _internal_mutable_eventcause(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberUpdateInfo.eventCause) + return _msg; +} +inline void RoomMemberUpdateInfo::set_allocated_eventcause(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.eventcause_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.eventcause_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberUpdateInfo.eventCause) +} + +// .np2_structs.PresenceOptionData optData = 3; +inline bool RoomMemberUpdateInfo::has_optdata() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.optdata_ != nullptr); + return value; +} +inline void RoomMemberUpdateInfo::clear_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ != nullptr) _impl_.optdata_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::PresenceOptionData& RoomMemberUpdateInfo::_internal_optdata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::PresenceOptionData* p = _impl_.optdata_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_PresenceOptionData_default_instance_); +} +inline const ::np2_structs::PresenceOptionData& RoomMemberUpdateInfo::optdata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberUpdateInfo.optData) + return _internal_optdata(); +} +inline void RoomMemberUpdateInfo::unsafe_arena_set_allocated_optdata( + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberUpdateInfo.optData) +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE RoomMemberUpdateInfo::release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::PresenceOptionData* released = _impl_.optdata_; + _impl_.optdata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE RoomMemberUpdateInfo::unsafe_arena_release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberUpdateInfo.optData) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::PresenceOptionData* temp = _impl_.optdata_; + _impl_.optdata_ = nullptr; + return temp; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL RoomMemberUpdateInfo::_internal_mutable_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::PresenceOptionData>(GetArena()); + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(p); + } + return _impl_.optdata_; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL RoomMemberUpdateInfo::mutable_optdata() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::PresenceOptionData* _msg = _internal_mutable_optdata(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberUpdateInfo.optData) + return _msg; +} +inline void RoomMemberUpdateInfo::set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberUpdateInfo.optData) +} + +// ------------------------------------------------------------------- + +// NotificationUserJoinedRoom + +// uint64 room_id = 1; +inline void NotificationUserJoinedRoom::clear_room_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.room_id_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint64_t NotificationUserJoinedRoom::room_id() const { + // @@protoc_insertion_point(field_get:np2_structs.NotificationUserJoinedRoom.room_id) + return _internal_room_id(); +} +inline void NotificationUserJoinedRoom::set_room_id(::uint64_t value) { + _internal_set_room_id(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.NotificationUserJoinedRoom.room_id) +} +inline ::uint64_t NotificationUserJoinedRoom::_internal_room_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.room_id_; +} +inline void NotificationUserJoinedRoom::_internal_set_room_id(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.room_id_ = value; +} + +// .np2_structs.RoomMemberUpdateInfo update_info = 2; +inline bool NotificationUserJoinedRoom::has_update_info() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.update_info_ != nullptr); + return value; +} +inline void NotificationUserJoinedRoom::clear_update_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.update_info_ != nullptr) _impl_.update_info_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::RoomMemberUpdateInfo& NotificationUserJoinedRoom::_internal_update_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomMemberUpdateInfo* p = _impl_.update_info_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomMemberUpdateInfo_default_instance_); +} +inline const ::np2_structs::RoomMemberUpdateInfo& NotificationUserJoinedRoom::update_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.NotificationUserJoinedRoom.update_info) + return _internal_update_info(); +} +inline void NotificationUserJoinedRoom::unsafe_arena_set_allocated_update_info( + ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_info_); + } + _impl_.update_info_ = reinterpret_cast<::np2_structs::RoomMemberUpdateInfo*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.NotificationUserJoinedRoom.update_info) +} +inline ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE NotificationUserJoinedRoom::release_update_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomMemberUpdateInfo* released = _impl_.update_info_; + _impl_.update_info_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE NotificationUserJoinedRoom::unsafe_arena_release_update_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.NotificationUserJoinedRoom.update_info) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomMemberUpdateInfo* temp = _impl_.update_info_; + _impl_.update_info_ = nullptr; + return temp; +} +inline ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NONNULL NotificationUserJoinedRoom::_internal_mutable_update_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.update_info_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomMemberUpdateInfo>(GetArena()); + _impl_.update_info_ = reinterpret_cast<::np2_structs::RoomMemberUpdateInfo*>(p); + } + return _impl_.update_info_; +} +inline ::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NONNULL NotificationUserJoinedRoom::mutable_update_info() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomMemberUpdateInfo* _msg = _internal_mutable_update_info(); + // @@protoc_insertion_point(field_mutable:np2_structs.NotificationUserJoinedRoom.update_info) + return _msg; +} +inline void NotificationUserJoinedRoom::set_allocated_update_info(::np2_structs::RoomMemberUpdateInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_info_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.update_info_ = reinterpret_cast<::np2_structs::RoomMemberUpdateInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.NotificationUserJoinedRoom.update_info) +} + +// .np2_structs.SignalingAddr signaling = 3; +inline bool NotificationUserJoinedRoom::has_signaling() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.signaling_ != nullptr); + return value; +} +inline void NotificationUserJoinedRoom::clear_signaling() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.signaling_ != nullptr) _impl_.signaling_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::SignalingAddr& NotificationUserJoinedRoom::_internal_signaling() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::SignalingAddr* p = _impl_.signaling_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_SignalingAddr_default_instance_); +} +inline const ::np2_structs::SignalingAddr& NotificationUserJoinedRoom::signaling() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.NotificationUserJoinedRoom.signaling) + return _internal_signaling(); +} +inline void NotificationUserJoinedRoom::unsafe_arena_set_allocated_signaling( + ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.signaling_); + } + _impl_.signaling_ = reinterpret_cast<::np2_structs::SignalingAddr*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.NotificationUserJoinedRoom.signaling) +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE NotificationUserJoinedRoom::release_signaling() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* released = _impl_.signaling_; + _impl_.signaling_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NULLABLE NotificationUserJoinedRoom::unsafe_arena_release_signaling() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.NotificationUserJoinedRoom.signaling) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* temp = _impl_.signaling_; + _impl_.signaling_ = nullptr; + return temp; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NONNULL NotificationUserJoinedRoom::_internal_mutable_signaling() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.signaling_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::SignalingAddr>(GetArena()); + _impl_.signaling_ = reinterpret_cast<::np2_structs::SignalingAddr*>(p); + } + return _impl_.signaling_; +} +inline ::np2_structs::SignalingAddr* PROTOBUF_NONNULL NotificationUserJoinedRoom::mutable_signaling() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::SignalingAddr* _msg = _internal_mutable_signaling(); + // @@protoc_insertion_point(field_mutable:np2_structs.NotificationUserJoinedRoom.signaling) + return _msg; +} +inline void NotificationUserJoinedRoom::set_allocated_signaling(::np2_structs::SignalingAddr* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.signaling_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.signaling_ = reinterpret_cast<::np2_structs::SignalingAddr*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.NotificationUserJoinedRoom.signaling) +} + +// ------------------------------------------------------------------- + +// RoomUpdateInfo + +// .np2_structs.uint8 eventCause = 1; +inline bool RoomUpdateInfo::has_eventcause() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.eventcause_ != nullptr); + return value; +} +inline void RoomUpdateInfo::clear_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.eventcause_ != nullptr) _impl_.eventcause_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint8& RoomUpdateInfo::_internal_eventcause() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.eventcause_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomUpdateInfo::eventcause() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomUpdateInfo.eventCause) + return _internal_eventcause(); +} +inline void RoomUpdateInfo::unsafe_arena_set_allocated_eventcause( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.eventcause_); + } + _impl_.eventcause_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomUpdateInfo.eventCause) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomUpdateInfo::release_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* released = _impl_.eventcause_; + _impl_.eventcause_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomUpdateInfo::unsafe_arena_release_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomUpdateInfo.eventCause) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* temp = _impl_.eventcause_; + _impl_.eventcause_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomUpdateInfo::_internal_mutable_eventcause() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.eventcause_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.eventcause_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.eventcause_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomUpdateInfo::mutable_eventcause() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint8* _msg = _internal_mutable_eventcause(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomUpdateInfo.eventCause) + return _msg; +} +inline void RoomUpdateInfo::set_allocated_eventcause(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.eventcause_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.eventcause_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomUpdateInfo.eventCause) +} + +// int32 errorCode = 2; +inline void RoomUpdateInfo::clear_errorcode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.errorcode_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::int32_t RoomUpdateInfo::errorcode() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomUpdateInfo.errorCode) + return _internal_errorcode(); +} +inline void RoomUpdateInfo::set_errorcode(::int32_t value) { + _internal_set_errorcode(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.RoomUpdateInfo.errorCode) +} +inline ::int32_t RoomUpdateInfo::_internal_errorcode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.errorcode_; +} +inline void RoomUpdateInfo::_internal_set_errorcode(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.errorcode_ = value; +} + +// .np2_structs.PresenceOptionData optData = 3; +inline bool RoomUpdateInfo::has_optdata() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.optdata_ != nullptr); + return value; +} +inline void RoomUpdateInfo::clear_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ != nullptr) _impl_.optdata_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::PresenceOptionData& RoomUpdateInfo::_internal_optdata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::PresenceOptionData* p = _impl_.optdata_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_PresenceOptionData_default_instance_); +} +inline const ::np2_structs::PresenceOptionData& RoomUpdateInfo::optdata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomUpdateInfo.optData) + return _internal_optdata(); +} +inline void RoomUpdateInfo::unsafe_arena_set_allocated_optdata( + ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomUpdateInfo.optData) +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE RoomUpdateInfo::release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::PresenceOptionData* released = _impl_.optdata_; + _impl_.optdata_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE RoomUpdateInfo::unsafe_arena_release_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomUpdateInfo.optData) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::PresenceOptionData* temp = _impl_.optdata_; + _impl_.optdata_ = nullptr; + return temp; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL RoomUpdateInfo::_internal_mutable_optdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.optdata_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::PresenceOptionData>(GetArena()); + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(p); + } + return _impl_.optdata_; +} +inline ::np2_structs::PresenceOptionData* PROTOBUF_NONNULL RoomUpdateInfo::mutable_optdata() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::PresenceOptionData* _msg = _internal_mutable_optdata(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomUpdateInfo.optData) + return _msg; +} +inline void RoomUpdateInfo::set_allocated_optdata(::np2_structs::PresenceOptionData* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.optdata_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.optdata_ = reinterpret_cast<::np2_structs::PresenceOptionData*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomUpdateInfo.optData) +} + +// ------------------------------------------------------------------- + +// RoomDataInternalUpdateInfo + +// .np2_structs.RoomDataInternal newRoomDataInternal = 1; +inline bool RoomDataInternalUpdateInfo::has_newroomdatainternal() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.newroomdatainternal_ != nullptr); + return value; +} +inline void RoomDataInternalUpdateInfo::clear_newroomdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.newroomdatainternal_ != nullptr) _impl_.newroomdatainternal_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::RoomDataInternal& RoomDataInternalUpdateInfo::_internal_newroomdatainternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomDataInternal* p = _impl_.newroomdatainternal_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomDataInternal_default_instance_); +} +inline const ::np2_structs::RoomDataInternal& RoomDataInternalUpdateInfo::newroomdatainternal() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternalUpdateInfo.newRoomDataInternal) + return _internal_newroomdatainternal(); +} +inline void RoomDataInternalUpdateInfo::unsafe_arena_set_allocated_newroomdatainternal( + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.newroomdatainternal_); + } + _impl_.newroomdatainternal_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomDataInternalUpdateInfo.newRoomDataInternal) +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE RoomDataInternalUpdateInfo::release_newroomdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::RoomDataInternal* released = _impl_.newroomdatainternal_; + _impl_.newroomdatainternal_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE RoomDataInternalUpdateInfo::unsafe_arena_release_newroomdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataInternalUpdateInfo.newRoomDataInternal) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::RoomDataInternal* temp = _impl_.newroomdatainternal_; + _impl_.newroomdatainternal_ = nullptr; + return temp; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::_internal_mutable_newroomdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.newroomdatainternal_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomDataInternal>(GetArena()); + _impl_.newroomdatainternal_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(p); + } + return _impl_.newroomdatainternal_; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::mutable_newroomdatainternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::RoomDataInternal* _msg = _internal_mutable_newroomdatainternal(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternalUpdateInfo.newRoomDataInternal) + return _msg; +} +inline void RoomDataInternalUpdateInfo::set_allocated_newroomdatainternal(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.newroomdatainternal_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.newroomdatainternal_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataInternalUpdateInfo.newRoomDataInternal) +} + +// uint32 prevFlagAttr = 2; +inline void RoomDataInternalUpdateInfo::clear_prevflagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.prevflagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint32_t RoomDataInternalUpdateInfo::prevflagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternalUpdateInfo.prevFlagAttr) + return _internal_prevflagattr(); +} +inline void RoomDataInternalUpdateInfo::set_prevflagattr(::uint32_t value) { + _internal_set_prevflagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternalUpdateInfo.prevFlagAttr) +} +inline ::uint32_t RoomDataInternalUpdateInfo::_internal_prevflagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.prevflagattr_; +} +inline void RoomDataInternalUpdateInfo::_internal_set_prevflagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.prevflagattr_ = value; +} + +// uint64 prevRoomPasswordSlotMask = 3; +inline void RoomDataInternalUpdateInfo::clear_prevroompasswordslotmask() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.prevroompasswordslotmask_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint64_t RoomDataInternalUpdateInfo::prevroompasswordslotmask() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternalUpdateInfo.prevRoomPasswordSlotMask) + return _internal_prevroompasswordslotmask(); +} +inline void RoomDataInternalUpdateInfo::set_prevroompasswordslotmask(::uint64_t value) { + _internal_set_prevroompasswordslotmask(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternalUpdateInfo.prevRoomPasswordSlotMask) +} +inline ::uint64_t RoomDataInternalUpdateInfo::_internal_prevroompasswordslotmask() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.prevroompasswordslotmask_; +} +inline void RoomDataInternalUpdateInfo::_internal_set_prevroompasswordslotmask(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.prevroompasswordslotmask_ = value; +} + +// bytes newRoomGroup = 4; +inline void RoomDataInternalUpdateInfo::clear_newroomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.newroomgroup_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& RoomDataInternalUpdateInfo::newroomgroup() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternalUpdateInfo.newRoomGroup) + return _internal_newroomgroup(); +} +template +PROTOBUF_ALWAYS_INLINE void RoomDataInternalUpdateInfo::set_newroomgroup(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.newroomgroup_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.RoomDataInternalUpdateInfo.newRoomGroup) +} +inline ::std::string* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::mutable_newroomgroup() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_newroomgroup(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternalUpdateInfo.newRoomGroup) + return _s; +} +inline const ::std::string& RoomDataInternalUpdateInfo::_internal_newroomgroup() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.newroomgroup_.Get(); +} +inline void RoomDataInternalUpdateInfo::_internal_set_newroomgroup(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.newroomgroup_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::_internal_mutable_newroomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.newroomgroup_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE RoomDataInternalUpdateInfo::release_newroomgroup() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomDataInternalUpdateInfo.newRoomGroup) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.newroomgroup_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.newroomgroup_.Set("", GetArena()); + } + return released; +} +inline void RoomDataInternalUpdateInfo::set_allocated_newroomgroup(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.newroomgroup_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.newroomgroup_.IsDefault()) { + _impl_.newroomgroup_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomDataInternalUpdateInfo.newRoomGroup) +} + +// repeated .np2_structs.uint16 newRoomBinAttrInternal = 5; +inline int RoomDataInternalUpdateInfo::_internal_newroombinattrinternal_size() const { + return _internal_newroombinattrinternal().size(); +} +inline int RoomDataInternalUpdateInfo::newroombinattrinternal_size() const { + return _internal_newroombinattrinternal_size(); +} +inline void RoomDataInternalUpdateInfo::clear_newroombinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.newroombinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::mutable_newroombinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomDataInternalUpdateInfo.newRoomBinAttrInternal) + return _internal_mutable_newroombinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::mutable_newroombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomDataInternalUpdateInfo.newRoomBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_newroombinattrinternal(); +} +inline const ::np2_structs::uint16& RoomDataInternalUpdateInfo::newroombinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomDataInternalUpdateInfo.newRoomBinAttrInternal) + return _internal_newroombinattrinternal().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomDataInternalUpdateInfo::add_newroombinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_newroombinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.RoomDataInternalUpdateInfo.newRoomBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& RoomDataInternalUpdateInfo::newroombinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomDataInternalUpdateInfo.newRoomBinAttrInternal) + return _internal_newroombinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +RoomDataInternalUpdateInfo::_internal_newroombinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.newroombinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +RoomDataInternalUpdateInfo::_internal_mutable_newroombinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.newroombinattrinternal_; +} + +// ------------------------------------------------------------------- + +// RoomMemberDataInternalUpdateInfo + +// .np2_structs.RoomMemberDataInternal newRoomMemberDataInternal = 1; +inline bool RoomMemberDataInternalUpdateInfo::has_newroommemberdatainternal() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.newroommemberdatainternal_ != nullptr); + return value; +} +inline void RoomMemberDataInternalUpdateInfo::clear_newroommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.newroommemberdatainternal_ != nullptr) _impl_.newroommemberdatainternal_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::RoomMemberDataInternal& RoomMemberDataInternalUpdateInfo::_internal_newroommemberdatainternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomMemberDataInternal* p = _impl_.newroommemberdatainternal_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomMemberDataInternal_default_instance_); +} +inline const ::np2_structs::RoomMemberDataInternal& RoomMemberDataInternalUpdateInfo::newroommemberdatainternal() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberDataInternal) + return _internal_newroommemberdatainternal(); +} +inline void RoomMemberDataInternalUpdateInfo::unsafe_arena_set_allocated_newroommemberdatainternal( + ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.newroommemberdatainternal_); + } + _impl_.newroommemberdatainternal_ = reinterpret_cast<::np2_structs::RoomMemberDataInternal*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberDataInternal) +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE RoomMemberDataInternalUpdateInfo::release_newroommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::RoomMemberDataInternal* released = _impl_.newroommemberdatainternal_; + _impl_.newroommemberdatainternal_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE RoomMemberDataInternalUpdateInfo::unsafe_arena_release_newroommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberDataInternal) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::RoomMemberDataInternal* temp = _impl_.newroommemberdatainternal_; + _impl_.newroommemberdatainternal_ = nullptr; + return temp; +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::_internal_mutable_newroommemberdatainternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.newroommemberdatainternal_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomMemberDataInternal>(GetArena()); + _impl_.newroommemberdatainternal_ = reinterpret_cast<::np2_structs::RoomMemberDataInternal*>(p); + } + return _impl_.newroommemberdatainternal_; +} +inline ::np2_structs::RoomMemberDataInternal* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::mutable_newroommemberdatainternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::RoomMemberDataInternal* _msg = _internal_mutable_newroommemberdatainternal(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberDataInternal) + return _msg; +} +inline void RoomMemberDataInternalUpdateInfo::set_allocated_newroommemberdatainternal(::np2_structs::RoomMemberDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.newroommemberdatainternal_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.newroommemberdatainternal_ = reinterpret_cast<::np2_structs::RoomMemberDataInternal*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberDataInternal) +} + +// uint32 prevFlagAttr = 2; +inline void RoomMemberDataInternalUpdateInfo::clear_prevflagattr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.prevflagattr_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t RoomMemberDataInternalUpdateInfo::prevflagattr() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternalUpdateInfo.prevFlagAttr) + return _internal_prevflagattr(); +} +inline void RoomMemberDataInternalUpdateInfo::set_prevflagattr(::uint32_t value) { + _internal_set_prevflagattr(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMemberDataInternalUpdateInfo.prevFlagAttr) +} +inline ::uint32_t RoomMemberDataInternalUpdateInfo::_internal_prevflagattr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.prevflagattr_; +} +inline void RoomMemberDataInternalUpdateInfo::_internal_set_prevflagattr(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.prevflagattr_ = value; +} + +// .np2_structs.uint8 prevTeamId = 3; +inline bool RoomMemberDataInternalUpdateInfo::has_prevteamid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.prevteamid_ != nullptr); + return value; +} +inline void RoomMemberDataInternalUpdateInfo::clear_prevteamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.prevteamid_ != nullptr) _impl_.prevteamid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::uint8& RoomMemberDataInternalUpdateInfo::_internal_prevteamid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.prevteamid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomMemberDataInternalUpdateInfo::prevteamid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternalUpdateInfo.prevTeamId) + return _internal_prevteamid(); +} +inline void RoomMemberDataInternalUpdateInfo::unsafe_arena_set_allocated_prevteamid( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.prevteamid_); + } + _impl_.prevteamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataInternalUpdateInfo.prevTeamId) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataInternalUpdateInfo::release_prevteamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* released = _impl_.prevteamid_; + _impl_.prevteamid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataInternalUpdateInfo::unsafe_arena_release_prevteamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataInternalUpdateInfo.prevTeamId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* temp = _impl_.prevteamid_; + _impl_.prevteamid_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::_internal_mutable_prevteamid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.prevteamid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.prevteamid_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.prevteamid_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::mutable_prevteamid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* _msg = _internal_mutable_prevteamid(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternalUpdateInfo.prevTeamId) + return _msg; +} +inline void RoomMemberDataInternalUpdateInfo::set_allocated_prevteamid(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.prevteamid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.prevteamid_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataInternalUpdateInfo.prevTeamId) +} + +// repeated .np2_structs.uint16 newRoomMemberBinAttrInternal = 4; +inline int RoomMemberDataInternalUpdateInfo::_internal_newroommemberbinattrinternal_size() const { + return _internal_newroommemberbinattrinternal().size(); +} +inline int RoomMemberDataInternalUpdateInfo::newroommemberbinattrinternal_size() const { + return _internal_newroommemberbinattrinternal_size(); +} +inline void RoomMemberDataInternalUpdateInfo::clear_newroommemberbinattrinternal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.newroommemberbinattrinternal_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::mutable_newroommemberbinattrinternal(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberBinAttrInternal) + return _internal_mutable_newroommemberbinattrinternal()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::mutable_newroommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberBinAttrInternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_newroommemberbinattrinternal(); +} +inline const ::np2_structs::uint16& RoomMemberDataInternalUpdateInfo::newroommemberbinattrinternal(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberBinAttrInternal) + return _internal_newroommemberbinattrinternal().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomMemberDataInternalUpdateInfo::add_newroommemberbinattrinternal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_newroommemberbinattrinternal()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberBinAttrInternal) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& RoomMemberDataInternalUpdateInfo::newroommemberbinattrinternal() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomMemberDataInternalUpdateInfo.newRoomMemberBinAttrInternal) + return _internal_newroommemberbinattrinternal(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +RoomMemberDataInternalUpdateInfo::_internal_newroommemberbinattrinternal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.newroommemberbinattrinternal_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +RoomMemberDataInternalUpdateInfo::_internal_mutable_newroommemberbinattrinternal() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.newroommemberbinattrinternal_; +} + +// ------------------------------------------------------------------- + +// GetPingInfoResponse + +// .np2_structs.uint16 serverId = 1; +inline bool GetPingInfoResponse::has_serverid() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.serverid_ != nullptr); + return value; +} +inline void GetPingInfoResponse::clear_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ != nullptr) _impl_.serverid_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::uint16& GetPingInfoResponse::_internal_serverid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.serverid_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& GetPingInfoResponse::serverid() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetPingInfoResponse.serverId) + return _internal_serverid(); +} +inline void GetPingInfoResponse::unsafe_arena_set_allocated_serverid( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.GetPingInfoResponse.serverId) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE GetPingInfoResponse::release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* released = _impl_.serverid_; + _impl_.serverid_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE GetPingInfoResponse::unsafe_arena_release_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.GetPingInfoResponse.serverId) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* temp = _impl_.serverid_; + _impl_.serverid_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetPingInfoResponse::_internal_mutable_serverid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.serverid_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.serverid_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL GetPingInfoResponse::mutable_serverid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::uint16* _msg = _internal_mutable_serverid(); + // @@protoc_insertion_point(field_mutable:np2_structs.GetPingInfoResponse.serverId) + return _msg; +} +inline void GetPingInfoResponse::set_allocated_serverid(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.serverid_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.serverid_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.GetPingInfoResponse.serverId) +} + +// uint32 worldId = 2; +inline void GetPingInfoResponse::clear_worldid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t GetPingInfoResponse::worldid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetPingInfoResponse.worldId) + return _internal_worldid(); +} +inline void GetPingInfoResponse::set_worldid(::uint32_t value) { + _internal_set_worldid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetPingInfoResponse.worldId) +} +inline ::uint32_t GetPingInfoResponse::_internal_worldid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.worldid_; +} +inline void GetPingInfoResponse::_internal_set_worldid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.worldid_ = value; +} + +// uint64 roomId = 3; +inline void GetPingInfoResponse::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint64_t GetPingInfoResponse::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetPingInfoResponse.roomId) + return _internal_roomid(); +} +inline void GetPingInfoResponse::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GetPingInfoResponse.roomId) +} +inline ::uint64_t GetPingInfoResponse::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void GetPingInfoResponse::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// uint32 rtt = 4; +inline void GetPingInfoResponse::clear_rtt() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rtt_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t GetPingInfoResponse::rtt() const { + // @@protoc_insertion_point(field_get:np2_structs.GetPingInfoResponse.rtt) + return _internal_rtt(); +} +inline void GetPingInfoResponse::set_rtt(::uint32_t value) { + _internal_set_rtt(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.GetPingInfoResponse.rtt) +} +inline ::uint32_t GetPingInfoResponse::_internal_rtt() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rtt_; +} +inline void GetPingInfoResponse::_internal_set_rtt(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rtt_ = value; +} + +// ------------------------------------------------------------------- + +// SendRoomMessageRequest + +// uint64 roomId = 1; +inline void SendRoomMessageRequest::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint64_t SendRoomMessageRequest::roomid() const { + // @@protoc_insertion_point(field_get:np2_structs.SendRoomMessageRequest.roomId) + return _internal_roomid(); +} +inline void SendRoomMessageRequest::set_roomid(::uint64_t value) { + _internal_set_roomid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.SendRoomMessageRequest.roomId) +} +inline ::uint64_t SendRoomMessageRequest::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_; +} +inline void SendRoomMessageRequest::_internal_set_roomid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_ = value; +} + +// .np2_structs.uint8 castType = 2; +inline bool SendRoomMessageRequest::has_casttype() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.casttype_ != nullptr); + return value; +} +inline void SendRoomMessageRequest::clear_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.casttype_ != nullptr) _impl_.casttype_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::uint8& SendRoomMessageRequest::_internal_casttype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.casttype_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& SendRoomMessageRequest::casttype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SendRoomMessageRequest.castType) + return _internal_casttype(); +} +inline void SendRoomMessageRequest::unsafe_arena_set_allocated_casttype( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.casttype_); + } + _impl_.casttype_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.SendRoomMessageRequest.castType) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE SendRoomMessageRequest::release_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* released = _impl_.casttype_; + _impl_.casttype_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE SendRoomMessageRequest::unsafe_arena_release_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SendRoomMessageRequest.castType) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* temp = _impl_.casttype_; + _impl_.casttype_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL SendRoomMessageRequest::_internal_mutable_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.casttype_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.casttype_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.casttype_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL SendRoomMessageRequest::mutable_casttype() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* _msg = _internal_mutable_casttype(); + // @@protoc_insertion_point(field_mutable:np2_structs.SendRoomMessageRequest.castType) + return _msg; +} +inline void SendRoomMessageRequest::set_allocated_casttype(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.casttype_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.casttype_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.SendRoomMessageRequest.castType) +} + +// repeated .np2_structs.uint16 dst = 3; +inline int SendRoomMessageRequest::_internal_dst_size() const { + return _internal_dst().size(); +} +inline int SendRoomMessageRequest::dst_size() const { + return _internal_dst_size(); +} +inline void SendRoomMessageRequest::clear_dst() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.dst_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SendRoomMessageRequest::mutable_dst(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SendRoomMessageRequest.dst) + return _internal_mutable_dst()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL SendRoomMessageRequest::mutable_dst() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SendRoomMessageRequest.dst) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_dst(); +} +inline const ::np2_structs::uint16& SendRoomMessageRequest::dst(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SendRoomMessageRequest.dst) + return _internal_dst().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL SendRoomMessageRequest::add_dst() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_dst()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SendRoomMessageRequest.dst) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& SendRoomMessageRequest::dst() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SendRoomMessageRequest.dst) + return _internal_dst(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +SendRoomMessageRequest::_internal_dst() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.dst_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +SendRoomMessageRequest::_internal_mutable_dst() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.dst_; +} + +// bytes msg = 4; +inline void SendRoomMessageRequest::clear_msg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msg_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& SendRoomMessageRequest::msg() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SendRoomMessageRequest.msg) + return _internal_msg(); +} +template +PROTOBUF_ALWAYS_INLINE void SendRoomMessageRequest::set_msg(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.msg_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SendRoomMessageRequest.msg) +} +inline ::std::string* PROTOBUF_NONNULL SendRoomMessageRequest::mutable_msg() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_msg(); + // @@protoc_insertion_point(field_mutable:np2_structs.SendRoomMessageRequest.msg) + return _s; +} +inline const ::std::string& SendRoomMessageRequest::_internal_msg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.msg_.Get(); +} +inline void SendRoomMessageRequest::_internal_set_msg(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msg_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SendRoomMessageRequest::_internal_mutable_msg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.msg_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SendRoomMessageRequest::release_msg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SendRoomMessageRequest.msg) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.msg_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.msg_.Set("", GetArena()); + } + return released; +} +inline void SendRoomMessageRequest::set_allocated_msg(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.msg_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.msg_.IsDefault()) { + _impl_.msg_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SendRoomMessageRequest.msg) +} + +// .np2_structs.uint8 option = 5; +inline bool SendRoomMessageRequest::has_option() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U); + PROTOBUF_ASSUME(!value || _impl_.option_ != nullptr); + return value; +} +inline void SendRoomMessageRequest::clear_option() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.option_ != nullptr) _impl_.option_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::np2_structs::uint8& SendRoomMessageRequest::_internal_option() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.option_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& SendRoomMessageRequest::option() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SendRoomMessageRequest.option) + return _internal_option(); +} +inline void SendRoomMessageRequest::unsafe_arena_set_allocated_option( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.option_); + } + _impl_.option_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.SendRoomMessageRequest.option) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE SendRoomMessageRequest::release_option() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::uint8* released = _impl_.option_; + _impl_.option_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE SendRoomMessageRequest::unsafe_arena_release_option() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SendRoomMessageRequest.option) + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::uint8* temp = _impl_.option_; + _impl_.option_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL SendRoomMessageRequest::_internal_mutable_option() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.option_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.option_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.option_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL SendRoomMessageRequest::mutable_option() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::uint8* _msg = _internal_mutable_option(); + // @@protoc_insertion_point(field_mutable:np2_structs.SendRoomMessageRequest.option) + return _msg; +} +inline void SendRoomMessageRequest::set_allocated_option(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.option_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + + _impl_.option_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.SendRoomMessageRequest.option) +} + +// ------------------------------------------------------------------- + +// RoomMessageInfo + +// bool filtered = 1; +inline void RoomMessageInfo::clear_filtered() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.filtered_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline bool RoomMessageInfo::filtered() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMessageInfo.filtered) + return _internal_filtered(); +} +inline void RoomMessageInfo::set_filtered(bool value) { + _internal_set_filtered(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMessageInfo.filtered) +} +inline bool RoomMessageInfo::_internal_filtered() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.filtered_; +} +inline void RoomMessageInfo::_internal_set_filtered(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.filtered_ = value; +} + +// .np2_structs.uint8 castType = 2; +inline bool RoomMessageInfo::has_casttype() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.casttype_ != nullptr); + return value; +} +inline void RoomMessageInfo::clear_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.casttype_ != nullptr) _impl_.casttype_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::uint8& RoomMessageInfo::_internal_casttype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.casttype_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomMessageInfo::casttype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMessageInfo.castType) + return _internal_casttype(); +} +inline void RoomMessageInfo::unsafe_arena_set_allocated_casttype( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.casttype_); + } + _impl_.casttype_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMessageInfo.castType) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMessageInfo::release_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* released = _impl_.casttype_; + _impl_.casttype_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMessageInfo::unsafe_arena_release_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMessageInfo.castType) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* temp = _impl_.casttype_; + _impl_.casttype_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMessageInfo::_internal_mutable_casttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.casttype_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.casttype_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.casttype_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMessageInfo::mutable_casttype() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::uint8* _msg = _internal_mutable_casttype(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMessageInfo.castType) + return _msg; +} +inline void RoomMessageInfo::set_allocated_casttype(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.casttype_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.casttype_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMessageInfo.castType) +} + +// repeated .np2_structs.uint16 dst = 3; +inline int RoomMessageInfo::_internal_dst_size() const { + return _internal_dst().size(); +} +inline int RoomMessageInfo::dst_size() const { + return _internal_dst_size(); +} +inline void RoomMessageInfo::clear_dst() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.dst_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomMessageInfo::mutable_dst(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMessageInfo.dst) + return _internal_mutable_dst()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL RoomMessageInfo::mutable_dst() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.RoomMessageInfo.dst) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_dst(); +} +inline const ::np2_structs::uint16& RoomMessageInfo::dst(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMessageInfo.dst) + return _internal_dst().Get(index); +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL RoomMessageInfo::add_dst() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::uint16* _add = + _internal_mutable_dst()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.RoomMessageInfo.dst) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& RoomMessageInfo::dst() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.RoomMessageInfo.dst) + return _internal_dst(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>& +RoomMessageInfo::_internal_dst() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.dst_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::uint16>* PROTOBUF_NONNULL +RoomMessageInfo::_internal_mutable_dst() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.dst_; +} + +// .np2_structs.UserInfo srcMember = 4; +inline bool RoomMessageInfo::has_srcmember() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U); + PROTOBUF_ASSUME(!value || _impl_.srcmember_ != nullptr); + return value; +} +inline void RoomMessageInfo::clear_srcmember() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.srcmember_ != nullptr) _impl_.srcmember_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::np2_structs::UserInfo& RoomMessageInfo::_internal_srcmember() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::UserInfo* p = _impl_.srcmember_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_UserInfo_default_instance_); +} +inline const ::np2_structs::UserInfo& RoomMessageInfo::srcmember() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMessageInfo.srcMember) + return _internal_srcmember(); +} +inline void RoomMessageInfo::unsafe_arena_set_allocated_srcmember( + ::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.srcmember_); + } + _impl_.srcmember_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMessageInfo.srcMember) +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomMessageInfo::release_srcmember() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::UserInfo* released = _impl_.srcmember_; + _impl_.srcmember_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomMessageInfo::unsafe_arena_release_srcmember() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMessageInfo.srcMember) + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::UserInfo* temp = _impl_.srcmember_; + _impl_.srcmember_ = nullptr; + return temp; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomMessageInfo::_internal_mutable_srcmember() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.srcmember_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::UserInfo>(GetArena()); + _impl_.srcmember_ = reinterpret_cast<::np2_structs::UserInfo*>(p); + } + return _impl_.srcmember_; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomMessageInfo::mutable_srcmember() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::UserInfo* _msg = _internal_mutable_srcmember(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMessageInfo.srcMember) + return _msg; +} +inline void RoomMessageInfo::set_allocated_srcmember(::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.srcmember_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + + _impl_.srcmember_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMessageInfo.srcMember) +} + +// bytes msg = 5; +inline void RoomMessageInfo::clear_msg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msg_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& RoomMessageInfo::msg() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMessageInfo.msg) + return _internal_msg(); +} +template +PROTOBUF_ALWAYS_INLINE void RoomMessageInfo::set_msg(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.msg_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.RoomMessageInfo.msg) +} +inline ::std::string* PROTOBUF_NONNULL RoomMessageInfo::mutable_msg() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_msg(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMessageInfo.msg) + return _s; +} +inline const ::std::string& RoomMessageInfo::_internal_msg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.msg_.Get(); +} +inline void RoomMessageInfo::_internal_set_msg(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msg_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL RoomMessageInfo::_internal_mutable_msg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.msg_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE RoomMessageInfo::release_msg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMessageInfo.msg) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.msg_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.msg_.Set("", GetArena()); + } + return released; +} +inline void RoomMessageInfo::set_allocated_msg(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.msg_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.msg_.IsDefault()) { + _impl_.msg_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMessageInfo.msg) +} + +// ------------------------------------------------------------------- + +// MessageDetails + +// string communicationId = 1; +inline void MessageDetails::clear_communicationid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.communicationid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& MessageDetails::communicationid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.communicationId) + return _internal_communicationid(); +} +template +PROTOBUF_ALWAYS_INLINE void MessageDetails::set_communicationid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.communicationid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MessageDetails.communicationId) +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::mutable_communicationid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_communicationid(); + // @@protoc_insertion_point(field_mutable:np2_structs.MessageDetails.communicationId) + return _s; +} +inline const ::std::string& MessageDetails::_internal_communicationid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.communicationid_.Get(); +} +inline void MessageDetails::_internal_set_communicationid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.communicationid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::_internal_mutable_communicationid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.communicationid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MessageDetails::release_communicationid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MessageDetails.communicationId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.communicationid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.communicationid_.Set("", GetArena()); + } + return released; +} +inline void MessageDetails::set_allocated_communicationid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.communicationid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.communicationid_.IsDefault()) { + _impl_.communicationid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MessageDetails.communicationId) +} + +// uint64 msgId = 2; +inline void MessageDetails::clear_msgid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msgid_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::uint64_t MessageDetails::msgid() const { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.msgId) + return _internal_msgid(); +} +inline void MessageDetails::set_msgid(::uint64_t value) { + _internal_set_msgid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.MessageDetails.msgId) +} +inline ::uint64_t MessageDetails::_internal_msgid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.msgid_; +} +inline void MessageDetails::_internal_set_msgid(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msgid_ = value; +} + +// .np2_structs.uint16 mainType = 3; +inline bool MessageDetails::has_maintype() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U); + PROTOBUF_ASSUME(!value || _impl_.maintype_ != nullptr); + return value; +} +inline void MessageDetails::clear_maintype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maintype_ != nullptr) _impl_.maintype_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline const ::np2_structs::uint16& MessageDetails::_internal_maintype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.maintype_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& MessageDetails::maintype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.mainType) + return _internal_maintype(); +} +inline void MessageDetails::unsafe_arena_set_allocated_maintype( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.maintype_); + } + _impl_.maintype_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.MessageDetails.mainType) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE MessageDetails::release_maintype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* released = _impl_.maintype_; + _impl_.maintype_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE MessageDetails::unsafe_arena_release_maintype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MessageDetails.mainType) + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* temp = _impl_.maintype_; + _impl_.maintype_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL MessageDetails::_internal_mutable_maintype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.maintype_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.maintype_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.maintype_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL MessageDetails::mutable_maintype() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::uint16* _msg = _internal_mutable_maintype(); + // @@protoc_insertion_point(field_mutable:np2_structs.MessageDetails.mainType) + return _msg; +} +inline void MessageDetails::set_allocated_maintype(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.maintype_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + + _impl_.maintype_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.MessageDetails.mainType) +} + +// .np2_structs.uint16 subType = 4; +inline bool MessageDetails::has_subtype() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U); + PROTOBUF_ASSUME(!value || _impl_.subtype_ != nullptr); + return value; +} +inline void MessageDetails::clear_subtype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.subtype_ != nullptr) _impl_.subtype_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline const ::np2_structs::uint16& MessageDetails::_internal_subtype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint16* p = _impl_.subtype_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint16_default_instance_); +} +inline const ::np2_structs::uint16& MessageDetails::subtype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.subType) + return _internal_subtype(); +} +inline void MessageDetails::unsafe_arena_set_allocated_subtype( + ::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.subtype_); + } + _impl_.subtype_ = reinterpret_cast<::np2_structs::uint16*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.MessageDetails.subType) +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE MessageDetails::release_subtype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + ::np2_structs::uint16* released = _impl_.subtype_; + _impl_.subtype_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint16* PROTOBUF_NULLABLE MessageDetails::unsafe_arena_release_subtype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MessageDetails.subType) + + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + ::np2_structs::uint16* temp = _impl_.subtype_; + _impl_.subtype_ = nullptr; + return temp; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL MessageDetails::_internal_mutable_subtype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.subtype_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint16>(GetArena()); + _impl_.subtype_ = reinterpret_cast<::np2_structs::uint16*>(p); + } + return _impl_.subtype_; +} +inline ::np2_structs::uint16* PROTOBUF_NONNULL MessageDetails::mutable_subtype() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + ::np2_structs::uint16* _msg = _internal_mutable_subtype(); + // @@protoc_insertion_point(field_mutable:np2_structs.MessageDetails.subType) + return _msg; +} +inline void MessageDetails::set_allocated_subtype(::np2_structs::uint16* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.subtype_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000020U); + } + + _impl_.subtype_ = reinterpret_cast<::np2_structs::uint16*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.MessageDetails.subType) +} + +// uint32 msgFeatures = 5; +inline void MessageDetails::clear_msgfeatures() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msgfeatures_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000080U); +} +inline ::uint32_t MessageDetails::msgfeatures() const { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.msgFeatures) + return _internal_msgfeatures(); +} +inline void MessageDetails::set_msgfeatures(::uint32_t value) { + _internal_set_msgfeatures(value); + SetHasBit(_impl_._has_bits_[0], 0x00000080U); + // @@protoc_insertion_point(field_set:np2_structs.MessageDetails.msgFeatures) +} +inline ::uint32_t MessageDetails::_internal_msgfeatures() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.msgfeatures_; +} +inline void MessageDetails::_internal_set_msgfeatures(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.msgfeatures_ = value; +} + +// string subject = 6; +inline void MessageDetails::clear_subject() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.subject_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& MessageDetails::subject() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.subject) + return _internal_subject(); +} +template +PROTOBUF_ALWAYS_INLINE void MessageDetails::set_subject(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.subject_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MessageDetails.subject) +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::mutable_subject() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_subject(); + // @@protoc_insertion_point(field_mutable:np2_structs.MessageDetails.subject) + return _s; +} +inline const ::std::string& MessageDetails::_internal_subject() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.subject_.Get(); +} +inline void MessageDetails::_internal_set_subject(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.subject_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::_internal_mutable_subject() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.subject_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MessageDetails::release_subject() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MessageDetails.subject) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.subject_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.subject_.Set("", GetArena()); + } + return released; +} +inline void MessageDetails::set_allocated_subject(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.subject_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.subject_.IsDefault()) { + _impl_.subject_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MessageDetails.subject) +} + +// string body = 7; +inline void MessageDetails::clear_body() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.body_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& MessageDetails::body() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.body) + return _internal_body(); +} +template +PROTOBUF_ALWAYS_INLINE void MessageDetails::set_body(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.body_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MessageDetails.body) +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::mutable_body() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_body(); + // @@protoc_insertion_point(field_mutable:np2_structs.MessageDetails.body) + return _s; +} +inline const ::std::string& MessageDetails::_internal_body() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.body_.Get(); +} +inline void MessageDetails::_internal_set_body(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.body_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::_internal_mutable_body() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.body_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MessageDetails::release_body() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MessageDetails.body) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.body_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.body_.Set("", GetArena()); + } + return released; +} +inline void MessageDetails::set_allocated_body(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.body_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.body_.IsDefault()) { + _impl_.body_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MessageDetails.body) +} + +// bytes data = 8; +inline void MessageDetails::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::std::string& MessageDetails::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MessageDetails.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void MessageDetails::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MessageDetails.data) +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.MessageDetails.data) + return _s; +} +inline const ::std::string& MessageDetails::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void MessageDetails::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MessageDetails::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MessageDetails::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MessageDetails.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void MessageDetails::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MessageDetails.data) +} + +// ------------------------------------------------------------------- + +// SendMessageRequest + +// bytes message = 1; +inline void SendMessageRequest::clear_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& SendMessageRequest::message() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SendMessageRequest.message) + return _internal_message(); +} +template +PROTOBUF_ALWAYS_INLINE void SendMessageRequest::set_message(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.message_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SendMessageRequest.message) +} +inline ::std::string* PROTOBUF_NONNULL SendMessageRequest::mutable_message() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:np2_structs.SendMessageRequest.message) + return _s; +} +inline const ::std::string& SendMessageRequest::_internal_message() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.message_.Get(); +} +inline void SendMessageRequest::_internal_set_message(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SendMessageRequest::_internal_mutable_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.message_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SendMessageRequest::release_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SendMessageRequest.message) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.message_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.message_.Set("", GetArena()); + } + return released; +} +inline void SendMessageRequest::set_allocated_message(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.message_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SendMessageRequest.message) +} + +// repeated string npids = 2; +inline int SendMessageRequest::_internal_npids_size() const { + return _internal_npids().size(); +} +inline int SendMessageRequest::npids_size() const { + return _internal_npids_size(); +} +inline void SendMessageRequest::clear_npids() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npids_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::std::string* PROTOBUF_NONNULL SendMessageRequest::add_npids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::std::string* _s = + _internal_mutable_npids()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add_mutable:np2_structs.SendMessageRequest.npids) + return _s; +} +inline const ::std::string& SendMessageRequest::npids(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SendMessageRequest.npids) + return _internal_npids().Get(index); +} +inline ::std::string* PROTOBUF_NONNULL SendMessageRequest::mutable_npids(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SendMessageRequest.npids) + return _internal_mutable_npids()->Mutable(index); +} +template +inline void SendMessageRequest::set_npids(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString(*_internal_mutable_npids()->Mutable(index), ::std::forward(value), + args... ); + // @@protoc_insertion_point(field_set:np2_structs.SendMessageRequest.npids) +} +template +inline void SendMessageRequest::add_npids(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField( + ::google::protobuf::MessageLite::internal_visibility(), GetArena(), + *_internal_mutable_npids(), ::std::forward(value), + args... ); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SendMessageRequest.npids) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& SendMessageRequest::npids() + const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SendMessageRequest.npids) + return _internal_npids(); +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +SendMessageRequest::mutable_npids() ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SendMessageRequest.npids) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_npids(); +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +SendMessageRequest::_internal_npids() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npids_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +SendMessageRequest::_internal_mutable_npids() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.npids_; +} + +// ------------------------------------------------------------------- + +// BoardInfo + +// uint32 rankLimit = 1; +inline void BoardInfo::clear_ranklimit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ranklimit_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t BoardInfo::ranklimit() const { + // @@protoc_insertion_point(field_get:np2_structs.BoardInfo.rankLimit) + return _internal_ranklimit(); +} +inline void BoardInfo::set_ranklimit(::uint32_t value) { + _internal_set_ranklimit(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.BoardInfo.rankLimit) +} +inline ::uint32_t BoardInfo::_internal_ranklimit() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ranklimit_; +} +inline void BoardInfo::_internal_set_ranklimit(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ranklimit_ = value; +} + +// uint32 updateMode = 2; +inline void BoardInfo::clear_updatemode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.updatemode_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t BoardInfo::updatemode() const { + // @@protoc_insertion_point(field_get:np2_structs.BoardInfo.updateMode) + return _internal_updatemode(); +} +inline void BoardInfo::set_updatemode(::uint32_t value) { + _internal_set_updatemode(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.BoardInfo.updateMode) +} +inline ::uint32_t BoardInfo::_internal_updatemode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.updatemode_; +} +inline void BoardInfo::_internal_set_updatemode(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.updatemode_ = value; +} + +// uint32 sortMode = 3; +inline void BoardInfo::clear_sortmode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sortmode_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t BoardInfo::sortmode() const { + // @@protoc_insertion_point(field_get:np2_structs.BoardInfo.sortMode) + return _internal_sortmode(); +} +inline void BoardInfo::set_sortmode(::uint32_t value) { + _internal_set_sortmode(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.BoardInfo.sortMode) +} +inline ::uint32_t BoardInfo::_internal_sortmode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.sortmode_; +} +inline void BoardInfo::_internal_set_sortmode(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sortmode_ = value; +} + +// uint32 uploadNumLimit = 4; +inline void BoardInfo::clear_uploadnumlimit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.uploadnumlimit_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t BoardInfo::uploadnumlimit() const { + // @@protoc_insertion_point(field_get:np2_structs.BoardInfo.uploadNumLimit) + return _internal_uploadnumlimit(); +} +inline void BoardInfo::set_uploadnumlimit(::uint32_t value) { + _internal_set_uploadnumlimit(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.BoardInfo.uploadNumLimit) +} +inline ::uint32_t BoardInfo::_internal_uploadnumlimit() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.uploadnumlimit_; +} +inline void BoardInfo::_internal_set_uploadnumlimit(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.uploadnumlimit_ = value; +} + +// uint32 uploadSizeLimit = 5; +inline void BoardInfo::clear_uploadsizelimit() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.uploadsizelimit_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint32_t BoardInfo::uploadsizelimit() const { + // @@protoc_insertion_point(field_get:np2_structs.BoardInfo.uploadSizeLimit) + return _internal_uploadsizelimit(); +} +inline void BoardInfo::set_uploadsizelimit(::uint32_t value) { + _internal_set_uploadsizelimit(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.BoardInfo.uploadSizeLimit) +} +inline ::uint32_t BoardInfo::_internal_uploadsizelimit() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.uploadsizelimit_; +} +inline void BoardInfo::_internal_set_uploadsizelimit(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.uploadsizelimit_ = value; +} + +// ------------------------------------------------------------------- + +// RecordScoreRequest + +// uint32 boardId = 1; +inline void RecordScoreRequest::clear_boardid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t RecordScoreRequest::boardid() const { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreRequest.boardId) + return _internal_boardid(); +} +inline void RecordScoreRequest::set_boardid(::uint32_t value) { + _internal_set_boardid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreRequest.boardId) +} +inline ::uint32_t RecordScoreRequest::_internal_boardid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.boardid_; +} +inline void RecordScoreRequest::_internal_set_boardid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = value; +} + +// int32 pcId = 2; +inline void RecordScoreRequest::clear_pcid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::int32_t RecordScoreRequest::pcid() const { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreRequest.pcId) + return _internal_pcid(); +} +inline void RecordScoreRequest::set_pcid(::int32_t value) { + _internal_set_pcid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreRequest.pcId) +} +inline ::int32_t RecordScoreRequest::_internal_pcid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.pcid_; +} +inline void RecordScoreRequest::_internal_set_pcid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = value; +} + +// int64 score = 3; +inline void RecordScoreRequest::clear_score() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::int64_t RecordScoreRequest::score() const { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreRequest.score) + return _internal_score(); +} +inline void RecordScoreRequest::set_score(::int64_t value) { + _internal_set_score(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreRequest.score) +} +inline ::int64_t RecordScoreRequest::_internal_score() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.score_; +} +inline void RecordScoreRequest::_internal_set_score(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = value; +} + +// string comment = 4; +inline void RecordScoreRequest::clear_comment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comment_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& RecordScoreRequest::comment() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreRequest.comment) + return _internal_comment(); +} +template +PROTOBUF_ALWAYS_INLINE void RecordScoreRequest::set_comment(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.comment_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreRequest.comment) +} +inline ::std::string* PROTOBUF_NONNULL RecordScoreRequest::mutable_comment() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_comment(); + // @@protoc_insertion_point(field_mutable:np2_structs.RecordScoreRequest.comment) + return _s; +} +inline const ::std::string& RecordScoreRequest::_internal_comment() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.comment_.Get(); +} +inline void RecordScoreRequest::_internal_set_comment(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comment_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL RecordScoreRequest::_internal_mutable_comment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.comment_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE RecordScoreRequest::release_comment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RecordScoreRequest.comment) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.comment_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.comment_.Set("", GetArena()); + } + return released; +} +inline void RecordScoreRequest::set_allocated_comment(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.comment_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.comment_.IsDefault()) { + _impl_.comment_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.RecordScoreRequest.comment) +} + +// bytes data = 5; +inline void RecordScoreRequest::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& RecordScoreRequest::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreRequest.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void RecordScoreRequest::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreRequest.data) +} +inline ::std::string* PROTOBUF_NONNULL RecordScoreRequest::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.RecordScoreRequest.data) + return _s; +} +inline const ::std::string& RecordScoreRequest::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void RecordScoreRequest::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL RecordScoreRequest::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE RecordScoreRequest::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RecordScoreRequest.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void RecordScoreRequest::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.RecordScoreRequest.data) +} + +// ------------------------------------------------------------------- + +// GetScoreRangeRequest + +// uint32 boardId = 1; +inline void GetScoreRangeRequest::clear_boardid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t GetScoreRangeRequest::boardid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreRangeRequest.boardId) + return _internal_boardid(); +} +inline void GetScoreRangeRequest::set_boardid(::uint32_t value) { + _internal_set_boardid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreRangeRequest.boardId) +} +inline ::uint32_t GetScoreRangeRequest::_internal_boardid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.boardid_; +} +inline void GetScoreRangeRequest::_internal_set_boardid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = value; +} + +// uint32 startRank = 2; +inline void GetScoreRangeRequest::clear_startrank() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.startrank_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t GetScoreRangeRequest::startrank() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreRangeRequest.startRank) + return _internal_startrank(); +} +inline void GetScoreRangeRequest::set_startrank(::uint32_t value) { + _internal_set_startrank(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreRangeRequest.startRank) +} +inline ::uint32_t GetScoreRangeRequest::_internal_startrank() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.startrank_; +} +inline void GetScoreRangeRequest::_internal_set_startrank(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.startrank_ = value; +} + +// uint32 numRanks = 3; +inline void GetScoreRangeRequest::clear_numranks() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.numranks_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t GetScoreRangeRequest::numranks() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreRangeRequest.numRanks) + return _internal_numranks(); +} +inline void GetScoreRangeRequest::set_numranks(::uint32_t value) { + _internal_set_numranks(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreRangeRequest.numRanks) +} +inline ::uint32_t GetScoreRangeRequest::_internal_numranks() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.numranks_; +} +inline void GetScoreRangeRequest::_internal_set_numranks(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.numranks_ = value; +} + +// bool withComment = 4; +inline void GetScoreRangeRequest::clear_withcomment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withcomment_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline bool GetScoreRangeRequest::withcomment() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreRangeRequest.withComment) + return _internal_withcomment(); +} +inline void GetScoreRangeRequest::set_withcomment(bool value) { + _internal_set_withcomment(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreRangeRequest.withComment) +} +inline bool GetScoreRangeRequest::_internal_withcomment() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withcomment_; +} +inline void GetScoreRangeRequest::_internal_set_withcomment(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withcomment_ = value; +} + +// bool withGameInfo = 5; +inline void GetScoreRangeRequest::clear_withgameinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withgameinfo_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline bool GetScoreRangeRequest::withgameinfo() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreRangeRequest.withGameInfo) + return _internal_withgameinfo(); +} +inline void GetScoreRangeRequest::set_withgameinfo(bool value) { + _internal_set_withgameinfo(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreRangeRequest.withGameInfo) +} +inline bool GetScoreRangeRequest::_internal_withgameinfo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withgameinfo_; +} +inline void GetScoreRangeRequest::_internal_set_withgameinfo(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withgameinfo_ = value; +} + +// ------------------------------------------------------------------- + +// ScoreNpIdPcId + +// string npid = 1; +inline void ScoreNpIdPcId::clear_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& ScoreNpIdPcId::npid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.ScoreNpIdPcId.npid) + return _internal_npid(); +} +template +PROTOBUF_ALWAYS_INLINE void ScoreNpIdPcId::set_npid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.npid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.ScoreNpIdPcId.npid) +} +inline ::std::string* PROTOBUF_NONNULL ScoreNpIdPcId::mutable_npid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_npid(); + // @@protoc_insertion_point(field_mutable:np2_structs.ScoreNpIdPcId.npid) + return _s; +} +inline const ::std::string& ScoreNpIdPcId::_internal_npid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npid_.Get(); +} +inline void ScoreNpIdPcId::_internal_set_npid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL ScoreNpIdPcId::_internal_mutable_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.npid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE ScoreNpIdPcId::release_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.ScoreNpIdPcId.npid) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.npid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.npid_.Set("", GetArena()); + } + return released; +} +inline void ScoreNpIdPcId::set_allocated_npid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.npid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.npid_.IsDefault()) { + _impl_.npid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.ScoreNpIdPcId.npid) +} + +// int32 pcId = 2; +inline void ScoreNpIdPcId::clear_pcid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int32_t ScoreNpIdPcId::pcid() const { + // @@protoc_insertion_point(field_get:np2_structs.ScoreNpIdPcId.pcId) + return _internal_pcid(); +} +inline void ScoreNpIdPcId::set_pcid(::int32_t value) { + _internal_set_pcid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.ScoreNpIdPcId.pcId) +} +inline ::int32_t ScoreNpIdPcId::_internal_pcid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.pcid_; +} +inline void ScoreNpIdPcId::_internal_set_pcid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = value; +} + +// ------------------------------------------------------------------- + +// GetScoreNpIdRequest + +// uint32 boardId = 1; +inline void GetScoreNpIdRequest::clear_boardid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t GetScoreNpIdRequest::boardid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreNpIdRequest.boardId) + return _internal_boardid(); +} +inline void GetScoreNpIdRequest::set_boardid(::uint32_t value) { + _internal_set_boardid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreNpIdRequest.boardId) +} +inline ::uint32_t GetScoreNpIdRequest::_internal_boardid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.boardid_; +} +inline void GetScoreNpIdRequest::_internal_set_boardid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = value; +} + +// repeated .np2_structs.ScoreNpIdPcId npids = 2; +inline int GetScoreNpIdRequest::_internal_npids_size() const { + return _internal_npids().size(); +} +inline int GetScoreNpIdRequest::npids_size() const { + return _internal_npids_size(); +} +inline void GetScoreNpIdRequest::clear_npids() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npids_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::ScoreNpIdPcId* PROTOBUF_NONNULL GetScoreNpIdRequest::mutable_npids(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetScoreNpIdRequest.npids) + return _internal_mutable_npids()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>* PROTOBUF_NONNULL GetScoreNpIdRequest::mutable_npids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetScoreNpIdRequest.npids) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_npids(); +} +inline const ::np2_structs::ScoreNpIdPcId& GetScoreNpIdRequest::npids(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreNpIdRequest.npids) + return _internal_npids().Get(index); +} +inline ::np2_structs::ScoreNpIdPcId* PROTOBUF_NONNULL GetScoreNpIdRequest::add_npids() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::ScoreNpIdPcId* _add = + _internal_mutable_npids()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetScoreNpIdRequest.npids) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>& GetScoreNpIdRequest::npids() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetScoreNpIdRequest.npids) + return _internal_npids(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>& +GetScoreNpIdRequest::_internal_npids() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npids_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreNpIdPcId>* PROTOBUF_NONNULL +GetScoreNpIdRequest::_internal_mutable_npids() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.npids_; +} + +// bool withComment = 3; +inline void GetScoreNpIdRequest::clear_withcomment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withcomment_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline bool GetScoreNpIdRequest::withcomment() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreNpIdRequest.withComment) + return _internal_withcomment(); +} +inline void GetScoreNpIdRequest::set_withcomment(bool value) { + _internal_set_withcomment(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreNpIdRequest.withComment) +} +inline bool GetScoreNpIdRequest::_internal_withcomment() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withcomment_; +} +inline void GetScoreNpIdRequest::_internal_set_withcomment(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withcomment_ = value; +} + +// bool withGameInfo = 4; +inline void GetScoreNpIdRequest::clear_withgameinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withgameinfo_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline bool GetScoreNpIdRequest::withgameinfo() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreNpIdRequest.withGameInfo) + return _internal_withgameinfo(); +} +inline void GetScoreNpIdRequest::set_withgameinfo(bool value) { + _internal_set_withgameinfo(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreNpIdRequest.withGameInfo) +} +inline bool GetScoreNpIdRequest::_internal_withgameinfo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withgameinfo_; +} +inline void GetScoreNpIdRequest::_internal_set_withgameinfo(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withgameinfo_ = value; +} + +// ------------------------------------------------------------------- + +// GetScoreFriendsRequest + +// uint32 boardId = 1; +inline void GetScoreFriendsRequest::clear_boardid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t GetScoreFriendsRequest::boardid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreFriendsRequest.boardId) + return _internal_boardid(); +} +inline void GetScoreFriendsRequest::set_boardid(::uint32_t value) { + _internal_set_boardid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreFriendsRequest.boardId) +} +inline ::uint32_t GetScoreFriendsRequest::_internal_boardid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.boardid_; +} +inline void GetScoreFriendsRequest::_internal_set_boardid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = value; +} + +// bool include_self = 2; +inline void GetScoreFriendsRequest::clear_include_self() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.include_self_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline bool GetScoreFriendsRequest::include_self() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreFriendsRequest.include_self) + return _internal_include_self(); +} +inline void GetScoreFriendsRequest::set_include_self(bool value) { + _internal_set_include_self(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreFriendsRequest.include_self) +} +inline bool GetScoreFriendsRequest::_internal_include_self() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.include_self_; +} +inline void GetScoreFriendsRequest::_internal_set_include_self(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.include_self_ = value; +} + +// uint32 max = 3; +inline void GetScoreFriendsRequest::clear_max() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.max_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t GetScoreFriendsRequest::max() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreFriendsRequest.max) + return _internal_max(); +} +inline void GetScoreFriendsRequest::set_max(::uint32_t value) { + _internal_set_max(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreFriendsRequest.max) +} +inline ::uint32_t GetScoreFriendsRequest::_internal_max() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.max_; +} +inline void GetScoreFriendsRequest::_internal_set_max(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.max_ = value; +} + +// bool withComment = 4; +inline void GetScoreFriendsRequest::clear_withcomment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withcomment_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline bool GetScoreFriendsRequest::withcomment() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreFriendsRequest.withComment) + return _internal_withcomment(); +} +inline void GetScoreFriendsRequest::set_withcomment(bool value) { + _internal_set_withcomment(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreFriendsRequest.withComment) +} +inline bool GetScoreFriendsRequest::_internal_withcomment() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withcomment_; +} +inline void GetScoreFriendsRequest::_internal_set_withcomment(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withcomment_ = value; +} + +// bool withGameInfo = 5; +inline void GetScoreFriendsRequest::clear_withgameinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withgameinfo_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline bool GetScoreFriendsRequest::withgameinfo() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreFriendsRequest.withGameInfo) + return _internal_withgameinfo(); +} +inline void GetScoreFriendsRequest::set_withgameinfo(bool value) { + _internal_set_withgameinfo(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreFriendsRequest.withGameInfo) +} +inline bool GetScoreFriendsRequest::_internal_withgameinfo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.withgameinfo_; +} +inline void GetScoreFriendsRequest::_internal_set_withgameinfo(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.withgameinfo_ = value; +} + +// ------------------------------------------------------------------- + +// ScoreRankData + +// string npId = 1; +inline void ScoreRankData::clear_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& ScoreRankData::npid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.npId) + return _internal_npid(); +} +template +PROTOBUF_ALWAYS_INLINE void ScoreRankData::set_npid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.npid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.npId) +} +inline ::std::string* PROTOBUF_NONNULL ScoreRankData::mutable_npid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_npid(); + // @@protoc_insertion_point(field_mutable:np2_structs.ScoreRankData.npId) + return _s; +} +inline const ::std::string& ScoreRankData::_internal_npid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npid_.Get(); +} +inline void ScoreRankData::_internal_set_npid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL ScoreRankData::_internal_mutable_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.npid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE ScoreRankData::release_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.ScoreRankData.npId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.npid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.npid_.Set("", GetArena()); + } + return released; +} +inline void ScoreRankData::set_allocated_npid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.npid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.npid_.IsDefault()) { + _impl_.npid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.ScoreRankData.npId) +} + +// string onlineName = 2; +inline void ScoreRankData::clear_onlinename() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.onlinename_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& ScoreRankData::onlinename() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.onlineName) + return _internal_onlinename(); +} +template +PROTOBUF_ALWAYS_INLINE void ScoreRankData::set_onlinename(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.onlinename_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.onlineName) +} +inline ::std::string* PROTOBUF_NONNULL ScoreRankData::mutable_onlinename() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_onlinename(); + // @@protoc_insertion_point(field_mutable:np2_structs.ScoreRankData.onlineName) + return _s; +} +inline const ::std::string& ScoreRankData::_internal_onlinename() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.onlinename_.Get(); +} +inline void ScoreRankData::_internal_set_onlinename(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.onlinename_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL ScoreRankData::_internal_mutable_onlinename() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.onlinename_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE ScoreRankData::release_onlinename() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.ScoreRankData.onlineName) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.onlinename_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.onlinename_.Set("", GetArena()); + } + return released; +} +inline void ScoreRankData::set_allocated_onlinename(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.onlinename_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.onlinename_.IsDefault()) { + _impl_.onlinename_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.ScoreRankData.onlineName) +} + +// int32 pcId = 3; +inline void ScoreRankData::clear_pcid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::int32_t ScoreRankData::pcid() const { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.pcId) + return _internal_pcid(); +} +inline void ScoreRankData::set_pcid(::int32_t value) { + _internal_set_pcid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.pcId) +} +inline ::int32_t ScoreRankData::_internal_pcid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.pcid_; +} +inline void ScoreRankData::_internal_set_pcid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = value; +} + +// uint32 rank = 4; +inline void ScoreRankData::clear_rank() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rank_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t ScoreRankData::rank() const { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.rank) + return _internal_rank(); +} +inline void ScoreRankData::set_rank(::uint32_t value) { + _internal_set_rank(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.rank) +} +inline ::uint32_t ScoreRankData::_internal_rank() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rank_; +} +inline void ScoreRankData::_internal_set_rank(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rank_ = value; +} + +// int64 score = 5; +inline void ScoreRankData::clear_score() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::int64_t ScoreRankData::score() const { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.score) + return _internal_score(); +} +inline void ScoreRankData::set_score(::int64_t value) { + _internal_set_score(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.score) +} +inline ::int64_t ScoreRankData::_internal_score() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.score_; +} +inline void ScoreRankData::_internal_set_score(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = value; +} + +// bool hasGameData = 6; +inline void ScoreRankData::clear_hasgamedata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hasgamedata_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline bool ScoreRankData::hasgamedata() const { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.hasGameData) + return _internal_hasgamedata(); +} +inline void ScoreRankData::set_hasgamedata(bool value) { + _internal_set_hasgamedata(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.hasGameData) +} +inline bool ScoreRankData::_internal_hasgamedata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.hasgamedata_; +} +inline void ScoreRankData::_internal_set_hasgamedata(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hasgamedata_ = value; +} + +// uint64 recordDate = 7; +inline void ScoreRankData::clear_recorddate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.recorddate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::uint64_t ScoreRankData::recorddate() const { + // @@protoc_insertion_point(field_get:np2_structs.ScoreRankData.recordDate) + return _internal_recorddate(); +} +inline void ScoreRankData::set_recorddate(::uint64_t value) { + _internal_set_recorddate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.ScoreRankData.recordDate) +} +inline ::uint64_t ScoreRankData::_internal_recorddate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.recorddate_; +} +inline void ScoreRankData::_internal_set_recorddate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.recorddate_ = value; +} + +// ------------------------------------------------------------------- + +// ScoreInfo + +// bytes data = 1; +inline void ScoreInfo::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& ScoreInfo::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.ScoreInfo.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void ScoreInfo::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.ScoreInfo.data) +} +inline ::std::string* PROTOBUF_NONNULL ScoreInfo::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.ScoreInfo.data) + return _s; +} +inline const ::std::string& ScoreInfo::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void ScoreInfo::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL ScoreInfo::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE ScoreInfo::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.ScoreInfo.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void ScoreInfo::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.ScoreInfo.data) +} + +// ------------------------------------------------------------------- + +// GetScoreResponse + +// repeated .np2_structs.ScoreRankData rankArray = 1; +inline int GetScoreResponse::_internal_rankarray_size() const { + return _internal_rankarray().size(); +} +inline int GetScoreResponse::rankarray_size() const { + return _internal_rankarray_size(); +} +inline void GetScoreResponse::clear_rankarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rankarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::ScoreRankData* PROTOBUF_NONNULL GetScoreResponse::mutable_rankarray(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetScoreResponse.rankArray) + return _internal_mutable_rankarray()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>* PROTOBUF_NONNULL GetScoreResponse::mutable_rankarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetScoreResponse.rankArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_rankarray(); +} +inline const ::np2_structs::ScoreRankData& GetScoreResponse::rankarray(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreResponse.rankArray) + return _internal_rankarray().Get(index); +} +inline ::np2_structs::ScoreRankData* PROTOBUF_NONNULL GetScoreResponse::add_rankarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::ScoreRankData* _add = + _internal_mutable_rankarray()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetScoreResponse.rankArray) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>& GetScoreResponse::rankarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetScoreResponse.rankArray) + return _internal_rankarray(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>& +GetScoreResponse::_internal_rankarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rankarray_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreRankData>* PROTOBUF_NONNULL +GetScoreResponse::_internal_mutable_rankarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.rankarray_; +} + +// repeated string commentArray = 2; +inline int GetScoreResponse::_internal_commentarray_size() const { + return _internal_commentarray().size(); +} +inline int GetScoreResponse::commentarray_size() const { + return _internal_commentarray_size(); +} +inline void GetScoreResponse::clear_commentarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.commentarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::std::string* PROTOBUF_NONNULL GetScoreResponse::add_commentarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::std::string* _s = + _internal_mutable_commentarray()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add_mutable:np2_structs.GetScoreResponse.commentArray) + return _s; +} +inline const ::std::string& GetScoreResponse::commentarray(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreResponse.commentArray) + return _internal_commentarray().Get(index); +} +inline ::std::string* PROTOBUF_NONNULL GetScoreResponse::mutable_commentarray(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetScoreResponse.commentArray) + return _internal_mutable_commentarray()->Mutable(index); +} +template +inline void GetScoreResponse::set_commentarray(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString(*_internal_mutable_commentarray()->Mutable(index), ::std::forward(value), + args... ); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreResponse.commentArray) +} +template +inline void GetScoreResponse::add_commentarray(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField( + ::google::protobuf::MessageLite::internal_visibility(), GetArena(), + *_internal_mutable_commentarray(), ::std::forward(value), + args... ); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.GetScoreResponse.commentArray) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& GetScoreResponse::commentarray() + const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetScoreResponse.commentArray) + return _internal_commentarray(); +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +GetScoreResponse::mutable_commentarray() ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetScoreResponse.commentArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_commentarray(); +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +GetScoreResponse::_internal_commentarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.commentarray_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL +GetScoreResponse::_internal_mutable_commentarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.commentarray_; +} + +// repeated .np2_structs.ScoreInfo infoArray = 3; +inline int GetScoreResponse::_internal_infoarray_size() const { + return _internal_infoarray().size(); +} +inline int GetScoreResponse::infoarray_size() const { + return _internal_infoarray_size(); +} +inline void GetScoreResponse::clear_infoarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.infoarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::np2_structs::ScoreInfo* PROTOBUF_NONNULL GetScoreResponse::mutable_infoarray(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetScoreResponse.infoArray) + return _internal_mutable_infoarray()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>* PROTOBUF_NONNULL GetScoreResponse::mutable_infoarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetScoreResponse.infoArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_infoarray(); +} +inline const ::np2_structs::ScoreInfo& GetScoreResponse::infoarray(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreResponse.infoArray) + return _internal_infoarray().Get(index); +} +inline ::np2_structs::ScoreInfo* PROTOBUF_NONNULL GetScoreResponse::add_infoarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::ScoreInfo* _add = + _internal_mutable_infoarray()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_add:np2_structs.GetScoreResponse.infoArray) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>& GetScoreResponse::infoarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetScoreResponse.infoArray) + return _internal_infoarray(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>& +GetScoreResponse::_internal_infoarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.infoarray_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::ScoreInfo>* PROTOBUF_NONNULL +GetScoreResponse::_internal_mutable_infoarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.infoarray_; +} + +// uint64 lastSortDate = 4; +inline void GetScoreResponse::clear_lastsortdate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastsortdate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint64_t GetScoreResponse::lastsortdate() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreResponse.lastSortDate) + return _internal_lastsortdate(); +} +inline void GetScoreResponse::set_lastsortdate(::uint64_t value) { + _internal_set_lastsortdate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreResponse.lastSortDate) +} +inline ::uint64_t GetScoreResponse::_internal_lastsortdate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lastsortdate_; +} +inline void GetScoreResponse::_internal_set_lastsortdate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastsortdate_ = value; +} + +// uint32 totalRecord = 5; +inline void GetScoreResponse::clear_totalrecord() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.totalrecord_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::uint32_t GetScoreResponse::totalrecord() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreResponse.totalRecord) + return _internal_totalrecord(); +} +inline void GetScoreResponse::set_totalrecord(::uint32_t value) { + _internal_set_totalrecord(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreResponse.totalRecord) +} +inline ::uint32_t GetScoreResponse::_internal_totalrecord() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.totalrecord_; +} +inline void GetScoreResponse::_internal_set_totalrecord(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.totalrecord_ = value; +} + +// ------------------------------------------------------------------- + +// RecordScoreGameDataRequest + +// uint32 boardId = 1; +inline void RecordScoreGameDataRequest::clear_boardid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t RecordScoreGameDataRequest::boardid() const { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreGameDataRequest.boardId) + return _internal_boardid(); +} +inline void RecordScoreGameDataRequest::set_boardid(::uint32_t value) { + _internal_set_boardid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreGameDataRequest.boardId) +} +inline ::uint32_t RecordScoreGameDataRequest::_internal_boardid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.boardid_; +} +inline void RecordScoreGameDataRequest::_internal_set_boardid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = value; +} + +// int32 pcId = 2; +inline void RecordScoreGameDataRequest::clear_pcid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int32_t RecordScoreGameDataRequest::pcid() const { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreGameDataRequest.pcId) + return _internal_pcid(); +} +inline void RecordScoreGameDataRequest::set_pcid(::int32_t value) { + _internal_set_pcid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreGameDataRequest.pcId) +} +inline ::int32_t RecordScoreGameDataRequest::_internal_pcid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.pcid_; +} +inline void RecordScoreGameDataRequest::_internal_set_pcid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = value; +} + +// int64 score = 3; +inline void RecordScoreGameDataRequest::clear_score() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::int64_t RecordScoreGameDataRequest::score() const { + // @@protoc_insertion_point(field_get:np2_structs.RecordScoreGameDataRequest.score) + return _internal_score(); +} +inline void RecordScoreGameDataRequest::set_score(::int64_t value) { + _internal_set_score(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.RecordScoreGameDataRequest.score) +} +inline ::int64_t RecordScoreGameDataRequest::_internal_score() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.score_; +} +inline void RecordScoreGameDataRequest::_internal_set_score(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.score_ = value; +} + +// ------------------------------------------------------------------- + +// GetScoreGameDataRequest + +// uint32 boardId = 1; +inline void GetScoreGameDataRequest::clear_boardid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t GetScoreGameDataRequest::boardid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreGameDataRequest.boardId) + return _internal_boardid(); +} +inline void GetScoreGameDataRequest::set_boardid(::uint32_t value) { + _internal_set_boardid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreGameDataRequest.boardId) +} +inline ::uint32_t GetScoreGameDataRequest::_internal_boardid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.boardid_; +} +inline void GetScoreGameDataRequest::_internal_set_boardid(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.boardid_ = value; +} + +// string npId = 2; +inline void GetScoreGameDataRequest::clear_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& GetScoreGameDataRequest::npid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreGameDataRequest.npId) + return _internal_npid(); +} +template +PROTOBUF_ALWAYS_INLINE void GetScoreGameDataRequest::set_npid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.npid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreGameDataRequest.npId) +} +inline ::std::string* PROTOBUF_NONNULL GetScoreGameDataRequest::mutable_npid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_npid(); + // @@protoc_insertion_point(field_mutable:np2_structs.GetScoreGameDataRequest.npId) + return _s; +} +inline const ::std::string& GetScoreGameDataRequest::_internal_npid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npid_.Get(); +} +inline void GetScoreGameDataRequest::_internal_set_npid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL GetScoreGameDataRequest::_internal_mutable_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.npid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE GetScoreGameDataRequest::release_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.GetScoreGameDataRequest.npId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.npid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.npid_.Set("", GetArena()); + } + return released; +} +inline void GetScoreGameDataRequest::set_allocated_npid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.npid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.npid_.IsDefault()) { + _impl_.npid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.GetScoreGameDataRequest.npId) +} + +// int32 pcId = 3; +inline void GetScoreGameDataRequest::clear_pcid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::int32_t GetScoreGameDataRequest::pcid() const { + // @@protoc_insertion_point(field_get:np2_structs.GetScoreGameDataRequest.pcId) + return _internal_pcid(); +} +inline void GetScoreGameDataRequest::set_pcid(::int32_t value) { + _internal_set_pcid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetScoreGameDataRequest.pcId) +} +inline ::int32_t GetScoreGameDataRequest::_internal_pcid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.pcid_; +} +inline void GetScoreGameDataRequest::_internal_set_pcid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.pcid_ = value; +} + +// ------------------------------------------------------------------- + +// TusUser + +// bool vuser = 1; +inline void TusUser::clear_vuser() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.vuser_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline bool TusUser::vuser() const { + // @@protoc_insertion_point(field_get:np2_structs.TusUser.vuser) + return _internal_vuser(); +} +inline void TusUser::set_vuser(bool value) { + _internal_set_vuser(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.TusUser.vuser) +} +inline bool TusUser::_internal_vuser() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.vuser_; +} +inline void TusUser::_internal_set_vuser(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.vuser_ = value; +} + +// string npid = 2; +inline void TusUser::clear_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& TusUser::npid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusUser.npid) + return _internal_npid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusUser::set_npid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.npid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusUser.npid) +} +inline ::std::string* PROTOBUF_NONNULL TusUser::mutable_npid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_npid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusUser.npid) + return _s; +} +inline const ::std::string& TusUser::_internal_npid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.npid_.Get(); +} +inline void TusUser::_internal_set_npid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.npid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusUser::_internal_mutable_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.npid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusUser::release_npid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusUser.npid) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.npid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.npid_.Set("", GetArena()); + } + return released; +} +inline void TusUser::set_allocated_npid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.npid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.npid_.IsDefault()) { + _impl_.npid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusUser.npid) +} + +// ------------------------------------------------------------------- + +// TusVariable + +// string ownerId = 1; +inline void TusVariable::clear_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ownerid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& TusVariable::ownerid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusVariable.ownerId) + return _internal_ownerid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusVariable::set_ownerid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.ownerid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusVariable.ownerId) +} +inline ::std::string* PROTOBUF_NONNULL TusVariable::mutable_ownerid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_ownerid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusVariable.ownerId) + return _s; +} +inline const ::std::string& TusVariable::_internal_ownerid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ownerid_.Get(); +} +inline void TusVariable::_internal_set_ownerid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ownerid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusVariable::_internal_mutable_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.ownerid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusVariable::release_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusVariable.ownerId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.ownerid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.ownerid_.Set("", GetArena()); + } + return released; +} +inline void TusVariable::set_allocated_ownerid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.ownerid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ownerid_.IsDefault()) { + _impl_.ownerid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusVariable.ownerId) +} + +// bool hasData = 2; +inline void TusVariable::clear_hasdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hasdata_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline bool TusVariable::hasdata() const { + // @@protoc_insertion_point(field_get:np2_structs.TusVariable.hasData) + return _internal_hasdata(); +} +inline void TusVariable::set_hasdata(bool value) { + _internal_set_hasdata(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.TusVariable.hasData) +} +inline bool TusVariable::_internal_hasdata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.hasdata_; +} +inline void TusVariable::_internal_set_hasdata(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hasdata_ = value; +} + +// uint64 lastChangedDate = 3; +inline void TusVariable::clear_lastchangeddate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangeddate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint64_t TusVariable::lastchangeddate() const { + // @@protoc_insertion_point(field_get:np2_structs.TusVariable.lastChangedDate) + return _internal_lastchangeddate(); +} +inline void TusVariable::set_lastchangeddate(::uint64_t value) { + _internal_set_lastchangeddate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.TusVariable.lastChangedDate) +} +inline ::uint64_t TusVariable::_internal_lastchangeddate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lastchangeddate_; +} +inline void TusVariable::_internal_set_lastchangeddate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangeddate_ = value; +} + +// string lastChangedAuthorId = 4; +inline void TusVariable::clear_lastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangedauthorid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& TusVariable::lastchangedauthorid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusVariable.lastChangedAuthorId) + return _internal_lastchangedauthorid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusVariable::set_lastchangedauthorid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.lastchangedauthorid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusVariable.lastChangedAuthorId) +} +inline ::std::string* PROTOBUF_NONNULL TusVariable::mutable_lastchangedauthorid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_lastchangedauthorid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusVariable.lastChangedAuthorId) + return _s; +} +inline const ::std::string& TusVariable::_internal_lastchangedauthorid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lastchangedauthorid_.Get(); +} +inline void TusVariable::_internal_set_lastchangedauthorid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangedauthorid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusVariable::_internal_mutable_lastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.lastchangedauthorid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusVariable::release_lastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusVariable.lastChangedAuthorId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.lastchangedauthorid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.lastchangedauthorid_.Set("", GetArena()); + } + return released; +} +inline void TusVariable::set_allocated_lastchangedauthorid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.lastchangedauthorid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.lastchangedauthorid_.IsDefault()) { + _impl_.lastchangedauthorid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusVariable.lastChangedAuthorId) +} + +// int64 variable = 5; +inline void TusVariable::clear_variable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.variable_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::int64_t TusVariable::variable() const { + // @@protoc_insertion_point(field_get:np2_structs.TusVariable.variable) + return _internal_variable(); +} +inline void TusVariable::set_variable(::int64_t value) { + _internal_set_variable(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.TusVariable.variable) +} +inline ::int64_t TusVariable::_internal_variable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.variable_; +} +inline void TusVariable::_internal_set_variable(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.variable_ = value; +} + +// int64 oldVariable = 6; +inline void TusVariable::clear_oldvariable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.oldvariable_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::int64_t TusVariable::oldvariable() const { + // @@protoc_insertion_point(field_get:np2_structs.TusVariable.oldVariable) + return _internal_oldvariable(); +} +inline void TusVariable::set_oldvariable(::int64_t value) { + _internal_set_oldvariable(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.TusVariable.oldVariable) +} +inline ::int64_t TusVariable::_internal_oldvariable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.oldvariable_; +} +inline void TusVariable::_internal_set_oldvariable(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.oldvariable_ = value; +} + +// ------------------------------------------------------------------- + +// TusVarResponse + +// repeated .np2_structs.TusVariable vars = 1; +inline int TusVarResponse::_internal_vars_size() const { + return _internal_vars().size(); +} +inline int TusVarResponse::vars_size() const { + return _internal_vars_size(); +} +inline void TusVarResponse::clear_vars() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.vars_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::TusVariable* PROTOBUF_NONNULL TusVarResponse::mutable_vars(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.TusVarResponse.vars) + return _internal_mutable_vars()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>* PROTOBUF_NONNULL TusVarResponse::mutable_vars() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusVarResponse.vars) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_vars(); +} +inline const ::np2_structs::TusVariable& TusVarResponse::vars(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusVarResponse.vars) + return _internal_vars().Get(index); +} +inline ::np2_structs::TusVariable* PROTOBUF_NONNULL TusVarResponse::add_vars() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::TusVariable* _add = + _internal_mutable_vars()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusVarResponse.vars) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>& TusVarResponse::vars() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusVarResponse.vars) + return _internal_vars(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>& +TusVarResponse::_internal_vars() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.vars_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusVariable>* PROTOBUF_NONNULL +TusVarResponse::_internal_mutable_vars() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.vars_; +} + +// ------------------------------------------------------------------- + +// TusSetMultiSlotVariableRequest + +// .np2_structs.TusUser user = 1; +inline bool TusSetMultiSlotVariableRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusSetMultiSlotVariableRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::TusUser& TusSetMultiSlotVariableRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusSetMultiSlotVariableRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusSetMultiSlotVariableRequest.user) + return _internal_user(); +} +inline void TusSetMultiSlotVariableRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusSetMultiSlotVariableRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusSetMultiSlotVariableRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusSetMultiSlotVariableRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusSetMultiSlotVariableRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusSetMultiSlotVariableRequest.user) + return _msg; +} +inline void TusSetMultiSlotVariableRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusSetMultiSlotVariableRequest.user) +} + +// repeated int32 slotIdArray = 2; +inline int TusSetMultiSlotVariableRequest::_internal_slotidarray_size() const { + return _internal_slotidarray().size(); +} +inline int TusSetMultiSlotVariableRequest::slotidarray_size() const { + return _internal_slotidarray_size(); +} +inline void TusSetMultiSlotVariableRequest::clear_slotidarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotidarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusSetMultiSlotVariableRequest::slotidarray(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusSetMultiSlotVariableRequest.slotIdArray) + return _internal_slotidarray().Get(index); +} +inline void TusSetMultiSlotVariableRequest::set_slotidarray(int index, ::int32_t value) { + _internal_mutable_slotidarray()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusSetMultiSlotVariableRequest.slotIdArray) +} +inline void TusSetMultiSlotVariableRequest::add_slotidarray(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_slotidarray()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusSetMultiSlotVariableRequest.slotIdArray) +} +inline const ::google::protobuf::RepeatedField<::int32_t>& TusSetMultiSlotVariableRequest::slotidarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusSetMultiSlotVariableRequest.slotIdArray) + return _internal_slotidarray(); +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::mutable_slotidarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusSetMultiSlotVariableRequest.slotIdArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_slotidarray(); +} +inline const ::google::protobuf::RepeatedField<::int32_t>& +TusSetMultiSlotVariableRequest::_internal_slotidarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotidarray_; +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL +TusSetMultiSlotVariableRequest::_internal_mutable_slotidarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.slotidarray_; +} + +// repeated int64 variableArray = 3; +inline int TusSetMultiSlotVariableRequest::_internal_variablearray_size() const { + return _internal_variablearray().size(); +} +inline int TusSetMultiSlotVariableRequest::variablearray_size() const { + return _internal_variablearray_size(); +} +inline void TusSetMultiSlotVariableRequest::clear_variablearray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.variablearray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int64_t TusSetMultiSlotVariableRequest::variablearray(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusSetMultiSlotVariableRequest.variableArray) + return _internal_variablearray().Get(index); +} +inline void TusSetMultiSlotVariableRequest::set_variablearray(int index, ::int64_t value) { + _internal_mutable_variablearray()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusSetMultiSlotVariableRequest.variableArray) +} +inline void TusSetMultiSlotVariableRequest::add_variablearray(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_variablearray()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.TusSetMultiSlotVariableRequest.variableArray) +} +inline const ::google::protobuf::RepeatedField<::int64_t>& TusSetMultiSlotVariableRequest::variablearray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusSetMultiSlotVariableRequest.variableArray) + return _internal_variablearray(); +} +inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL TusSetMultiSlotVariableRequest::mutable_variablearray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusSetMultiSlotVariableRequest.variableArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_variablearray(); +} +inline const ::google::protobuf::RepeatedField<::int64_t>& +TusSetMultiSlotVariableRequest::_internal_variablearray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.variablearray_; +} +inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL +TusSetMultiSlotVariableRequest::_internal_mutable_variablearray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.variablearray_; +} + +// ------------------------------------------------------------------- + +// TusGetMultiSlotVariableRequest + +// .np2_structs.TusUser user = 1; +inline bool TusGetMultiSlotVariableRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusGetMultiSlotVariableRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::TusUser& TusGetMultiSlotVariableRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusGetMultiSlotVariableRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiSlotVariableRequest.user) + return _internal_user(); +} +inline void TusGetMultiSlotVariableRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusGetMultiSlotVariableRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusGetMultiSlotVariableRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusGetMultiSlotVariableRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusGetMultiSlotVariableRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusGetMultiSlotVariableRequest.user) + return _msg; +} +inline void TusGetMultiSlotVariableRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusGetMultiSlotVariableRequest.user) +} + +// repeated int32 slotIdArray = 2; +inline int TusGetMultiSlotVariableRequest::_internal_slotidarray_size() const { + return _internal_slotidarray().size(); +} +inline int TusGetMultiSlotVariableRequest::slotidarray_size() const { + return _internal_slotidarray_size(); +} +inline void TusGetMultiSlotVariableRequest::clear_slotidarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotidarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusGetMultiSlotVariableRequest::slotidarray(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiSlotVariableRequest.slotIdArray) + return _internal_slotidarray().Get(index); +} +inline void TusGetMultiSlotVariableRequest::set_slotidarray(int index, ::int32_t value) { + _internal_mutable_slotidarray()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusGetMultiSlotVariableRequest.slotIdArray) +} +inline void TusGetMultiSlotVariableRequest::add_slotidarray(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_slotidarray()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusGetMultiSlotVariableRequest.slotIdArray) +} +inline const ::google::protobuf::RepeatedField<::int32_t>& TusGetMultiSlotVariableRequest::slotidarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusGetMultiSlotVariableRequest.slotIdArray) + return _internal_slotidarray(); +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL TusGetMultiSlotVariableRequest::mutable_slotidarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusGetMultiSlotVariableRequest.slotIdArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_slotidarray(); +} +inline const ::google::protobuf::RepeatedField<::int32_t>& +TusGetMultiSlotVariableRequest::_internal_slotidarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotidarray_; +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL +TusGetMultiSlotVariableRequest::_internal_mutable_slotidarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.slotidarray_; +} + +// ------------------------------------------------------------------- + +// TusGetMultiUserVariableRequest + +// repeated .np2_structs.TusUser users = 1; +inline int TusGetMultiUserVariableRequest::_internal_users_size() const { + return _internal_users().size(); +} +inline int TusGetMultiUserVariableRequest::users_size() const { + return _internal_users_size(); +} +inline void TusGetMultiUserVariableRequest::clear_users() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.users_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::mutable_users(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.TusGetMultiUserVariableRequest.users) + return _internal_mutable_users()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::mutable_users() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusGetMultiUserVariableRequest.users) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_users(); +} +inline const ::np2_structs::TusUser& TusGetMultiUserVariableRequest::users(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiUserVariableRequest.users) + return _internal_users().Get(index); +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiUserVariableRequest::add_users() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::TusUser* _add = + _internal_mutable_users()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusGetMultiUserVariableRequest.users) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& TusGetMultiUserVariableRequest::users() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusGetMultiUserVariableRequest.users) + return _internal_users(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& +TusGetMultiUserVariableRequest::_internal_users() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.users_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL +TusGetMultiUserVariableRequest::_internal_mutable_users() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.users_; +} + +// int32 slotId = 2; +inline void TusGetMultiUserVariableRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int32_t TusGetMultiUserVariableRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiUserVariableRequest.slotId) + return _internal_slotid(); +} +inline void TusGetMultiUserVariableRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetMultiUserVariableRequest.slotId) +} +inline ::int32_t TusGetMultiUserVariableRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusGetMultiUserVariableRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// ------------------------------------------------------------------- + +// TusGetFriendsVariableRequest + +// int32 slotId = 1; +inline void TusGetFriendsVariableRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusGetFriendsVariableRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsVariableRequest.slotId) + return _internal_slotid(); +} +inline void TusGetFriendsVariableRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsVariableRequest.slotId) +} +inline ::int32_t TusGetFriendsVariableRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusGetFriendsVariableRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// bool includeSelf = 2; +inline void TusGetFriendsVariableRequest::clear_includeself() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.includeself_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline bool TusGetFriendsVariableRequest::includeself() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsVariableRequest.includeSelf) + return _internal_includeself(); +} +inline void TusGetFriendsVariableRequest::set_includeself(bool value) { + _internal_set_includeself(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsVariableRequest.includeSelf) +} +inline bool TusGetFriendsVariableRequest::_internal_includeself() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.includeself_; +} +inline void TusGetFriendsVariableRequest::_internal_set_includeself(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.includeself_ = value; +} + +// int32 sortType = 3; +inline void TusGetFriendsVariableRequest::clear_sorttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sorttype_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::int32_t TusGetFriendsVariableRequest::sorttype() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsVariableRequest.sortType) + return _internal_sorttype(); +} +inline void TusGetFriendsVariableRequest::set_sorttype(::int32_t value) { + _internal_set_sorttype(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsVariableRequest.sortType) +} +inline ::int32_t TusGetFriendsVariableRequest::_internal_sorttype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.sorttype_; +} +inline void TusGetFriendsVariableRequest::_internal_set_sorttype(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sorttype_ = value; +} + +// uint32 arrayNum = 4; +inline void TusGetFriendsVariableRequest::clear_arraynum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.arraynum_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t TusGetFriendsVariableRequest::arraynum() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsVariableRequest.arrayNum) + return _internal_arraynum(); +} +inline void TusGetFriendsVariableRequest::set_arraynum(::uint32_t value) { + _internal_set_arraynum(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsVariableRequest.arrayNum) +} +inline ::uint32_t TusGetFriendsVariableRequest::_internal_arraynum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.arraynum_; +} +inline void TusGetFriendsVariableRequest::_internal_set_arraynum(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.arraynum_ = value; +} + +// ------------------------------------------------------------------- + +// TusAddAndGetVariableRequest + +// .np2_structs.TusUser user = 1; +inline bool TusAddAndGetVariableRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusAddAndGetVariableRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::TusUser& TusAddAndGetVariableRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusAddAndGetVariableRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusAddAndGetVariableRequest.user) + return _internal_user(); +} +inline void TusAddAndGetVariableRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusAddAndGetVariableRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusAddAndGetVariableRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusAddAndGetVariableRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusAddAndGetVariableRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusAddAndGetVariableRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusAddAndGetVariableRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusAddAndGetVariableRequest.user) + return _msg; +} +inline void TusAddAndGetVariableRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusAddAndGetVariableRequest.user) +} + +// int32 slotId = 2; +inline void TusAddAndGetVariableRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::int32_t TusAddAndGetVariableRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusAddAndGetVariableRequest.slotId) + return _internal_slotid(); +} +inline void TusAddAndGetVariableRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.TusAddAndGetVariableRequest.slotId) +} +inline ::int32_t TusAddAndGetVariableRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusAddAndGetVariableRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// int64 inVariable = 3; +inline void TusAddAndGetVariableRequest::clear_invariable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.invariable_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::int64_t TusAddAndGetVariableRequest::invariable() const { + // @@protoc_insertion_point(field_get:np2_structs.TusAddAndGetVariableRequest.inVariable) + return _internal_invariable(); +} +inline void TusAddAndGetVariableRequest::set_invariable(::int64_t value) { + _internal_set_invariable(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.TusAddAndGetVariableRequest.inVariable) +} +inline ::int64_t TusAddAndGetVariableRequest::_internal_invariable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.invariable_; +} +inline void TusAddAndGetVariableRequest::_internal_set_invariable(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.invariable_ = value; +} + +// repeated uint64 isLastChangedDate = 4; +inline int TusAddAndGetVariableRequest::_internal_islastchangeddate_size() const { + return _internal_islastchangeddate().size(); +} +inline int TusAddAndGetVariableRequest::islastchangeddate_size() const { + return _internal_islastchangeddate_size(); +} +inline void TusAddAndGetVariableRequest::clear_islastchangeddate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangeddate_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint64_t TusAddAndGetVariableRequest::islastchangeddate(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusAddAndGetVariableRequest.isLastChangedDate) + return _internal_islastchangeddate().Get(index); +} +inline void TusAddAndGetVariableRequest::set_islastchangeddate(int index, ::uint64_t value) { + _internal_mutable_islastchangeddate()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusAddAndGetVariableRequest.isLastChangedDate) +} +inline void TusAddAndGetVariableRequest::add_islastchangeddate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_islastchangeddate()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusAddAndGetVariableRequest.isLastChangedDate) +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& TusAddAndGetVariableRequest::islastchangeddate() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusAddAndGetVariableRequest.isLastChangedDate) + return _internal_islastchangeddate(); +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL TusAddAndGetVariableRequest::mutable_islastchangeddate() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusAddAndGetVariableRequest.isLastChangedDate) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_islastchangeddate(); +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& +TusAddAndGetVariableRequest::_internal_islastchangeddate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.islastchangeddate_; +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL +TusAddAndGetVariableRequest::_internal_mutable_islastchangeddate() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.islastchangeddate_; +} + +// string isLastChangedAuthorId = 5; +inline void TusAddAndGetVariableRequest::clear_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangedauthorid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& TusAddAndGetVariableRequest::islastchangedauthorid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId) + return _internal_islastchangedauthorid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusAddAndGetVariableRequest::set_islastchangedauthorid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.islastchangedauthorid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId) +} +inline ::std::string* PROTOBUF_NONNULL TusAddAndGetVariableRequest::mutable_islastchangedauthorid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_islastchangedauthorid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId) + return _s; +} +inline const ::std::string& TusAddAndGetVariableRequest::_internal_islastchangedauthorid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.islastchangedauthorid_.Get(); +} +inline void TusAddAndGetVariableRequest::_internal_set_islastchangedauthorid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangedauthorid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusAddAndGetVariableRequest::_internal_mutable_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.islastchangedauthorid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusAddAndGetVariableRequest::release_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.islastchangedauthorid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.islastchangedauthorid_.Set("", GetArena()); + } + return released; +} +inline void TusAddAndGetVariableRequest::set_allocated_islastchangedauthorid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.islastchangedauthorid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.islastchangedauthorid_.IsDefault()) { + _impl_.islastchangedauthorid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusAddAndGetVariableRequest.isLastChangedAuthorId) +} + +// ------------------------------------------------------------------- + +// TusTryAndSetVariableRequest + +// .np2_structs.TusUser user = 1; +inline bool TusTryAndSetVariableRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusTryAndSetVariableRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::np2_structs::TusUser& TusTryAndSetVariableRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusTryAndSetVariableRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.user) + return _internal_user(); +} +inline void TusTryAndSetVariableRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusTryAndSetVariableRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusTryAndSetVariableRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusTryAndSetVariableRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusTryAndSetVariableRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusTryAndSetVariableRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusTryAndSetVariableRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusTryAndSetVariableRequest.user) + return _msg; +} +inline void TusTryAndSetVariableRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusTryAndSetVariableRequest.user) +} + +// int32 slotId = 2; +inline void TusTryAndSetVariableRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline ::int32_t TusTryAndSetVariableRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.slotId) + return _internal_slotid(); +} +inline void TusTryAndSetVariableRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.TusTryAndSetVariableRequest.slotId) +} +inline ::int32_t TusTryAndSetVariableRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusTryAndSetVariableRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// int32 opeType = 3; +inline void TusTryAndSetVariableRequest::clear_opetype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.opetype_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::int32_t TusTryAndSetVariableRequest::opetype() const { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.opeType) + return _internal_opetype(); +} +inline void TusTryAndSetVariableRequest::set_opetype(::int32_t value) { + _internal_set_opetype(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.TusTryAndSetVariableRequest.opeType) +} +inline ::int32_t TusTryAndSetVariableRequest::_internal_opetype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.opetype_; +} +inline void TusTryAndSetVariableRequest::_internal_set_opetype(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.opetype_ = value; +} + +// int64 variable = 4; +inline void TusTryAndSetVariableRequest::clear_variable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.variable_ = ::int64_t{0}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000040U); +} +inline ::int64_t TusTryAndSetVariableRequest::variable() const { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.variable) + return _internal_variable(); +} +inline void TusTryAndSetVariableRequest::set_variable(::int64_t value) { + _internal_set_variable(value); + SetHasBit(_impl_._has_bits_[0], 0x00000040U); + // @@protoc_insertion_point(field_set:np2_structs.TusTryAndSetVariableRequest.variable) +} +inline ::int64_t TusTryAndSetVariableRequest::_internal_variable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.variable_; +} +inline void TusTryAndSetVariableRequest::_internal_set_variable(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.variable_ = value; +} + +// repeated uint64 isLastChangedDate = 5; +inline int TusTryAndSetVariableRequest::_internal_islastchangeddate_size() const { + return _internal_islastchangeddate().size(); +} +inline int TusTryAndSetVariableRequest::islastchangeddate_size() const { + return _internal_islastchangeddate_size(); +} +inline void TusTryAndSetVariableRequest::clear_islastchangeddate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangeddate_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint64_t TusTryAndSetVariableRequest::islastchangeddate(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.isLastChangedDate) + return _internal_islastchangeddate().Get(index); +} +inline void TusTryAndSetVariableRequest::set_islastchangeddate(int index, ::uint64_t value) { + _internal_mutable_islastchangeddate()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusTryAndSetVariableRequest.isLastChangedDate) +} +inline void TusTryAndSetVariableRequest::add_islastchangeddate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_islastchangeddate()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusTryAndSetVariableRequest.isLastChangedDate) +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& TusTryAndSetVariableRequest::islastchangeddate() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusTryAndSetVariableRequest.isLastChangedDate) + return _internal_islastchangeddate(); +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL TusTryAndSetVariableRequest::mutable_islastchangeddate() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusTryAndSetVariableRequest.isLastChangedDate) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_islastchangeddate(); +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& +TusTryAndSetVariableRequest::_internal_islastchangeddate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.islastchangeddate_; +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL +TusTryAndSetVariableRequest::_internal_mutable_islastchangeddate() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.islastchangeddate_; +} + +// string isLastChangedAuthorId = 6; +inline void TusTryAndSetVariableRequest::clear_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangedauthorid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& TusTryAndSetVariableRequest::islastchangedauthorid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId) + return _internal_islastchangedauthorid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusTryAndSetVariableRequest::set_islastchangedauthorid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.islastchangedauthorid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId) +} +inline ::std::string* PROTOBUF_NONNULL TusTryAndSetVariableRequest::mutable_islastchangedauthorid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_islastchangedauthorid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId) + return _s; +} +inline const ::std::string& TusTryAndSetVariableRequest::_internal_islastchangedauthorid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.islastchangedauthorid_.Get(); +} +inline void TusTryAndSetVariableRequest::_internal_set_islastchangedauthorid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangedauthorid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusTryAndSetVariableRequest::_internal_mutable_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.islastchangedauthorid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusTryAndSetVariableRequest::release_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.islastchangedauthorid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.islastchangedauthorid_.Set("", GetArena()); + } + return released; +} +inline void TusTryAndSetVariableRequest::set_allocated_islastchangedauthorid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.islastchangedauthorid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.islastchangedauthorid_.IsDefault()) { + _impl_.islastchangedauthorid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusTryAndSetVariableRequest.isLastChangedAuthorId) +} + +// repeated int64 compareValue = 7; +inline int TusTryAndSetVariableRequest::_internal_comparevalue_size() const { + return _internal_comparevalue().size(); +} +inline int TusTryAndSetVariableRequest::comparevalue_size() const { + return _internal_comparevalue_size(); +} +inline void TusTryAndSetVariableRequest::clear_comparevalue() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comparevalue_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int64_t TusTryAndSetVariableRequest::comparevalue(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusTryAndSetVariableRequest.compareValue) + return _internal_comparevalue().Get(index); +} +inline void TusTryAndSetVariableRequest::set_comparevalue(int index, ::int64_t value) { + _internal_mutable_comparevalue()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusTryAndSetVariableRequest.compareValue) +} +inline void TusTryAndSetVariableRequest::add_comparevalue(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_comparevalue()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.TusTryAndSetVariableRequest.compareValue) +} +inline const ::google::protobuf::RepeatedField<::int64_t>& TusTryAndSetVariableRequest::comparevalue() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusTryAndSetVariableRequest.compareValue) + return _internal_comparevalue(); +} +inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL TusTryAndSetVariableRequest::mutable_comparevalue() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusTryAndSetVariableRequest.compareValue) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_comparevalue(); +} +inline const ::google::protobuf::RepeatedField<::int64_t>& +TusTryAndSetVariableRequest::_internal_comparevalue() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.comparevalue_; +} +inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL +TusTryAndSetVariableRequest::_internal_mutable_comparevalue() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.comparevalue_; +} + +// ------------------------------------------------------------------- + +// TusDeleteMultiSlotVariableRequest + +// .np2_structs.TusUser user = 1; +inline bool TusDeleteMultiSlotVariableRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusDeleteMultiSlotVariableRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::TusUser& TusDeleteMultiSlotVariableRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusDeleteMultiSlotVariableRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusDeleteMultiSlotVariableRequest.user) + return _internal_user(); +} +inline void TusDeleteMultiSlotVariableRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusDeleteMultiSlotVariableRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusDeleteMultiSlotVariableRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusDeleteMultiSlotVariableRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusDeleteMultiSlotVariableRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusDeleteMultiSlotVariableRequest.user) + return _msg; +} +inline void TusDeleteMultiSlotVariableRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusDeleteMultiSlotVariableRequest.user) +} + +// repeated int32 slotIdArray = 2; +inline int TusDeleteMultiSlotVariableRequest::_internal_slotidarray_size() const { + return _internal_slotidarray().size(); +} +inline int TusDeleteMultiSlotVariableRequest::slotidarray_size() const { + return _internal_slotidarray_size(); +} +inline void TusDeleteMultiSlotVariableRequest::clear_slotidarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotidarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusDeleteMultiSlotVariableRequest::slotidarray(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusDeleteMultiSlotVariableRequest.slotIdArray) + return _internal_slotidarray().Get(index); +} +inline void TusDeleteMultiSlotVariableRequest::set_slotidarray(int index, ::int32_t value) { + _internal_mutable_slotidarray()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusDeleteMultiSlotVariableRequest.slotIdArray) +} +inline void TusDeleteMultiSlotVariableRequest::add_slotidarray(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_slotidarray()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusDeleteMultiSlotVariableRequest.slotIdArray) +} +inline const ::google::protobuf::RepeatedField<::int32_t>& TusDeleteMultiSlotVariableRequest::slotidarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusDeleteMultiSlotVariableRequest.slotIdArray) + return _internal_slotidarray(); +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL TusDeleteMultiSlotVariableRequest::mutable_slotidarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusDeleteMultiSlotVariableRequest.slotIdArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_slotidarray(); +} +inline const ::google::protobuf::RepeatedField<::int32_t>& +TusDeleteMultiSlotVariableRequest::_internal_slotidarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotidarray_; +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL +TusDeleteMultiSlotVariableRequest::_internal_mutable_slotidarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.slotidarray_; +} + +// ------------------------------------------------------------------- + +// TusSetDataRequest + +// .np2_structs.TusUser user = 1; +inline bool TusSetDataRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusSetDataRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline const ::np2_structs::TusUser& TusSetDataRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusSetDataRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusSetDataRequest.user) + return _internal_user(); +} +inline void TusSetDataRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusSetDataRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusSetDataRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusSetDataRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusSetDataRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusSetDataRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusSetDataRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusSetDataRequest.user) + return _msg; +} +inline void TusSetDataRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000010U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusSetDataRequest.user) +} + +// int32 slotId = 2; +inline void TusSetDataRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000020U); +} +inline ::int32_t TusSetDataRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusSetDataRequest.slotId) + return _internal_slotid(); +} +inline void TusSetDataRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000020U); + // @@protoc_insertion_point(field_set:np2_structs.TusSetDataRequest.slotId) +} +inline ::int32_t TusSetDataRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusSetDataRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// bytes data = 3; +inline void TusSetDataRequest::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& TusSetDataRequest::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusSetDataRequest.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void TusSetDataRequest::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusSetDataRequest.data) +} +inline ::std::string* PROTOBUF_NONNULL TusSetDataRequest::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusSetDataRequest.data) + return _s; +} +inline const ::std::string& TusSetDataRequest::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void TusSetDataRequest::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusSetDataRequest::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusSetDataRequest::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusSetDataRequest.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void TusSetDataRequest::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusSetDataRequest.data) +} + +// bytes info = 4; +inline void TusSetDataRequest::clear_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.info_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& TusSetDataRequest::info() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusSetDataRequest.info) + return _internal_info(); +} +template +PROTOBUF_ALWAYS_INLINE void TusSetDataRequest::set_info(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.info_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusSetDataRequest.info) +} +inline ::std::string* PROTOBUF_NONNULL TusSetDataRequest::mutable_info() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_info(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusSetDataRequest.info) + return _s; +} +inline const ::std::string& TusSetDataRequest::_internal_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.info_.Get(); +} +inline void TusSetDataRequest::_internal_set_info(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.info_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusSetDataRequest::_internal_mutable_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.info_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusSetDataRequest::release_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusSetDataRequest.info) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.info_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.info_.Set("", GetArena()); + } + return released; +} +inline void TusSetDataRequest::set_allocated_info(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.info_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.info_.IsDefault()) { + _impl_.info_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusSetDataRequest.info) +} + +// repeated uint64 isLastChangedDate = 5; +inline int TusSetDataRequest::_internal_islastchangeddate_size() const { + return _internal_islastchangeddate().size(); +} +inline int TusSetDataRequest::islastchangeddate_size() const { + return _internal_islastchangeddate_size(); +} +inline void TusSetDataRequest::clear_islastchangeddate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangeddate_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint64_t TusSetDataRequest::islastchangeddate(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusSetDataRequest.isLastChangedDate) + return _internal_islastchangeddate().Get(index); +} +inline void TusSetDataRequest::set_islastchangeddate(int index, ::uint64_t value) { + _internal_mutable_islastchangeddate()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusSetDataRequest.isLastChangedDate) +} +inline void TusSetDataRequest::add_islastchangeddate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_islastchangeddate()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusSetDataRequest.isLastChangedDate) +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& TusSetDataRequest::islastchangeddate() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusSetDataRequest.isLastChangedDate) + return _internal_islastchangeddate(); +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL TusSetDataRequest::mutable_islastchangeddate() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusSetDataRequest.isLastChangedDate) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_islastchangeddate(); +} +inline const ::google::protobuf::RepeatedField<::uint64_t>& +TusSetDataRequest::_internal_islastchangeddate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.islastchangeddate_; +} +inline ::google::protobuf::RepeatedField<::uint64_t>* PROTOBUF_NONNULL +TusSetDataRequest::_internal_mutable_islastchangeddate() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.islastchangeddate_; +} + +// string isLastChangedAuthorId = 6; +inline void TusSetDataRequest::clear_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangedauthorid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::std::string& TusSetDataRequest::islastchangedauthorid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusSetDataRequest.isLastChangedAuthorId) + return _internal_islastchangedauthorid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusSetDataRequest::set_islastchangedauthorid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + _impl_.islastchangedauthorid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusSetDataRequest.isLastChangedAuthorId) +} +inline ::std::string* PROTOBUF_NONNULL TusSetDataRequest::mutable_islastchangedauthorid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::std::string* _s = _internal_mutable_islastchangedauthorid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusSetDataRequest.isLastChangedAuthorId) + return _s; +} +inline const ::std::string& TusSetDataRequest::_internal_islastchangedauthorid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.islastchangedauthorid_.Get(); +} +inline void TusSetDataRequest::_internal_set_islastchangedauthorid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.islastchangedauthorid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusSetDataRequest::_internal_mutable_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.islastchangedauthorid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusSetDataRequest::release_islastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusSetDataRequest.isLastChangedAuthorId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + auto* released = _impl_.islastchangedauthorid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.islastchangedauthorid_.Set("", GetArena()); + } + return released; +} +inline void TusSetDataRequest::set_allocated_islastchangedauthorid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + _impl_.islastchangedauthorid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.islastchangedauthorid_.IsDefault()) { + _impl_.islastchangedauthorid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusSetDataRequest.isLastChangedAuthorId) +} + +// ------------------------------------------------------------------- + +// TusDataStatus + +// string ownerId = 1; +inline void TusDataStatus::clear_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ownerid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& TusDataStatus::ownerid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusDataStatus.ownerId) + return _internal_ownerid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusDataStatus::set_ownerid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.ownerid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusDataStatus.ownerId) +} +inline ::std::string* PROTOBUF_NONNULL TusDataStatus::mutable_ownerid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_ownerid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusDataStatus.ownerId) + return _s; +} +inline const ::std::string& TusDataStatus::_internal_ownerid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ownerid_.Get(); +} +inline void TusDataStatus::_internal_set_ownerid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ownerid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusDataStatus::_internal_mutable_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.ownerid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusDataStatus::release_ownerid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusDataStatus.ownerId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.ownerid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.ownerid_.Set("", GetArena()); + } + return released; +} +inline void TusDataStatus::set_allocated_ownerid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.ownerid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ownerid_.IsDefault()) { + _impl_.ownerid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusDataStatus.ownerId) +} + +// bool hasData = 2; +inline void TusDataStatus::clear_hasdata() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hasdata_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline bool TusDataStatus::hasdata() const { + // @@protoc_insertion_point(field_get:np2_structs.TusDataStatus.hasData) + return _internal_hasdata(); +} +inline void TusDataStatus::set_hasdata(bool value) { + _internal_set_hasdata(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.TusDataStatus.hasData) +} +inline bool TusDataStatus::_internal_hasdata() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.hasdata_; +} +inline void TusDataStatus::_internal_set_hasdata(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hasdata_ = value; +} + +// uint64 lastChangedDate = 3; +inline void TusDataStatus::clear_lastchangeddate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangeddate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint64_t TusDataStatus::lastchangeddate() const { + // @@protoc_insertion_point(field_get:np2_structs.TusDataStatus.lastChangedDate) + return _internal_lastchangeddate(); +} +inline void TusDataStatus::set_lastchangeddate(::uint64_t value) { + _internal_set_lastchangeddate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.TusDataStatus.lastChangedDate) +} +inline ::uint64_t TusDataStatus::_internal_lastchangeddate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lastchangeddate_; +} +inline void TusDataStatus::_internal_set_lastchangeddate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangeddate_ = value; +} + +// string lastChangedAuthorId = 4; +inline void TusDataStatus::clear_lastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangedauthorid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& TusDataStatus::lastchangedauthorid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusDataStatus.lastChangedAuthorId) + return _internal_lastchangedauthorid(); +} +template +PROTOBUF_ALWAYS_INLINE void TusDataStatus::set_lastchangedauthorid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.lastchangedauthorid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusDataStatus.lastChangedAuthorId) +} +inline ::std::string* PROTOBUF_NONNULL TusDataStatus::mutable_lastchangedauthorid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_lastchangedauthorid(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusDataStatus.lastChangedAuthorId) + return _s; +} +inline const ::std::string& TusDataStatus::_internal_lastchangedauthorid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lastchangedauthorid_.Get(); +} +inline void TusDataStatus::_internal_set_lastchangedauthorid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lastchangedauthorid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusDataStatus::_internal_mutable_lastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.lastchangedauthorid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusDataStatus::release_lastchangedauthorid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusDataStatus.lastChangedAuthorId) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.lastchangedauthorid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.lastchangedauthorid_.Set("", GetArena()); + } + return released; +} +inline void TusDataStatus::set_allocated_lastchangedauthorid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.lastchangedauthorid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.lastchangedauthorid_.IsDefault()) { + _impl_.lastchangedauthorid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusDataStatus.lastChangedAuthorId) +} + +// bytes info = 5; +inline void TusDataStatus::clear_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.info_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& TusDataStatus::info() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusDataStatus.info) + return _internal_info(); +} +template +PROTOBUF_ALWAYS_INLINE void TusDataStatus::set_info(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.info_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusDataStatus.info) +} +inline ::std::string* PROTOBUF_NONNULL TusDataStatus::mutable_info() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_info(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusDataStatus.info) + return _s; +} +inline const ::std::string& TusDataStatus::_internal_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.info_.Get(); +} +inline void TusDataStatus::_internal_set_info(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.info_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusDataStatus::_internal_mutable_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.info_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusDataStatus::release_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusDataStatus.info) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.info_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.info_.Set("", GetArena()); + } + return released; +} +inline void TusDataStatus::set_allocated_info(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.info_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.info_.IsDefault()) { + _impl_.info_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusDataStatus.info) +} + +// ------------------------------------------------------------------- + +// TusData + +// .np2_structs.TusDataStatus status = 1; +inline bool TusData::has_status() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr); + return value; +} +inline void TusData::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ != nullptr) _impl_.status_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::TusDataStatus& TusData::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusDataStatus* p = _impl_.status_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusDataStatus_default_instance_); +} +inline const ::np2_structs::TusDataStatus& TusData::status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusData.status) + return _internal_status(); +} +inline void TusData::unsafe_arena_set_allocated_status( + ::np2_structs::TusDataStatus* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); + } + _impl_.status_ = reinterpret_cast<::np2_structs::TusDataStatus*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusData.status) +} +inline ::np2_structs::TusDataStatus* PROTOBUF_NULLABLE TusData::release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusDataStatus* released = _impl_.status_; + _impl_.status_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusDataStatus* PROTOBUF_NULLABLE TusData::unsafe_arena_release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusData.status) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusDataStatus* temp = _impl_.status_; + _impl_.status_ = nullptr; + return temp; +} +inline ::np2_structs::TusDataStatus* PROTOBUF_NONNULL TusData::_internal_mutable_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusDataStatus>(GetArena()); + _impl_.status_ = reinterpret_cast<::np2_structs::TusDataStatus*>(p); + } + return _impl_.status_; +} +inline ::np2_structs::TusDataStatus* PROTOBUF_NONNULL TusData::mutable_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusDataStatus* _msg = _internal_mutable_status(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusData.status) + return _msg; +} +inline void TusData::set_allocated_status(::np2_structs::TusDataStatus* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.status_ = reinterpret_cast<::np2_structs::TusDataStatus*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusData.status) +} + +// bytes data = 2; +inline void TusData::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& TusData::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusData.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void TusData::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.TusData.data) +} +inline ::std::string* PROTOBUF_NONNULL TusData::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusData.data) + return _s; +} +inline const ::std::string& TusData::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void TusData::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL TusData::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE TusData::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusData.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void TusData::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusData.data) +} + +// ------------------------------------------------------------------- + +// TusDataStatusResponse + +// repeated .np2_structs.TusDataStatus status = 1; +inline int TusDataStatusResponse::_internal_status_size() const { + return _internal_status().size(); +} +inline int TusDataStatusResponse::status_size() const { + return _internal_status_size(); +} +inline void TusDataStatusResponse::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::TusDataStatus* PROTOBUF_NONNULL TusDataStatusResponse::mutable_status(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.TusDataStatusResponse.status) + return _internal_mutable_status()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>* PROTOBUF_NONNULL TusDataStatusResponse::mutable_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusDataStatusResponse.status) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_status(); +} +inline const ::np2_structs::TusDataStatus& TusDataStatusResponse::status(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusDataStatusResponse.status) + return _internal_status().Get(index); +} +inline ::np2_structs::TusDataStatus* PROTOBUF_NONNULL TusDataStatusResponse::add_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::TusDataStatus* _add = + _internal_mutable_status()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusDataStatusResponse.status) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>& TusDataStatusResponse::status() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusDataStatusResponse.status) + return _internal_status(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>& +TusDataStatusResponse::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.status_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusDataStatus>* PROTOBUF_NONNULL +TusDataStatusResponse::_internal_mutable_status() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.status_; +} + +// ------------------------------------------------------------------- + +// TusGetDataRequest + +// .np2_structs.TusUser user = 1; +inline bool TusGetDataRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusGetDataRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::TusUser& TusGetDataRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusGetDataRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusGetDataRequest.user) + return _internal_user(); +} +inline void TusGetDataRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusGetDataRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusGetDataRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusGetDataRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusGetDataRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetDataRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetDataRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusGetDataRequest.user) + return _msg; +} +inline void TusGetDataRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusGetDataRequest.user) +} + +// int32 slotId = 2; +inline void TusGetDataRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int32_t TusGetDataRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetDataRequest.slotId) + return _internal_slotid(); +} +inline void TusGetDataRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetDataRequest.slotId) +} +inline ::int32_t TusGetDataRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusGetDataRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// ------------------------------------------------------------------- + +// TusGetMultiSlotDataStatusRequest + +// .np2_structs.TusUser user = 1; +inline bool TusGetMultiSlotDataStatusRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusGetMultiSlotDataStatusRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::TusUser& TusGetMultiSlotDataStatusRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusGetMultiSlotDataStatusRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiSlotDataStatusRequest.user) + return _internal_user(); +} +inline void TusGetMultiSlotDataStatusRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusGetMultiSlotDataStatusRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusGetMultiSlotDataStatusRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusGetMultiSlotDataStatusRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusGetMultiSlotDataStatusRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusGetMultiSlotDataStatusRequest.user) + return _msg; +} +inline void TusGetMultiSlotDataStatusRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusGetMultiSlotDataStatusRequest.user) +} + +// repeated int32 slotIdArray = 2; +inline int TusGetMultiSlotDataStatusRequest::_internal_slotidarray_size() const { + return _internal_slotidarray().size(); +} +inline int TusGetMultiSlotDataStatusRequest::slotidarray_size() const { + return _internal_slotidarray_size(); +} +inline void TusGetMultiSlotDataStatusRequest::clear_slotidarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotidarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusGetMultiSlotDataStatusRequest::slotidarray(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiSlotDataStatusRequest.slotIdArray) + return _internal_slotidarray().Get(index); +} +inline void TusGetMultiSlotDataStatusRequest::set_slotidarray(int index, ::int32_t value) { + _internal_mutable_slotidarray()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusGetMultiSlotDataStatusRequest.slotIdArray) +} +inline void TusGetMultiSlotDataStatusRequest::add_slotidarray(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_slotidarray()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusGetMultiSlotDataStatusRequest.slotIdArray) +} +inline const ::google::protobuf::RepeatedField<::int32_t>& TusGetMultiSlotDataStatusRequest::slotidarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusGetMultiSlotDataStatusRequest.slotIdArray) + return _internal_slotidarray(); +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL TusGetMultiSlotDataStatusRequest::mutable_slotidarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusGetMultiSlotDataStatusRequest.slotIdArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_slotidarray(); +} +inline const ::google::protobuf::RepeatedField<::int32_t>& +TusGetMultiSlotDataStatusRequest::_internal_slotidarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotidarray_; +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL +TusGetMultiSlotDataStatusRequest::_internal_mutable_slotidarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.slotidarray_; +} + +// ------------------------------------------------------------------- + +// TusGetMultiUserDataStatusRequest + +// repeated .np2_structs.TusUser users = 1; +inline int TusGetMultiUserDataStatusRequest::_internal_users_size() const { + return _internal_users().size(); +} +inline int TusGetMultiUserDataStatusRequest::users_size() const { + return _internal_users_size(); +} +inline void TusGetMultiUserDataStatusRequest::clear_users() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.users_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::mutable_users(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.TusGetMultiUserDataStatusRequest.users) + return _internal_mutable_users()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::mutable_users() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusGetMultiUserDataStatusRequest.users) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_users(); +} +inline const ::np2_structs::TusUser& TusGetMultiUserDataStatusRequest::users(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiUserDataStatusRequest.users) + return _internal_users().Get(index); +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusGetMultiUserDataStatusRequest::add_users() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::TusUser* _add = + _internal_mutable_users()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusGetMultiUserDataStatusRequest.users) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& TusGetMultiUserDataStatusRequest::users() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusGetMultiUserDataStatusRequest.users) + return _internal_users(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>& +TusGetMultiUserDataStatusRequest::_internal_users() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.users_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::TusUser>* PROTOBUF_NONNULL +TusGetMultiUserDataStatusRequest::_internal_mutable_users() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.users_; +} + +// int32 slotId = 2; +inline void TusGetMultiUserDataStatusRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::int32_t TusGetMultiUserDataStatusRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetMultiUserDataStatusRequest.slotId) + return _internal_slotid(); +} +inline void TusGetMultiUserDataStatusRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetMultiUserDataStatusRequest.slotId) +} +inline ::int32_t TusGetMultiUserDataStatusRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusGetMultiUserDataStatusRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// ------------------------------------------------------------------- + +// TusGetFriendsDataStatusRequest + +// int32 slotId = 1; +inline void TusGetFriendsDataStatusRequest::clear_slotid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusGetFriendsDataStatusRequest::slotid() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsDataStatusRequest.slotId) + return _internal_slotid(); +} +inline void TusGetFriendsDataStatusRequest::set_slotid(::int32_t value) { + _internal_set_slotid(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsDataStatusRequest.slotId) +} +inline ::int32_t TusGetFriendsDataStatusRequest::_internal_slotid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotid_; +} +inline void TusGetFriendsDataStatusRequest::_internal_set_slotid(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotid_ = value; +} + +// bool includeSelf = 2; +inline void TusGetFriendsDataStatusRequest::clear_includeself() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.includeself_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline bool TusGetFriendsDataStatusRequest::includeself() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsDataStatusRequest.includeSelf) + return _internal_includeself(); +} +inline void TusGetFriendsDataStatusRequest::set_includeself(bool value) { + _internal_set_includeself(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsDataStatusRequest.includeSelf) +} +inline bool TusGetFriendsDataStatusRequest::_internal_includeself() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.includeself_; +} +inline void TusGetFriendsDataStatusRequest::_internal_set_includeself(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.includeself_ = value; +} + +// int32 sortType = 3; +inline void TusGetFriendsDataStatusRequest::clear_sorttype() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sorttype_ = 0; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::int32_t TusGetFriendsDataStatusRequest::sorttype() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsDataStatusRequest.sortType) + return _internal_sorttype(); +} +inline void TusGetFriendsDataStatusRequest::set_sorttype(::int32_t value) { + _internal_set_sorttype(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsDataStatusRequest.sortType) +} +inline ::int32_t TusGetFriendsDataStatusRequest::_internal_sorttype() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.sorttype_; +} +inline void TusGetFriendsDataStatusRequest::_internal_set_sorttype(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.sorttype_ = value; +} + +// uint32 arrayNum = 4; +inline void TusGetFriendsDataStatusRequest::clear_arraynum() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.arraynum_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t TusGetFriendsDataStatusRequest::arraynum() const { + // @@protoc_insertion_point(field_get:np2_structs.TusGetFriendsDataStatusRequest.arrayNum) + return _internal_arraynum(); +} +inline void TusGetFriendsDataStatusRequest::set_arraynum(::uint32_t value) { + _internal_set_arraynum(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.TusGetFriendsDataStatusRequest.arrayNum) +} +inline ::uint32_t TusGetFriendsDataStatusRequest::_internal_arraynum() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.arraynum_; +} +inline void TusGetFriendsDataStatusRequest::_internal_set_arraynum(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.arraynum_ = value; +} + +// ------------------------------------------------------------------- + +// TusDeleteMultiSlotDataRequest + +// .np2_structs.TusUser user = 1; +inline bool TusDeleteMultiSlotDataRequest::has_user() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.user_ != nullptr); + return value; +} +inline void TusDeleteMultiSlotDataRequest::clear_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ != nullptr) _impl_.user_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::TusUser& TusDeleteMultiSlotDataRequest::_internal_user() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::TusUser* p = _impl_.user_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_TusUser_default_instance_); +} +inline const ::np2_structs::TusUser& TusDeleteMultiSlotDataRequest::user() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.TusDeleteMultiSlotDataRequest.user) + return _internal_user(); +} +inline void TusDeleteMultiSlotDataRequest::unsafe_arena_set_allocated_user( + ::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.TusDeleteMultiSlotDataRequest.user) +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusDeleteMultiSlotDataRequest::release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* released = _impl_.user_; + _impl_.user_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::TusUser* PROTOBUF_NULLABLE TusDeleteMultiSlotDataRequest::unsafe_arena_release_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.TusDeleteMultiSlotDataRequest.user) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* temp = _impl_.user_; + _impl_.user_ = nullptr; + return temp; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::_internal_mutable_user() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.user_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::TusUser>(GetArena()); + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(p); + } + return _impl_.user_; +} +inline ::np2_structs::TusUser* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::mutable_user() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::TusUser* _msg = _internal_mutable_user(); + // @@protoc_insertion_point(field_mutable:np2_structs.TusDeleteMultiSlotDataRequest.user) + return _msg; +} +inline void TusDeleteMultiSlotDataRequest::set_allocated_user(::np2_structs::TusUser* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.user_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.user_ = reinterpret_cast<::np2_structs::TusUser*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.TusDeleteMultiSlotDataRequest.user) +} + +// repeated int32 slotIdArray = 2; +inline int TusDeleteMultiSlotDataRequest::_internal_slotidarray_size() const { + return _internal_slotidarray().size(); +} +inline int TusDeleteMultiSlotDataRequest::slotidarray_size() const { + return _internal_slotidarray_size(); +} +inline void TusDeleteMultiSlotDataRequest::clear_slotidarray() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.slotidarray_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::int32_t TusDeleteMultiSlotDataRequest::slotidarray(int index) const { + // @@protoc_insertion_point(field_get:np2_structs.TusDeleteMultiSlotDataRequest.slotIdArray) + return _internal_slotidarray().Get(index); +} +inline void TusDeleteMultiSlotDataRequest::set_slotidarray(int index, ::int32_t value) { + _internal_mutable_slotidarray()->Set(index, value); + // @@protoc_insertion_point(field_set:np2_structs.TusDeleteMultiSlotDataRequest.slotIdArray) +} +inline void TusDeleteMultiSlotDataRequest::add_slotidarray(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _internal_mutable_slotidarray()->Add(value); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.TusDeleteMultiSlotDataRequest.slotIdArray) +} +inline const ::google::protobuf::RepeatedField<::int32_t>& TusDeleteMultiSlotDataRequest::slotidarray() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.TusDeleteMultiSlotDataRequest.slotIdArray) + return _internal_slotidarray(); +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL TusDeleteMultiSlotDataRequest::mutable_slotidarray() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.TusDeleteMultiSlotDataRequest.slotIdArray) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_slotidarray(); +} +inline const ::google::protobuf::RepeatedField<::int32_t>& +TusDeleteMultiSlotDataRequest::_internal_slotidarray() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.slotidarray_; +} +inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL +TusDeleteMultiSlotDataRequest::_internal_mutable_slotidarray() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.slotidarray_; +} + +// ------------------------------------------------------------------- + +// SetPresenceRequest + +// string title = 1; +inline void SetPresenceRequest::clear_title() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.title_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& SetPresenceRequest::title() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetPresenceRequest.title) + return _internal_title(); +} +template +PROTOBUF_ALWAYS_INLINE void SetPresenceRequest::set_title(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.title_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SetPresenceRequest.title) +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::mutable_title() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_title(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetPresenceRequest.title) + return _s; +} +inline const ::std::string& SetPresenceRequest::_internal_title() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.title_.Get(); +} +inline void SetPresenceRequest::_internal_set_title(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.title_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::_internal_mutable_title() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.title_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SetPresenceRequest::release_title() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetPresenceRequest.title) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.title_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.title_.Set("", GetArena()); + } + return released; +} +inline void SetPresenceRequest::set_allocated_title(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.title_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.title_.IsDefault()) { + _impl_.title_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetPresenceRequest.title) +} + +// string status = 2; +inline void SetPresenceRequest::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& SetPresenceRequest::status() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetPresenceRequest.status) + return _internal_status(); +} +template +PROTOBUF_ALWAYS_INLINE void SetPresenceRequest::set_status(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.status_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SetPresenceRequest.status) +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::mutable_status() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_status(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetPresenceRequest.status) + return _s; +} +inline const ::std::string& SetPresenceRequest::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.status_.Get(); +} +inline void SetPresenceRequest::_internal_set_status(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::_internal_mutable_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.status_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SetPresenceRequest::release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetPresenceRequest.status) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.status_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.status_.Set("", GetArena()); + } + return released; +} +inline void SetPresenceRequest::set_allocated_status(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.status_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.status_.IsDefault()) { + _impl_.status_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetPresenceRequest.status) +} + +// string comment = 3; +inline void SetPresenceRequest::clear_comment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comment_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& SetPresenceRequest::comment() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetPresenceRequest.comment) + return _internal_comment(); +} +template +PROTOBUF_ALWAYS_INLINE void SetPresenceRequest::set_comment(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.comment_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SetPresenceRequest.comment) +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::mutable_comment() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_comment(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetPresenceRequest.comment) + return _s; +} +inline const ::std::string& SetPresenceRequest::_internal_comment() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.comment_.Get(); +} +inline void SetPresenceRequest::_internal_set_comment(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comment_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::_internal_mutable_comment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.comment_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SetPresenceRequest::release_comment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetPresenceRequest.comment) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.comment_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.comment_.Set("", GetArena()); + } + return released; +} +inline void SetPresenceRequest::set_allocated_comment(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.comment_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.comment_.IsDefault()) { + _impl_.comment_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetPresenceRequest.comment) +} + +// bytes data = 4; +inline void SetPresenceRequest::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::std::string& SetPresenceRequest::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetPresenceRequest.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void SetPresenceRequest::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SetPresenceRequest.data) +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetPresenceRequest.data) + return _s; +} +inline const ::std::string& SetPresenceRequest::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void SetPresenceRequest::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SetPresenceRequest::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SetPresenceRequest::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetPresenceRequest.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void SetPresenceRequest::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetPresenceRequest.data) +} + +// ------------------------------------------------------------------- + +// MatchingSearchCondition + +// uint32 attr_type = 1; +inline void MatchingSearchCondition::clear_attr_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_type_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::uint32_t MatchingSearchCondition::attr_type() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSearchCondition.attr_type) + return _internal_attr_type(); +} +inline void MatchingSearchCondition::set_attr_type(::uint32_t value) { + _internal_set_attr_type(value); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingSearchCondition.attr_type) +} +inline ::uint32_t MatchingSearchCondition::_internal_attr_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attr_type_; +} +inline void MatchingSearchCondition::_internal_set_attr_type(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_type_ = value; +} + +// uint32 attr_id = 2; +inline void MatchingSearchCondition::clear_attr_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_id_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t MatchingSearchCondition::attr_id() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSearchCondition.attr_id) + return _internal_attr_id(); +} +inline void MatchingSearchCondition::set_attr_id(::uint32_t value) { + _internal_set_attr_id(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingSearchCondition.attr_id) +} +inline ::uint32_t MatchingSearchCondition::_internal_attr_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attr_id_; +} +inline void MatchingSearchCondition::_internal_set_attr_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_id_ = value; +} + +// uint32 comp_op = 3; +inline void MatchingSearchCondition::clear_comp_op() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comp_op_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t MatchingSearchCondition::comp_op() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSearchCondition.comp_op) + return _internal_comp_op(); +} +inline void MatchingSearchCondition::set_comp_op(::uint32_t value) { + _internal_set_comp_op(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingSearchCondition.comp_op) +} +inline ::uint32_t MatchingSearchCondition::_internal_comp_op() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.comp_op_; +} +inline void MatchingSearchCondition::_internal_set_comp_op(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comp_op_ = value; +} + +// uint32 comp_value = 4; +inline void MatchingSearchCondition::clear_comp_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comp_value_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t MatchingSearchCondition::comp_value() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSearchCondition.comp_value) + return _internal_comp_value(); +} +inline void MatchingSearchCondition::set_comp_value(::uint32_t value) { + _internal_set_comp_value(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingSearchCondition.comp_value) +} +inline ::uint32_t MatchingSearchCondition::_internal_comp_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.comp_value_; +} +inline void MatchingSearchCondition::_internal_set_comp_value(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.comp_value_ = value; +} + +// ------------------------------------------------------------------- + +// MatchingAttr + +// uint32 attr_type = 1; +inline void MatchingAttr::clear_attr_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_type_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t MatchingAttr::attr_type() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingAttr.attr_type) + return _internal_attr_type(); +} +inline void MatchingAttr::set_attr_type(::uint32_t value) { + _internal_set_attr_type(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingAttr.attr_type) +} +inline ::uint32_t MatchingAttr::_internal_attr_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attr_type_; +} +inline void MatchingAttr::_internal_set_attr_type(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_type_ = value; +} + +// uint32 attr_id = 2; +inline void MatchingAttr::clear_attr_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_id_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t MatchingAttr::attr_id() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingAttr.attr_id) + return _internal_attr_id(); +} +inline void MatchingAttr::set_attr_id(::uint32_t value) { + _internal_set_attr_id(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingAttr.attr_id) +} +inline ::uint32_t MatchingAttr::_internal_attr_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attr_id_; +} +inline void MatchingAttr::_internal_set_attr_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_id_ = value; +} + +// uint32 num = 3; +inline void MatchingAttr::clear_num() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t MatchingAttr::num() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingAttr.num) + return _internal_num(); +} +inline void MatchingAttr::set_num(::uint32_t value) { + _internal_set_num(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingAttr.num) +} +inline ::uint32_t MatchingAttr::_internal_num() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.num_; +} +inline void MatchingAttr::_internal_set_num(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_ = value; +} + +// bytes data = 4; +inline void MatchingAttr::clear_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& MatchingAttr::data() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingAttr.data) + return _internal_data(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingAttr::set_data(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingAttr.data) +} +inline ::std::string* PROTOBUF_NONNULL MatchingAttr::mutable_data() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingAttr.data) + return _s; +} +inline const ::std::string& MatchingAttr::_internal_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.data_.Get(); +} +inline void MatchingAttr::_internal_set_data(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.data_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingAttr::_internal_mutable_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.data_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingAttr::release_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingAttr.data) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.data_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.data_.Set("", GetArena()); + } + return released; +} +inline void MatchingAttr::set_allocated_data(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.data_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingAttr.data) +} + +// ------------------------------------------------------------------- + +// CreateRoomGUIRequest + +// uint32 total_slots = 1; +inline void CreateRoomGUIRequest::clear_total_slots() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.total_slots_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t CreateRoomGUIRequest::total_slots() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomGUIRequest.total_slots) + return _internal_total_slots(); +} +inline void CreateRoomGUIRequest::set_total_slots(::uint32_t value) { + _internal_set_total_slots(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.CreateRoomGUIRequest.total_slots) +} +inline ::uint32_t CreateRoomGUIRequest::_internal_total_slots() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.total_slots_; +} +inline void CreateRoomGUIRequest::_internal_set_total_slots(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.total_slots_ = value; +} + +// uint32 private_slots = 2; +inline void CreateRoomGUIRequest::clear_private_slots() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.private_slots_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t CreateRoomGUIRequest::private_slots() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomGUIRequest.private_slots) + return _internal_private_slots(); +} +inline void CreateRoomGUIRequest::set_private_slots(::uint32_t value) { + _internal_set_private_slots(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.CreateRoomGUIRequest.private_slots) +} +inline ::uint32_t CreateRoomGUIRequest::_internal_private_slots() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.private_slots_; +} +inline void CreateRoomGUIRequest::_internal_set_private_slots(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.private_slots_ = value; +} + +// bool privilege_grant = 3; +inline void CreateRoomGUIRequest::clear_privilege_grant() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.privilege_grant_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline bool CreateRoomGUIRequest::privilege_grant() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomGUIRequest.privilege_grant) + return _internal_privilege_grant(); +} +inline void CreateRoomGUIRequest::set_privilege_grant(bool value) { + _internal_set_privilege_grant(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.CreateRoomGUIRequest.privilege_grant) +} +inline bool CreateRoomGUIRequest::_internal_privilege_grant() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.privilege_grant_; +} +inline void CreateRoomGUIRequest::_internal_set_privilege_grant(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.privilege_grant_ = value; +} + +// bool stealth = 4; +inline void CreateRoomGUIRequest::clear_stealth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stealth_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000010U); +} +inline bool CreateRoomGUIRequest::stealth() const { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomGUIRequest.stealth) + return _internal_stealth(); +} +inline void CreateRoomGUIRequest::set_stealth(bool value) { + _internal_set_stealth(value); + SetHasBit(_impl_._has_bits_[0], 0x00000010U); + // @@protoc_insertion_point(field_set:np2_structs.CreateRoomGUIRequest.stealth) +} +inline bool CreateRoomGUIRequest::_internal_stealth() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.stealth_; +} +inline void CreateRoomGUIRequest::_internal_set_stealth(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stealth_ = value; +} + +// repeated .np2_structs.MatchingAttr game_attrs = 5; +inline int CreateRoomGUIRequest::_internal_game_attrs_size() const { + return _internal_game_attrs().size(); +} +inline int CreateRoomGUIRequest::game_attrs_size() const { + return _internal_game_attrs_size(); +} +inline void CreateRoomGUIRequest::clear_game_attrs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.game_attrs_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL CreateRoomGUIRequest::mutable_game_attrs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.CreateRoomGUIRequest.game_attrs) + return _internal_mutable_game_attrs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL CreateRoomGUIRequest::mutable_game_attrs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.CreateRoomGUIRequest.game_attrs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_game_attrs(); +} +inline const ::np2_structs::MatchingAttr& CreateRoomGUIRequest::game_attrs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomGUIRequest.game_attrs) + return _internal_game_attrs().Get(index); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL CreateRoomGUIRequest::add_game_attrs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingAttr* _add = + _internal_mutable_game_attrs()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.CreateRoomGUIRequest.game_attrs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& CreateRoomGUIRequest::game_attrs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.CreateRoomGUIRequest.game_attrs) + return _internal_game_attrs(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& +CreateRoomGUIRequest::_internal_game_attrs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.game_attrs_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL +CreateRoomGUIRequest::_internal_mutable_game_attrs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.game_attrs_; +} + +// ------------------------------------------------------------------- + +// GUIUserInfo + +// .np2_structs.UserInfo info = 1; +inline bool GUIUserInfo::has_info() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.info_ != nullptr); + return value; +} +inline void GUIUserInfo::clear_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.info_ != nullptr) _impl_.info_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::UserInfo& GUIUserInfo::_internal_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::UserInfo* p = _impl_.info_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_UserInfo_default_instance_); +} +inline const ::np2_structs::UserInfo& GUIUserInfo::info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GUIUserInfo.info) + return _internal_info(); +} +inline void GUIUserInfo::unsafe_arena_set_allocated_info( + ::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.info_); + } + _impl_.info_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.GUIUserInfo.info) +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE GUIUserInfo::release_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::UserInfo* released = _impl_.info_; + _impl_.info_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE GUIUserInfo::unsafe_arena_release_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.GUIUserInfo.info) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::UserInfo* temp = _impl_.info_; + _impl_.info_ = nullptr; + return temp; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL GUIUserInfo::_internal_mutable_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.info_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::UserInfo>(GetArena()); + _impl_.info_ = reinterpret_cast<::np2_structs::UserInfo*>(p); + } + return _impl_.info_; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL GUIUserInfo::mutable_info() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::UserInfo* _msg = _internal_mutable_info(); + // @@protoc_insertion_point(field_mutable:np2_structs.GUIUserInfo.info) + return _msg; +} +inline void GUIUserInfo::set_allocated_info(::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.info_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.info_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.GUIUserInfo.info) +} + +// bool owner = 2; +inline void GUIUserInfo::clear_owner() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.owner_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline bool GUIUserInfo::owner() const { + // @@protoc_insertion_point(field_get:np2_structs.GUIUserInfo.owner) + return _internal_owner(); +} +inline void GUIUserInfo::set_owner(bool value) { + _internal_set_owner(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.GUIUserInfo.owner) +} +inline bool GUIUserInfo::_internal_owner() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.owner_; +} +inline void GUIUserInfo::_internal_set_owner(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.owner_ = value; +} + +// ------------------------------------------------------------------- + +// MatchingRoomStatus + +// bytes id = 1; +inline void MatchingRoomStatus::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& MatchingRoomStatus::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomStatus.id) + return _internal_id(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingRoomStatus::set_id(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.id_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingRoomStatus.id) +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoomStatus::mutable_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoomStatus.id) + return _s; +} +inline const ::std::string& MatchingRoomStatus::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_.Get(); +} +inline void MatchingRoomStatus::_internal_set_id(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoomStatus::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.id_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingRoomStatus::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingRoomStatus.id) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.id_.Set("", GetArena()); + } + return released; +} +inline void MatchingRoomStatus::set_allocated_id(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingRoomStatus.id) +} + +// repeated .np2_structs.GUIUserInfo members = 2; +inline int MatchingRoomStatus::_internal_members_size() const { + return _internal_members().size(); +} +inline int MatchingRoomStatus::members_size() const { + return _internal_members_size(); +} +inline void MatchingRoomStatus::clear_members() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.members_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::GUIUserInfo* PROTOBUF_NONNULL MatchingRoomStatus::mutable_members(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoomStatus.members) + return _internal_mutable_members()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>* PROTOBUF_NONNULL MatchingRoomStatus::mutable_members() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.MatchingRoomStatus.members) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_members(); +} +inline const ::np2_structs::GUIUserInfo& MatchingRoomStatus::members(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomStatus.members) + return _internal_members().Get(index); +} +inline ::np2_structs::GUIUserInfo* PROTOBUF_NONNULL MatchingRoomStatus::add_members() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::GUIUserInfo* _add = + _internal_mutable_members()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.MatchingRoomStatus.members) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>& MatchingRoomStatus::members() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.MatchingRoomStatus.members) + return _internal_members(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>& +MatchingRoomStatus::_internal_members() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.members_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::GUIUserInfo>* PROTOBUF_NONNULL +MatchingRoomStatus::_internal_mutable_members() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.members_; +} + +// string kick_actor = 3; +inline void MatchingRoomStatus::clear_kick_actor() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.kick_actor_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::std::string& MatchingRoomStatus::kick_actor() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomStatus.kick_actor) + return _internal_kick_actor(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingRoomStatus::set_kick_actor(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + _impl_.kick_actor_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingRoomStatus.kick_actor) +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoomStatus::mutable_kick_actor() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::std::string* _s = _internal_mutable_kick_actor(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoomStatus.kick_actor) + return _s; +} +inline const ::std::string& MatchingRoomStatus::_internal_kick_actor() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.kick_actor_.Get(); +} +inline void MatchingRoomStatus::_internal_set_kick_actor(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.kick_actor_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoomStatus::_internal_mutable_kick_actor() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.kick_actor_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingRoomStatus::release_kick_actor() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingRoomStatus.kick_actor) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + auto* released = _impl_.kick_actor_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.kick_actor_.Set("", GetArena()); + } + return released; +} +inline void MatchingRoomStatus::set_allocated_kick_actor(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + _impl_.kick_actor_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.kick_actor_.IsDefault()) { + _impl_.kick_actor_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingRoomStatus.kick_actor) +} + +// bytes opt = 4; +inline void MatchingRoomStatus::clear_opt() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.opt_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline const ::std::string& MatchingRoomStatus::opt() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomStatus.opt) + return _internal_opt(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingRoomStatus::set_opt(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + _impl_.opt_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingRoomStatus.opt) +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoomStatus::mutable_opt() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + ::std::string* _s = _internal_mutable_opt(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoomStatus.opt) + return _s; +} +inline const ::std::string& MatchingRoomStatus::_internal_opt() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.opt_.Get(); +} +inline void MatchingRoomStatus::_internal_set_opt(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.opt_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoomStatus::_internal_mutable_opt() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.opt_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingRoomStatus::release_opt() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingRoomStatus.opt) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + auto* released = _impl_.opt_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.opt_.Set("", GetArena()); + } + return released; +} +inline void MatchingRoomStatus::set_allocated_opt(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000008U); + } + _impl_.opt_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.opt_.IsDefault()) { + _impl_.opt_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingRoomStatus.opt) +} + +// ------------------------------------------------------------------- + +// GetRoomListGUIRequest + +// uint32 range_start = 1; +inline void GetRoomListGUIRequest::clear_range_start() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.range_start_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t GetRoomListGUIRequest::range_start() const { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomListGUIRequest.range_start) + return _internal_range_start(); +} +inline void GetRoomListGUIRequest::set_range_start(::uint32_t value) { + _internal_set_range_start(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.GetRoomListGUIRequest.range_start) +} +inline ::uint32_t GetRoomListGUIRequest::_internal_range_start() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.range_start_; +} +inline void GetRoomListGUIRequest::_internal_set_range_start(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.range_start_ = value; +} + +// uint32 range_max = 2; +inline void GetRoomListGUIRequest::clear_range_max() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.range_max_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000008U); +} +inline ::uint32_t GetRoomListGUIRequest::range_max() const { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomListGUIRequest.range_max) + return _internal_range_max(); +} +inline void GetRoomListGUIRequest::set_range_max(::uint32_t value) { + _internal_set_range_max(value); + SetHasBit(_impl_._has_bits_[0], 0x00000008U); + // @@protoc_insertion_point(field_set:np2_structs.GetRoomListGUIRequest.range_max) +} +inline ::uint32_t GetRoomListGUIRequest::_internal_range_max() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.range_max_; +} +inline void GetRoomListGUIRequest::_internal_set_range_max(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.range_max_ = value; +} + +// repeated .np2_structs.MatchingSearchCondition conds = 3; +inline int GetRoomListGUIRequest::_internal_conds_size() const { + return _internal_conds().size(); +} +inline int GetRoomListGUIRequest::conds_size() const { + return _internal_conds_size(); +} +inline void GetRoomListGUIRequest::clear_conds() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.conds_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL GetRoomListGUIRequest::mutable_conds(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomListGUIRequest.conds) + return _internal_mutable_conds()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL GetRoomListGUIRequest::mutable_conds() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomListGUIRequest.conds) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_conds(); +} +inline const ::np2_structs::MatchingSearchCondition& GetRoomListGUIRequest::conds(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomListGUIRequest.conds) + return _internal_conds().Get(index); +} +inline ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL GetRoomListGUIRequest::add_conds() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingSearchCondition* _add = + _internal_mutable_conds()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomListGUIRequest.conds) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& GetRoomListGUIRequest::conds() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomListGUIRequest.conds) + return _internal_conds(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& +GetRoomListGUIRequest::_internal_conds() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.conds_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL +GetRoomListGUIRequest::_internal_mutable_conds() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.conds_; +} + +// repeated .np2_structs.MatchingAttr attrs = 4; +inline int GetRoomListGUIRequest::_internal_attrs_size() const { + return _internal_attrs().size(); +} +inline int GetRoomListGUIRequest::attrs_size() const { + return _internal_attrs_size(); +} +inline void GetRoomListGUIRequest::clear_attrs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attrs_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL GetRoomListGUIRequest::mutable_attrs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomListGUIRequest.attrs) + return _internal_mutable_attrs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL GetRoomListGUIRequest::mutable_attrs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomListGUIRequest.attrs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attrs(); +} +inline const ::np2_structs::MatchingAttr& GetRoomListGUIRequest::attrs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomListGUIRequest.attrs) + return _internal_attrs().Get(index); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL GetRoomListGUIRequest::add_attrs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingAttr* _add = + _internal_mutable_attrs()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomListGUIRequest.attrs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& GetRoomListGUIRequest::attrs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomListGUIRequest.attrs) + return _internal_attrs(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& +GetRoomListGUIRequest::_internal_attrs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attrs_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL +GetRoomListGUIRequest::_internal_mutable_attrs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attrs_; +} + +// ------------------------------------------------------------------- + +// MatchingRoom + +// bytes id = 1; +inline void MatchingRoom::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::std::string& MatchingRoom::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoom.id) + return _internal_id(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingRoom::set_id(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + _impl_.id_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingRoom.id) +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoom::mutable_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoom.id) + return _s; +} +inline const ::std::string& MatchingRoom::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_.Get(); +} +inline void MatchingRoom::_internal_set_id(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingRoom::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.id_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingRoom::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingRoom.id) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + auto* released = _impl_.id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.id_.Set("", GetArena()); + } + return released; +} +inline void MatchingRoom::set_allocated_id(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + _impl_.id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingRoom.id) +} + +// repeated .np2_structs.MatchingAttr attr = 2; +inline int MatchingRoom::_internal_attr_size() const { + return _internal_attr().size(); +} +inline int MatchingRoom::attr_size() const { + return _internal_attr_size(); +} +inline void MatchingRoom::clear_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL MatchingRoom::mutable_attr(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoom.attr) + return _internal_mutable_attr()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL MatchingRoom::mutable_attr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.MatchingRoom.attr) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attr(); +} +inline const ::np2_structs::MatchingAttr& MatchingRoom::attr(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoom.attr) + return _internal_attr().Get(index); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL MatchingRoom::add_attr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingAttr* _add = + _internal_mutable_attr()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.MatchingRoom.attr) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& MatchingRoom::attr() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.MatchingRoom.attr) + return _internal_attr(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& +MatchingRoom::_internal_attr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attr_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL +MatchingRoom::_internal_mutable_attr() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attr_; +} + +// ------------------------------------------------------------------- + +// MatchingRoomList + +// uint32 start = 1; +inline void MatchingRoomList::clear_start() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.start_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t MatchingRoomList::start() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomList.start) + return _internal_start(); +} +inline void MatchingRoomList::set_start(::uint32_t value) { + _internal_set_start(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingRoomList.start) +} +inline ::uint32_t MatchingRoomList::_internal_start() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.start_; +} +inline void MatchingRoomList::_internal_set_start(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.start_ = value; +} + +// uint32 total = 2; +inline void MatchingRoomList::clear_total() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.total_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint32_t MatchingRoomList::total() const { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomList.total) + return _internal_total(); +} +inline void MatchingRoomList::set_total(::uint32_t value) { + _internal_set_total(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.MatchingRoomList.total) +} +inline ::uint32_t MatchingRoomList::_internal_total() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.total_; +} +inline void MatchingRoomList::_internal_set_total(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.total_ = value; +} + +// repeated .np2_structs.MatchingRoom rooms = 3; +inline int MatchingRoomList::_internal_rooms_size() const { + return _internal_rooms().size(); +} +inline int MatchingRoomList::rooms_size() const { + return _internal_rooms_size(); +} +inline void MatchingRoomList::clear_rooms() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rooms_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingRoom* PROTOBUF_NONNULL MatchingRoomList::mutable_rooms(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingRoomList.rooms) + return _internal_mutable_rooms()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>* PROTOBUF_NONNULL MatchingRoomList::mutable_rooms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.MatchingRoomList.rooms) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_rooms(); +} +inline const ::np2_structs::MatchingRoom& MatchingRoomList::rooms(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingRoomList.rooms) + return _internal_rooms().Get(index); +} +inline ::np2_structs::MatchingRoom* PROTOBUF_NONNULL MatchingRoomList::add_rooms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingRoom* _add = + _internal_mutable_rooms()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.MatchingRoomList.rooms) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>& MatchingRoomList::rooms() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.MatchingRoomList.rooms) + return _internal_rooms(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>& +MatchingRoomList::_internal_rooms() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rooms_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingRoom>* PROTOBUF_NONNULL +MatchingRoomList::_internal_mutable_rooms() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.rooms_; +} + +// ------------------------------------------------------------------- + +// MatchingGuiRoomId + +// bytes id = 1; +inline void MatchingGuiRoomId::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& MatchingGuiRoomId::id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingGuiRoomId.id) + return _internal_id(); +} +template +PROTOBUF_ALWAYS_INLINE void MatchingGuiRoomId::set_id(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.id_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.MatchingGuiRoomId.id) +} +inline ::std::string* PROTOBUF_NONNULL MatchingGuiRoomId::mutable_id() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_id(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingGuiRoomId.id) + return _s; +} +inline const ::std::string& MatchingGuiRoomId::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_.Get(); +} +inline void MatchingGuiRoomId::_internal_set_id(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL MatchingGuiRoomId::_internal_mutable_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.id_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE MatchingGuiRoomId::release_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingGuiRoomId.id) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.id_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.id_.Set("", GetArena()); + } + return released; +} +inline void MatchingGuiRoomId::set_allocated_id(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { + _impl_.id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingGuiRoomId.id) +} + +// ------------------------------------------------------------------- + +// SetRoomSearchFlagGUI + +// bytes roomid = 1; +inline void SetRoomSearchFlagGUI::clear_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_.ClearToEmpty(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::std::string& SetRoomSearchFlagGUI::roomid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomSearchFlagGUI.roomid) + return _internal_roomid(); +} +template +PROTOBUF_ALWAYS_INLINE void SetRoomSearchFlagGUI::set_roomid(Arg_&& arg, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + _impl_.roomid_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomSearchFlagGUI.roomid) +} +inline ::std::string* PROTOBUF_NONNULL SetRoomSearchFlagGUI::mutable_roomid() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::std::string* _s = _internal_mutable_roomid(); + // @@protoc_insertion_point(field_mutable:np2_structs.SetRoomSearchFlagGUI.roomid) + return _s; +} +inline const ::std::string& SetRoomSearchFlagGUI::_internal_roomid() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.roomid_.Get(); +} +inline void SetRoomSearchFlagGUI::_internal_set_roomid(const ::std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.roomid_.Set(value, GetArena()); +} +inline ::std::string* PROTOBUF_NONNULL SetRoomSearchFlagGUI::_internal_mutable_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.roomid_.Mutable( GetArena()); +} +inline ::std::string* PROTOBUF_NULLABLE SetRoomSearchFlagGUI::release_roomid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.SetRoomSearchFlagGUI.roomid) + if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) { + return nullptr; + } + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + auto* released = _impl_.roomid_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.roomid_.Set("", GetArena()); + } + return released; +} +inline void SetRoomSearchFlagGUI::set_allocated_roomid(::std::string* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + _impl_.roomid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.roomid_.IsDefault()) { + _impl_.roomid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:np2_structs.SetRoomSearchFlagGUI.roomid) +} + +// bool stealth = 2; +inline void SetRoomSearchFlagGUI::clear_stealth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stealth_ = false; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline bool SetRoomSearchFlagGUI::stealth() const { + // @@protoc_insertion_point(field_get:np2_structs.SetRoomSearchFlagGUI.stealth) + return _internal_stealth(); +} +inline void SetRoomSearchFlagGUI::set_stealth(bool value) { + _internal_set_stealth(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.SetRoomSearchFlagGUI.stealth) +} +inline bool SetRoomSearchFlagGUI::_internal_stealth() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.stealth_; +} +inline void SetRoomSearchFlagGUI::_internal_set_stealth(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stealth_ = value; +} + +// ------------------------------------------------------------------- + +// QuickMatchGUIRequest + +// repeated .np2_structs.MatchingSearchCondition conds = 1; +inline int QuickMatchGUIRequest::_internal_conds_size() const { + return _internal_conds().size(); +} +inline int QuickMatchGUIRequest::conds_size() const { + return _internal_conds_size(); +} +inline void QuickMatchGUIRequest::clear_conds() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.conds_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL QuickMatchGUIRequest::mutable_conds(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.QuickMatchGUIRequest.conds) + return _internal_mutable_conds()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL QuickMatchGUIRequest::mutable_conds() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.QuickMatchGUIRequest.conds) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_conds(); +} +inline const ::np2_structs::MatchingSearchCondition& QuickMatchGUIRequest::conds(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.QuickMatchGUIRequest.conds) + return _internal_conds().Get(index); +} +inline ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL QuickMatchGUIRequest::add_conds() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingSearchCondition* _add = + _internal_mutable_conds()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.QuickMatchGUIRequest.conds) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& QuickMatchGUIRequest::conds() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.QuickMatchGUIRequest.conds) + return _internal_conds(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& +QuickMatchGUIRequest::_internal_conds() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.conds_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL +QuickMatchGUIRequest::_internal_mutable_conds() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.conds_; +} + +// uint32 available_num = 2; +inline void QuickMatchGUIRequest::clear_available_num() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.available_num_ = 0u; + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::uint32_t QuickMatchGUIRequest::available_num() const { + // @@protoc_insertion_point(field_get:np2_structs.QuickMatchGUIRequest.available_num) + return _internal_available_num(); +} +inline void QuickMatchGUIRequest::set_available_num(::uint32_t value) { + _internal_set_available_num(value); + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_set:np2_structs.QuickMatchGUIRequest.available_num) +} +inline ::uint32_t QuickMatchGUIRequest::_internal_available_num() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.available_num_; +} +inline void QuickMatchGUIRequest::_internal_set_available_num(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.available_num_ = value; +} + +// ------------------------------------------------------------------- + +// SearchJoinRoomGUIRequest + +// repeated .np2_structs.MatchingSearchCondition conds = 1; +inline int SearchJoinRoomGUIRequest::_internal_conds_size() const { + return _internal_conds().size(); +} +inline int SearchJoinRoomGUIRequest::conds_size() const { + return _internal_conds_size(); +} +inline void SearchJoinRoomGUIRequest::clear_conds() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.conds_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::mutable_conds(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SearchJoinRoomGUIRequest.conds) + return _internal_mutable_conds()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::mutable_conds() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SearchJoinRoomGUIRequest.conds) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_conds(); +} +inline const ::np2_structs::MatchingSearchCondition& SearchJoinRoomGUIRequest::conds(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SearchJoinRoomGUIRequest.conds) + return _internal_conds().Get(index); +} +inline ::np2_structs::MatchingSearchCondition* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::add_conds() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingSearchCondition* _add = + _internal_mutable_conds()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.SearchJoinRoomGUIRequest.conds) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& SearchJoinRoomGUIRequest::conds() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SearchJoinRoomGUIRequest.conds) + return _internal_conds(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>& +SearchJoinRoomGUIRequest::_internal_conds() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.conds_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingSearchCondition>* PROTOBUF_NONNULL +SearchJoinRoomGUIRequest::_internal_mutable_conds() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.conds_; +} + +// repeated .np2_structs.MatchingAttr attrs = 2; +inline int SearchJoinRoomGUIRequest::_internal_attrs_size() const { + return _internal_attrs().size(); +} +inline int SearchJoinRoomGUIRequest::attrs_size() const { + return _internal_attrs_size(); +} +inline void SearchJoinRoomGUIRequest::clear_attrs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attrs_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000002U); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::mutable_attrs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.SearchJoinRoomGUIRequest.attrs) + return _internal_mutable_attrs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::mutable_attrs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.SearchJoinRoomGUIRequest.attrs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attrs(); +} +inline const ::np2_structs::MatchingAttr& SearchJoinRoomGUIRequest::attrs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.SearchJoinRoomGUIRequest.attrs) + return _internal_attrs().Get(index); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL SearchJoinRoomGUIRequest::add_attrs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingAttr* _add = + _internal_mutable_attrs()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U); + // @@protoc_insertion_point(field_add:np2_structs.SearchJoinRoomGUIRequest.attrs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& SearchJoinRoomGUIRequest::attrs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.SearchJoinRoomGUIRequest.attrs) + return _internal_attrs(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& +SearchJoinRoomGUIRequest::_internal_attrs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attrs_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL +SearchJoinRoomGUIRequest::_internal_mutable_attrs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attrs_; +} + +// ------------------------------------------------------------------- + +// MatchingSearchJoinRoomInfo + +// .np2_structs.MatchingRoomStatus room = 1; +inline bool MatchingSearchJoinRoomInfo::has_room() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.room_ != nullptr); + return value; +} +inline void MatchingSearchJoinRoomInfo::clear_room() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.room_ != nullptr) _impl_.room_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::MatchingRoomStatus& MatchingSearchJoinRoomInfo::_internal_room() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::MatchingRoomStatus* p = _impl_.room_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_MatchingRoomStatus_default_instance_); +} +inline const ::np2_structs::MatchingRoomStatus& MatchingSearchJoinRoomInfo::room() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSearchJoinRoomInfo.room) + return _internal_room(); +} +inline void MatchingSearchJoinRoomInfo::unsafe_arena_set_allocated_room( + ::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.room_); + } + _impl_.room_ = reinterpret_cast<::np2_structs::MatchingRoomStatus*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.MatchingSearchJoinRoomInfo.room) +} +inline ::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE MatchingSearchJoinRoomInfo::release_room() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::MatchingRoomStatus* released = _impl_.room_; + _impl_.room_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE MatchingSearchJoinRoomInfo::unsafe_arena_release_room() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.MatchingSearchJoinRoomInfo.room) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::MatchingRoomStatus* temp = _impl_.room_; + _impl_.room_ = nullptr; + return temp; +} +inline ::np2_structs::MatchingRoomStatus* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::_internal_mutable_room() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.room_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::MatchingRoomStatus>(GetArena()); + _impl_.room_ = reinterpret_cast<::np2_structs::MatchingRoomStatus*>(p); + } + return _impl_.room_; +} +inline ::np2_structs::MatchingRoomStatus* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::mutable_room() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::MatchingRoomStatus* _msg = _internal_mutable_room(); + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingSearchJoinRoomInfo.room) + return _msg; +} +inline void MatchingSearchJoinRoomInfo::set_allocated_room(::np2_structs::MatchingRoomStatus* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.room_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.room_ = reinterpret_cast<::np2_structs::MatchingRoomStatus*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.MatchingSearchJoinRoomInfo.room) +} + +// repeated .np2_structs.MatchingAttr attr = 2; +inline int MatchingSearchJoinRoomInfo::_internal_attr_size() const { + return _internal_attr().size(); +} +inline int MatchingSearchJoinRoomInfo::attr_size() const { + return _internal_attr_size(); +} +inline void MatchingSearchJoinRoomInfo::clear_attr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.attr_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::mutable_attr(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.MatchingSearchJoinRoomInfo.attr) + return _internal_mutable_attr()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::mutable_attr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.MatchingSearchJoinRoomInfo.attr) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_attr(); +} +inline const ::np2_structs::MatchingAttr& MatchingSearchJoinRoomInfo::attr(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.MatchingSearchJoinRoomInfo.attr) + return _internal_attr().Get(index); +} +inline ::np2_structs::MatchingAttr* PROTOBUF_NONNULL MatchingSearchJoinRoomInfo::add_attr() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::MatchingAttr* _add = + _internal_mutable_attr()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.MatchingSearchJoinRoomInfo.attr) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& MatchingSearchJoinRoomInfo::attr() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.MatchingSearchJoinRoomInfo.attr) + return _internal_attr(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>& +MatchingSearchJoinRoomInfo::_internal_attr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.attr_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::MatchingAttr>* PROTOBUF_NONNULL +MatchingSearchJoinRoomInfo::_internal_mutable_attr() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.attr_; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace np2_structs + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // np2_5fstructs_2eproto_2epb_2eh diff --git a/rpcs3/Emu/NP/generated/np2_structs.proto b/rpcs3/Emu/NP/generated/np2_structs.proto new file mode 100644 index 0000000000..34413476e6 --- /dev/null +++ b/rpcs3/Emu/NP/generated/np2_structs.proto @@ -0,0 +1,687 @@ + +// Protocol Buffers definition for np2_structs + +syntax = "proto3"; + +option optimize_for = LITE_RUNTIME; + +package np2_structs; + +// These types exist to ease the transition from flatbuffers +message uint8 { + uint32 value = 1; +} + +message uint16 { + uint32 value = 1; +} + +// SignalingAddr +message SignalingAddr { + bytes ip = 1; + uint16 port = 2; +} + +// MatchingSignalingInfo +message MatchingSignalingInfo { + string npid = 1; + SignalingAddr addr = 2; +} + +// Matching2SignalingInfo +message Matching2SignalingInfo { + uint16 member_id = 1; + SignalingAddr addr = 2; +} + +// BinAttr +message BinAttr { + uint16 id = 1; + bytes data = 2; +} + +// IntAttr +message IntAttr { + uint16 id = 1; + uint32 num = 2; +} + +// RoomMemberBinAttrInternal +message RoomMemberBinAttrInternal { + uint64 updateDate = 1; + BinAttr data = 2; +} + +// BinAttrInternal +message BinAttrInternal { + uint64 updateDate = 1; + uint16 updateMemberId = 2; + BinAttr data = 3; +} + +// OptParam +message OptParam { + uint8 type = 1; + uint8 flag = 2; + uint16 hubMemberId = 3; +} + +// GroupConfig +message GroupConfig { + uint32 slotNum = 1; + bytes label = 2; + bool withPassword = 3; +} + +// UserInfo +message UserInfo { + string npId = 1; + string onlineName = 2; + string avatarUrl = 3; +} + +// RoomMemberDataInternal +message RoomMemberDataInternal { + UserInfo userInfo = 1; + uint64 joinDate = 2; + uint32 memberId = 3; + uint8 teamId = 4; + RoomGroup roomGroup = 5; + uint8 natType = 6; + uint32 flagAttr = 7; + repeated RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; +} + +// RoomGroup +message RoomGroup { + uint8 groupId = 1; + bool withPassword = 2; + bytes label = 3; + uint32 slotNum = 4; + uint32 curGroupMemberNum = 5; +} + +// RoomDataInternal +message RoomDataInternal { + uint16 serverId = 1; + uint32 worldId = 2; + uint64 lobbyId = 3; + uint64 roomId = 4; + uint64 passwordSlotMask = 5; + uint32 maxSlot = 6; + repeated RoomMemberDataInternal memberList = 7; + uint16 ownerId = 8; + repeated RoomGroup roomGroup = 9; + uint32 flagAttr = 10; + repeated BinAttrInternal roomBinAttrInternal = 11; +} + +// RoomDataExternal +message RoomDataExternal { + uint16 serverId = 1; + uint32 worldId = 2; + uint16 publicSlotNum = 3; + uint16 privateSlotNum = 4; + uint64 lobbyId = 5; + uint64 roomId = 6; + uint16 openPublicSlotNum = 7; + uint16 maxSlot = 8; + uint16 openPrivateSlotNum = 9; + uint16 curMemberNum = 10; + uint64 passwordSlotMask = 11; + UserInfo owner = 12; + repeated RoomGroup roomGroup = 13; + uint32 flagAttr = 14; + repeated IntAttr roomSearchableIntAttrExternal = 15; + repeated BinAttr roomSearchableBinAttrExternal = 16; + repeated BinAttr roomBinAttrExternal = 17; +} + +// IntSearchFilter +message IntSearchFilter { + uint8 searchOperator = 1; + IntAttr attr = 2; +} + +// BinSearchFilter +message BinSearchFilter { + uint8 searchOperator = 1; + BinAttr attr = 2; +} + +// PresenceOptionData +message PresenceOptionData { + bytes data = 1; + uint32 len = 2; +} + +// RoomGroupPasswordConfig +message RoomGroupPasswordConfig { + uint8 groupId = 1; + bool withPassword = 2; +} + +// SearchRoomRequest +message SearchRoomRequest { + int32 option = 1; + uint32 worldId = 2; + uint64 lobbyId = 3; + uint32 rangeFilter_startIndex = 4; + uint32 rangeFilter_max = 5; + uint32 flagFilter = 6; + uint32 flagAttr = 7; + repeated IntSearchFilter intFilter = 8; + repeated BinSearchFilter binFilter = 9; + repeated uint16 attrId = 10; +} + +// SearchRoomResponse +message SearchRoomResponse { + uint32 startIndex = 1; + uint32 total = 2; + repeated RoomDataExternal rooms = 3; +} + +// CreateJoinRoomRequest +message CreateJoinRoomRequest { + uint32 worldId = 1; + uint64 lobbyId = 2; + uint32 maxSlot = 3; + uint32 flagAttr = 4; + repeated BinAttr roomBinAttrInternal = 5; + repeated IntAttr roomSearchableIntAttrExternal = 6; + repeated BinAttr roomSearchableBinAttrExternal = 7; + repeated BinAttr roomBinAttrExternal = 8; + bytes roomPassword = 9; + repeated GroupConfig groupConfig = 10; + uint64 passwordSlotMask = 11; + repeated string allowedUser = 12; + repeated string blockedUser = 13; + bytes joinRoomGroupLabel = 14; + repeated BinAttr roomMemberBinAttrInternal = 15; + uint8 teamId = 16; + OptParam sigOptParam = 17; +} + +// JoinRoomRequest +message JoinRoomRequest { + uint64 roomId = 1; + bytes roomPassword = 2; + bytes joinRoomGroupLabel = 3; + repeated BinAttr roomMemberBinAttrInternal = 4; + PresenceOptionData optData = 5; + uint8 teamId = 6; +} + +// JoinRoomResponse +message JoinRoomResponse { + RoomDataInternal room_data = 1; + repeated Matching2SignalingInfo signaling_data = 2; +} + +// LeaveRoomRequest +message LeaveRoomRequest { + uint64 roomId = 1; + PresenceOptionData optData = 2; +} + +// GetRoomDataExternalListRequest +message GetRoomDataExternalListRequest { + repeated uint64 roomIds = 1; + repeated uint16 attrIds = 2; +} + +// GetRoomDataExternalListResponse +message GetRoomDataExternalListResponse { + repeated RoomDataExternal rooms = 1; +} + +// SetRoomDataExternalRequest +message SetRoomDataExternalRequest { + uint64 roomId = 1; + repeated IntAttr roomSearchableIntAttrExternal = 2; + repeated BinAttr roomSearchableBinAttrExternal = 3; + repeated BinAttr roomBinAttrExternal = 4; +} + +// SetRoomDataInternalRequest +message SetRoomDataInternalRequest { + uint64 roomId = 1; + uint32 flagFilter = 2; + uint32 flagAttr = 3; + repeated BinAttr roomBinAttrInternal = 4; + repeated RoomGroupPasswordConfig passwordConfig = 5; + repeated uint64 passwordSlotMask = 6; + repeated uint16 ownerPrivilegeRank = 7; +} + +// GetRoomMemberDataInternalRequest +message GetRoomMemberDataInternalRequest { + uint64 roomId = 1; + uint16 memberId = 2; + repeated uint16 attrId = 3; +} + +// SetRoomMemberDataInternalRequest +message SetRoomMemberDataInternalRequest { + uint64 roomId = 1; + uint16 memberId = 2; + uint8 teamId = 3; + repeated BinAttr roomMemberBinAttrInternal = 4; +} + +// SetUserInfo +message SetUserInfo { + uint16 serverId = 1; + repeated BinAttr userBinAttr = 2; +} + +// GetRoomDataInternalRequest +message GetRoomDataInternalRequest { + uint64 roomId = 1; + repeated uint16 attrId = 2; +} + +// RoomMemberUpdateInfo +message RoomMemberUpdateInfo { + RoomMemberDataInternal roomMemberDataInternal = 1; + uint8 eventCause = 2; + PresenceOptionData optData = 3; +} + +// NotificationUserJoinedRoom +message NotificationUserJoinedRoom { + uint64 room_id = 1; + RoomMemberUpdateInfo update_info = 2; + SignalingAddr signaling = 3; +} + +// RoomUpdateInfo +message RoomUpdateInfo { + uint8 eventCause = 1; + int32 errorCode = 2; + PresenceOptionData optData = 3; +} + +// RoomDataInternalUpdateInfo +message RoomDataInternalUpdateInfo { + RoomDataInternal newRoomDataInternal = 1; + uint32 prevFlagAttr = 2; + uint64 prevRoomPasswordSlotMask = 3; + bytes newRoomGroup = 4; + repeated uint16 newRoomBinAttrInternal = 5; +} + +// RoomMemberDataInternalUpdateInfo +message RoomMemberDataInternalUpdateInfo { + RoomMemberDataInternal newRoomMemberDataInternal = 1; + uint32 prevFlagAttr = 2; + uint8 prevTeamId = 3; + repeated uint16 newRoomMemberBinAttrInternal = 4; +} + +// GetPingInfoResponse +message GetPingInfoResponse { + uint16 serverId = 1; + uint32 worldId = 2; + uint64 roomId = 3; + uint32 rtt = 4; +} + +// SendRoomMessageRequest +message SendRoomMessageRequest { + uint64 roomId = 1; + uint8 castType = 2; + repeated uint16 dst = 3; + bytes msg = 4; + uint8 option = 5; +} + +// RoomMessageInfo +message RoomMessageInfo { + bool filtered = 1; + uint8 castType = 2; + repeated uint16 dst = 3; + UserInfo srcMember = 4; + bytes msg = 5; +} + +// MessageDetails +message MessageDetails { + string communicationId = 1; + uint64 msgId = 2; + uint16 mainType = 3; + uint16 subType = 4; + uint32 msgFeatures = 5; + string subject = 6; + string body = 7; + bytes data = 8; +} + +// SendMessageRequest +message SendMessageRequest { + bytes message = 1; + repeated string npids = 2; +} + +// BoardInfo +message BoardInfo { + uint32 rankLimit = 1; + uint32 updateMode = 2; + uint32 sortMode = 3; + uint32 uploadNumLimit = 4; + uint32 uploadSizeLimit = 5; +} + +// RecordScoreRequest +message RecordScoreRequest { + uint32 boardId = 1; + int32 pcId = 2; + int64 score = 3; + string comment = 4; + bytes data = 5; +} + +// GetScoreRangeRequest +message GetScoreRangeRequest { + uint32 boardId = 1; + uint32 startRank = 2; + uint32 numRanks = 3; + bool withComment = 4; + bool withGameInfo = 5; +} + +// ScoreNpIdPcId +message ScoreNpIdPcId { + string npid = 1; + int32 pcId = 2; +} + +// GetScoreNpIdRequest +message GetScoreNpIdRequest { + uint32 boardId = 1; + repeated ScoreNpIdPcId npids = 2; + bool withComment = 3; + bool withGameInfo = 4; +} + +// GetScoreFriendsRequest +message GetScoreFriendsRequest { + uint32 boardId = 1; + bool include_self = 2; + uint32 max = 3; + bool withComment = 4; + bool withGameInfo = 5; +} + +// ScoreRankData +message ScoreRankData { + string npId = 1; + string onlineName = 2; + int32 pcId = 3; + uint32 rank = 4; + int64 score = 5; + bool hasGameData = 6; + uint64 recordDate = 7; +} + +// ScoreInfo +message ScoreInfo { + bytes data = 1; +} + +// GetScoreResponse +message GetScoreResponse { + repeated ScoreRankData rankArray = 1; + repeated string commentArray = 2; + repeated ScoreInfo infoArray = 3; + uint64 lastSortDate = 4; + uint32 totalRecord = 5; +} + +// RecordScoreGameDataRequest +message RecordScoreGameDataRequest { + uint32 boardId = 1; + int32 pcId = 2; + int64 score = 3; +} + +// GetScoreGameDataRequest +message GetScoreGameDataRequest { + uint32 boardId = 1; + string npId = 2; + int32 pcId = 3; +} + +// TusUser +message TusUser { + bool vuser = 1; + string npid = 2; +} + +// TusVariable +message TusVariable { + string ownerId = 1; + bool hasData = 2; + uint64 lastChangedDate = 3; + string lastChangedAuthorId = 4; + int64 variable = 5; + int64 oldVariable = 6; +} + +// TusVarResponse +message TusVarResponse { + repeated TusVariable vars = 1; +} + +// TusSetMultiSlotVariableRequest +message TusSetMultiSlotVariableRequest { + TusUser user = 1; + repeated int32 slotIdArray = 2; + repeated int64 variableArray = 3; +} + +// TusGetMultiSlotVariableRequest +message TusGetMultiSlotVariableRequest { + TusUser user = 1; + repeated int32 slotIdArray = 2; +} + +// TusGetMultiUserVariableRequest +message TusGetMultiUserVariableRequest { + repeated TusUser users = 1; + int32 slotId = 2; +} + +// TusGetFriendsVariableRequest +message TusGetFriendsVariableRequest { + int32 slotId = 1; + bool includeSelf = 2; + int32 sortType = 3; + uint32 arrayNum = 4; +} + +// TusAddAndGetVariableRequest +message TusAddAndGetVariableRequest { + TusUser user = 1; + int32 slotId = 2; + int64 inVariable = 3; + repeated uint64 isLastChangedDate = 4; + string isLastChangedAuthorId = 5; +} + +// TusTryAndSetVariableRequest +message TusTryAndSetVariableRequest { + TusUser user = 1; + int32 slotId = 2; + int32 opeType = 3; + int64 variable = 4; + repeated uint64 isLastChangedDate = 5; + string isLastChangedAuthorId = 6; + repeated int64 compareValue = 7; +} + +// TusDeleteMultiSlotVariableRequest +message TusDeleteMultiSlotVariableRequest { + TusUser user = 1; + repeated int32 slotIdArray = 2; +} + +// TusSetDataRequest +message TusSetDataRequest { + TusUser user = 1; + int32 slotId = 2; + bytes data = 3; + bytes info = 4; + repeated uint64 isLastChangedDate = 5; + string isLastChangedAuthorId = 6; +} + +// TusDataStatus +message TusDataStatus { + string ownerId = 1; + bool hasData = 2; + uint64 lastChangedDate = 3; + string lastChangedAuthorId = 4; + bytes info = 5; +} + +// TusData +message TusData { + TusDataStatus status = 1; + bytes data = 2; +} + +// TusDataStatusResponse +message TusDataStatusResponse { + repeated TusDataStatus status = 1; +} + +// TusGetDataRequest +message TusGetDataRequest { + TusUser user = 1; + int32 slotId = 2; +} + +// TusGetMultiSlotDataStatusRequest +message TusGetMultiSlotDataStatusRequest { + TusUser user = 1; + repeated int32 slotIdArray = 2; +} + +// TusGetMultiUserDataStatusRequest +message TusGetMultiUserDataStatusRequest { + repeated TusUser users = 1; + int32 slotId = 2; +} + +// TusGetFriendsDataStatusRequest +message TusGetFriendsDataStatusRequest { + int32 slotId = 1; + bool includeSelf = 2; + int32 sortType = 3; + uint32 arrayNum = 4; +} + +// TusDeleteMultiSlotDataRequest +message TusDeleteMultiSlotDataRequest { + TusUser user = 1; + repeated int32 slotIdArray = 2; +} + +// SetPresenceRequest +message SetPresenceRequest { + string title = 1; + string status = 2; + string comment = 3; + bytes data = 4; +} + +// MatchingSearchCondition +message MatchingSearchCondition { + uint32 attr_type = 1; + uint32 attr_id = 2; + uint32 comp_op = 3; + uint32 comp_value = 4; +} + +// MatchingAttr +message MatchingAttr { + uint32 attr_type = 1; + uint32 attr_id = 2; + uint32 num = 3; + bytes data = 4; +} + +// CreateRoomGUIRequest +message CreateRoomGUIRequest { + uint32 total_slots = 1; + uint32 private_slots = 2; + bool privilege_grant = 3; + bool stealth = 4; + repeated MatchingAttr game_attrs = 5; +} + +// GUIUserInfo +message GUIUserInfo { + UserInfo info = 1; + bool owner = 2; +} + +// MatchingRoomStatus +message MatchingRoomStatus { + bytes id = 1; + repeated GUIUserInfo members = 2; + string kick_actor = 3; + bytes opt = 4; +} + +// GetRoomListGUIRequest +message GetRoomListGUIRequest { + uint32 range_start = 1; + uint32 range_max = 2; + repeated MatchingSearchCondition conds = 3; + repeated MatchingAttr attrs = 4; +} + +// MatchingRoom +message MatchingRoom { + bytes id = 1; + repeated MatchingAttr attr = 2; +} + +// MatchingRoomList +message MatchingRoomList { + uint32 start = 1; + uint32 total = 2; + repeated MatchingRoom rooms = 3; +} + +// MatchingGuiRoomId +message MatchingGuiRoomId { + bytes id = 1; +} + +// SetRoomSearchFlagGUI +message SetRoomSearchFlagGUI { + bytes roomid = 1; + bool stealth = 2; +} + +// QuickMatchGUIRequest +message QuickMatchGUIRequest { + repeated MatchingSearchCondition conds = 1; + uint32 available_num = 2; +} + +// SearchJoinRoomGUIRequest +message SearchJoinRoomGUIRequest { + repeated MatchingSearchCondition conds = 1; + repeated MatchingAttr attrs = 2; +} + +// MatchingSearchJoinRoomInfo +message MatchingSearchJoinRoomInfo { + MatchingRoomStatus room = 1; + repeated MatchingAttr attr = 2; +} diff --git a/rpcs3/Emu/NP/generated/np2_structs_generated.h b/rpcs3/Emu/NP/generated/np2_structs_generated.h deleted file mode 100644 index 5dabacbbc9..0000000000 --- a/rpcs3/Emu/NP/generated/np2_structs_generated.h +++ /dev/null @@ -1,7429 +0,0 @@ -// automatically generated by the FlatBuffers compiler, do not modify - - -#ifndef FLATBUFFERS_GENERATED_NP2STRUCTS_H_ -#define FLATBUFFERS_GENERATED_NP2STRUCTS_H_ - -#include "flatbuffers/flatbuffers.h" - -// Ensure the included flatbuffers.h is the same version as when this file was -// generated, otherwise it may not be compatible. -static_assert(FLATBUFFERS_VERSION_MAJOR == 25 && - FLATBUFFERS_VERSION_MINOR == 9 && - FLATBUFFERS_VERSION_REVISION == 23, - "Non-compatible flatbuffers version included"); - -struct SignalingAddr; -struct SignalingAddrBuilder; - -struct MatchingSignalingInfo; -struct MatchingSignalingInfoBuilder; - -struct Matching2SignalingInfo; -struct Matching2SignalingInfoBuilder; - -struct BinAttr; -struct BinAttrBuilder; - -struct IntAttr; -struct IntAttrBuilder; - -struct RoomMemberBinAttrInternal; -struct RoomMemberBinAttrInternalBuilder; - -struct BinAttrInternal; -struct BinAttrInternalBuilder; - -struct OptParam; -struct OptParamBuilder; - -struct GroupConfig; -struct GroupConfigBuilder; - -struct UserInfo; -struct UserInfoBuilder; - -struct RoomMemberDataInternal; -struct RoomMemberDataInternalBuilder; - -struct RoomGroup; -struct RoomGroupBuilder; - -struct RoomDataInternal; -struct RoomDataInternalBuilder; - -struct RoomDataExternal; -struct RoomDataExternalBuilder; - -struct IntSearchFilter; -struct IntSearchFilterBuilder; - -struct BinSearchFilter; -struct BinSearchFilterBuilder; - -struct PresenceOptionData; -struct PresenceOptionDataBuilder; - -struct RoomGroupPasswordConfig; -struct RoomGroupPasswordConfigBuilder; - -struct SearchRoomRequest; -struct SearchRoomRequestBuilder; - -struct SearchRoomResponse; -struct SearchRoomResponseBuilder; - -struct CreateJoinRoomRequest; -struct CreateJoinRoomRequestBuilder; - -struct JoinRoomRequest; -struct JoinRoomRequestBuilder; - -struct JoinRoomResponse; -struct JoinRoomResponseBuilder; - -struct LeaveRoomRequest; -struct LeaveRoomRequestBuilder; - -struct GetRoomDataExternalListRequest; -struct GetRoomDataExternalListRequestBuilder; - -struct GetRoomDataExternalListResponse; -struct GetRoomDataExternalListResponseBuilder; - -struct SetRoomDataExternalRequest; -struct SetRoomDataExternalRequestBuilder; - -struct SetRoomDataInternalRequest; -struct SetRoomDataInternalRequestBuilder; - -struct GetRoomMemberDataInternalRequest; -struct GetRoomMemberDataInternalRequestBuilder; - -struct SetRoomMemberDataInternalRequest; -struct SetRoomMemberDataInternalRequestBuilder; - -struct SetUserInfo; -struct SetUserInfoBuilder; - -struct GetRoomDataInternalRequest; -struct GetRoomDataInternalRequestBuilder; - -struct RoomMemberUpdateInfo; -struct RoomMemberUpdateInfoBuilder; - -struct NotificationUserJoinedRoom; -struct NotificationUserJoinedRoomBuilder; - -struct RoomUpdateInfo; -struct RoomUpdateInfoBuilder; - -struct RoomDataInternalUpdateInfo; -struct RoomDataInternalUpdateInfoBuilder; - -struct RoomMemberDataInternalUpdateInfo; -struct RoomMemberDataInternalUpdateInfoBuilder; - -struct GetPingInfoResponse; -struct GetPingInfoResponseBuilder; - -struct SendRoomMessageRequest; -struct SendRoomMessageRequestBuilder; - -struct RoomMessageInfo; -struct RoomMessageInfoBuilder; - -struct MessageDetails; -struct MessageDetailsBuilder; - -struct SendMessageRequest; -struct SendMessageRequestBuilder; - -struct BoardInfo; -struct BoardInfoBuilder; - -struct RecordScoreRequest; -struct RecordScoreRequestBuilder; - -struct GetScoreRangeRequest; -struct GetScoreRangeRequestBuilder; - -struct ScoreNpIdPcId; -struct ScoreNpIdPcIdBuilder; - -struct GetScoreNpIdRequest; -struct GetScoreNpIdRequestBuilder; - -struct GetScoreFriendsRequest; -struct GetScoreFriendsRequestBuilder; - -struct ScoreRankData; -struct ScoreRankDataBuilder; - -struct ScoreInfo; -struct ScoreInfoBuilder; - -struct GetScoreResponse; -struct GetScoreResponseBuilder; - -struct RecordScoreGameDataRequest; -struct RecordScoreGameDataRequestBuilder; - -struct GetScoreGameDataRequest; -struct GetScoreGameDataRequestBuilder; - -struct TusUser; -struct TusUserBuilder; - -struct TusVariable; -struct TusVariableBuilder; - -struct TusVarResponse; -struct TusVarResponseBuilder; - -struct TusSetMultiSlotVariableRequest; -struct TusSetMultiSlotVariableRequestBuilder; - -struct TusGetMultiSlotVariableRequest; -struct TusGetMultiSlotVariableRequestBuilder; - -struct TusGetMultiUserVariableRequest; -struct TusGetMultiUserVariableRequestBuilder; - -struct TusGetFriendsVariableRequest; -struct TusGetFriendsVariableRequestBuilder; - -struct TusAddAndGetVariableRequest; -struct TusAddAndGetVariableRequestBuilder; - -struct TusTryAndSetVariableRequest; -struct TusTryAndSetVariableRequestBuilder; - -struct TusDeleteMultiSlotVariableRequest; -struct TusDeleteMultiSlotVariableRequestBuilder; - -struct TusSetDataRequest; -struct TusSetDataRequestBuilder; - -struct TusDataStatus; -struct TusDataStatusBuilder; - -struct TusData; -struct TusDataBuilder; - -struct TusDataStatusResponse; -struct TusDataStatusResponseBuilder; - -struct TusGetDataRequest; -struct TusGetDataRequestBuilder; - -struct TusGetMultiSlotDataStatusRequest; -struct TusGetMultiSlotDataStatusRequestBuilder; - -struct TusGetMultiUserDataStatusRequest; -struct TusGetMultiUserDataStatusRequestBuilder; - -struct TusGetFriendsDataStatusRequest; -struct TusGetFriendsDataStatusRequestBuilder; - -struct TusDeleteMultiSlotDataRequest; -struct TusDeleteMultiSlotDataRequestBuilder; - -struct SetPresenceRequest; -struct SetPresenceRequestBuilder; - -struct MatchingSearchCondition; -struct MatchingSearchConditionBuilder; - -struct MatchingAttr; -struct MatchingAttrBuilder; - -struct CreateRoomGUIRequest; -struct CreateRoomGUIRequestBuilder; - -struct GUIUserInfo; -struct GUIUserInfoBuilder; - -struct MatchingRoomStatus; -struct MatchingRoomStatusBuilder; - -struct GetRoomListGUIRequest; -struct GetRoomListGUIRequestBuilder; - -struct MatchingRoom; -struct MatchingRoomBuilder; - -struct MatchingRoomList; -struct MatchingRoomListBuilder; - -struct MatchingGuiRoomId; -struct MatchingGuiRoomIdBuilder; - -struct SetRoomSearchFlagGUI; -struct SetRoomSearchFlagGUIBuilder; - -struct QuickMatchGUIRequest; -struct QuickMatchGUIRequestBuilder; - -struct SearchJoinRoomGUIRequest; -struct SearchJoinRoomGUIRequestBuilder; - -struct MatchingSearchJoinRoomInfo; -struct MatchingSearchJoinRoomInfoBuilder; - -struct SignalingAddr FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SignalingAddrBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_IP = 4, - VT_PORT = 6 - }; - const ::flatbuffers::Vector *ip() const { - return GetPointer *>(VT_IP); - } - uint16_t port() const { - return GetField(VT_PORT, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_IP) && - verifier.VerifyVector(ip()) && - VerifyField(verifier, VT_PORT, 2) && - verifier.EndTable(); - } -}; - -struct SignalingAddrBuilder { - typedef SignalingAddr Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_ip(::flatbuffers::Offset<::flatbuffers::Vector> ip) { - fbb_.AddOffset(SignalingAddr::VT_IP, ip); - } - void add_port(uint16_t port) { - fbb_.AddElement(SignalingAddr::VT_PORT, port, 0); - } - explicit SignalingAddrBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSignalingAddr( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> ip = 0, - uint16_t port = 0) { - SignalingAddrBuilder builder_(_fbb); - builder_.add_ip(ip); - builder_.add_port(port); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSignalingAddrDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *ip = nullptr, - uint16_t port = 0) { - auto ip__ = ip ? _fbb.CreateVector(*ip) : 0; - return CreateSignalingAddr( - _fbb, - ip__, - port); -} - -struct MatchingSignalingInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingSignalingInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_NPID = 4, - VT_ADDR = 6 - }; - const ::flatbuffers::String *npid() const { - return GetPointer(VT_NPID); - } - const SignalingAddr *addr() const { - return GetPointer(VT_ADDR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_NPID) && - verifier.VerifyString(npid()) && - VerifyOffset(verifier, VT_ADDR) && - verifier.VerifyTable(addr()) && - verifier.EndTable(); - } -}; - -struct MatchingSignalingInfoBuilder { - typedef MatchingSignalingInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_npid(::flatbuffers::Offset<::flatbuffers::String> npid) { - fbb_.AddOffset(MatchingSignalingInfo::VT_NPID, npid); - } - void add_addr(::flatbuffers::Offset addr) { - fbb_.AddOffset(MatchingSignalingInfo::VT_ADDR, addr); - } - explicit MatchingSignalingInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingSignalingInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> npid = 0, - ::flatbuffers::Offset addr = 0) { - MatchingSignalingInfoBuilder builder_(_fbb); - builder_.add_addr(addr); - builder_.add_npid(npid); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingSignalingInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *npid = nullptr, - ::flatbuffers::Offset addr = 0) { - auto npid__ = npid ? _fbb.CreateString(npid) : 0; - return CreateMatchingSignalingInfo( - _fbb, - npid__, - addr); -} - -struct Matching2SignalingInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef Matching2SignalingInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_MEMBER_ID = 4, - VT_ADDR = 6 - }; - uint16_t member_id() const { - return GetField(VT_MEMBER_ID, 0); - } - const SignalingAddr *addr() const { - return GetPointer(VT_ADDR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_MEMBER_ID, 2) && - VerifyOffset(verifier, VT_ADDR) && - verifier.VerifyTable(addr()) && - verifier.EndTable(); - } -}; - -struct Matching2SignalingInfoBuilder { - typedef Matching2SignalingInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_member_id(uint16_t member_id) { - fbb_.AddElement(Matching2SignalingInfo::VT_MEMBER_ID, member_id, 0); - } - void add_addr(::flatbuffers::Offset addr) { - fbb_.AddOffset(Matching2SignalingInfo::VT_ADDR, addr); - } - explicit Matching2SignalingInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatching2SignalingInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t member_id = 0, - ::flatbuffers::Offset addr = 0) { - Matching2SignalingInfoBuilder builder_(_fbb); - builder_.add_addr(addr); - builder_.add_member_id(member_id); - return builder_.Finish(); -} - -struct BinAttr FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef BinAttrBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ID = 4, - VT_DATA = 6 - }; - uint16_t id() const { - return GetField(VT_ID, 0); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ID, 2) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct BinAttrBuilder { - typedef BinAttr Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(uint16_t id) { - fbb_.AddElement(BinAttr::VT_ID, id, 0); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(BinAttr::VT_DATA, data); - } - explicit BinAttrBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateBinAttr( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t id = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - BinAttrBuilder builder_(_fbb); - builder_.add_data(data); - builder_.add_id(id); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateBinAttrDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t id = 0, - const std::vector *data = nullptr) { - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateBinAttr( - _fbb, - id, - data__); -} - -struct IntAttr FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef IntAttrBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ID = 4, - VT_NUM = 6 - }; - uint16_t id() const { - return GetField(VT_ID, 0); - } - uint32_t num() const { - return GetField(VT_NUM, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ID, 2) && - VerifyField(verifier, VT_NUM, 4) && - verifier.EndTable(); - } -}; - -struct IntAttrBuilder { - typedef IntAttr Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(uint16_t id) { - fbb_.AddElement(IntAttr::VT_ID, id, 0); - } - void add_num(uint32_t num) { - fbb_.AddElement(IntAttr::VT_NUM, num, 0); - } - explicit IntAttrBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateIntAttr( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t id = 0, - uint32_t num = 0) { - IntAttrBuilder builder_(_fbb); - builder_.add_num(num); - builder_.add_id(id); - return builder_.Finish(); -} - -struct RoomMemberBinAttrInternal FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomMemberBinAttrInternalBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_UPDATEDATE = 4, - VT_DATA = 6 - }; - uint64_t updateDate() const { - return GetField(VT_UPDATEDATE, 0); - } - const BinAttr *data() const { - return GetPointer(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_UPDATEDATE, 8) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyTable(data()) && - verifier.EndTable(); - } -}; - -struct RoomMemberBinAttrInternalBuilder { - typedef RoomMemberBinAttrInternal Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_updateDate(uint64_t updateDate) { - fbb_.AddElement(RoomMemberBinAttrInternal::VT_UPDATEDATE, updateDate, 0); - } - void add_data(::flatbuffers::Offset data) { - fbb_.AddOffset(RoomMemberBinAttrInternal::VT_DATA, data); - } - explicit RoomMemberBinAttrInternalBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomMemberBinAttrInternal( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t updateDate = 0, - ::flatbuffers::Offset data = 0) { - RoomMemberBinAttrInternalBuilder builder_(_fbb); - builder_.add_updateDate(updateDate); - builder_.add_data(data); - return builder_.Finish(); -} - -struct BinAttrInternal FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef BinAttrInternalBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_UPDATEDATE = 4, - VT_UPDATEMEMBERID = 6, - VT_DATA = 8 - }; - uint64_t updateDate() const { - return GetField(VT_UPDATEDATE, 0); - } - uint16_t updateMemberId() const { - return GetField(VT_UPDATEMEMBERID, 0); - } - const BinAttr *data() const { - return GetPointer(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_UPDATEDATE, 8) && - VerifyField(verifier, VT_UPDATEMEMBERID, 2) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyTable(data()) && - verifier.EndTable(); - } -}; - -struct BinAttrInternalBuilder { - typedef BinAttrInternal Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_updateDate(uint64_t updateDate) { - fbb_.AddElement(BinAttrInternal::VT_UPDATEDATE, updateDate, 0); - } - void add_updateMemberId(uint16_t updateMemberId) { - fbb_.AddElement(BinAttrInternal::VT_UPDATEMEMBERID, updateMemberId, 0); - } - void add_data(::flatbuffers::Offset data) { - fbb_.AddOffset(BinAttrInternal::VT_DATA, data); - } - explicit BinAttrInternalBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateBinAttrInternal( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t updateDate = 0, - uint16_t updateMemberId = 0, - ::flatbuffers::Offset data = 0) { - BinAttrInternalBuilder builder_(_fbb); - builder_.add_updateDate(updateDate); - builder_.add_data(data); - builder_.add_updateMemberId(updateMemberId); - return builder_.Finish(); -} - -struct OptParam FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef OptParamBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_TYPE = 4, - VT_FLAG = 6, - VT_HUBMEMBERID = 8 - }; - uint8_t type() const { - return GetField(VT_TYPE, 0); - } - uint8_t flag() const { - return GetField(VT_FLAG, 0); - } - uint16_t hubMemberId() const { - return GetField(VT_HUBMEMBERID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_TYPE, 1) && - VerifyField(verifier, VT_FLAG, 1) && - VerifyField(verifier, VT_HUBMEMBERID, 2) && - verifier.EndTable(); - } -}; - -struct OptParamBuilder { - typedef OptParam Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_type(uint8_t type) { - fbb_.AddElement(OptParam::VT_TYPE, type, 0); - } - void add_flag(uint8_t flag) { - fbb_.AddElement(OptParam::VT_FLAG, flag, 0); - } - void add_hubMemberId(uint16_t hubMemberId) { - fbb_.AddElement(OptParam::VT_HUBMEMBERID, hubMemberId, 0); - } - explicit OptParamBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateOptParam( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t type = 0, - uint8_t flag = 0, - uint16_t hubMemberId = 0) { - OptParamBuilder builder_(_fbb); - builder_.add_hubMemberId(hubMemberId); - builder_.add_flag(flag); - builder_.add_type(type); - return builder_.Finish(); -} - -struct GroupConfig FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GroupConfigBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SLOTNUM = 4, - VT_LABEL = 6, - VT_WITHPASSWORD = 8 - }; - uint32_t slotNum() const { - return GetField(VT_SLOTNUM, 0); - } - const ::flatbuffers::Vector *label() const { - return GetPointer *>(VT_LABEL); - } - bool withPassword() const { - return GetField(VT_WITHPASSWORD, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SLOTNUM, 4) && - VerifyOffset(verifier, VT_LABEL) && - verifier.VerifyVector(label()) && - VerifyField(verifier, VT_WITHPASSWORD, 1) && - verifier.EndTable(); - } -}; - -struct GroupConfigBuilder { - typedef GroupConfig Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_slotNum(uint32_t slotNum) { - fbb_.AddElement(GroupConfig::VT_SLOTNUM, slotNum, 0); - } - void add_label(::flatbuffers::Offset<::flatbuffers::Vector> label) { - fbb_.AddOffset(GroupConfig::VT_LABEL, label); - } - void add_withPassword(bool withPassword) { - fbb_.AddElement(GroupConfig::VT_WITHPASSWORD, static_cast(withPassword), 0); - } - explicit GroupConfigBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGroupConfig( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t slotNum = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> label = 0, - bool withPassword = false) { - GroupConfigBuilder builder_(_fbb); - builder_.add_label(label); - builder_.add_slotNum(slotNum); - builder_.add_withPassword(withPassword); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGroupConfigDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t slotNum = 0, - const std::vector *label = nullptr, - bool withPassword = false) { - auto label__ = label ? _fbb.CreateVector(*label) : 0; - return CreateGroupConfig( - _fbb, - slotNum, - label__, - withPassword); -} - -struct UserInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef UserInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_NPID = 4, - VT_ONLINENAME = 6, - VT_AVATARURL = 8 - }; - const ::flatbuffers::String *npId() const { - return GetPointer(VT_NPID); - } - const ::flatbuffers::String *onlineName() const { - return GetPointer(VT_ONLINENAME); - } - const ::flatbuffers::String *avatarUrl() const { - return GetPointer(VT_AVATARURL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_NPID) && - verifier.VerifyString(npId()) && - VerifyOffset(verifier, VT_ONLINENAME) && - verifier.VerifyString(onlineName()) && - VerifyOffset(verifier, VT_AVATARURL) && - verifier.VerifyString(avatarUrl()) && - verifier.EndTable(); - } -}; - -struct UserInfoBuilder { - typedef UserInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_npId(::flatbuffers::Offset<::flatbuffers::String> npId) { - fbb_.AddOffset(UserInfo::VT_NPID, npId); - } - void add_onlineName(::flatbuffers::Offset<::flatbuffers::String> onlineName) { - fbb_.AddOffset(UserInfo::VT_ONLINENAME, onlineName); - } - void add_avatarUrl(::flatbuffers::Offset<::flatbuffers::String> avatarUrl) { - fbb_.AddOffset(UserInfo::VT_AVATARURL, avatarUrl); - } - explicit UserInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateUserInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> npId = 0, - ::flatbuffers::Offset<::flatbuffers::String> onlineName = 0, - ::flatbuffers::Offset<::flatbuffers::String> avatarUrl = 0) { - UserInfoBuilder builder_(_fbb); - builder_.add_avatarUrl(avatarUrl); - builder_.add_onlineName(onlineName); - builder_.add_npId(npId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateUserInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *npId = nullptr, - const char *onlineName = nullptr, - const char *avatarUrl = nullptr) { - auto npId__ = npId ? _fbb.CreateString(npId) : 0; - auto onlineName__ = onlineName ? _fbb.CreateString(onlineName) : 0; - auto avatarUrl__ = avatarUrl ? _fbb.CreateString(avatarUrl) : 0; - return CreateUserInfo( - _fbb, - npId__, - onlineName__, - avatarUrl__); -} - -struct RoomMemberDataInternal FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomMemberDataInternalBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USERINFO = 4, - VT_JOINDATE = 6, - VT_MEMBERID = 8, - VT_TEAMID = 10, - VT_ROOMGROUP = 12, - VT_NATTYPE = 14, - VT_FLAGATTR = 16, - VT_ROOMMEMBERBINATTRINTERNAL = 18 - }; - const UserInfo *userInfo() const { - return GetPointer(VT_USERINFO); - } - uint64_t joinDate() const { - return GetField(VT_JOINDATE, 0); - } - uint16_t memberId() const { - return GetField(VT_MEMBERID, 0); - } - uint8_t teamId() const { - return GetField(VT_TEAMID, 0); - } - const RoomGroup *roomGroup() const { - return GetPointer(VT_ROOMGROUP); - } - uint8_t natType() const { - return GetField(VT_NATTYPE, 0); - } - uint32_t flagAttr() const { - return GetField(VT_FLAGATTR, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomMemberBinAttrInternal() const { - return GetPointer> *>(VT_ROOMMEMBERBINATTRINTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USERINFO) && - verifier.VerifyTable(userInfo()) && - VerifyField(verifier, VT_JOINDATE, 8) && - VerifyField(verifier, VT_MEMBERID, 2) && - VerifyField(verifier, VT_TEAMID, 1) && - VerifyOffset(verifier, VT_ROOMGROUP) && - verifier.VerifyTable(roomGroup()) && - VerifyField(verifier, VT_NATTYPE, 1) && - VerifyField(verifier, VT_FLAGATTR, 4) && - VerifyOffset(verifier, VT_ROOMMEMBERBINATTRINTERNAL) && - verifier.VerifyVector(roomMemberBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomMemberBinAttrInternal()) && - verifier.EndTable(); - } -}; - -struct RoomMemberDataInternalBuilder { - typedef RoomMemberDataInternal Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_userInfo(::flatbuffers::Offset userInfo) { - fbb_.AddOffset(RoomMemberDataInternal::VT_USERINFO, userInfo); - } - void add_joinDate(uint64_t joinDate) { - fbb_.AddElement(RoomMemberDataInternal::VT_JOINDATE, joinDate, 0); - } - void add_memberId(uint16_t memberId) { - fbb_.AddElement(RoomMemberDataInternal::VT_MEMBERID, memberId, 0); - } - void add_teamId(uint8_t teamId) { - fbb_.AddElement(RoomMemberDataInternal::VT_TEAMID, teamId, 0); - } - void add_roomGroup(::flatbuffers::Offset roomGroup) { - fbb_.AddOffset(RoomMemberDataInternal::VT_ROOMGROUP, roomGroup); - } - void add_natType(uint8_t natType) { - fbb_.AddElement(RoomMemberDataInternal::VT_NATTYPE, natType, 0); - } - void add_flagAttr(uint32_t flagAttr) { - fbb_.AddElement(RoomMemberDataInternal::VT_FLAGATTR, flagAttr, 0); - } - void add_roomMemberBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal) { - fbb_.AddOffset(RoomMemberDataInternal::VT_ROOMMEMBERBINATTRINTERNAL, roomMemberBinAttrInternal); - } - explicit RoomMemberDataInternalBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomMemberDataInternal( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset userInfo = 0, - uint64_t joinDate = 0, - uint16_t memberId = 0, - uint8_t teamId = 0, - ::flatbuffers::Offset roomGroup = 0, - uint8_t natType = 0, - uint32_t flagAttr = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal = 0) { - RoomMemberDataInternalBuilder builder_(_fbb); - builder_.add_joinDate(joinDate); - builder_.add_roomMemberBinAttrInternal(roomMemberBinAttrInternal); - builder_.add_flagAttr(flagAttr); - builder_.add_roomGroup(roomGroup); - builder_.add_userInfo(userInfo); - builder_.add_memberId(memberId); - builder_.add_natType(natType); - builder_.add_teamId(teamId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomMemberDataInternalDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset userInfo = 0, - uint64_t joinDate = 0, - uint16_t memberId = 0, - uint8_t teamId = 0, - ::flatbuffers::Offset roomGroup = 0, - uint8_t natType = 0, - uint32_t flagAttr = 0, - const std::vector<::flatbuffers::Offset> *roomMemberBinAttrInternal = nullptr) { - auto roomMemberBinAttrInternal__ = roomMemberBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomMemberBinAttrInternal) : 0; - return CreateRoomMemberDataInternal( - _fbb, - userInfo, - joinDate, - memberId, - teamId, - roomGroup, - natType, - flagAttr, - roomMemberBinAttrInternal__); -} - -struct RoomGroup FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomGroupBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_GROUPID = 4, - VT_WITHPASSWORD = 6, - VT_LABEL = 8, - VT_SLOTNUM = 10, - VT_CURGROUPMEMBERNUM = 12 - }; - uint8_t groupId() const { - return GetField(VT_GROUPID, 0); - } - bool withPassword() const { - return GetField(VT_WITHPASSWORD, 0) != 0; - } - const ::flatbuffers::Vector *label() const { - return GetPointer *>(VT_LABEL); - } - uint32_t slotNum() const { - return GetField(VT_SLOTNUM, 0); - } - uint32_t curGroupMemberNum() const { - return GetField(VT_CURGROUPMEMBERNUM, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_GROUPID, 1) && - VerifyField(verifier, VT_WITHPASSWORD, 1) && - VerifyOffset(verifier, VT_LABEL) && - verifier.VerifyVector(label()) && - VerifyField(verifier, VT_SLOTNUM, 4) && - VerifyField(verifier, VT_CURGROUPMEMBERNUM, 4) && - verifier.EndTable(); - } -}; - -struct RoomGroupBuilder { - typedef RoomGroup Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_groupId(uint8_t groupId) { - fbb_.AddElement(RoomGroup::VT_GROUPID, groupId, 0); - } - void add_withPassword(bool withPassword) { - fbb_.AddElement(RoomGroup::VT_WITHPASSWORD, static_cast(withPassword), 0); - } - void add_label(::flatbuffers::Offset<::flatbuffers::Vector> label) { - fbb_.AddOffset(RoomGroup::VT_LABEL, label); - } - void add_slotNum(uint32_t slotNum) { - fbb_.AddElement(RoomGroup::VT_SLOTNUM, slotNum, 0); - } - void add_curGroupMemberNum(uint32_t curGroupMemberNum) { - fbb_.AddElement(RoomGroup::VT_CURGROUPMEMBERNUM, curGroupMemberNum, 0); - } - explicit RoomGroupBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomGroup( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t groupId = 0, - bool withPassword = false, - ::flatbuffers::Offset<::flatbuffers::Vector> label = 0, - uint32_t slotNum = 0, - uint32_t curGroupMemberNum = 0) { - RoomGroupBuilder builder_(_fbb); - builder_.add_curGroupMemberNum(curGroupMemberNum); - builder_.add_slotNum(slotNum); - builder_.add_label(label); - builder_.add_withPassword(withPassword); - builder_.add_groupId(groupId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomGroupDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t groupId = 0, - bool withPassword = false, - const std::vector *label = nullptr, - uint32_t slotNum = 0, - uint32_t curGroupMemberNum = 0) { - auto label__ = label ? _fbb.CreateVector(*label) : 0; - return CreateRoomGroup( - _fbb, - groupId, - withPassword, - label__, - slotNum, - curGroupMemberNum); -} - -struct RoomDataInternal FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomDataInternalBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SERVERID = 4, - VT_WORLDID = 6, - VT_LOBBYID = 8, - VT_ROOMID = 10, - VT_PASSWORDSLOTMASK = 12, - VT_MAXSLOT = 14, - VT_MEMBERLIST = 16, - VT_OWNERID = 18, - VT_ROOMGROUP = 20, - VT_FLAGATTR = 22, - VT_ROOMBINATTRINTERNAL = 24 - }; - uint16_t serverId() const { - return GetField(VT_SERVERID, 0); - } - uint32_t worldId() const { - return GetField(VT_WORLDID, 0); - } - uint64_t lobbyId() const { - return GetField(VT_LOBBYID, 0); - } - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint64_t passwordSlotMask() const { - return GetField(VT_PASSWORDSLOTMASK, 0); - } - uint32_t maxSlot() const { - return GetField(VT_MAXSLOT, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *memberList() const { - return GetPointer> *>(VT_MEMBERLIST); - } - uint16_t ownerId() const { - return GetField(VT_OWNERID, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomGroup() const { - return GetPointer> *>(VT_ROOMGROUP); - } - uint32_t flagAttr() const { - return GetField(VT_FLAGATTR, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomBinAttrInternal() const { - return GetPointer> *>(VT_ROOMBINATTRINTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SERVERID, 2) && - VerifyField(verifier, VT_WORLDID, 4) && - VerifyField(verifier, VT_LOBBYID, 8) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_PASSWORDSLOTMASK, 8) && - VerifyField(verifier, VT_MAXSLOT, 4) && - VerifyOffset(verifier, VT_MEMBERLIST) && - verifier.VerifyVector(memberList()) && - verifier.VerifyVectorOfTables(memberList()) && - VerifyField(verifier, VT_OWNERID, 2) && - VerifyOffset(verifier, VT_ROOMGROUP) && - verifier.VerifyVector(roomGroup()) && - verifier.VerifyVectorOfTables(roomGroup()) && - VerifyField(verifier, VT_FLAGATTR, 4) && - VerifyOffset(verifier, VT_ROOMBINATTRINTERNAL) && - verifier.VerifyVector(roomBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomBinAttrInternal()) && - verifier.EndTable(); - } -}; - -struct RoomDataInternalBuilder { - typedef RoomDataInternal Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_serverId(uint16_t serverId) { - fbb_.AddElement(RoomDataInternal::VT_SERVERID, serverId, 0); - } - void add_worldId(uint32_t worldId) { - fbb_.AddElement(RoomDataInternal::VT_WORLDID, worldId, 0); - } - void add_lobbyId(uint64_t lobbyId) { - fbb_.AddElement(RoomDataInternal::VT_LOBBYID, lobbyId, 0); - } - void add_roomId(uint64_t roomId) { - fbb_.AddElement(RoomDataInternal::VT_ROOMID, roomId, 0); - } - void add_passwordSlotMask(uint64_t passwordSlotMask) { - fbb_.AddElement(RoomDataInternal::VT_PASSWORDSLOTMASK, passwordSlotMask, 0); - } - void add_maxSlot(uint32_t maxSlot) { - fbb_.AddElement(RoomDataInternal::VT_MAXSLOT, maxSlot, 0); - } - void add_memberList(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> memberList) { - fbb_.AddOffset(RoomDataInternal::VT_MEMBERLIST, memberList); - } - void add_ownerId(uint16_t ownerId) { - fbb_.AddElement(RoomDataInternal::VT_OWNERID, ownerId, 0); - } - void add_roomGroup(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomGroup) { - fbb_.AddOffset(RoomDataInternal::VT_ROOMGROUP, roomGroup); - } - void add_flagAttr(uint32_t flagAttr) { - fbb_.AddElement(RoomDataInternal::VT_FLAGATTR, flagAttr, 0); - } - void add_roomBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrInternal) { - fbb_.AddOffset(RoomDataInternal::VT_ROOMBINATTRINTERNAL, roomBinAttrInternal); - } - explicit RoomDataInternalBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomDataInternal( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - uint32_t worldId = 0, - uint64_t lobbyId = 0, - uint64_t roomId = 0, - uint64_t passwordSlotMask = 0, - uint32_t maxSlot = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> memberList = 0, - uint16_t ownerId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomGroup = 0, - uint32_t flagAttr = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrInternal = 0) { - RoomDataInternalBuilder builder_(_fbb); - builder_.add_passwordSlotMask(passwordSlotMask); - builder_.add_roomId(roomId); - builder_.add_lobbyId(lobbyId); - builder_.add_roomBinAttrInternal(roomBinAttrInternal); - builder_.add_flagAttr(flagAttr); - builder_.add_roomGroup(roomGroup); - builder_.add_memberList(memberList); - builder_.add_maxSlot(maxSlot); - builder_.add_worldId(worldId); - builder_.add_ownerId(ownerId); - builder_.add_serverId(serverId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomDataInternalDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - uint32_t worldId = 0, - uint64_t lobbyId = 0, - uint64_t roomId = 0, - uint64_t passwordSlotMask = 0, - uint32_t maxSlot = 0, - const std::vector<::flatbuffers::Offset> *memberList = nullptr, - uint16_t ownerId = 0, - const std::vector<::flatbuffers::Offset> *roomGroup = nullptr, - uint32_t flagAttr = 0, - const std::vector<::flatbuffers::Offset> *roomBinAttrInternal = nullptr) { - auto memberList__ = memberList ? _fbb.CreateVector<::flatbuffers::Offset>(*memberList) : 0; - auto roomGroup__ = roomGroup ? _fbb.CreateVector<::flatbuffers::Offset>(*roomGroup) : 0; - auto roomBinAttrInternal__ = roomBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomBinAttrInternal) : 0; - return CreateRoomDataInternal( - _fbb, - serverId, - worldId, - lobbyId, - roomId, - passwordSlotMask, - maxSlot, - memberList__, - ownerId, - roomGroup__, - flagAttr, - roomBinAttrInternal__); -} - -struct RoomDataExternal FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomDataExternalBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SERVERID = 4, - VT_WORLDID = 6, - VT_PUBLICSLOTNUM = 8, - VT_PRIVATESLOTNUM = 10, - VT_LOBBYID = 12, - VT_ROOMID = 14, - VT_OPENPUBLICSLOTNUM = 16, - VT_MAXSLOT = 18, - VT_OPENPRIVATESLOTNUM = 20, - VT_CURMEMBERNUM = 22, - VT_PASSWORDSLOTMASK = 24, - VT_OWNER = 26, - VT_ROOMGROUP = 28, - VT_FLAGATTR = 30, - VT_ROOMSEARCHABLEINTATTREXTERNAL = 32, - VT_ROOMSEARCHABLEBINATTREXTERNAL = 34, - VT_ROOMBINATTREXTERNAL = 36 - }; - uint16_t serverId() const { - return GetField(VT_SERVERID, 0); - } - uint32_t worldId() const { - return GetField(VT_WORLDID, 0); - } - uint16_t publicSlotNum() const { - return GetField(VT_PUBLICSLOTNUM, 0); - } - uint16_t privateSlotNum() const { - return GetField(VT_PRIVATESLOTNUM, 0); - } - uint64_t lobbyId() const { - return GetField(VT_LOBBYID, 0); - } - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint16_t openPublicSlotNum() const { - return GetField(VT_OPENPUBLICSLOTNUM, 0); - } - uint16_t maxSlot() const { - return GetField(VT_MAXSLOT, 0); - } - uint16_t openPrivateSlotNum() const { - return GetField(VT_OPENPRIVATESLOTNUM, 0); - } - uint16_t curMemberNum() const { - return GetField(VT_CURMEMBERNUM, 0); - } - uint64_t passwordSlotMask() const { - return GetField(VT_PASSWORDSLOTMASK, 0); - } - const UserInfo *owner() const { - return GetPointer(VT_OWNER); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomGroup() const { - return GetPointer> *>(VT_ROOMGROUP); - } - uint32_t flagAttr() const { - return GetField(VT_FLAGATTR, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomSearchableIntAttrExternal() const { - return GetPointer> *>(VT_ROOMSEARCHABLEINTATTREXTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomSearchableBinAttrExternal() const { - return GetPointer> *>(VT_ROOMSEARCHABLEBINATTREXTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomBinAttrExternal() const { - return GetPointer> *>(VT_ROOMBINATTREXTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SERVERID, 2) && - VerifyField(verifier, VT_WORLDID, 4) && - VerifyField(verifier, VT_PUBLICSLOTNUM, 2) && - VerifyField(verifier, VT_PRIVATESLOTNUM, 2) && - VerifyField(verifier, VT_LOBBYID, 8) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_OPENPUBLICSLOTNUM, 2) && - VerifyField(verifier, VT_MAXSLOT, 2) && - VerifyField(verifier, VT_OPENPRIVATESLOTNUM, 2) && - VerifyField(verifier, VT_CURMEMBERNUM, 2) && - VerifyField(verifier, VT_PASSWORDSLOTMASK, 8) && - VerifyOffset(verifier, VT_OWNER) && - verifier.VerifyTable(owner()) && - VerifyOffset(verifier, VT_ROOMGROUP) && - verifier.VerifyVector(roomGroup()) && - verifier.VerifyVectorOfTables(roomGroup()) && - VerifyField(verifier, VT_FLAGATTR, 4) && - VerifyOffset(verifier, VT_ROOMSEARCHABLEINTATTREXTERNAL) && - verifier.VerifyVector(roomSearchableIntAttrExternal()) && - verifier.VerifyVectorOfTables(roomSearchableIntAttrExternal()) && - VerifyOffset(verifier, VT_ROOMSEARCHABLEBINATTREXTERNAL) && - verifier.VerifyVector(roomSearchableBinAttrExternal()) && - verifier.VerifyVectorOfTables(roomSearchableBinAttrExternal()) && - VerifyOffset(verifier, VT_ROOMBINATTREXTERNAL) && - verifier.VerifyVector(roomBinAttrExternal()) && - verifier.VerifyVectorOfTables(roomBinAttrExternal()) && - verifier.EndTable(); - } -}; - -struct RoomDataExternalBuilder { - typedef RoomDataExternal Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_serverId(uint16_t serverId) { - fbb_.AddElement(RoomDataExternal::VT_SERVERID, serverId, 0); - } - void add_worldId(uint32_t worldId) { - fbb_.AddElement(RoomDataExternal::VT_WORLDID, worldId, 0); - } - void add_publicSlotNum(uint16_t publicSlotNum) { - fbb_.AddElement(RoomDataExternal::VT_PUBLICSLOTNUM, publicSlotNum, 0); - } - void add_privateSlotNum(uint16_t privateSlotNum) { - fbb_.AddElement(RoomDataExternal::VT_PRIVATESLOTNUM, privateSlotNum, 0); - } - void add_lobbyId(uint64_t lobbyId) { - fbb_.AddElement(RoomDataExternal::VT_LOBBYID, lobbyId, 0); - } - void add_roomId(uint64_t roomId) { - fbb_.AddElement(RoomDataExternal::VT_ROOMID, roomId, 0); - } - void add_openPublicSlotNum(uint16_t openPublicSlotNum) { - fbb_.AddElement(RoomDataExternal::VT_OPENPUBLICSLOTNUM, openPublicSlotNum, 0); - } - void add_maxSlot(uint16_t maxSlot) { - fbb_.AddElement(RoomDataExternal::VT_MAXSLOT, maxSlot, 0); - } - void add_openPrivateSlotNum(uint16_t openPrivateSlotNum) { - fbb_.AddElement(RoomDataExternal::VT_OPENPRIVATESLOTNUM, openPrivateSlotNum, 0); - } - void add_curMemberNum(uint16_t curMemberNum) { - fbb_.AddElement(RoomDataExternal::VT_CURMEMBERNUM, curMemberNum, 0); - } - void add_passwordSlotMask(uint64_t passwordSlotMask) { - fbb_.AddElement(RoomDataExternal::VT_PASSWORDSLOTMASK, passwordSlotMask, 0); - } - void add_owner(::flatbuffers::Offset owner) { - fbb_.AddOffset(RoomDataExternal::VT_OWNER, owner); - } - void add_roomGroup(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomGroup) { - fbb_.AddOffset(RoomDataExternal::VT_ROOMGROUP, roomGroup); - } - void add_flagAttr(uint32_t flagAttr) { - fbb_.AddElement(RoomDataExternal::VT_FLAGATTR, flagAttr, 0); - } - void add_roomSearchableIntAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableIntAttrExternal) { - fbb_.AddOffset(RoomDataExternal::VT_ROOMSEARCHABLEINTATTREXTERNAL, roomSearchableIntAttrExternal); - } - void add_roomSearchableBinAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableBinAttrExternal) { - fbb_.AddOffset(RoomDataExternal::VT_ROOMSEARCHABLEBINATTREXTERNAL, roomSearchableBinAttrExternal); - } - void add_roomBinAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrExternal) { - fbb_.AddOffset(RoomDataExternal::VT_ROOMBINATTREXTERNAL, roomBinAttrExternal); - } - explicit RoomDataExternalBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomDataExternal( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - uint32_t worldId = 0, - uint16_t publicSlotNum = 0, - uint16_t privateSlotNum = 0, - uint64_t lobbyId = 0, - uint64_t roomId = 0, - uint16_t openPublicSlotNum = 0, - uint16_t maxSlot = 0, - uint16_t openPrivateSlotNum = 0, - uint16_t curMemberNum = 0, - uint64_t passwordSlotMask = 0, - ::flatbuffers::Offset owner = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomGroup = 0, - uint32_t flagAttr = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableIntAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableBinAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrExternal = 0) { - RoomDataExternalBuilder builder_(_fbb); - builder_.add_passwordSlotMask(passwordSlotMask); - builder_.add_roomId(roomId); - builder_.add_lobbyId(lobbyId); - builder_.add_roomBinAttrExternal(roomBinAttrExternal); - builder_.add_roomSearchableBinAttrExternal(roomSearchableBinAttrExternal); - builder_.add_roomSearchableIntAttrExternal(roomSearchableIntAttrExternal); - builder_.add_flagAttr(flagAttr); - builder_.add_roomGroup(roomGroup); - builder_.add_owner(owner); - builder_.add_worldId(worldId); - builder_.add_curMemberNum(curMemberNum); - builder_.add_openPrivateSlotNum(openPrivateSlotNum); - builder_.add_maxSlot(maxSlot); - builder_.add_openPublicSlotNum(openPublicSlotNum); - builder_.add_privateSlotNum(privateSlotNum); - builder_.add_publicSlotNum(publicSlotNum); - builder_.add_serverId(serverId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomDataExternalDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - uint32_t worldId = 0, - uint16_t publicSlotNum = 0, - uint16_t privateSlotNum = 0, - uint64_t lobbyId = 0, - uint64_t roomId = 0, - uint16_t openPublicSlotNum = 0, - uint16_t maxSlot = 0, - uint16_t openPrivateSlotNum = 0, - uint16_t curMemberNum = 0, - uint64_t passwordSlotMask = 0, - ::flatbuffers::Offset owner = 0, - const std::vector<::flatbuffers::Offset> *roomGroup = nullptr, - uint32_t flagAttr = 0, - const std::vector<::flatbuffers::Offset> *roomSearchableIntAttrExternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomSearchableBinAttrExternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomBinAttrExternal = nullptr) { - auto roomGroup__ = roomGroup ? _fbb.CreateVector<::flatbuffers::Offset>(*roomGroup) : 0; - auto roomSearchableIntAttrExternal__ = roomSearchableIntAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomSearchableIntAttrExternal) : 0; - auto roomSearchableBinAttrExternal__ = roomSearchableBinAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomSearchableBinAttrExternal) : 0; - auto roomBinAttrExternal__ = roomBinAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomBinAttrExternal) : 0; - return CreateRoomDataExternal( - _fbb, - serverId, - worldId, - publicSlotNum, - privateSlotNum, - lobbyId, - roomId, - openPublicSlotNum, - maxSlot, - openPrivateSlotNum, - curMemberNum, - passwordSlotMask, - owner, - roomGroup__, - flagAttr, - roomSearchableIntAttrExternal__, - roomSearchableBinAttrExternal__, - roomBinAttrExternal__); -} - -struct IntSearchFilter FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef IntSearchFilterBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SEARCHOPERATOR = 4, - VT_ATTR = 6 - }; - uint8_t searchOperator() const { - return GetField(VT_SEARCHOPERATOR, 0); - } - const IntAttr *attr() const { - return GetPointer(VT_ATTR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SEARCHOPERATOR, 1) && - VerifyOffset(verifier, VT_ATTR) && - verifier.VerifyTable(attr()) && - verifier.EndTable(); - } -}; - -struct IntSearchFilterBuilder { - typedef IntSearchFilter Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_searchOperator(uint8_t searchOperator) { - fbb_.AddElement(IntSearchFilter::VT_SEARCHOPERATOR, searchOperator, 0); - } - void add_attr(::flatbuffers::Offset attr) { - fbb_.AddOffset(IntSearchFilter::VT_ATTR, attr); - } - explicit IntSearchFilterBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateIntSearchFilter( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t searchOperator = 0, - ::flatbuffers::Offset attr = 0) { - IntSearchFilterBuilder builder_(_fbb); - builder_.add_attr(attr); - builder_.add_searchOperator(searchOperator); - return builder_.Finish(); -} - -struct BinSearchFilter FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef BinSearchFilterBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SEARCHOPERATOR = 4, - VT_ATTR = 6 - }; - uint8_t searchOperator() const { - return GetField(VT_SEARCHOPERATOR, 0); - } - const BinAttr *attr() const { - return GetPointer(VT_ATTR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SEARCHOPERATOR, 1) && - VerifyOffset(verifier, VT_ATTR) && - verifier.VerifyTable(attr()) && - verifier.EndTable(); - } -}; - -struct BinSearchFilterBuilder { - typedef BinSearchFilter Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_searchOperator(uint8_t searchOperator) { - fbb_.AddElement(BinSearchFilter::VT_SEARCHOPERATOR, searchOperator, 0); - } - void add_attr(::flatbuffers::Offset attr) { - fbb_.AddOffset(BinSearchFilter::VT_ATTR, attr); - } - explicit BinSearchFilterBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateBinSearchFilter( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t searchOperator = 0, - ::flatbuffers::Offset attr = 0) { - BinSearchFilterBuilder builder_(_fbb); - builder_.add_attr(attr); - builder_.add_searchOperator(searchOperator); - return builder_.Finish(); -} - -struct PresenceOptionData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef PresenceOptionDataBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_DATA = 4, - VT_LEN = 6 - }; - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - uint32_t len() const { - return GetField(VT_LEN, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - VerifyField(verifier, VT_LEN, 4) && - verifier.EndTable(); - } -}; - -struct PresenceOptionDataBuilder { - typedef PresenceOptionData Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(PresenceOptionData::VT_DATA, data); - } - void add_len(uint32_t len) { - fbb_.AddElement(PresenceOptionData::VT_LEN, len, 0); - } - explicit PresenceOptionDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreatePresenceOptionData( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0, - uint32_t len = 0) { - PresenceOptionDataBuilder builder_(_fbb); - builder_.add_len(len); - builder_.add_data(data); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreatePresenceOptionDataDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *data = nullptr, - uint32_t len = 0) { - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreatePresenceOptionData( - _fbb, - data__, - len); -} - -struct RoomGroupPasswordConfig FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomGroupPasswordConfigBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_GROUPID = 4, - VT_WITHPASSWORD = 6 - }; - uint8_t groupId() const { - return GetField(VT_GROUPID, 0); - } - bool withPassword() const { - return GetField(VT_WITHPASSWORD, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_GROUPID, 1) && - VerifyField(verifier, VT_WITHPASSWORD, 1) && - verifier.EndTable(); - } -}; - -struct RoomGroupPasswordConfigBuilder { - typedef RoomGroupPasswordConfig Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_groupId(uint8_t groupId) { - fbb_.AddElement(RoomGroupPasswordConfig::VT_GROUPID, groupId, 0); - } - void add_withPassword(bool withPassword) { - fbb_.AddElement(RoomGroupPasswordConfig::VT_WITHPASSWORD, static_cast(withPassword), 0); - } - explicit RoomGroupPasswordConfigBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomGroupPasswordConfig( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t groupId = 0, - bool withPassword = false) { - RoomGroupPasswordConfigBuilder builder_(_fbb); - builder_.add_withPassword(withPassword); - builder_.add_groupId(groupId); - return builder_.Finish(); -} - -struct SearchRoomRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SearchRoomRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_OPTION = 4, - VT_WORLDID = 6, - VT_LOBBYID = 8, - VT_RANGEFILTER_STARTINDEX = 10, - VT_RANGEFILTER_MAX = 12, - VT_FLAGFILTER = 14, - VT_FLAGATTR = 16, - VT_INTFILTER = 18, - VT_BINFILTER = 20, - VT_ATTRID = 22 - }; - int32_t option() const { - return GetField(VT_OPTION, 0); - } - uint32_t worldId() const { - return GetField(VT_WORLDID, 0); - } - uint64_t lobbyId() const { - return GetField(VT_LOBBYID, 0); - } - uint32_t rangeFilter_startIndex() const { - return GetField(VT_RANGEFILTER_STARTINDEX, 0); - } - uint32_t rangeFilter_max() const { - return GetField(VT_RANGEFILTER_MAX, 0); - } - uint32_t flagFilter() const { - return GetField(VT_FLAGFILTER, 0); - } - uint32_t flagAttr() const { - return GetField(VT_FLAGATTR, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *intFilter() const { - return GetPointer> *>(VT_INTFILTER); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *binFilter() const { - return GetPointer> *>(VT_BINFILTER); - } - const ::flatbuffers::Vector *attrId() const { - return GetPointer *>(VT_ATTRID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_OPTION, 4) && - VerifyField(verifier, VT_WORLDID, 4) && - VerifyField(verifier, VT_LOBBYID, 8) && - VerifyField(verifier, VT_RANGEFILTER_STARTINDEX, 4) && - VerifyField(verifier, VT_RANGEFILTER_MAX, 4) && - VerifyField(verifier, VT_FLAGFILTER, 4) && - VerifyField(verifier, VT_FLAGATTR, 4) && - VerifyOffset(verifier, VT_INTFILTER) && - verifier.VerifyVector(intFilter()) && - verifier.VerifyVectorOfTables(intFilter()) && - VerifyOffset(verifier, VT_BINFILTER) && - verifier.VerifyVector(binFilter()) && - verifier.VerifyVectorOfTables(binFilter()) && - VerifyOffset(verifier, VT_ATTRID) && - verifier.VerifyVector(attrId()) && - verifier.EndTable(); - } -}; - -struct SearchRoomRequestBuilder { - typedef SearchRoomRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_option(int32_t option) { - fbb_.AddElement(SearchRoomRequest::VT_OPTION, option, 0); - } - void add_worldId(uint32_t worldId) { - fbb_.AddElement(SearchRoomRequest::VT_WORLDID, worldId, 0); - } - void add_lobbyId(uint64_t lobbyId) { - fbb_.AddElement(SearchRoomRequest::VT_LOBBYID, lobbyId, 0); - } - void add_rangeFilter_startIndex(uint32_t rangeFilter_startIndex) { - fbb_.AddElement(SearchRoomRequest::VT_RANGEFILTER_STARTINDEX, rangeFilter_startIndex, 0); - } - void add_rangeFilter_max(uint32_t rangeFilter_max) { - fbb_.AddElement(SearchRoomRequest::VT_RANGEFILTER_MAX, rangeFilter_max, 0); - } - void add_flagFilter(uint32_t flagFilter) { - fbb_.AddElement(SearchRoomRequest::VT_FLAGFILTER, flagFilter, 0); - } - void add_flagAttr(uint32_t flagAttr) { - fbb_.AddElement(SearchRoomRequest::VT_FLAGATTR, flagAttr, 0); - } - void add_intFilter(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> intFilter) { - fbb_.AddOffset(SearchRoomRequest::VT_INTFILTER, intFilter); - } - void add_binFilter(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> binFilter) { - fbb_.AddOffset(SearchRoomRequest::VT_BINFILTER, binFilter); - } - void add_attrId(::flatbuffers::Offset<::flatbuffers::Vector> attrId) { - fbb_.AddOffset(SearchRoomRequest::VT_ATTRID, attrId); - } - explicit SearchRoomRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSearchRoomRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - int32_t option = 0, - uint32_t worldId = 0, - uint64_t lobbyId = 0, - uint32_t rangeFilter_startIndex = 0, - uint32_t rangeFilter_max = 0, - uint32_t flagFilter = 0, - uint32_t flagAttr = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> intFilter = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> binFilter = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> attrId = 0) { - SearchRoomRequestBuilder builder_(_fbb); - builder_.add_lobbyId(lobbyId); - builder_.add_attrId(attrId); - builder_.add_binFilter(binFilter); - builder_.add_intFilter(intFilter); - builder_.add_flagAttr(flagAttr); - builder_.add_flagFilter(flagFilter); - builder_.add_rangeFilter_max(rangeFilter_max); - builder_.add_rangeFilter_startIndex(rangeFilter_startIndex); - builder_.add_worldId(worldId); - builder_.add_option(option); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSearchRoomRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - int32_t option = 0, - uint32_t worldId = 0, - uint64_t lobbyId = 0, - uint32_t rangeFilter_startIndex = 0, - uint32_t rangeFilter_max = 0, - uint32_t flagFilter = 0, - uint32_t flagAttr = 0, - const std::vector<::flatbuffers::Offset> *intFilter = nullptr, - const std::vector<::flatbuffers::Offset> *binFilter = nullptr, - const std::vector *attrId = nullptr) { - auto intFilter__ = intFilter ? _fbb.CreateVector<::flatbuffers::Offset>(*intFilter) : 0; - auto binFilter__ = binFilter ? _fbb.CreateVector<::flatbuffers::Offset>(*binFilter) : 0; - auto attrId__ = attrId ? _fbb.CreateVector(*attrId) : 0; - return CreateSearchRoomRequest( - _fbb, - option, - worldId, - lobbyId, - rangeFilter_startIndex, - rangeFilter_max, - flagFilter, - flagAttr, - intFilter__, - binFilter__, - attrId__); -} - -struct SearchRoomResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SearchRoomResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_STARTINDEX = 4, - VT_TOTAL = 6, - VT_ROOMS = 8 - }; - uint32_t startIndex() const { - return GetField(VT_STARTINDEX, 0); - } - uint32_t total() const { - return GetField(VT_TOTAL, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *rooms() const { - return GetPointer> *>(VT_ROOMS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_STARTINDEX, 4) && - VerifyField(verifier, VT_TOTAL, 4) && - VerifyOffset(verifier, VT_ROOMS) && - verifier.VerifyVector(rooms()) && - verifier.VerifyVectorOfTables(rooms()) && - verifier.EndTable(); - } -}; - -struct SearchRoomResponseBuilder { - typedef SearchRoomResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_startIndex(uint32_t startIndex) { - fbb_.AddElement(SearchRoomResponse::VT_STARTINDEX, startIndex, 0); - } - void add_total(uint32_t total) { - fbb_.AddElement(SearchRoomResponse::VT_TOTAL, total, 0); - } - void add_rooms(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rooms) { - fbb_.AddOffset(SearchRoomResponse::VT_ROOMS, rooms); - } - explicit SearchRoomResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSearchRoomResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t startIndex = 0, - uint32_t total = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rooms = 0) { - SearchRoomResponseBuilder builder_(_fbb); - builder_.add_rooms(rooms); - builder_.add_total(total); - builder_.add_startIndex(startIndex); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSearchRoomResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t startIndex = 0, - uint32_t total = 0, - const std::vector<::flatbuffers::Offset> *rooms = nullptr) { - auto rooms__ = rooms ? _fbb.CreateVector<::flatbuffers::Offset>(*rooms) : 0; - return CreateSearchRoomResponse( - _fbb, - startIndex, - total, - rooms__); -} - -struct CreateJoinRoomRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef CreateJoinRoomRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_WORLDID = 4, - VT_LOBBYID = 6, - VT_MAXSLOT = 8, - VT_FLAGATTR = 10, - VT_ROOMBINATTRINTERNAL = 12, - VT_ROOMSEARCHABLEINTATTREXTERNAL = 14, - VT_ROOMSEARCHABLEBINATTREXTERNAL = 16, - VT_ROOMBINATTREXTERNAL = 18, - VT_ROOMPASSWORD = 20, - VT_GROUPCONFIG = 22, - VT_PASSWORDSLOTMASK = 24, - VT_ALLOWEDUSER = 26, - VT_BLOCKEDUSER = 28, - VT_JOINROOMGROUPLABEL = 30, - VT_ROOMMEMBERBINATTRINTERNAL = 32, - VT_TEAMID = 34, - VT_SIGOPTPARAM = 36 - }; - uint32_t worldId() const { - return GetField(VT_WORLDID, 0); - } - uint64_t lobbyId() const { - return GetField(VT_LOBBYID, 0); - } - uint32_t maxSlot() const { - return GetField(VT_MAXSLOT, 0); - } - uint32_t flagAttr() const { - return GetField(VT_FLAGATTR, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomBinAttrInternal() const { - return GetPointer> *>(VT_ROOMBINATTRINTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomSearchableIntAttrExternal() const { - return GetPointer> *>(VT_ROOMSEARCHABLEINTATTREXTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomSearchableBinAttrExternal() const { - return GetPointer> *>(VT_ROOMSEARCHABLEBINATTREXTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomBinAttrExternal() const { - return GetPointer> *>(VT_ROOMBINATTREXTERNAL); - } - const ::flatbuffers::Vector *roomPassword() const { - return GetPointer *>(VT_ROOMPASSWORD); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *groupConfig() const { - return GetPointer> *>(VT_GROUPCONFIG); - } - uint64_t passwordSlotMask() const { - return GetField(VT_PASSWORDSLOTMASK, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *allowedUser() const { - return GetPointer> *>(VT_ALLOWEDUSER); - } - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *blockedUser() const { - return GetPointer> *>(VT_BLOCKEDUSER); - } - const ::flatbuffers::Vector *joinRoomGroupLabel() const { - return GetPointer *>(VT_JOINROOMGROUPLABEL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomMemberBinAttrInternal() const { - return GetPointer> *>(VT_ROOMMEMBERBINATTRINTERNAL); - } - uint8_t teamId() const { - return GetField(VT_TEAMID, 0); - } - const OptParam *sigOptParam() const { - return GetPointer(VT_SIGOPTPARAM); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_WORLDID, 4) && - VerifyField(verifier, VT_LOBBYID, 8) && - VerifyField(verifier, VT_MAXSLOT, 4) && - VerifyField(verifier, VT_FLAGATTR, 4) && - VerifyOffset(verifier, VT_ROOMBINATTRINTERNAL) && - verifier.VerifyVector(roomBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomBinAttrInternal()) && - VerifyOffset(verifier, VT_ROOMSEARCHABLEINTATTREXTERNAL) && - verifier.VerifyVector(roomSearchableIntAttrExternal()) && - verifier.VerifyVectorOfTables(roomSearchableIntAttrExternal()) && - VerifyOffset(verifier, VT_ROOMSEARCHABLEBINATTREXTERNAL) && - verifier.VerifyVector(roomSearchableBinAttrExternal()) && - verifier.VerifyVectorOfTables(roomSearchableBinAttrExternal()) && - VerifyOffset(verifier, VT_ROOMBINATTREXTERNAL) && - verifier.VerifyVector(roomBinAttrExternal()) && - verifier.VerifyVectorOfTables(roomBinAttrExternal()) && - VerifyOffset(verifier, VT_ROOMPASSWORD) && - verifier.VerifyVector(roomPassword()) && - VerifyOffset(verifier, VT_GROUPCONFIG) && - verifier.VerifyVector(groupConfig()) && - verifier.VerifyVectorOfTables(groupConfig()) && - VerifyField(verifier, VT_PASSWORDSLOTMASK, 8) && - VerifyOffset(verifier, VT_ALLOWEDUSER) && - verifier.VerifyVector(allowedUser()) && - verifier.VerifyVectorOfStrings(allowedUser()) && - VerifyOffset(verifier, VT_BLOCKEDUSER) && - verifier.VerifyVector(blockedUser()) && - verifier.VerifyVectorOfStrings(blockedUser()) && - VerifyOffset(verifier, VT_JOINROOMGROUPLABEL) && - verifier.VerifyVector(joinRoomGroupLabel()) && - VerifyOffset(verifier, VT_ROOMMEMBERBINATTRINTERNAL) && - verifier.VerifyVector(roomMemberBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomMemberBinAttrInternal()) && - VerifyField(verifier, VT_TEAMID, 1) && - VerifyOffset(verifier, VT_SIGOPTPARAM) && - verifier.VerifyTable(sigOptParam()) && - verifier.EndTable(); - } -}; - -struct CreateJoinRoomRequestBuilder { - typedef CreateJoinRoomRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_worldId(uint32_t worldId) { - fbb_.AddElement(CreateJoinRoomRequest::VT_WORLDID, worldId, 0); - } - void add_lobbyId(uint64_t lobbyId) { - fbb_.AddElement(CreateJoinRoomRequest::VT_LOBBYID, lobbyId, 0); - } - void add_maxSlot(uint32_t maxSlot) { - fbb_.AddElement(CreateJoinRoomRequest::VT_MAXSLOT, maxSlot, 0); - } - void add_flagAttr(uint32_t flagAttr) { - fbb_.AddElement(CreateJoinRoomRequest::VT_FLAGATTR, flagAttr, 0); - } - void add_roomBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrInternal) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ROOMBINATTRINTERNAL, roomBinAttrInternal); - } - void add_roomSearchableIntAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableIntAttrExternal) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ROOMSEARCHABLEINTATTREXTERNAL, roomSearchableIntAttrExternal); - } - void add_roomSearchableBinAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableBinAttrExternal) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ROOMSEARCHABLEBINATTREXTERNAL, roomSearchableBinAttrExternal); - } - void add_roomBinAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrExternal) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ROOMBINATTREXTERNAL, roomBinAttrExternal); - } - void add_roomPassword(::flatbuffers::Offset<::flatbuffers::Vector> roomPassword) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ROOMPASSWORD, roomPassword); - } - void add_groupConfig(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> groupConfig) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_GROUPCONFIG, groupConfig); - } - void add_passwordSlotMask(uint64_t passwordSlotMask) { - fbb_.AddElement(CreateJoinRoomRequest::VT_PASSWORDSLOTMASK, passwordSlotMask, 0); - } - void add_allowedUser(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> allowedUser) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ALLOWEDUSER, allowedUser); - } - void add_blockedUser(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> blockedUser) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_BLOCKEDUSER, blockedUser); - } - void add_joinRoomGroupLabel(::flatbuffers::Offset<::flatbuffers::Vector> joinRoomGroupLabel) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_JOINROOMGROUPLABEL, joinRoomGroupLabel); - } - void add_roomMemberBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_ROOMMEMBERBINATTRINTERNAL, roomMemberBinAttrInternal); - } - void add_teamId(uint8_t teamId) { - fbb_.AddElement(CreateJoinRoomRequest::VT_TEAMID, teamId, 0); - } - void add_sigOptParam(::flatbuffers::Offset sigOptParam) { - fbb_.AddOffset(CreateJoinRoomRequest::VT_SIGOPTPARAM, sigOptParam); - } - explicit CreateJoinRoomRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateCreateJoinRoomRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t worldId = 0, - uint64_t lobbyId = 0, - uint32_t maxSlot = 0, - uint32_t flagAttr = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrInternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableIntAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableBinAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> roomPassword = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> groupConfig = 0, - uint64_t passwordSlotMask = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> allowedUser = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> blockedUser = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> joinRoomGroupLabel = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal = 0, - uint8_t teamId = 0, - ::flatbuffers::Offset sigOptParam = 0) { - CreateJoinRoomRequestBuilder builder_(_fbb); - builder_.add_passwordSlotMask(passwordSlotMask); - builder_.add_lobbyId(lobbyId); - builder_.add_sigOptParam(sigOptParam); - builder_.add_roomMemberBinAttrInternal(roomMemberBinAttrInternal); - builder_.add_joinRoomGroupLabel(joinRoomGroupLabel); - builder_.add_blockedUser(blockedUser); - builder_.add_allowedUser(allowedUser); - builder_.add_groupConfig(groupConfig); - builder_.add_roomPassword(roomPassword); - builder_.add_roomBinAttrExternal(roomBinAttrExternal); - builder_.add_roomSearchableBinAttrExternal(roomSearchableBinAttrExternal); - builder_.add_roomSearchableIntAttrExternal(roomSearchableIntAttrExternal); - builder_.add_roomBinAttrInternal(roomBinAttrInternal); - builder_.add_flagAttr(flagAttr); - builder_.add_maxSlot(maxSlot); - builder_.add_worldId(worldId); - builder_.add_teamId(teamId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateCreateJoinRoomRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t worldId = 0, - uint64_t lobbyId = 0, - uint32_t maxSlot = 0, - uint32_t flagAttr = 0, - const std::vector<::flatbuffers::Offset> *roomBinAttrInternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomSearchableIntAttrExternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomSearchableBinAttrExternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomBinAttrExternal = nullptr, - const std::vector *roomPassword = nullptr, - const std::vector<::flatbuffers::Offset> *groupConfig = nullptr, - uint64_t passwordSlotMask = 0, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *allowedUser = nullptr, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *blockedUser = nullptr, - const std::vector *joinRoomGroupLabel = nullptr, - const std::vector<::flatbuffers::Offset> *roomMemberBinAttrInternal = nullptr, - uint8_t teamId = 0, - ::flatbuffers::Offset sigOptParam = 0) { - auto roomBinAttrInternal__ = roomBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomBinAttrInternal) : 0; - auto roomSearchableIntAttrExternal__ = roomSearchableIntAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomSearchableIntAttrExternal) : 0; - auto roomSearchableBinAttrExternal__ = roomSearchableBinAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomSearchableBinAttrExternal) : 0; - auto roomBinAttrExternal__ = roomBinAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomBinAttrExternal) : 0; - auto roomPassword__ = roomPassword ? _fbb.CreateVector(*roomPassword) : 0; - auto groupConfig__ = groupConfig ? _fbb.CreateVector<::flatbuffers::Offset>(*groupConfig) : 0; - auto allowedUser__ = allowedUser ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*allowedUser) : 0; - auto blockedUser__ = blockedUser ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*blockedUser) : 0; - auto joinRoomGroupLabel__ = joinRoomGroupLabel ? _fbb.CreateVector(*joinRoomGroupLabel) : 0; - auto roomMemberBinAttrInternal__ = roomMemberBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomMemberBinAttrInternal) : 0; - return CreateCreateJoinRoomRequest( - _fbb, - worldId, - lobbyId, - maxSlot, - flagAttr, - roomBinAttrInternal__, - roomSearchableIntAttrExternal__, - roomSearchableBinAttrExternal__, - roomBinAttrExternal__, - roomPassword__, - groupConfig__, - passwordSlotMask, - allowedUser__, - blockedUser__, - joinRoomGroupLabel__, - roomMemberBinAttrInternal__, - teamId, - sigOptParam); -} - -struct JoinRoomRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef JoinRoomRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_ROOMPASSWORD = 6, - VT_JOINROOMGROUPLABEL = 8, - VT_ROOMMEMBERBINATTRINTERNAL = 10, - VT_OPTDATA = 12, - VT_TEAMID = 14 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - const ::flatbuffers::Vector *roomPassword() const { - return GetPointer *>(VT_ROOMPASSWORD); - } - const ::flatbuffers::Vector *joinRoomGroupLabel() const { - return GetPointer *>(VT_JOINROOMGROUPLABEL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomMemberBinAttrInternal() const { - return GetPointer> *>(VT_ROOMMEMBERBINATTRINTERNAL); - } - const PresenceOptionData *optData() const { - return GetPointer(VT_OPTDATA); - } - uint8_t teamId() const { - return GetField(VT_TEAMID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyOffset(verifier, VT_ROOMPASSWORD) && - verifier.VerifyVector(roomPassword()) && - VerifyOffset(verifier, VT_JOINROOMGROUPLABEL) && - verifier.VerifyVector(joinRoomGroupLabel()) && - VerifyOffset(verifier, VT_ROOMMEMBERBINATTRINTERNAL) && - verifier.VerifyVector(roomMemberBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomMemberBinAttrInternal()) && - VerifyOffset(verifier, VT_OPTDATA) && - verifier.VerifyTable(optData()) && - VerifyField(verifier, VT_TEAMID, 1) && - verifier.EndTable(); - } -}; - -struct JoinRoomRequestBuilder { - typedef JoinRoomRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(JoinRoomRequest::VT_ROOMID, roomId, 0); - } - void add_roomPassword(::flatbuffers::Offset<::flatbuffers::Vector> roomPassword) { - fbb_.AddOffset(JoinRoomRequest::VT_ROOMPASSWORD, roomPassword); - } - void add_joinRoomGroupLabel(::flatbuffers::Offset<::flatbuffers::Vector> joinRoomGroupLabel) { - fbb_.AddOffset(JoinRoomRequest::VT_JOINROOMGROUPLABEL, joinRoomGroupLabel); - } - void add_roomMemberBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal) { - fbb_.AddOffset(JoinRoomRequest::VT_ROOMMEMBERBINATTRINTERNAL, roomMemberBinAttrInternal); - } - void add_optData(::flatbuffers::Offset optData) { - fbb_.AddOffset(JoinRoomRequest::VT_OPTDATA, optData); - } - void add_teamId(uint8_t teamId) { - fbb_.AddElement(JoinRoomRequest::VT_TEAMID, teamId, 0); - } - explicit JoinRoomRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateJoinRoomRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> roomPassword = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> joinRoomGroupLabel = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal = 0, - ::flatbuffers::Offset optData = 0, - uint8_t teamId = 0) { - JoinRoomRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_optData(optData); - builder_.add_roomMemberBinAttrInternal(roomMemberBinAttrInternal); - builder_.add_joinRoomGroupLabel(joinRoomGroupLabel); - builder_.add_roomPassword(roomPassword); - builder_.add_teamId(teamId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateJoinRoomRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - const std::vector *roomPassword = nullptr, - const std::vector *joinRoomGroupLabel = nullptr, - const std::vector<::flatbuffers::Offset> *roomMemberBinAttrInternal = nullptr, - ::flatbuffers::Offset optData = 0, - uint8_t teamId = 0) { - auto roomPassword__ = roomPassword ? _fbb.CreateVector(*roomPassword) : 0; - auto joinRoomGroupLabel__ = joinRoomGroupLabel ? _fbb.CreateVector(*joinRoomGroupLabel) : 0; - auto roomMemberBinAttrInternal__ = roomMemberBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomMemberBinAttrInternal) : 0; - return CreateJoinRoomRequest( - _fbb, - roomId, - roomPassword__, - joinRoomGroupLabel__, - roomMemberBinAttrInternal__, - optData, - teamId); -} - -struct JoinRoomResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef JoinRoomResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOM_DATA = 4, - VT_SIGNALING_DATA = 6 - }; - const RoomDataInternal *room_data() const { - return GetPointer(VT_ROOM_DATA); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *signaling_data() const { - return GetPointer> *>(VT_SIGNALING_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ROOM_DATA) && - verifier.VerifyTable(room_data()) && - VerifyOffset(verifier, VT_SIGNALING_DATA) && - verifier.VerifyVector(signaling_data()) && - verifier.VerifyVectorOfTables(signaling_data()) && - verifier.EndTable(); - } -}; - -struct JoinRoomResponseBuilder { - typedef JoinRoomResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_room_data(::flatbuffers::Offset room_data) { - fbb_.AddOffset(JoinRoomResponse::VT_ROOM_DATA, room_data); - } - void add_signaling_data(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> signaling_data) { - fbb_.AddOffset(JoinRoomResponse::VT_SIGNALING_DATA, signaling_data); - } - explicit JoinRoomResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateJoinRoomResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset room_data = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> signaling_data = 0) { - JoinRoomResponseBuilder builder_(_fbb); - builder_.add_signaling_data(signaling_data); - builder_.add_room_data(room_data); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateJoinRoomResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset room_data = 0, - const std::vector<::flatbuffers::Offset> *signaling_data = nullptr) { - auto signaling_data__ = signaling_data ? _fbb.CreateVector<::flatbuffers::Offset>(*signaling_data) : 0; - return CreateJoinRoomResponse( - _fbb, - room_data, - signaling_data__); -} - -struct LeaveRoomRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef LeaveRoomRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_OPTDATA = 6 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - const PresenceOptionData *optData() const { - return GetPointer(VT_OPTDATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyOffset(verifier, VT_OPTDATA) && - verifier.VerifyTable(optData()) && - verifier.EndTable(); - } -}; - -struct LeaveRoomRequestBuilder { - typedef LeaveRoomRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(LeaveRoomRequest::VT_ROOMID, roomId, 0); - } - void add_optData(::flatbuffers::Offset optData) { - fbb_.AddOffset(LeaveRoomRequest::VT_OPTDATA, optData); - } - explicit LeaveRoomRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateLeaveRoomRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - ::flatbuffers::Offset optData = 0) { - LeaveRoomRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_optData(optData); - return builder_.Finish(); -} - -struct GetRoomDataExternalListRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetRoomDataExternalListRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMIDS = 4, - VT_ATTRIDS = 6 - }; - const ::flatbuffers::Vector *roomIds() const { - return GetPointer *>(VT_ROOMIDS); - } - const ::flatbuffers::Vector *attrIds() const { - return GetPointer *>(VT_ATTRIDS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ROOMIDS) && - verifier.VerifyVector(roomIds()) && - VerifyOffset(verifier, VT_ATTRIDS) && - verifier.VerifyVector(attrIds()) && - verifier.EndTable(); - } -}; - -struct GetRoomDataExternalListRequestBuilder { - typedef GetRoomDataExternalListRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomIds(::flatbuffers::Offset<::flatbuffers::Vector> roomIds) { - fbb_.AddOffset(GetRoomDataExternalListRequest::VT_ROOMIDS, roomIds); - } - void add_attrIds(::flatbuffers::Offset<::flatbuffers::Vector> attrIds) { - fbb_.AddOffset(GetRoomDataExternalListRequest::VT_ATTRIDS, attrIds); - } - explicit GetRoomDataExternalListRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetRoomDataExternalListRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> roomIds = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> attrIds = 0) { - GetRoomDataExternalListRequestBuilder builder_(_fbb); - builder_.add_attrIds(attrIds); - builder_.add_roomIds(roomIds); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetRoomDataExternalListRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *roomIds = nullptr, - const std::vector *attrIds = nullptr) { - auto roomIds__ = roomIds ? _fbb.CreateVector(*roomIds) : 0; - auto attrIds__ = attrIds ? _fbb.CreateVector(*attrIds) : 0; - return CreateGetRoomDataExternalListRequest( - _fbb, - roomIds__, - attrIds__); -} - -struct GetRoomDataExternalListResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetRoomDataExternalListResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMS = 4 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *rooms() const { - return GetPointer> *>(VT_ROOMS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ROOMS) && - verifier.VerifyVector(rooms()) && - verifier.VerifyVectorOfTables(rooms()) && - verifier.EndTable(); - } -}; - -struct GetRoomDataExternalListResponseBuilder { - typedef GetRoomDataExternalListResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_rooms(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rooms) { - fbb_.AddOffset(GetRoomDataExternalListResponse::VT_ROOMS, rooms); - } - explicit GetRoomDataExternalListResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetRoomDataExternalListResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rooms = 0) { - GetRoomDataExternalListResponseBuilder builder_(_fbb); - builder_.add_rooms(rooms); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetRoomDataExternalListResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *rooms = nullptr) { - auto rooms__ = rooms ? _fbb.CreateVector<::flatbuffers::Offset>(*rooms) : 0; - return CreateGetRoomDataExternalListResponse( - _fbb, - rooms__); -} - -struct SetRoomDataExternalRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SetRoomDataExternalRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_ROOMSEARCHABLEINTATTREXTERNAL = 6, - VT_ROOMSEARCHABLEBINATTREXTERNAL = 8, - VT_ROOMBINATTREXTERNAL = 10 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomSearchableIntAttrExternal() const { - return GetPointer> *>(VT_ROOMSEARCHABLEINTATTREXTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomSearchableBinAttrExternal() const { - return GetPointer> *>(VT_ROOMSEARCHABLEBINATTREXTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomBinAttrExternal() const { - return GetPointer> *>(VT_ROOMBINATTREXTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyOffset(verifier, VT_ROOMSEARCHABLEINTATTREXTERNAL) && - verifier.VerifyVector(roomSearchableIntAttrExternal()) && - verifier.VerifyVectorOfTables(roomSearchableIntAttrExternal()) && - VerifyOffset(verifier, VT_ROOMSEARCHABLEBINATTREXTERNAL) && - verifier.VerifyVector(roomSearchableBinAttrExternal()) && - verifier.VerifyVectorOfTables(roomSearchableBinAttrExternal()) && - VerifyOffset(verifier, VT_ROOMBINATTREXTERNAL) && - verifier.VerifyVector(roomBinAttrExternal()) && - verifier.VerifyVectorOfTables(roomBinAttrExternal()) && - verifier.EndTable(); - } -}; - -struct SetRoomDataExternalRequestBuilder { - typedef SetRoomDataExternalRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(SetRoomDataExternalRequest::VT_ROOMID, roomId, 0); - } - void add_roomSearchableIntAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableIntAttrExternal) { - fbb_.AddOffset(SetRoomDataExternalRequest::VT_ROOMSEARCHABLEINTATTREXTERNAL, roomSearchableIntAttrExternal); - } - void add_roomSearchableBinAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableBinAttrExternal) { - fbb_.AddOffset(SetRoomDataExternalRequest::VT_ROOMSEARCHABLEBINATTREXTERNAL, roomSearchableBinAttrExternal); - } - void add_roomBinAttrExternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrExternal) { - fbb_.AddOffset(SetRoomDataExternalRequest::VT_ROOMBINATTREXTERNAL, roomBinAttrExternal); - } - explicit SetRoomDataExternalRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSetRoomDataExternalRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableIntAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomSearchableBinAttrExternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrExternal = 0) { - SetRoomDataExternalRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_roomBinAttrExternal(roomBinAttrExternal); - builder_.add_roomSearchableBinAttrExternal(roomSearchableBinAttrExternal); - builder_.add_roomSearchableIntAttrExternal(roomSearchableIntAttrExternal); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSetRoomDataExternalRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - const std::vector<::flatbuffers::Offset> *roomSearchableIntAttrExternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomSearchableBinAttrExternal = nullptr, - const std::vector<::flatbuffers::Offset> *roomBinAttrExternal = nullptr) { - auto roomSearchableIntAttrExternal__ = roomSearchableIntAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomSearchableIntAttrExternal) : 0; - auto roomSearchableBinAttrExternal__ = roomSearchableBinAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomSearchableBinAttrExternal) : 0; - auto roomBinAttrExternal__ = roomBinAttrExternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomBinAttrExternal) : 0; - return CreateSetRoomDataExternalRequest( - _fbb, - roomId, - roomSearchableIntAttrExternal__, - roomSearchableBinAttrExternal__, - roomBinAttrExternal__); -} - -struct SetRoomDataInternalRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SetRoomDataInternalRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_FLAGFILTER = 6, - VT_FLAGATTR = 8, - VT_ROOMBINATTRINTERNAL = 10, - VT_PASSWORDCONFIG = 12, - VT_PASSWORDSLOTMASK = 14, - VT_OWNERPRIVILEGERANK = 16 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint32_t flagFilter() const { - return GetField(VT_FLAGFILTER, 0); - } - uint32_t flagAttr() const { - return GetField(VT_FLAGATTR, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomBinAttrInternal() const { - return GetPointer> *>(VT_ROOMBINATTRINTERNAL); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *passwordConfig() const { - return GetPointer> *>(VT_PASSWORDCONFIG); - } - const ::flatbuffers::Vector *passwordSlotMask() const { - return GetPointer *>(VT_PASSWORDSLOTMASK); - } - const ::flatbuffers::Vector *ownerPrivilegeRank() const { - return GetPointer *>(VT_OWNERPRIVILEGERANK); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_FLAGFILTER, 4) && - VerifyField(verifier, VT_FLAGATTR, 4) && - VerifyOffset(verifier, VT_ROOMBINATTRINTERNAL) && - verifier.VerifyVector(roomBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomBinAttrInternal()) && - VerifyOffset(verifier, VT_PASSWORDCONFIG) && - verifier.VerifyVector(passwordConfig()) && - verifier.VerifyVectorOfTables(passwordConfig()) && - VerifyOffset(verifier, VT_PASSWORDSLOTMASK) && - verifier.VerifyVector(passwordSlotMask()) && - VerifyOffset(verifier, VT_OWNERPRIVILEGERANK) && - verifier.VerifyVector(ownerPrivilegeRank()) && - verifier.EndTable(); - } -}; - -struct SetRoomDataInternalRequestBuilder { - typedef SetRoomDataInternalRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(SetRoomDataInternalRequest::VT_ROOMID, roomId, 0); - } - void add_flagFilter(uint32_t flagFilter) { - fbb_.AddElement(SetRoomDataInternalRequest::VT_FLAGFILTER, flagFilter, 0); - } - void add_flagAttr(uint32_t flagAttr) { - fbb_.AddElement(SetRoomDataInternalRequest::VT_FLAGATTR, flagAttr, 0); - } - void add_roomBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrInternal) { - fbb_.AddOffset(SetRoomDataInternalRequest::VT_ROOMBINATTRINTERNAL, roomBinAttrInternal); - } - void add_passwordConfig(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> passwordConfig) { - fbb_.AddOffset(SetRoomDataInternalRequest::VT_PASSWORDCONFIG, passwordConfig); - } - void add_passwordSlotMask(::flatbuffers::Offset<::flatbuffers::Vector> passwordSlotMask) { - fbb_.AddOffset(SetRoomDataInternalRequest::VT_PASSWORDSLOTMASK, passwordSlotMask); - } - void add_ownerPrivilegeRank(::flatbuffers::Offset<::flatbuffers::Vector> ownerPrivilegeRank) { - fbb_.AddOffset(SetRoomDataInternalRequest::VT_OWNERPRIVILEGERANK, ownerPrivilegeRank); - } - explicit SetRoomDataInternalRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSetRoomDataInternalRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint32_t flagFilter = 0, - uint32_t flagAttr = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomBinAttrInternal = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> passwordConfig = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> passwordSlotMask = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> ownerPrivilegeRank = 0) { - SetRoomDataInternalRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_ownerPrivilegeRank(ownerPrivilegeRank); - builder_.add_passwordSlotMask(passwordSlotMask); - builder_.add_passwordConfig(passwordConfig); - builder_.add_roomBinAttrInternal(roomBinAttrInternal); - builder_.add_flagAttr(flagAttr); - builder_.add_flagFilter(flagFilter); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSetRoomDataInternalRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint32_t flagFilter = 0, - uint32_t flagAttr = 0, - const std::vector<::flatbuffers::Offset> *roomBinAttrInternal = nullptr, - const std::vector<::flatbuffers::Offset> *passwordConfig = nullptr, - const std::vector *passwordSlotMask = nullptr, - const std::vector *ownerPrivilegeRank = nullptr) { - auto roomBinAttrInternal__ = roomBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomBinAttrInternal) : 0; - auto passwordConfig__ = passwordConfig ? _fbb.CreateVector<::flatbuffers::Offset>(*passwordConfig) : 0; - auto passwordSlotMask__ = passwordSlotMask ? _fbb.CreateVector(*passwordSlotMask) : 0; - auto ownerPrivilegeRank__ = ownerPrivilegeRank ? _fbb.CreateVector(*ownerPrivilegeRank) : 0; - return CreateSetRoomDataInternalRequest( - _fbb, - roomId, - flagFilter, - flagAttr, - roomBinAttrInternal__, - passwordConfig__, - passwordSlotMask__, - ownerPrivilegeRank__); -} - -struct GetRoomMemberDataInternalRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetRoomMemberDataInternalRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_MEMBERID = 6, - VT_ATTRID = 8 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint16_t memberId() const { - return GetField(VT_MEMBERID, 0); - } - const ::flatbuffers::Vector *attrId() const { - return GetPointer *>(VT_ATTRID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_MEMBERID, 2) && - VerifyOffset(verifier, VT_ATTRID) && - verifier.VerifyVector(attrId()) && - verifier.EndTable(); - } -}; - -struct GetRoomMemberDataInternalRequestBuilder { - typedef GetRoomMemberDataInternalRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(GetRoomMemberDataInternalRequest::VT_ROOMID, roomId, 0); - } - void add_memberId(uint16_t memberId) { - fbb_.AddElement(GetRoomMemberDataInternalRequest::VT_MEMBERID, memberId, 0); - } - void add_attrId(::flatbuffers::Offset<::flatbuffers::Vector> attrId) { - fbb_.AddOffset(GetRoomMemberDataInternalRequest::VT_ATTRID, attrId); - } - explicit GetRoomMemberDataInternalRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetRoomMemberDataInternalRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint16_t memberId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> attrId = 0) { - GetRoomMemberDataInternalRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_attrId(attrId); - builder_.add_memberId(memberId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetRoomMemberDataInternalRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint16_t memberId = 0, - const std::vector *attrId = nullptr) { - auto attrId__ = attrId ? _fbb.CreateVector(*attrId) : 0; - return CreateGetRoomMemberDataInternalRequest( - _fbb, - roomId, - memberId, - attrId__); -} - -struct SetRoomMemberDataInternalRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SetRoomMemberDataInternalRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_MEMBERID = 6, - VT_TEAMID = 8, - VT_ROOMMEMBERBINATTRINTERNAL = 10 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint16_t memberId() const { - return GetField(VT_MEMBERID, 0); - } - uint8_t teamId() const { - return GetField(VT_TEAMID, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *roomMemberBinAttrInternal() const { - return GetPointer> *>(VT_ROOMMEMBERBINATTRINTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_MEMBERID, 2) && - VerifyField(verifier, VT_TEAMID, 1) && - VerifyOffset(verifier, VT_ROOMMEMBERBINATTRINTERNAL) && - verifier.VerifyVector(roomMemberBinAttrInternal()) && - verifier.VerifyVectorOfTables(roomMemberBinAttrInternal()) && - verifier.EndTable(); - } -}; - -struct SetRoomMemberDataInternalRequestBuilder { - typedef SetRoomMemberDataInternalRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(SetRoomMemberDataInternalRequest::VT_ROOMID, roomId, 0); - } - void add_memberId(uint16_t memberId) { - fbb_.AddElement(SetRoomMemberDataInternalRequest::VT_MEMBERID, memberId, 0); - } - void add_teamId(uint8_t teamId) { - fbb_.AddElement(SetRoomMemberDataInternalRequest::VT_TEAMID, teamId, 0); - } - void add_roomMemberBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal) { - fbb_.AddOffset(SetRoomMemberDataInternalRequest::VT_ROOMMEMBERBINATTRINTERNAL, roomMemberBinAttrInternal); - } - explicit SetRoomMemberDataInternalRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSetRoomMemberDataInternalRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint16_t memberId = 0, - uint8_t teamId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> roomMemberBinAttrInternal = 0) { - SetRoomMemberDataInternalRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_roomMemberBinAttrInternal(roomMemberBinAttrInternal); - builder_.add_memberId(memberId); - builder_.add_teamId(teamId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSetRoomMemberDataInternalRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint16_t memberId = 0, - uint8_t teamId = 0, - const std::vector<::flatbuffers::Offset> *roomMemberBinAttrInternal = nullptr) { - auto roomMemberBinAttrInternal__ = roomMemberBinAttrInternal ? _fbb.CreateVector<::flatbuffers::Offset>(*roomMemberBinAttrInternal) : 0; - return CreateSetRoomMemberDataInternalRequest( - _fbb, - roomId, - memberId, - teamId, - roomMemberBinAttrInternal__); -} - -struct SetUserInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SetUserInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SERVERID = 4, - VT_USERBINATTR = 6 - }; - uint16_t serverId() const { - return GetField(VT_SERVERID, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *userBinAttr() const { - return GetPointer> *>(VT_USERBINATTR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SERVERID, 2) && - VerifyOffset(verifier, VT_USERBINATTR) && - verifier.VerifyVector(userBinAttr()) && - verifier.VerifyVectorOfTables(userBinAttr()) && - verifier.EndTable(); - } -}; - -struct SetUserInfoBuilder { - typedef SetUserInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_serverId(uint16_t serverId) { - fbb_.AddElement(SetUserInfo::VT_SERVERID, serverId, 0); - } - void add_userBinAttr(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> userBinAttr) { - fbb_.AddOffset(SetUserInfo::VT_USERBINATTR, userBinAttr); - } - explicit SetUserInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSetUserInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> userBinAttr = 0) { - SetUserInfoBuilder builder_(_fbb); - builder_.add_userBinAttr(userBinAttr); - builder_.add_serverId(serverId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSetUserInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - const std::vector<::flatbuffers::Offset> *userBinAttr = nullptr) { - auto userBinAttr__ = userBinAttr ? _fbb.CreateVector<::flatbuffers::Offset>(*userBinAttr) : 0; - return CreateSetUserInfo( - _fbb, - serverId, - userBinAttr__); -} - -struct GetRoomDataInternalRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetRoomDataInternalRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_ATTRID = 6 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - const ::flatbuffers::Vector *attrId() const { - return GetPointer *>(VT_ATTRID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyOffset(verifier, VT_ATTRID) && - verifier.VerifyVector(attrId()) && - verifier.EndTable(); - } -}; - -struct GetRoomDataInternalRequestBuilder { - typedef GetRoomDataInternalRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(GetRoomDataInternalRequest::VT_ROOMID, roomId, 0); - } - void add_attrId(::flatbuffers::Offset<::flatbuffers::Vector> attrId) { - fbb_.AddOffset(GetRoomDataInternalRequest::VT_ATTRID, attrId); - } - explicit GetRoomDataInternalRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetRoomDataInternalRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> attrId = 0) { - GetRoomDataInternalRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_attrId(attrId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetRoomDataInternalRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - const std::vector *attrId = nullptr) { - auto attrId__ = attrId ? _fbb.CreateVector(*attrId) : 0; - return CreateGetRoomDataInternalRequest( - _fbb, - roomId, - attrId__); -} - -struct RoomMemberUpdateInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomMemberUpdateInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMMEMBERDATAINTERNAL = 4, - VT_EVENTCAUSE = 6, - VT_OPTDATA = 8 - }; - const RoomMemberDataInternal *roomMemberDataInternal() const { - return GetPointer(VT_ROOMMEMBERDATAINTERNAL); - } - uint8_t eventCause() const { - return GetField(VT_EVENTCAUSE, 0); - } - const PresenceOptionData *optData() const { - return GetPointer(VT_OPTDATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ROOMMEMBERDATAINTERNAL) && - verifier.VerifyTable(roomMemberDataInternal()) && - VerifyField(verifier, VT_EVENTCAUSE, 1) && - VerifyOffset(verifier, VT_OPTDATA) && - verifier.VerifyTable(optData()) && - verifier.EndTable(); - } -}; - -struct RoomMemberUpdateInfoBuilder { - typedef RoomMemberUpdateInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomMemberDataInternal(::flatbuffers::Offset roomMemberDataInternal) { - fbb_.AddOffset(RoomMemberUpdateInfo::VT_ROOMMEMBERDATAINTERNAL, roomMemberDataInternal); - } - void add_eventCause(uint8_t eventCause) { - fbb_.AddElement(RoomMemberUpdateInfo::VT_EVENTCAUSE, eventCause, 0); - } - void add_optData(::flatbuffers::Offset optData) { - fbb_.AddOffset(RoomMemberUpdateInfo::VT_OPTDATA, optData); - } - explicit RoomMemberUpdateInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomMemberUpdateInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset roomMemberDataInternal = 0, - uint8_t eventCause = 0, - ::flatbuffers::Offset optData = 0) { - RoomMemberUpdateInfoBuilder builder_(_fbb); - builder_.add_optData(optData); - builder_.add_roomMemberDataInternal(roomMemberDataInternal); - builder_.add_eventCause(eventCause); - return builder_.Finish(); -} - -struct NotificationUserJoinedRoom FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef NotificationUserJoinedRoomBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOM_ID = 4, - VT_UPDATE_INFO = 6, - VT_SIGNALING = 8 - }; - uint64_t room_id() const { - return GetField(VT_ROOM_ID, 0); - } - const RoomMemberUpdateInfo *update_info() const { - return GetPointer(VT_UPDATE_INFO); - } - const SignalingAddr *signaling() const { - return GetPointer(VT_SIGNALING); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOM_ID, 8) && - VerifyOffset(verifier, VT_UPDATE_INFO) && - verifier.VerifyTable(update_info()) && - VerifyOffset(verifier, VT_SIGNALING) && - verifier.VerifyTable(signaling()) && - verifier.EndTable(); - } -}; - -struct NotificationUserJoinedRoomBuilder { - typedef NotificationUserJoinedRoom Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_room_id(uint64_t room_id) { - fbb_.AddElement(NotificationUserJoinedRoom::VT_ROOM_ID, room_id, 0); - } - void add_update_info(::flatbuffers::Offset update_info) { - fbb_.AddOffset(NotificationUserJoinedRoom::VT_UPDATE_INFO, update_info); - } - void add_signaling(::flatbuffers::Offset signaling) { - fbb_.AddOffset(NotificationUserJoinedRoom::VT_SIGNALING, signaling); - } - explicit NotificationUserJoinedRoomBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateNotificationUserJoinedRoom( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t room_id = 0, - ::flatbuffers::Offset update_info = 0, - ::flatbuffers::Offset signaling = 0) { - NotificationUserJoinedRoomBuilder builder_(_fbb); - builder_.add_room_id(room_id); - builder_.add_signaling(signaling); - builder_.add_update_info(update_info); - return builder_.Finish(); -} - -struct RoomUpdateInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomUpdateInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_EVENTCAUSE = 4, - VT_ERRORCODE = 6, - VT_OPTDATA = 8 - }; - uint8_t eventCause() const { - return GetField(VT_EVENTCAUSE, 0); - } - int32_t errorCode() const { - return GetField(VT_ERRORCODE, 0); - } - const PresenceOptionData *optData() const { - return GetPointer(VT_OPTDATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_EVENTCAUSE, 1) && - VerifyField(verifier, VT_ERRORCODE, 4) && - VerifyOffset(verifier, VT_OPTDATA) && - verifier.VerifyTable(optData()) && - verifier.EndTable(); - } -}; - -struct RoomUpdateInfoBuilder { - typedef RoomUpdateInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_eventCause(uint8_t eventCause) { - fbb_.AddElement(RoomUpdateInfo::VT_EVENTCAUSE, eventCause, 0); - } - void add_errorCode(int32_t errorCode) { - fbb_.AddElement(RoomUpdateInfo::VT_ERRORCODE, errorCode, 0); - } - void add_optData(::flatbuffers::Offset optData) { - fbb_.AddOffset(RoomUpdateInfo::VT_OPTDATA, optData); - } - explicit RoomUpdateInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomUpdateInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint8_t eventCause = 0, - int32_t errorCode = 0, - ::flatbuffers::Offset optData = 0) { - RoomUpdateInfoBuilder builder_(_fbb); - builder_.add_optData(optData); - builder_.add_errorCode(errorCode); - builder_.add_eventCause(eventCause); - return builder_.Finish(); -} - -struct RoomDataInternalUpdateInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomDataInternalUpdateInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_NEWROOMDATAINTERNAL = 4, - VT_PREVFLAGATTR = 6, - VT_PREVROOMPASSWORDSLOTMASK = 8, - VT_NEWROOMGROUP = 10, - VT_NEWROOMBINATTRINTERNAL = 12 - }; - const RoomDataInternal *newRoomDataInternal() const { - return GetPointer(VT_NEWROOMDATAINTERNAL); - } - uint32_t prevFlagAttr() const { - return GetField(VT_PREVFLAGATTR, 0); - } - uint64_t prevRoomPasswordSlotMask() const { - return GetField(VT_PREVROOMPASSWORDSLOTMASK, 0); - } - const ::flatbuffers::Vector *newRoomGroup() const { - return GetPointer *>(VT_NEWROOMGROUP); - } - const ::flatbuffers::Vector *newRoomBinAttrInternal() const { - return GetPointer *>(VT_NEWROOMBINATTRINTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_NEWROOMDATAINTERNAL) && - verifier.VerifyTable(newRoomDataInternal()) && - VerifyField(verifier, VT_PREVFLAGATTR, 4) && - VerifyField(verifier, VT_PREVROOMPASSWORDSLOTMASK, 8) && - VerifyOffset(verifier, VT_NEWROOMGROUP) && - verifier.VerifyVector(newRoomGroup()) && - VerifyOffset(verifier, VT_NEWROOMBINATTRINTERNAL) && - verifier.VerifyVector(newRoomBinAttrInternal()) && - verifier.EndTable(); - } -}; - -struct RoomDataInternalUpdateInfoBuilder { - typedef RoomDataInternalUpdateInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_newRoomDataInternal(::flatbuffers::Offset newRoomDataInternal) { - fbb_.AddOffset(RoomDataInternalUpdateInfo::VT_NEWROOMDATAINTERNAL, newRoomDataInternal); - } - void add_prevFlagAttr(uint32_t prevFlagAttr) { - fbb_.AddElement(RoomDataInternalUpdateInfo::VT_PREVFLAGATTR, prevFlagAttr, 0); - } - void add_prevRoomPasswordSlotMask(uint64_t prevRoomPasswordSlotMask) { - fbb_.AddElement(RoomDataInternalUpdateInfo::VT_PREVROOMPASSWORDSLOTMASK, prevRoomPasswordSlotMask, 0); - } - void add_newRoomGroup(::flatbuffers::Offset<::flatbuffers::Vector> newRoomGroup) { - fbb_.AddOffset(RoomDataInternalUpdateInfo::VT_NEWROOMGROUP, newRoomGroup); - } - void add_newRoomBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector> newRoomBinAttrInternal) { - fbb_.AddOffset(RoomDataInternalUpdateInfo::VT_NEWROOMBINATTRINTERNAL, newRoomBinAttrInternal); - } - explicit RoomDataInternalUpdateInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomDataInternalUpdateInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset newRoomDataInternal = 0, - uint32_t prevFlagAttr = 0, - uint64_t prevRoomPasswordSlotMask = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> newRoomGroup = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> newRoomBinAttrInternal = 0) { - RoomDataInternalUpdateInfoBuilder builder_(_fbb); - builder_.add_prevRoomPasswordSlotMask(prevRoomPasswordSlotMask); - builder_.add_newRoomBinAttrInternal(newRoomBinAttrInternal); - builder_.add_newRoomGroup(newRoomGroup); - builder_.add_prevFlagAttr(prevFlagAttr); - builder_.add_newRoomDataInternal(newRoomDataInternal); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomDataInternalUpdateInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset newRoomDataInternal = 0, - uint32_t prevFlagAttr = 0, - uint64_t prevRoomPasswordSlotMask = 0, - const std::vector *newRoomGroup = nullptr, - const std::vector *newRoomBinAttrInternal = nullptr) { - auto newRoomGroup__ = newRoomGroup ? _fbb.CreateVector(*newRoomGroup) : 0; - auto newRoomBinAttrInternal__ = newRoomBinAttrInternal ? _fbb.CreateVector(*newRoomBinAttrInternal) : 0; - return CreateRoomDataInternalUpdateInfo( - _fbb, - newRoomDataInternal, - prevFlagAttr, - prevRoomPasswordSlotMask, - newRoomGroup__, - newRoomBinAttrInternal__); -} - -struct RoomMemberDataInternalUpdateInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomMemberDataInternalUpdateInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_NEWROOMMEMBERDATAINTERNAL = 4, - VT_PREVFLAGATTR = 6, - VT_PREVTEAMID = 8, - VT_NEWROOMMEMBERBINATTRINTERNAL = 10 - }; - const RoomMemberDataInternal *newRoomMemberDataInternal() const { - return GetPointer(VT_NEWROOMMEMBERDATAINTERNAL); - } - uint32_t prevFlagAttr() const { - return GetField(VT_PREVFLAGATTR, 0); - } - uint8_t prevTeamId() const { - return GetField(VT_PREVTEAMID, 0); - } - const ::flatbuffers::Vector *newRoomMemberBinAttrInternal() const { - return GetPointer *>(VT_NEWROOMMEMBERBINATTRINTERNAL); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_NEWROOMMEMBERDATAINTERNAL) && - verifier.VerifyTable(newRoomMemberDataInternal()) && - VerifyField(verifier, VT_PREVFLAGATTR, 4) && - VerifyField(verifier, VT_PREVTEAMID, 1) && - VerifyOffset(verifier, VT_NEWROOMMEMBERBINATTRINTERNAL) && - verifier.VerifyVector(newRoomMemberBinAttrInternal()) && - verifier.EndTable(); - } -}; - -struct RoomMemberDataInternalUpdateInfoBuilder { - typedef RoomMemberDataInternalUpdateInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_newRoomMemberDataInternal(::flatbuffers::Offset newRoomMemberDataInternal) { - fbb_.AddOffset(RoomMemberDataInternalUpdateInfo::VT_NEWROOMMEMBERDATAINTERNAL, newRoomMemberDataInternal); - } - void add_prevFlagAttr(uint32_t prevFlagAttr) { - fbb_.AddElement(RoomMemberDataInternalUpdateInfo::VT_PREVFLAGATTR, prevFlagAttr, 0); - } - void add_prevTeamId(uint8_t prevTeamId) { - fbb_.AddElement(RoomMemberDataInternalUpdateInfo::VT_PREVTEAMID, prevTeamId, 0); - } - void add_newRoomMemberBinAttrInternal(::flatbuffers::Offset<::flatbuffers::Vector> newRoomMemberBinAttrInternal) { - fbb_.AddOffset(RoomMemberDataInternalUpdateInfo::VT_NEWROOMMEMBERBINATTRINTERNAL, newRoomMemberBinAttrInternal); - } - explicit RoomMemberDataInternalUpdateInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomMemberDataInternalUpdateInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset newRoomMemberDataInternal = 0, - uint32_t prevFlagAttr = 0, - uint8_t prevTeamId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> newRoomMemberBinAttrInternal = 0) { - RoomMemberDataInternalUpdateInfoBuilder builder_(_fbb); - builder_.add_newRoomMemberBinAttrInternal(newRoomMemberBinAttrInternal); - builder_.add_prevFlagAttr(prevFlagAttr); - builder_.add_newRoomMemberDataInternal(newRoomMemberDataInternal); - builder_.add_prevTeamId(prevTeamId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomMemberDataInternalUpdateInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset newRoomMemberDataInternal = 0, - uint32_t prevFlagAttr = 0, - uint8_t prevTeamId = 0, - const std::vector *newRoomMemberBinAttrInternal = nullptr) { - auto newRoomMemberBinAttrInternal__ = newRoomMemberBinAttrInternal ? _fbb.CreateVector(*newRoomMemberBinAttrInternal) : 0; - return CreateRoomMemberDataInternalUpdateInfo( - _fbb, - newRoomMemberDataInternal, - prevFlagAttr, - prevTeamId, - newRoomMemberBinAttrInternal__); -} - -struct GetPingInfoResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetPingInfoResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SERVERID = 4, - VT_WORLDID = 6, - VT_ROOMID = 8, - VT_RTT = 10 - }; - uint16_t serverId() const { - return GetField(VT_SERVERID, 0); - } - uint32_t worldId() const { - return GetField(VT_WORLDID, 0); - } - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint32_t rtt() const { - return GetField(VT_RTT, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SERVERID, 2) && - VerifyField(verifier, VT_WORLDID, 4) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_RTT, 4) && - verifier.EndTable(); - } -}; - -struct GetPingInfoResponseBuilder { - typedef GetPingInfoResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_serverId(uint16_t serverId) { - fbb_.AddElement(GetPingInfoResponse::VT_SERVERID, serverId, 0); - } - void add_worldId(uint32_t worldId) { - fbb_.AddElement(GetPingInfoResponse::VT_WORLDID, worldId, 0); - } - void add_roomId(uint64_t roomId) { - fbb_.AddElement(GetPingInfoResponse::VT_ROOMID, roomId, 0); - } - void add_rtt(uint32_t rtt) { - fbb_.AddElement(GetPingInfoResponse::VT_RTT, rtt, 0); - } - explicit GetPingInfoResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetPingInfoResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint16_t serverId = 0, - uint32_t worldId = 0, - uint64_t roomId = 0, - uint32_t rtt = 0) { - GetPingInfoResponseBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_rtt(rtt); - builder_.add_worldId(worldId); - builder_.add_serverId(serverId); - return builder_.Finish(); -} - -struct SendRoomMessageRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SendRoomMessageRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_CASTTYPE = 6, - VT_DST = 8, - VT_MSG = 10, - VT_OPTION = 12 - }; - uint64_t roomId() const { - return GetField(VT_ROOMID, 0); - } - uint8_t castType() const { - return GetField(VT_CASTTYPE, 0); - } - const ::flatbuffers::Vector *dst() const { - return GetPointer *>(VT_DST); - } - const ::flatbuffers::Vector *msg() const { - return GetPointer *>(VT_MSG); - } - uint8_t option() const { - return GetField(VT_OPTION, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ROOMID, 8) && - VerifyField(verifier, VT_CASTTYPE, 1) && - VerifyOffset(verifier, VT_DST) && - verifier.VerifyVector(dst()) && - VerifyOffset(verifier, VT_MSG) && - verifier.VerifyVector(msg()) && - VerifyField(verifier, VT_OPTION, 1) && - verifier.EndTable(); - } -}; - -struct SendRoomMessageRequestBuilder { - typedef SendRoomMessageRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomId(uint64_t roomId) { - fbb_.AddElement(SendRoomMessageRequest::VT_ROOMID, roomId, 0); - } - void add_castType(uint8_t castType) { - fbb_.AddElement(SendRoomMessageRequest::VT_CASTTYPE, castType, 0); - } - void add_dst(::flatbuffers::Offset<::flatbuffers::Vector> dst) { - fbb_.AddOffset(SendRoomMessageRequest::VT_DST, dst); - } - void add_msg(::flatbuffers::Offset<::flatbuffers::Vector> msg) { - fbb_.AddOffset(SendRoomMessageRequest::VT_MSG, msg); - } - void add_option(uint8_t option) { - fbb_.AddElement(SendRoomMessageRequest::VT_OPTION, option, 0); - } - explicit SendRoomMessageRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSendRoomMessageRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint8_t castType = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> dst = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> msg = 0, - uint8_t option = 0) { - SendRoomMessageRequestBuilder builder_(_fbb); - builder_.add_roomId(roomId); - builder_.add_msg(msg); - builder_.add_dst(dst); - builder_.add_option(option); - builder_.add_castType(castType); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSendRoomMessageRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint64_t roomId = 0, - uint8_t castType = 0, - const std::vector *dst = nullptr, - const std::vector *msg = nullptr, - uint8_t option = 0) { - auto dst__ = dst ? _fbb.CreateVector(*dst) : 0; - auto msg__ = msg ? _fbb.CreateVector(*msg) : 0; - return CreateSendRoomMessageRequest( - _fbb, - roomId, - castType, - dst__, - msg__, - option); -} - -struct RoomMessageInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RoomMessageInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_FILTERED = 4, - VT_CASTTYPE = 6, - VT_DST = 8, - VT_SRCMEMBER = 10, - VT_MSG = 12 - }; - bool filtered() const { - return GetField(VT_FILTERED, 0) != 0; - } - uint8_t castType() const { - return GetField(VT_CASTTYPE, 0); - } - const ::flatbuffers::Vector *dst() const { - return GetPointer *>(VT_DST); - } - const UserInfo *srcMember() const { - return GetPointer(VT_SRCMEMBER); - } - const ::flatbuffers::Vector *msg() const { - return GetPointer *>(VT_MSG); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_FILTERED, 1) && - VerifyField(verifier, VT_CASTTYPE, 1) && - VerifyOffset(verifier, VT_DST) && - verifier.VerifyVector(dst()) && - VerifyOffset(verifier, VT_SRCMEMBER) && - verifier.VerifyTable(srcMember()) && - VerifyOffset(verifier, VT_MSG) && - verifier.VerifyVector(msg()) && - verifier.EndTable(); - } -}; - -struct RoomMessageInfoBuilder { - typedef RoomMessageInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_filtered(bool filtered) { - fbb_.AddElement(RoomMessageInfo::VT_FILTERED, static_cast(filtered), 0); - } - void add_castType(uint8_t castType) { - fbb_.AddElement(RoomMessageInfo::VT_CASTTYPE, castType, 0); - } - void add_dst(::flatbuffers::Offset<::flatbuffers::Vector> dst) { - fbb_.AddOffset(RoomMessageInfo::VT_DST, dst); - } - void add_srcMember(::flatbuffers::Offset srcMember) { - fbb_.AddOffset(RoomMessageInfo::VT_SRCMEMBER, srcMember); - } - void add_msg(::flatbuffers::Offset<::flatbuffers::Vector> msg) { - fbb_.AddOffset(RoomMessageInfo::VT_MSG, msg); - } - explicit RoomMessageInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRoomMessageInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - bool filtered = false, - uint8_t castType = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> dst = 0, - ::flatbuffers::Offset srcMember = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> msg = 0) { - RoomMessageInfoBuilder builder_(_fbb); - builder_.add_msg(msg); - builder_.add_srcMember(srcMember); - builder_.add_dst(dst); - builder_.add_castType(castType); - builder_.add_filtered(filtered); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRoomMessageInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - bool filtered = false, - uint8_t castType = 0, - const std::vector *dst = nullptr, - ::flatbuffers::Offset srcMember = 0, - const std::vector *msg = nullptr) { - auto dst__ = dst ? _fbb.CreateVector(*dst) : 0; - auto msg__ = msg ? _fbb.CreateVector(*msg) : 0; - return CreateRoomMessageInfo( - _fbb, - filtered, - castType, - dst__, - srcMember, - msg__); -} - -struct MessageDetails FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MessageDetailsBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_COMMUNICATIONID = 4, - VT_MSGID = 6, - VT_MAINTYPE = 8, - VT_SUBTYPE = 10, - VT_MSGFEATURES = 12, - VT_SUBJECT = 14, - VT_BODY = 16, - VT_DATA = 18 - }; - const ::flatbuffers::String *communicationId() const { - return GetPointer(VT_COMMUNICATIONID); - } - uint64_t msgId() const { - return GetField(VT_MSGID, 0); - } - uint16_t mainType() const { - return GetField(VT_MAINTYPE, 0); - } - uint16_t subType() const { - return GetField(VT_SUBTYPE, 0); - } - uint32_t msgFeatures() const { - return GetField(VT_MSGFEATURES, 0); - } - const ::flatbuffers::String *subject() const { - return GetPointer(VT_SUBJECT); - } - const ::flatbuffers::String *body() const { - return GetPointer(VT_BODY); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_COMMUNICATIONID) && - verifier.VerifyString(communicationId()) && - VerifyField(verifier, VT_MSGID, 8) && - VerifyField(verifier, VT_MAINTYPE, 2) && - VerifyField(verifier, VT_SUBTYPE, 2) && - VerifyField(verifier, VT_MSGFEATURES, 4) && - VerifyOffset(verifier, VT_SUBJECT) && - verifier.VerifyString(subject()) && - VerifyOffset(verifier, VT_BODY) && - verifier.VerifyString(body()) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct MessageDetailsBuilder { - typedef MessageDetails Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_communicationId(::flatbuffers::Offset<::flatbuffers::String> communicationId) { - fbb_.AddOffset(MessageDetails::VT_COMMUNICATIONID, communicationId); - } - void add_msgId(uint64_t msgId) { - fbb_.AddElement(MessageDetails::VT_MSGID, msgId, 0); - } - void add_mainType(uint16_t mainType) { - fbb_.AddElement(MessageDetails::VT_MAINTYPE, mainType, 0); - } - void add_subType(uint16_t subType) { - fbb_.AddElement(MessageDetails::VT_SUBTYPE, subType, 0); - } - void add_msgFeatures(uint32_t msgFeatures) { - fbb_.AddElement(MessageDetails::VT_MSGFEATURES, msgFeatures, 0); - } - void add_subject(::flatbuffers::Offset<::flatbuffers::String> subject) { - fbb_.AddOffset(MessageDetails::VT_SUBJECT, subject); - } - void add_body(::flatbuffers::Offset<::flatbuffers::String> body) { - fbb_.AddOffset(MessageDetails::VT_BODY, body); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(MessageDetails::VT_DATA, data); - } - explicit MessageDetailsBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMessageDetails( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> communicationId = 0, - uint64_t msgId = 0, - uint16_t mainType = 0, - uint16_t subType = 0, - uint32_t msgFeatures = 0, - ::flatbuffers::Offset<::flatbuffers::String> subject = 0, - ::flatbuffers::Offset<::flatbuffers::String> body = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - MessageDetailsBuilder builder_(_fbb); - builder_.add_msgId(msgId); - builder_.add_data(data); - builder_.add_body(body); - builder_.add_subject(subject); - builder_.add_msgFeatures(msgFeatures); - builder_.add_communicationId(communicationId); - builder_.add_subType(subType); - builder_.add_mainType(mainType); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMessageDetailsDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *communicationId = nullptr, - uint64_t msgId = 0, - uint16_t mainType = 0, - uint16_t subType = 0, - uint32_t msgFeatures = 0, - const char *subject = nullptr, - const char *body = nullptr, - const std::vector *data = nullptr) { - auto communicationId__ = communicationId ? _fbb.CreateString(communicationId) : 0; - auto subject__ = subject ? _fbb.CreateString(subject) : 0; - auto body__ = body ? _fbb.CreateString(body) : 0; - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateMessageDetails( - _fbb, - communicationId__, - msgId, - mainType, - subType, - msgFeatures, - subject__, - body__, - data__); -} - -struct SendMessageRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SendMessageRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_MESSAGE = 4, - VT_NPIDS = 6 - }; - const ::flatbuffers::Vector *message() const { - return GetPointer *>(VT_MESSAGE); - } - const MessageDetails *message_nested_root() const { - const auto _f = message(); - return _f ? ::flatbuffers::GetRoot(_f->Data()) - : nullptr; - } - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *npids() const { - return GetPointer> *>(VT_NPIDS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_MESSAGE) && - verifier.VerifyVector(message()) && - verifier.VerifyNestedFlatBuffer(message(), nullptr) && - VerifyOffset(verifier, VT_NPIDS) && - verifier.VerifyVector(npids()) && - verifier.VerifyVectorOfStrings(npids()) && - verifier.EndTable(); - } -}; - -struct SendMessageRequestBuilder { - typedef SendMessageRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_message(::flatbuffers::Offset<::flatbuffers::Vector> message) { - fbb_.AddOffset(SendMessageRequest::VT_MESSAGE, message); - } - void add_npids(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> npids) { - fbb_.AddOffset(SendMessageRequest::VT_NPIDS, npids); - } - explicit SendMessageRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSendMessageRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> message = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> npids = 0) { - SendMessageRequestBuilder builder_(_fbb); - builder_.add_npids(npids); - builder_.add_message(message); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSendMessageRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *message = nullptr, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *npids = nullptr) { - auto message__ = message ? _fbb.CreateVector(*message) : 0; - auto npids__ = npids ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*npids) : 0; - return CreateSendMessageRequest( - _fbb, - message__, - npids__); -} - -struct BoardInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef BoardInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_RANKLIMIT = 4, - VT_UPDATEMODE = 6, - VT_SORTMODE = 8, - VT_UPLOADNUMLIMIT = 10, - VT_UPLOADSIZELIMIT = 12 - }; - uint32_t rankLimit() const { - return GetField(VT_RANKLIMIT, 0); - } - uint32_t updateMode() const { - return GetField(VT_UPDATEMODE, 0); - } - uint32_t sortMode() const { - return GetField(VT_SORTMODE, 0); - } - uint32_t uploadNumLimit() const { - return GetField(VT_UPLOADNUMLIMIT, 0); - } - uint32_t uploadSizeLimit() const { - return GetField(VT_UPLOADSIZELIMIT, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_RANKLIMIT, 4) && - VerifyField(verifier, VT_UPDATEMODE, 4) && - VerifyField(verifier, VT_SORTMODE, 4) && - VerifyField(verifier, VT_UPLOADNUMLIMIT, 4) && - VerifyField(verifier, VT_UPLOADSIZELIMIT, 4) && - verifier.EndTable(); - } -}; - -struct BoardInfoBuilder { - typedef BoardInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_rankLimit(uint32_t rankLimit) { - fbb_.AddElement(BoardInfo::VT_RANKLIMIT, rankLimit, 0); - } - void add_updateMode(uint32_t updateMode) { - fbb_.AddElement(BoardInfo::VT_UPDATEMODE, updateMode, 0); - } - void add_sortMode(uint32_t sortMode) { - fbb_.AddElement(BoardInfo::VT_SORTMODE, sortMode, 0); - } - void add_uploadNumLimit(uint32_t uploadNumLimit) { - fbb_.AddElement(BoardInfo::VT_UPLOADNUMLIMIT, uploadNumLimit, 0); - } - void add_uploadSizeLimit(uint32_t uploadSizeLimit) { - fbb_.AddElement(BoardInfo::VT_UPLOADSIZELIMIT, uploadSizeLimit, 0); - } - explicit BoardInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateBoardInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t rankLimit = 0, - uint32_t updateMode = 0, - uint32_t sortMode = 0, - uint32_t uploadNumLimit = 0, - uint32_t uploadSizeLimit = 0) { - BoardInfoBuilder builder_(_fbb); - builder_.add_uploadSizeLimit(uploadSizeLimit); - builder_.add_uploadNumLimit(uploadNumLimit); - builder_.add_sortMode(sortMode); - builder_.add_updateMode(updateMode); - builder_.add_rankLimit(rankLimit); - return builder_.Finish(); -} - -struct RecordScoreRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RecordScoreRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_BOARDID = 4, - VT_PCID = 6, - VT_SCORE = 8, - VT_COMMENT = 10, - VT_DATA = 12 - }; - uint32_t boardId() const { - return GetField(VT_BOARDID, 0); - } - int32_t pcId() const { - return GetField(VT_PCID, 0); - } - int64_t score() const { - return GetField(VT_SCORE, 0); - } - const ::flatbuffers::String *comment() const { - return GetPointer(VT_COMMENT); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_BOARDID, 4) && - VerifyField(verifier, VT_PCID, 4) && - VerifyField(verifier, VT_SCORE, 8) && - VerifyOffset(verifier, VT_COMMENT) && - verifier.VerifyString(comment()) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct RecordScoreRequestBuilder { - typedef RecordScoreRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_boardId(uint32_t boardId) { - fbb_.AddElement(RecordScoreRequest::VT_BOARDID, boardId, 0); - } - void add_pcId(int32_t pcId) { - fbb_.AddElement(RecordScoreRequest::VT_PCID, pcId, 0); - } - void add_score(int64_t score) { - fbb_.AddElement(RecordScoreRequest::VT_SCORE, score, 0); - } - void add_comment(::flatbuffers::Offset<::flatbuffers::String> comment) { - fbb_.AddOffset(RecordScoreRequest::VT_COMMENT, comment); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(RecordScoreRequest::VT_DATA, data); - } - explicit RecordScoreRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRecordScoreRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - int32_t pcId = 0, - int64_t score = 0, - ::flatbuffers::Offset<::flatbuffers::String> comment = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - RecordScoreRequestBuilder builder_(_fbb); - builder_.add_score(score); - builder_.add_data(data); - builder_.add_comment(comment); - builder_.add_pcId(pcId); - builder_.add_boardId(boardId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateRecordScoreRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - int32_t pcId = 0, - int64_t score = 0, - const char *comment = nullptr, - const std::vector *data = nullptr) { - auto comment__ = comment ? _fbb.CreateString(comment) : 0; - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateRecordScoreRequest( - _fbb, - boardId, - pcId, - score, - comment__, - data__); -} - -struct GetScoreRangeRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetScoreRangeRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_BOARDID = 4, - VT_STARTRANK = 6, - VT_NUMRANKS = 8, - VT_WITHCOMMENT = 10, - VT_WITHGAMEINFO = 12 - }; - uint32_t boardId() const { - return GetField(VT_BOARDID, 0); - } - uint32_t startRank() const { - return GetField(VT_STARTRANK, 0); - } - uint32_t numRanks() const { - return GetField(VT_NUMRANKS, 0); - } - bool withComment() const { - return GetField(VT_WITHCOMMENT, 0) != 0; - } - bool withGameInfo() const { - return GetField(VT_WITHGAMEINFO, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_BOARDID, 4) && - VerifyField(verifier, VT_STARTRANK, 4) && - VerifyField(verifier, VT_NUMRANKS, 4) && - VerifyField(verifier, VT_WITHCOMMENT, 1) && - VerifyField(verifier, VT_WITHGAMEINFO, 1) && - verifier.EndTable(); - } -}; - -struct GetScoreRangeRequestBuilder { - typedef GetScoreRangeRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_boardId(uint32_t boardId) { - fbb_.AddElement(GetScoreRangeRequest::VT_BOARDID, boardId, 0); - } - void add_startRank(uint32_t startRank) { - fbb_.AddElement(GetScoreRangeRequest::VT_STARTRANK, startRank, 0); - } - void add_numRanks(uint32_t numRanks) { - fbb_.AddElement(GetScoreRangeRequest::VT_NUMRANKS, numRanks, 0); - } - void add_withComment(bool withComment) { - fbb_.AddElement(GetScoreRangeRequest::VT_WITHCOMMENT, static_cast(withComment), 0); - } - void add_withGameInfo(bool withGameInfo) { - fbb_.AddElement(GetScoreRangeRequest::VT_WITHGAMEINFO, static_cast(withGameInfo), 0); - } - explicit GetScoreRangeRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetScoreRangeRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - uint32_t startRank = 0, - uint32_t numRanks = 0, - bool withComment = false, - bool withGameInfo = false) { - GetScoreRangeRequestBuilder builder_(_fbb); - builder_.add_numRanks(numRanks); - builder_.add_startRank(startRank); - builder_.add_boardId(boardId); - builder_.add_withGameInfo(withGameInfo); - builder_.add_withComment(withComment); - return builder_.Finish(); -} - -struct ScoreNpIdPcId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef ScoreNpIdPcIdBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_NPID = 4, - VT_PCID = 6 - }; - const ::flatbuffers::String *npid() const { - return GetPointer(VT_NPID); - } - int32_t pcId() const { - return GetField(VT_PCID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_NPID) && - verifier.VerifyString(npid()) && - VerifyField(verifier, VT_PCID, 4) && - verifier.EndTable(); - } -}; - -struct ScoreNpIdPcIdBuilder { - typedef ScoreNpIdPcId Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_npid(::flatbuffers::Offset<::flatbuffers::String> npid) { - fbb_.AddOffset(ScoreNpIdPcId::VT_NPID, npid); - } - void add_pcId(int32_t pcId) { - fbb_.AddElement(ScoreNpIdPcId::VT_PCID, pcId, 0); - } - explicit ScoreNpIdPcIdBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateScoreNpIdPcId( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> npid = 0, - int32_t pcId = 0) { - ScoreNpIdPcIdBuilder builder_(_fbb); - builder_.add_pcId(pcId); - builder_.add_npid(npid); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateScoreNpIdPcIdDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *npid = nullptr, - int32_t pcId = 0) { - auto npid__ = npid ? _fbb.CreateString(npid) : 0; - return CreateScoreNpIdPcId( - _fbb, - npid__, - pcId); -} - -struct GetScoreNpIdRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetScoreNpIdRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_BOARDID = 4, - VT_NPIDS = 6, - VT_WITHCOMMENT = 8, - VT_WITHGAMEINFO = 10 - }; - uint32_t boardId() const { - return GetField(VT_BOARDID, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *npids() const { - return GetPointer> *>(VT_NPIDS); - } - bool withComment() const { - return GetField(VT_WITHCOMMENT, 0) != 0; - } - bool withGameInfo() const { - return GetField(VT_WITHGAMEINFO, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_BOARDID, 4) && - VerifyOffset(verifier, VT_NPIDS) && - verifier.VerifyVector(npids()) && - verifier.VerifyVectorOfTables(npids()) && - VerifyField(verifier, VT_WITHCOMMENT, 1) && - VerifyField(verifier, VT_WITHGAMEINFO, 1) && - verifier.EndTable(); - } -}; - -struct GetScoreNpIdRequestBuilder { - typedef GetScoreNpIdRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_boardId(uint32_t boardId) { - fbb_.AddElement(GetScoreNpIdRequest::VT_BOARDID, boardId, 0); - } - void add_npids(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> npids) { - fbb_.AddOffset(GetScoreNpIdRequest::VT_NPIDS, npids); - } - void add_withComment(bool withComment) { - fbb_.AddElement(GetScoreNpIdRequest::VT_WITHCOMMENT, static_cast(withComment), 0); - } - void add_withGameInfo(bool withGameInfo) { - fbb_.AddElement(GetScoreNpIdRequest::VT_WITHGAMEINFO, static_cast(withGameInfo), 0); - } - explicit GetScoreNpIdRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetScoreNpIdRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> npids = 0, - bool withComment = false, - bool withGameInfo = false) { - GetScoreNpIdRequestBuilder builder_(_fbb); - builder_.add_npids(npids); - builder_.add_boardId(boardId); - builder_.add_withGameInfo(withGameInfo); - builder_.add_withComment(withComment); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetScoreNpIdRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - const std::vector<::flatbuffers::Offset> *npids = nullptr, - bool withComment = false, - bool withGameInfo = false) { - auto npids__ = npids ? _fbb.CreateVector<::flatbuffers::Offset>(*npids) : 0; - return CreateGetScoreNpIdRequest( - _fbb, - boardId, - npids__, - withComment, - withGameInfo); -} - -struct GetScoreFriendsRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetScoreFriendsRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_BOARDID = 4, - VT_INCLUDE_SELF = 6, - VT_MAX = 8, - VT_WITHCOMMENT = 10, - VT_WITHGAMEINFO = 12 - }; - uint32_t boardId() const { - return GetField(VT_BOARDID, 0); - } - bool include_self() const { - return GetField(VT_INCLUDE_SELF, 0) != 0; - } - uint32_t max() const { - return GetField(VT_MAX, 0); - } - bool withComment() const { - return GetField(VT_WITHCOMMENT, 0) != 0; - } - bool withGameInfo() const { - return GetField(VT_WITHGAMEINFO, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_BOARDID, 4) && - VerifyField(verifier, VT_INCLUDE_SELF, 1) && - VerifyField(verifier, VT_MAX, 4) && - VerifyField(verifier, VT_WITHCOMMENT, 1) && - VerifyField(verifier, VT_WITHGAMEINFO, 1) && - verifier.EndTable(); - } -}; - -struct GetScoreFriendsRequestBuilder { - typedef GetScoreFriendsRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_boardId(uint32_t boardId) { - fbb_.AddElement(GetScoreFriendsRequest::VT_BOARDID, boardId, 0); - } - void add_include_self(bool include_self) { - fbb_.AddElement(GetScoreFriendsRequest::VT_INCLUDE_SELF, static_cast(include_self), 0); - } - void add_max(uint32_t max) { - fbb_.AddElement(GetScoreFriendsRequest::VT_MAX, max, 0); - } - void add_withComment(bool withComment) { - fbb_.AddElement(GetScoreFriendsRequest::VT_WITHCOMMENT, static_cast(withComment), 0); - } - void add_withGameInfo(bool withGameInfo) { - fbb_.AddElement(GetScoreFriendsRequest::VT_WITHGAMEINFO, static_cast(withGameInfo), 0); - } - explicit GetScoreFriendsRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetScoreFriendsRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - bool include_self = false, - uint32_t max = 0, - bool withComment = false, - bool withGameInfo = false) { - GetScoreFriendsRequestBuilder builder_(_fbb); - builder_.add_max(max); - builder_.add_boardId(boardId); - builder_.add_withGameInfo(withGameInfo); - builder_.add_withComment(withComment); - builder_.add_include_self(include_self); - return builder_.Finish(); -} - -struct ScoreRankData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef ScoreRankDataBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_NPID = 4, - VT_ONLINENAME = 6, - VT_PCID = 8, - VT_RANK = 10, - VT_SCORE = 12, - VT_HASGAMEDATA = 14, - VT_RECORDDATE = 16 - }; - const ::flatbuffers::String *npId() const { - return GetPointer(VT_NPID); - } - const ::flatbuffers::String *onlineName() const { - return GetPointer(VT_ONLINENAME); - } - int32_t pcId() const { - return GetField(VT_PCID, 0); - } - uint32_t rank() const { - return GetField(VT_RANK, 0); - } - int64_t score() const { - return GetField(VT_SCORE, 0); - } - bool hasGameData() const { - return GetField(VT_HASGAMEDATA, 0) != 0; - } - uint64_t recordDate() const { - return GetField(VT_RECORDDATE, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_NPID) && - verifier.VerifyString(npId()) && - VerifyOffset(verifier, VT_ONLINENAME) && - verifier.VerifyString(onlineName()) && - VerifyField(verifier, VT_PCID, 4) && - VerifyField(verifier, VT_RANK, 4) && - VerifyField(verifier, VT_SCORE, 8) && - VerifyField(verifier, VT_HASGAMEDATA, 1) && - VerifyField(verifier, VT_RECORDDATE, 8) && - verifier.EndTable(); - } -}; - -struct ScoreRankDataBuilder { - typedef ScoreRankData Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_npId(::flatbuffers::Offset<::flatbuffers::String> npId) { - fbb_.AddOffset(ScoreRankData::VT_NPID, npId); - } - void add_onlineName(::flatbuffers::Offset<::flatbuffers::String> onlineName) { - fbb_.AddOffset(ScoreRankData::VT_ONLINENAME, onlineName); - } - void add_pcId(int32_t pcId) { - fbb_.AddElement(ScoreRankData::VT_PCID, pcId, 0); - } - void add_rank(uint32_t rank) { - fbb_.AddElement(ScoreRankData::VT_RANK, rank, 0); - } - void add_score(int64_t score) { - fbb_.AddElement(ScoreRankData::VT_SCORE, score, 0); - } - void add_hasGameData(bool hasGameData) { - fbb_.AddElement(ScoreRankData::VT_HASGAMEDATA, static_cast(hasGameData), 0); - } - void add_recordDate(uint64_t recordDate) { - fbb_.AddElement(ScoreRankData::VT_RECORDDATE, recordDate, 0); - } - explicit ScoreRankDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateScoreRankData( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> npId = 0, - ::flatbuffers::Offset<::flatbuffers::String> onlineName = 0, - int32_t pcId = 0, - uint32_t rank = 0, - int64_t score = 0, - bool hasGameData = false, - uint64_t recordDate = 0) { - ScoreRankDataBuilder builder_(_fbb); - builder_.add_recordDate(recordDate); - builder_.add_score(score); - builder_.add_rank(rank); - builder_.add_pcId(pcId); - builder_.add_onlineName(onlineName); - builder_.add_npId(npId); - builder_.add_hasGameData(hasGameData); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateScoreRankDataDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *npId = nullptr, - const char *onlineName = nullptr, - int32_t pcId = 0, - uint32_t rank = 0, - int64_t score = 0, - bool hasGameData = false, - uint64_t recordDate = 0) { - auto npId__ = npId ? _fbb.CreateString(npId) : 0; - auto onlineName__ = onlineName ? _fbb.CreateString(onlineName) : 0; - return CreateScoreRankData( - _fbb, - npId__, - onlineName__, - pcId, - rank, - score, - hasGameData, - recordDate); -} - -struct ScoreInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef ScoreInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_DATA = 4 - }; - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct ScoreInfoBuilder { - typedef ScoreInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(ScoreInfo::VT_DATA, data); - } - explicit ScoreInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateScoreInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - ScoreInfoBuilder builder_(_fbb); - builder_.add_data(data); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateScoreInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *data = nullptr) { - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateScoreInfo( - _fbb, - data__); -} - -struct GetScoreResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetScoreResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_RANKARRAY = 4, - VT_COMMENTARRAY = 6, - VT_INFOARRAY = 8, - VT_LASTSORTDATE = 10, - VT_TOTALRECORD = 12 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *rankArray() const { - return GetPointer> *>(VT_RANKARRAY); - } - const ::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>> *commentArray() const { - return GetPointer> *>(VT_COMMENTARRAY); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *infoArray() const { - return GetPointer> *>(VT_INFOARRAY); - } - uint64_t lastSortDate() const { - return GetField(VT_LASTSORTDATE, 0); - } - uint32_t totalRecord() const { - return GetField(VT_TOTALRECORD, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_RANKARRAY) && - verifier.VerifyVector(rankArray()) && - verifier.VerifyVectorOfTables(rankArray()) && - VerifyOffset(verifier, VT_COMMENTARRAY) && - verifier.VerifyVector(commentArray()) && - verifier.VerifyVectorOfStrings(commentArray()) && - VerifyOffset(verifier, VT_INFOARRAY) && - verifier.VerifyVector(infoArray()) && - verifier.VerifyVectorOfTables(infoArray()) && - VerifyField(verifier, VT_LASTSORTDATE, 8) && - VerifyField(verifier, VT_TOTALRECORD, 4) && - verifier.EndTable(); - } -}; - -struct GetScoreResponseBuilder { - typedef GetScoreResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_rankArray(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rankArray) { - fbb_.AddOffset(GetScoreResponse::VT_RANKARRAY, rankArray); - } - void add_commentArray(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> commentArray) { - fbb_.AddOffset(GetScoreResponse::VT_COMMENTARRAY, commentArray); - } - void add_infoArray(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> infoArray) { - fbb_.AddOffset(GetScoreResponse::VT_INFOARRAY, infoArray); - } - void add_lastSortDate(uint64_t lastSortDate) { - fbb_.AddElement(GetScoreResponse::VT_LASTSORTDATE, lastSortDate, 0); - } - void add_totalRecord(uint32_t totalRecord) { - fbb_.AddElement(GetScoreResponse::VT_TOTALRECORD, totalRecord, 0); - } - explicit GetScoreResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetScoreResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rankArray = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<::flatbuffers::String>>> commentArray = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> infoArray = 0, - uint64_t lastSortDate = 0, - uint32_t totalRecord = 0) { - GetScoreResponseBuilder builder_(_fbb); - builder_.add_lastSortDate(lastSortDate); - builder_.add_totalRecord(totalRecord); - builder_.add_infoArray(infoArray); - builder_.add_commentArray(commentArray); - builder_.add_rankArray(rankArray); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetScoreResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *rankArray = nullptr, - const std::vector<::flatbuffers::Offset<::flatbuffers::String>> *commentArray = nullptr, - const std::vector<::flatbuffers::Offset> *infoArray = nullptr, - uint64_t lastSortDate = 0, - uint32_t totalRecord = 0) { - auto rankArray__ = rankArray ? _fbb.CreateVector<::flatbuffers::Offset>(*rankArray) : 0; - auto commentArray__ = commentArray ? _fbb.CreateVector<::flatbuffers::Offset<::flatbuffers::String>>(*commentArray) : 0; - auto infoArray__ = infoArray ? _fbb.CreateVector<::flatbuffers::Offset>(*infoArray) : 0; - return CreateGetScoreResponse( - _fbb, - rankArray__, - commentArray__, - infoArray__, - lastSortDate, - totalRecord); -} - -struct RecordScoreGameDataRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef RecordScoreGameDataRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_BOARDID = 4, - VT_PCID = 6, - VT_SCORE = 8 - }; - uint32_t boardId() const { - return GetField(VT_BOARDID, 0); - } - int32_t pcId() const { - return GetField(VT_PCID, 0); - } - int64_t score() const { - return GetField(VT_SCORE, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_BOARDID, 4) && - VerifyField(verifier, VT_PCID, 4) && - VerifyField(verifier, VT_SCORE, 8) && - verifier.EndTable(); - } -}; - -struct RecordScoreGameDataRequestBuilder { - typedef RecordScoreGameDataRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_boardId(uint32_t boardId) { - fbb_.AddElement(RecordScoreGameDataRequest::VT_BOARDID, boardId, 0); - } - void add_pcId(int32_t pcId) { - fbb_.AddElement(RecordScoreGameDataRequest::VT_PCID, pcId, 0); - } - void add_score(int64_t score) { - fbb_.AddElement(RecordScoreGameDataRequest::VT_SCORE, score, 0); - } - explicit RecordScoreGameDataRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateRecordScoreGameDataRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - int32_t pcId = 0, - int64_t score = 0) { - RecordScoreGameDataRequestBuilder builder_(_fbb); - builder_.add_score(score); - builder_.add_pcId(pcId); - builder_.add_boardId(boardId); - return builder_.Finish(); -} - -struct GetScoreGameDataRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetScoreGameDataRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_BOARDID = 4, - VT_NPID = 6, - VT_PCID = 8 - }; - uint32_t boardId() const { - return GetField(VT_BOARDID, 0); - } - const ::flatbuffers::String *npId() const { - return GetPointer(VT_NPID); - } - int32_t pcId() const { - return GetField(VT_PCID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_BOARDID, 4) && - VerifyOffset(verifier, VT_NPID) && - verifier.VerifyString(npId()) && - VerifyField(verifier, VT_PCID, 4) && - verifier.EndTable(); - } -}; - -struct GetScoreGameDataRequestBuilder { - typedef GetScoreGameDataRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_boardId(uint32_t boardId) { - fbb_.AddElement(GetScoreGameDataRequest::VT_BOARDID, boardId, 0); - } - void add_npId(::flatbuffers::Offset<::flatbuffers::String> npId) { - fbb_.AddOffset(GetScoreGameDataRequest::VT_NPID, npId); - } - void add_pcId(int32_t pcId) { - fbb_.AddElement(GetScoreGameDataRequest::VT_PCID, pcId, 0); - } - explicit GetScoreGameDataRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetScoreGameDataRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - ::flatbuffers::Offset<::flatbuffers::String> npId = 0, - int32_t pcId = 0) { - GetScoreGameDataRequestBuilder builder_(_fbb); - builder_.add_pcId(pcId); - builder_.add_npId(npId); - builder_.add_boardId(boardId); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetScoreGameDataRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t boardId = 0, - const char *npId = nullptr, - int32_t pcId = 0) { - auto npId__ = npId ? _fbb.CreateString(npId) : 0; - return CreateGetScoreGameDataRequest( - _fbb, - boardId, - npId__, - pcId); -} - -struct TusUser FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusUserBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_VUSER = 4, - VT_NPID = 6 - }; - bool vuser() const { - return GetField(VT_VUSER, 0) != 0; - } - const ::flatbuffers::String *npid() const { - return GetPointer(VT_NPID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_VUSER, 1) && - VerifyOffset(verifier, VT_NPID) && - verifier.VerifyString(npid()) && - verifier.EndTable(); - } -}; - -struct TusUserBuilder { - typedef TusUser Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_vuser(bool vuser) { - fbb_.AddElement(TusUser::VT_VUSER, static_cast(vuser), 0); - } - void add_npid(::flatbuffers::Offset<::flatbuffers::String> npid) { - fbb_.AddOffset(TusUser::VT_NPID, npid); - } - explicit TusUserBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusUser( - ::flatbuffers::FlatBufferBuilder &_fbb, - bool vuser = false, - ::flatbuffers::Offset<::flatbuffers::String> npid = 0) { - TusUserBuilder builder_(_fbb); - builder_.add_npid(npid); - builder_.add_vuser(vuser); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusUserDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - bool vuser = false, - const char *npid = nullptr) { - auto npid__ = npid ? _fbb.CreateString(npid) : 0; - return CreateTusUser( - _fbb, - vuser, - npid__); -} - -struct TusVariable FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusVariableBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_OWNERID = 4, - VT_HASDATA = 6, - VT_LASTCHANGEDDATE = 8, - VT_LASTCHANGEDAUTHORID = 10, - VT_VARIABLE = 12, - VT_OLDVARIABLE = 14 - }; - const ::flatbuffers::String *ownerId() const { - return GetPointer(VT_OWNERID); - } - bool hasData() const { - return GetField(VT_HASDATA, 0) != 0; - } - uint64_t lastChangedDate() const { - return GetField(VT_LASTCHANGEDDATE, 0); - } - const ::flatbuffers::String *lastChangedAuthorId() const { - return GetPointer(VT_LASTCHANGEDAUTHORID); - } - int64_t variable() const { - return GetField(VT_VARIABLE, 0); - } - int64_t oldVariable() const { - return GetField(VT_OLDVARIABLE, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_OWNERID) && - verifier.VerifyString(ownerId()) && - VerifyField(verifier, VT_HASDATA, 1) && - VerifyField(verifier, VT_LASTCHANGEDDATE, 8) && - VerifyOffset(verifier, VT_LASTCHANGEDAUTHORID) && - verifier.VerifyString(lastChangedAuthorId()) && - VerifyField(verifier, VT_VARIABLE, 8) && - VerifyField(verifier, VT_OLDVARIABLE, 8) && - verifier.EndTable(); - } -}; - -struct TusVariableBuilder { - typedef TusVariable Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_ownerId(::flatbuffers::Offset<::flatbuffers::String> ownerId) { - fbb_.AddOffset(TusVariable::VT_OWNERID, ownerId); - } - void add_hasData(bool hasData) { - fbb_.AddElement(TusVariable::VT_HASDATA, static_cast(hasData), 0); - } - void add_lastChangedDate(uint64_t lastChangedDate) { - fbb_.AddElement(TusVariable::VT_LASTCHANGEDDATE, lastChangedDate, 0); - } - void add_lastChangedAuthorId(::flatbuffers::Offset<::flatbuffers::String> lastChangedAuthorId) { - fbb_.AddOffset(TusVariable::VT_LASTCHANGEDAUTHORID, lastChangedAuthorId); - } - void add_variable(int64_t variable) { - fbb_.AddElement(TusVariable::VT_VARIABLE, variable, 0); - } - void add_oldVariable(int64_t oldVariable) { - fbb_.AddElement(TusVariable::VT_OLDVARIABLE, oldVariable, 0); - } - explicit TusVariableBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusVariable( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> ownerId = 0, - bool hasData = false, - uint64_t lastChangedDate = 0, - ::flatbuffers::Offset<::flatbuffers::String> lastChangedAuthorId = 0, - int64_t variable = 0, - int64_t oldVariable = 0) { - TusVariableBuilder builder_(_fbb); - builder_.add_oldVariable(oldVariable); - builder_.add_variable(variable); - builder_.add_lastChangedDate(lastChangedDate); - builder_.add_lastChangedAuthorId(lastChangedAuthorId); - builder_.add_ownerId(ownerId); - builder_.add_hasData(hasData); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusVariableDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *ownerId = nullptr, - bool hasData = false, - uint64_t lastChangedDate = 0, - const char *lastChangedAuthorId = nullptr, - int64_t variable = 0, - int64_t oldVariable = 0) { - auto ownerId__ = ownerId ? _fbb.CreateString(ownerId) : 0; - auto lastChangedAuthorId__ = lastChangedAuthorId ? _fbb.CreateString(lastChangedAuthorId) : 0; - return CreateTusVariable( - _fbb, - ownerId__, - hasData, - lastChangedDate, - lastChangedAuthorId__, - variable, - oldVariable); -} - -struct TusVarResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusVarResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_VARS = 4 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *vars() const { - return GetPointer> *>(VT_VARS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_VARS) && - verifier.VerifyVector(vars()) && - verifier.VerifyVectorOfTables(vars()) && - verifier.EndTable(); - } -}; - -struct TusVarResponseBuilder { - typedef TusVarResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_vars(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> vars) { - fbb_.AddOffset(TusVarResponse::VT_VARS, vars); - } - explicit TusVarResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusVarResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> vars = 0) { - TusVarResponseBuilder builder_(_fbb); - builder_.add_vars(vars); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusVarResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *vars = nullptr) { - auto vars__ = vars ? _fbb.CreateVector<::flatbuffers::Offset>(*vars) : 0; - return CreateTusVarResponse( - _fbb, - vars__); -} - -struct TusSetMultiSlotVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusSetMultiSlotVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTIDARRAY = 6, - VT_VARIABLEARRAY = 8 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - const ::flatbuffers::Vector *slotIdArray() const { - return GetPointer *>(VT_SLOTIDARRAY); - } - const ::flatbuffers::Vector *variableArray() const { - return GetPointer *>(VT_VARIABLEARRAY); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyOffset(verifier, VT_SLOTIDARRAY) && - verifier.VerifyVector(slotIdArray()) && - VerifyOffset(verifier, VT_VARIABLEARRAY) && - verifier.VerifyVector(variableArray()) && - verifier.EndTable(); - } -}; - -struct TusSetMultiSlotVariableRequestBuilder { - typedef TusSetMultiSlotVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusSetMultiSlotVariableRequest::VT_USER, user); - } - void add_slotIdArray(::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray) { - fbb_.AddOffset(TusSetMultiSlotVariableRequest::VT_SLOTIDARRAY, slotIdArray); - } - void add_variableArray(::flatbuffers::Offset<::flatbuffers::Vector> variableArray) { - fbb_.AddOffset(TusSetMultiSlotVariableRequest::VT_VARIABLEARRAY, variableArray); - } - explicit TusSetMultiSlotVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusSetMultiSlotVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> variableArray = 0) { - TusSetMultiSlotVariableRequestBuilder builder_(_fbb); - builder_.add_variableArray(variableArray); - builder_.add_slotIdArray(slotIdArray); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusSetMultiSlotVariableRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - const std::vector *slotIdArray = nullptr, - const std::vector *variableArray = nullptr) { - auto slotIdArray__ = slotIdArray ? _fbb.CreateVector(*slotIdArray) : 0; - auto variableArray__ = variableArray ? _fbb.CreateVector(*variableArray) : 0; - return CreateTusSetMultiSlotVariableRequest( - _fbb, - user, - slotIdArray__, - variableArray__); -} - -struct TusGetMultiSlotVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetMultiSlotVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTIDARRAY = 6 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - const ::flatbuffers::Vector *slotIdArray() const { - return GetPointer *>(VT_SLOTIDARRAY); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyOffset(verifier, VT_SLOTIDARRAY) && - verifier.VerifyVector(slotIdArray()) && - verifier.EndTable(); - } -}; - -struct TusGetMultiSlotVariableRequestBuilder { - typedef TusGetMultiSlotVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusGetMultiSlotVariableRequest::VT_USER, user); - } - void add_slotIdArray(::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray) { - fbb_.AddOffset(TusGetMultiSlotVariableRequest::VT_SLOTIDARRAY, slotIdArray); - } - explicit TusGetMultiSlotVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetMultiSlotVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray = 0) { - TusGetMultiSlotVariableRequestBuilder builder_(_fbb); - builder_.add_slotIdArray(slotIdArray); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusGetMultiSlotVariableRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - const std::vector *slotIdArray = nullptr) { - auto slotIdArray__ = slotIdArray ? _fbb.CreateVector(*slotIdArray) : 0; - return CreateTusGetMultiSlotVariableRequest( - _fbb, - user, - slotIdArray__); -} - -struct TusGetMultiUserVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetMultiUserVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USERS = 4, - VT_SLOTID = 6 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *users() const { - return GetPointer> *>(VT_USERS); - } - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USERS) && - verifier.VerifyVector(users()) && - verifier.VerifyVectorOfTables(users()) && - VerifyField(verifier, VT_SLOTID, 4) && - verifier.EndTable(); - } -}; - -struct TusGetMultiUserVariableRequestBuilder { - typedef TusGetMultiUserVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_users(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> users) { - fbb_.AddOffset(TusGetMultiUserVariableRequest::VT_USERS, users); - } - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusGetMultiUserVariableRequest::VT_SLOTID, slotId, 0); - } - explicit TusGetMultiUserVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetMultiUserVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> users = 0, - int32_t slotId = 0) { - TusGetMultiUserVariableRequestBuilder builder_(_fbb); - builder_.add_slotId(slotId); - builder_.add_users(users); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusGetMultiUserVariableRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *users = nullptr, - int32_t slotId = 0) { - auto users__ = users ? _fbb.CreateVector<::flatbuffers::Offset>(*users) : 0; - return CreateTusGetMultiUserVariableRequest( - _fbb, - users__, - slotId); -} - -struct TusGetFriendsVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetFriendsVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SLOTID = 4, - VT_INCLUDESELF = 6, - VT_SORTTYPE = 8, - VT_ARRAYNUM = 10 - }; - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - bool includeSelf() const { - return GetField(VT_INCLUDESELF, 0) != 0; - } - int32_t sortType() const { - return GetField(VT_SORTTYPE, 0); - } - uint32_t arrayNum() const { - return GetField(VT_ARRAYNUM, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SLOTID, 4) && - VerifyField(verifier, VT_INCLUDESELF, 1) && - VerifyField(verifier, VT_SORTTYPE, 4) && - VerifyField(verifier, VT_ARRAYNUM, 4) && - verifier.EndTable(); - } -}; - -struct TusGetFriendsVariableRequestBuilder { - typedef TusGetFriendsVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusGetFriendsVariableRequest::VT_SLOTID, slotId, 0); - } - void add_includeSelf(bool includeSelf) { - fbb_.AddElement(TusGetFriendsVariableRequest::VT_INCLUDESELF, static_cast(includeSelf), 0); - } - void add_sortType(int32_t sortType) { - fbb_.AddElement(TusGetFriendsVariableRequest::VT_SORTTYPE, sortType, 0); - } - void add_arrayNum(uint32_t arrayNum) { - fbb_.AddElement(TusGetFriendsVariableRequest::VT_ARRAYNUM, arrayNum, 0); - } - explicit TusGetFriendsVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetFriendsVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - int32_t slotId = 0, - bool includeSelf = false, - int32_t sortType = 0, - uint32_t arrayNum = 0) { - TusGetFriendsVariableRequestBuilder builder_(_fbb); - builder_.add_arrayNum(arrayNum); - builder_.add_sortType(sortType); - builder_.add_slotId(slotId); - builder_.add_includeSelf(includeSelf); - return builder_.Finish(); -} - -struct TusAddAndGetVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusAddAndGetVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTID = 6, - VT_INVARIABLE = 8, - VT_ISLASTCHANGEDDATE = 10, - VT_ISLASTCHANGEDAUTHORID = 12 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - int64_t inVariable() const { - return GetField(VT_INVARIABLE, 0); - } - const ::flatbuffers::Vector *isLastChangedDate() const { - return GetPointer *>(VT_ISLASTCHANGEDDATE); - } - const ::flatbuffers::String *isLastChangedAuthorId() const { - return GetPointer(VT_ISLASTCHANGEDAUTHORID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyField(verifier, VT_SLOTID, 4) && - VerifyField(verifier, VT_INVARIABLE, 8) && - VerifyOffset(verifier, VT_ISLASTCHANGEDDATE) && - verifier.VerifyVector(isLastChangedDate()) && - VerifyOffset(verifier, VT_ISLASTCHANGEDAUTHORID) && - verifier.VerifyString(isLastChangedAuthorId()) && - verifier.EndTable(); - } -}; - -struct TusAddAndGetVariableRequestBuilder { - typedef TusAddAndGetVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusAddAndGetVariableRequest::VT_USER, user); - } - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusAddAndGetVariableRequest::VT_SLOTID, slotId, 0); - } - void add_inVariable(int64_t inVariable) { - fbb_.AddElement(TusAddAndGetVariableRequest::VT_INVARIABLE, inVariable, 0); - } - void add_isLastChangedDate(::flatbuffers::Offset<::flatbuffers::Vector> isLastChangedDate) { - fbb_.AddOffset(TusAddAndGetVariableRequest::VT_ISLASTCHANGEDDATE, isLastChangedDate); - } - void add_isLastChangedAuthorId(::flatbuffers::Offset<::flatbuffers::String> isLastChangedAuthorId) { - fbb_.AddOffset(TusAddAndGetVariableRequest::VT_ISLASTCHANGEDAUTHORID, isLastChangedAuthorId); - } - explicit TusAddAndGetVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusAddAndGetVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0, - int64_t inVariable = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> isLastChangedDate = 0, - ::flatbuffers::Offset<::flatbuffers::String> isLastChangedAuthorId = 0) { - TusAddAndGetVariableRequestBuilder builder_(_fbb); - builder_.add_inVariable(inVariable); - builder_.add_isLastChangedAuthorId(isLastChangedAuthorId); - builder_.add_isLastChangedDate(isLastChangedDate); - builder_.add_slotId(slotId); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusAddAndGetVariableRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0, - int64_t inVariable = 0, - const std::vector *isLastChangedDate = nullptr, - const char *isLastChangedAuthorId = nullptr) { - auto isLastChangedDate__ = isLastChangedDate ? _fbb.CreateVector(*isLastChangedDate) : 0; - auto isLastChangedAuthorId__ = isLastChangedAuthorId ? _fbb.CreateString(isLastChangedAuthorId) : 0; - return CreateTusAddAndGetVariableRequest( - _fbb, - user, - slotId, - inVariable, - isLastChangedDate__, - isLastChangedAuthorId__); -} - -struct TusTryAndSetVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusTryAndSetVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTID = 6, - VT_OPETYPE = 8, - VT_VARIABLE = 10, - VT_ISLASTCHANGEDDATE = 12, - VT_ISLASTCHANGEDAUTHORID = 14, - VT_COMPAREVALUE = 16 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - int32_t opeType() const { - return GetField(VT_OPETYPE, 0); - } - int64_t variable() const { - return GetField(VT_VARIABLE, 0); - } - const ::flatbuffers::Vector *isLastChangedDate() const { - return GetPointer *>(VT_ISLASTCHANGEDDATE); - } - const ::flatbuffers::String *isLastChangedAuthorId() const { - return GetPointer(VT_ISLASTCHANGEDAUTHORID); - } - const ::flatbuffers::Vector *compareValue() const { - return GetPointer *>(VT_COMPAREVALUE); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyField(verifier, VT_SLOTID, 4) && - VerifyField(verifier, VT_OPETYPE, 4) && - VerifyField(verifier, VT_VARIABLE, 8) && - VerifyOffset(verifier, VT_ISLASTCHANGEDDATE) && - verifier.VerifyVector(isLastChangedDate()) && - VerifyOffset(verifier, VT_ISLASTCHANGEDAUTHORID) && - verifier.VerifyString(isLastChangedAuthorId()) && - VerifyOffset(verifier, VT_COMPAREVALUE) && - verifier.VerifyVector(compareValue()) && - verifier.EndTable(); - } -}; - -struct TusTryAndSetVariableRequestBuilder { - typedef TusTryAndSetVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusTryAndSetVariableRequest::VT_USER, user); - } - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusTryAndSetVariableRequest::VT_SLOTID, slotId, 0); - } - void add_opeType(int32_t opeType) { - fbb_.AddElement(TusTryAndSetVariableRequest::VT_OPETYPE, opeType, 0); - } - void add_variable(int64_t variable) { - fbb_.AddElement(TusTryAndSetVariableRequest::VT_VARIABLE, variable, 0); - } - void add_isLastChangedDate(::flatbuffers::Offset<::flatbuffers::Vector> isLastChangedDate) { - fbb_.AddOffset(TusTryAndSetVariableRequest::VT_ISLASTCHANGEDDATE, isLastChangedDate); - } - void add_isLastChangedAuthorId(::flatbuffers::Offset<::flatbuffers::String> isLastChangedAuthorId) { - fbb_.AddOffset(TusTryAndSetVariableRequest::VT_ISLASTCHANGEDAUTHORID, isLastChangedAuthorId); - } - void add_compareValue(::flatbuffers::Offset<::flatbuffers::Vector> compareValue) { - fbb_.AddOffset(TusTryAndSetVariableRequest::VT_COMPAREVALUE, compareValue); - } - explicit TusTryAndSetVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusTryAndSetVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0, - int32_t opeType = 0, - int64_t variable = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> isLastChangedDate = 0, - ::flatbuffers::Offset<::flatbuffers::String> isLastChangedAuthorId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> compareValue = 0) { - TusTryAndSetVariableRequestBuilder builder_(_fbb); - builder_.add_variable(variable); - builder_.add_compareValue(compareValue); - builder_.add_isLastChangedAuthorId(isLastChangedAuthorId); - builder_.add_isLastChangedDate(isLastChangedDate); - builder_.add_opeType(opeType); - builder_.add_slotId(slotId); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusTryAndSetVariableRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0, - int32_t opeType = 0, - int64_t variable = 0, - const std::vector *isLastChangedDate = nullptr, - const char *isLastChangedAuthorId = nullptr, - const std::vector *compareValue = nullptr) { - auto isLastChangedDate__ = isLastChangedDate ? _fbb.CreateVector(*isLastChangedDate) : 0; - auto isLastChangedAuthorId__ = isLastChangedAuthorId ? _fbb.CreateString(isLastChangedAuthorId) : 0; - auto compareValue__ = compareValue ? _fbb.CreateVector(*compareValue) : 0; - return CreateTusTryAndSetVariableRequest( - _fbb, - user, - slotId, - opeType, - variable, - isLastChangedDate__, - isLastChangedAuthorId__, - compareValue__); -} - -struct TusDeleteMultiSlotVariableRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusDeleteMultiSlotVariableRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTIDARRAY = 6 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - const ::flatbuffers::Vector *slotIdArray() const { - return GetPointer *>(VT_SLOTIDARRAY); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyOffset(verifier, VT_SLOTIDARRAY) && - verifier.VerifyVector(slotIdArray()) && - verifier.EndTable(); - } -}; - -struct TusDeleteMultiSlotVariableRequestBuilder { - typedef TusDeleteMultiSlotVariableRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusDeleteMultiSlotVariableRequest::VT_USER, user); - } - void add_slotIdArray(::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray) { - fbb_.AddOffset(TusDeleteMultiSlotVariableRequest::VT_SLOTIDARRAY, slotIdArray); - } - explicit TusDeleteMultiSlotVariableRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusDeleteMultiSlotVariableRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray = 0) { - TusDeleteMultiSlotVariableRequestBuilder builder_(_fbb); - builder_.add_slotIdArray(slotIdArray); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusDeleteMultiSlotVariableRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - const std::vector *slotIdArray = nullptr) { - auto slotIdArray__ = slotIdArray ? _fbb.CreateVector(*slotIdArray) : 0; - return CreateTusDeleteMultiSlotVariableRequest( - _fbb, - user, - slotIdArray__); -} - -struct TusSetDataRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusSetDataRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTID = 6, - VT_DATA = 8, - VT_INFO = 10, - VT_ISLASTCHANGEDDATE = 12, - VT_ISLASTCHANGEDAUTHORID = 14 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - const ::flatbuffers::Vector *info() const { - return GetPointer *>(VT_INFO); - } - const ::flatbuffers::Vector *isLastChangedDate() const { - return GetPointer *>(VT_ISLASTCHANGEDDATE); - } - const ::flatbuffers::String *isLastChangedAuthorId() const { - return GetPointer(VT_ISLASTCHANGEDAUTHORID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyField(verifier, VT_SLOTID, 4) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - VerifyOffset(verifier, VT_INFO) && - verifier.VerifyVector(info()) && - VerifyOffset(verifier, VT_ISLASTCHANGEDDATE) && - verifier.VerifyVector(isLastChangedDate()) && - VerifyOffset(verifier, VT_ISLASTCHANGEDAUTHORID) && - verifier.VerifyString(isLastChangedAuthorId()) && - verifier.EndTable(); - } -}; - -struct TusSetDataRequestBuilder { - typedef TusSetDataRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusSetDataRequest::VT_USER, user); - } - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusSetDataRequest::VT_SLOTID, slotId, 0); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(TusSetDataRequest::VT_DATA, data); - } - void add_info(::flatbuffers::Offset<::flatbuffers::Vector> info) { - fbb_.AddOffset(TusSetDataRequest::VT_INFO, info); - } - void add_isLastChangedDate(::flatbuffers::Offset<::flatbuffers::Vector> isLastChangedDate) { - fbb_.AddOffset(TusSetDataRequest::VT_ISLASTCHANGEDDATE, isLastChangedDate); - } - void add_isLastChangedAuthorId(::flatbuffers::Offset<::flatbuffers::String> isLastChangedAuthorId) { - fbb_.AddOffset(TusSetDataRequest::VT_ISLASTCHANGEDAUTHORID, isLastChangedAuthorId); - } - explicit TusSetDataRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusSetDataRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> info = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> isLastChangedDate = 0, - ::flatbuffers::Offset<::flatbuffers::String> isLastChangedAuthorId = 0) { - TusSetDataRequestBuilder builder_(_fbb); - builder_.add_isLastChangedAuthorId(isLastChangedAuthorId); - builder_.add_isLastChangedDate(isLastChangedDate); - builder_.add_info(info); - builder_.add_data(data); - builder_.add_slotId(slotId); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusSetDataRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0, - const std::vector *data = nullptr, - const std::vector *info = nullptr, - const std::vector *isLastChangedDate = nullptr, - const char *isLastChangedAuthorId = nullptr) { - auto data__ = data ? _fbb.CreateVector(*data) : 0; - auto info__ = info ? _fbb.CreateVector(*info) : 0; - auto isLastChangedDate__ = isLastChangedDate ? _fbb.CreateVector(*isLastChangedDate) : 0; - auto isLastChangedAuthorId__ = isLastChangedAuthorId ? _fbb.CreateString(isLastChangedAuthorId) : 0; - return CreateTusSetDataRequest( - _fbb, - user, - slotId, - data__, - info__, - isLastChangedDate__, - isLastChangedAuthorId__); -} - -struct TusDataStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusDataStatusBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_OWNERID = 4, - VT_HASDATA = 6, - VT_LASTCHANGEDDATE = 8, - VT_LASTCHANGEDAUTHORID = 10, - VT_INFO = 12 - }; - const ::flatbuffers::String *ownerId() const { - return GetPointer(VT_OWNERID); - } - bool hasData() const { - return GetField(VT_HASDATA, 0) != 0; - } - uint64_t lastChangedDate() const { - return GetField(VT_LASTCHANGEDDATE, 0); - } - const ::flatbuffers::String *lastChangedAuthorId() const { - return GetPointer(VT_LASTCHANGEDAUTHORID); - } - const ::flatbuffers::Vector *info() const { - return GetPointer *>(VT_INFO); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_OWNERID) && - verifier.VerifyString(ownerId()) && - VerifyField(verifier, VT_HASDATA, 1) && - VerifyField(verifier, VT_LASTCHANGEDDATE, 8) && - VerifyOffset(verifier, VT_LASTCHANGEDAUTHORID) && - verifier.VerifyString(lastChangedAuthorId()) && - VerifyOffset(verifier, VT_INFO) && - verifier.VerifyVector(info()) && - verifier.EndTable(); - } -}; - -struct TusDataStatusBuilder { - typedef TusDataStatus Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_ownerId(::flatbuffers::Offset<::flatbuffers::String> ownerId) { - fbb_.AddOffset(TusDataStatus::VT_OWNERID, ownerId); - } - void add_hasData(bool hasData) { - fbb_.AddElement(TusDataStatus::VT_HASDATA, static_cast(hasData), 0); - } - void add_lastChangedDate(uint64_t lastChangedDate) { - fbb_.AddElement(TusDataStatus::VT_LASTCHANGEDDATE, lastChangedDate, 0); - } - void add_lastChangedAuthorId(::flatbuffers::Offset<::flatbuffers::String> lastChangedAuthorId) { - fbb_.AddOffset(TusDataStatus::VT_LASTCHANGEDAUTHORID, lastChangedAuthorId); - } - void add_info(::flatbuffers::Offset<::flatbuffers::Vector> info) { - fbb_.AddOffset(TusDataStatus::VT_INFO, info); - } - explicit TusDataStatusBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusDataStatus( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> ownerId = 0, - bool hasData = false, - uint64_t lastChangedDate = 0, - ::flatbuffers::Offset<::flatbuffers::String> lastChangedAuthorId = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> info = 0) { - TusDataStatusBuilder builder_(_fbb); - builder_.add_lastChangedDate(lastChangedDate); - builder_.add_info(info); - builder_.add_lastChangedAuthorId(lastChangedAuthorId); - builder_.add_ownerId(ownerId); - builder_.add_hasData(hasData); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusDataStatusDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *ownerId = nullptr, - bool hasData = false, - uint64_t lastChangedDate = 0, - const char *lastChangedAuthorId = nullptr, - const std::vector *info = nullptr) { - auto ownerId__ = ownerId ? _fbb.CreateString(ownerId) : 0; - auto lastChangedAuthorId__ = lastChangedAuthorId ? _fbb.CreateString(lastChangedAuthorId) : 0; - auto info__ = info ? _fbb.CreateVector(*info) : 0; - return CreateTusDataStatus( - _fbb, - ownerId__, - hasData, - lastChangedDate, - lastChangedAuthorId__, - info__); -} - -struct TusData FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusDataBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_STATUS = 4, - VT_DATA = 6 - }; - const TusDataStatus *status() const { - return GetPointer(VT_STATUS); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_STATUS) && - verifier.VerifyTable(status()) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct TusDataBuilder { - typedef TusData Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_status(::flatbuffers::Offset status) { - fbb_.AddOffset(TusData::VT_STATUS, status); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(TusData::VT_DATA, data); - } - explicit TusDataBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusData( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset status = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - TusDataBuilder builder_(_fbb); - builder_.add_data(data); - builder_.add_status(status); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusDataDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset status = 0, - const std::vector *data = nullptr) { - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateTusData( - _fbb, - status, - data__); -} - -struct TusDataStatusResponse FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusDataStatusResponseBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_STATUS = 4 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *status() const { - return GetPointer> *>(VT_STATUS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_STATUS) && - verifier.VerifyVector(status()) && - verifier.VerifyVectorOfTables(status()) && - verifier.EndTable(); - } -}; - -struct TusDataStatusResponseBuilder { - typedef TusDataStatusResponse Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_status(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> status) { - fbb_.AddOffset(TusDataStatusResponse::VT_STATUS, status); - } - explicit TusDataStatusResponseBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusDataStatusResponse( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> status = 0) { - TusDataStatusResponseBuilder builder_(_fbb); - builder_.add_status(status); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusDataStatusResponseDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *status = nullptr) { - auto status__ = status ? _fbb.CreateVector<::flatbuffers::Offset>(*status) : 0; - return CreateTusDataStatusResponse( - _fbb, - status__); -} - -struct TusGetDataRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetDataRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTID = 6 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyField(verifier, VT_SLOTID, 4) && - verifier.EndTable(); - } -}; - -struct TusGetDataRequestBuilder { - typedef TusGetDataRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusGetDataRequest::VT_USER, user); - } - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusGetDataRequest::VT_SLOTID, slotId, 0); - } - explicit TusGetDataRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetDataRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - int32_t slotId = 0) { - TusGetDataRequestBuilder builder_(_fbb); - builder_.add_slotId(slotId); - builder_.add_user(user); - return builder_.Finish(); -} - -struct TusGetMultiSlotDataStatusRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetMultiSlotDataStatusRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTIDARRAY = 6 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - const ::flatbuffers::Vector *slotIdArray() const { - return GetPointer *>(VT_SLOTIDARRAY); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyOffset(verifier, VT_SLOTIDARRAY) && - verifier.VerifyVector(slotIdArray()) && - verifier.EndTable(); - } -}; - -struct TusGetMultiSlotDataStatusRequestBuilder { - typedef TusGetMultiSlotDataStatusRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusGetMultiSlotDataStatusRequest::VT_USER, user); - } - void add_slotIdArray(::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray) { - fbb_.AddOffset(TusGetMultiSlotDataStatusRequest::VT_SLOTIDARRAY, slotIdArray); - } - explicit TusGetMultiSlotDataStatusRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetMultiSlotDataStatusRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray = 0) { - TusGetMultiSlotDataStatusRequestBuilder builder_(_fbb); - builder_.add_slotIdArray(slotIdArray); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusGetMultiSlotDataStatusRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - const std::vector *slotIdArray = nullptr) { - auto slotIdArray__ = slotIdArray ? _fbb.CreateVector(*slotIdArray) : 0; - return CreateTusGetMultiSlotDataStatusRequest( - _fbb, - user, - slotIdArray__); -} - -struct TusGetMultiUserDataStatusRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetMultiUserDataStatusRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USERS = 4, - VT_SLOTID = 6 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *users() const { - return GetPointer> *>(VT_USERS); - } - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USERS) && - verifier.VerifyVector(users()) && - verifier.VerifyVectorOfTables(users()) && - VerifyField(verifier, VT_SLOTID, 4) && - verifier.EndTable(); - } -}; - -struct TusGetMultiUserDataStatusRequestBuilder { - typedef TusGetMultiUserDataStatusRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_users(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> users) { - fbb_.AddOffset(TusGetMultiUserDataStatusRequest::VT_USERS, users); - } - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusGetMultiUserDataStatusRequest::VT_SLOTID, slotId, 0); - } - explicit TusGetMultiUserDataStatusRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetMultiUserDataStatusRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> users = 0, - int32_t slotId = 0) { - TusGetMultiUserDataStatusRequestBuilder builder_(_fbb); - builder_.add_slotId(slotId); - builder_.add_users(users); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusGetMultiUserDataStatusRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *users = nullptr, - int32_t slotId = 0) { - auto users__ = users ? _fbb.CreateVector<::flatbuffers::Offset>(*users) : 0; - return CreateTusGetMultiUserDataStatusRequest( - _fbb, - users__, - slotId); -} - -struct TusGetFriendsDataStatusRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusGetFriendsDataStatusRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_SLOTID = 4, - VT_INCLUDESELF = 6, - VT_SORTTYPE = 8, - VT_ARRAYNUM = 10 - }; - int32_t slotId() const { - return GetField(VT_SLOTID, 0); - } - bool includeSelf() const { - return GetField(VT_INCLUDESELF, 0) != 0; - } - int32_t sortType() const { - return GetField(VT_SORTTYPE, 0); - } - uint32_t arrayNum() const { - return GetField(VT_ARRAYNUM, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_SLOTID, 4) && - VerifyField(verifier, VT_INCLUDESELF, 1) && - VerifyField(verifier, VT_SORTTYPE, 4) && - VerifyField(verifier, VT_ARRAYNUM, 4) && - verifier.EndTable(); - } -}; - -struct TusGetFriendsDataStatusRequestBuilder { - typedef TusGetFriendsDataStatusRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_slotId(int32_t slotId) { - fbb_.AddElement(TusGetFriendsDataStatusRequest::VT_SLOTID, slotId, 0); - } - void add_includeSelf(bool includeSelf) { - fbb_.AddElement(TusGetFriendsDataStatusRequest::VT_INCLUDESELF, static_cast(includeSelf), 0); - } - void add_sortType(int32_t sortType) { - fbb_.AddElement(TusGetFriendsDataStatusRequest::VT_SORTTYPE, sortType, 0); - } - void add_arrayNum(uint32_t arrayNum) { - fbb_.AddElement(TusGetFriendsDataStatusRequest::VT_ARRAYNUM, arrayNum, 0); - } - explicit TusGetFriendsDataStatusRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusGetFriendsDataStatusRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - int32_t slotId = 0, - bool includeSelf = false, - int32_t sortType = 0, - uint32_t arrayNum = 0) { - TusGetFriendsDataStatusRequestBuilder builder_(_fbb); - builder_.add_arrayNum(arrayNum); - builder_.add_sortType(sortType); - builder_.add_slotId(slotId); - builder_.add_includeSelf(includeSelf); - return builder_.Finish(); -} - -struct TusDeleteMultiSlotDataRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef TusDeleteMultiSlotDataRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_USER = 4, - VT_SLOTIDARRAY = 6 - }; - const TusUser *user() const { - return GetPointer(VT_USER); - } - const ::flatbuffers::Vector *slotIdArray() const { - return GetPointer *>(VT_SLOTIDARRAY); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_USER) && - verifier.VerifyTable(user()) && - VerifyOffset(verifier, VT_SLOTIDARRAY) && - verifier.VerifyVector(slotIdArray()) && - verifier.EndTable(); - } -}; - -struct TusDeleteMultiSlotDataRequestBuilder { - typedef TusDeleteMultiSlotDataRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_user(::flatbuffers::Offset user) { - fbb_.AddOffset(TusDeleteMultiSlotDataRequest::VT_USER, user); - } - void add_slotIdArray(::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray) { - fbb_.AddOffset(TusDeleteMultiSlotDataRequest::VT_SLOTIDARRAY, slotIdArray); - } - explicit TusDeleteMultiSlotDataRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateTusDeleteMultiSlotDataRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> slotIdArray = 0) { - TusDeleteMultiSlotDataRequestBuilder builder_(_fbb); - builder_.add_slotIdArray(slotIdArray); - builder_.add_user(user); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateTusDeleteMultiSlotDataRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset user = 0, - const std::vector *slotIdArray = nullptr) { - auto slotIdArray__ = slotIdArray ? _fbb.CreateVector(*slotIdArray) : 0; - return CreateTusDeleteMultiSlotDataRequest( - _fbb, - user, - slotIdArray__); -} - -struct SetPresenceRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SetPresenceRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_TITLE = 4, - VT_STATUS = 6, - VT_COMMENT = 8, - VT_DATA = 10 - }; - const ::flatbuffers::String *title() const { - return GetPointer(VT_TITLE); - } - const ::flatbuffers::String *status() const { - return GetPointer(VT_STATUS); - } - const ::flatbuffers::String *comment() const { - return GetPointer(VT_COMMENT); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_TITLE) && - verifier.VerifyString(title()) && - VerifyOffset(verifier, VT_STATUS) && - verifier.VerifyString(status()) && - VerifyOffset(verifier, VT_COMMENT) && - verifier.VerifyString(comment()) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct SetPresenceRequestBuilder { - typedef SetPresenceRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_title(::flatbuffers::Offset<::flatbuffers::String> title) { - fbb_.AddOffset(SetPresenceRequest::VT_TITLE, title); - } - void add_status(::flatbuffers::Offset<::flatbuffers::String> status) { - fbb_.AddOffset(SetPresenceRequest::VT_STATUS, status); - } - void add_comment(::flatbuffers::Offset<::flatbuffers::String> comment) { - fbb_.AddOffset(SetPresenceRequest::VT_COMMENT, comment); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(SetPresenceRequest::VT_DATA, data); - } - explicit SetPresenceRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSetPresenceRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::String> title = 0, - ::flatbuffers::Offset<::flatbuffers::String> status = 0, - ::flatbuffers::Offset<::flatbuffers::String> comment = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - SetPresenceRequestBuilder builder_(_fbb); - builder_.add_data(data); - builder_.add_comment(comment); - builder_.add_status(status); - builder_.add_title(title); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSetPresenceRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const char *title = nullptr, - const char *status = nullptr, - const char *comment = nullptr, - const std::vector *data = nullptr) { - auto title__ = title ? _fbb.CreateString(title) : 0; - auto status__ = status ? _fbb.CreateString(status) : 0; - auto comment__ = comment ? _fbb.CreateString(comment) : 0; - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateSetPresenceRequest( - _fbb, - title__, - status__, - comment__, - data__); -} - -struct MatchingSearchCondition FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingSearchConditionBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ATTR_TYPE = 4, - VT_ATTR_ID = 6, - VT_COMP_OP = 8, - VT_COMP_VALUE = 10 - }; - uint32_t attr_type() const { - return GetField(VT_ATTR_TYPE, 0); - } - uint32_t attr_id() const { - return GetField(VT_ATTR_ID, 0); - } - uint32_t comp_op() const { - return GetField(VT_COMP_OP, 0); - } - uint32_t comp_value() const { - return GetField(VT_COMP_VALUE, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ATTR_TYPE, 4) && - VerifyField(verifier, VT_ATTR_ID, 4) && - VerifyField(verifier, VT_COMP_OP, 4) && - VerifyField(verifier, VT_COMP_VALUE, 4) && - verifier.EndTable(); - } -}; - -struct MatchingSearchConditionBuilder { - typedef MatchingSearchCondition Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_attr_type(uint32_t attr_type) { - fbb_.AddElement(MatchingSearchCondition::VT_ATTR_TYPE, attr_type, 0); - } - void add_attr_id(uint32_t attr_id) { - fbb_.AddElement(MatchingSearchCondition::VT_ATTR_ID, attr_id, 0); - } - void add_comp_op(uint32_t comp_op) { - fbb_.AddElement(MatchingSearchCondition::VT_COMP_OP, comp_op, 0); - } - void add_comp_value(uint32_t comp_value) { - fbb_.AddElement(MatchingSearchCondition::VT_COMP_VALUE, comp_value, 0); - } - explicit MatchingSearchConditionBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingSearchCondition( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t attr_type = 0, - uint32_t attr_id = 0, - uint32_t comp_op = 0, - uint32_t comp_value = 0) { - MatchingSearchConditionBuilder builder_(_fbb); - builder_.add_comp_value(comp_value); - builder_.add_comp_op(comp_op); - builder_.add_attr_id(attr_id); - builder_.add_attr_type(attr_type); - return builder_.Finish(); -} - -struct MatchingAttr FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingAttrBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ATTR_TYPE = 4, - VT_ATTR_ID = 6, - VT_NUM = 8, - VT_DATA = 10 - }; - uint32_t attr_type() const { - return GetField(VT_ATTR_TYPE, 0); - } - uint32_t attr_id() const { - return GetField(VT_ATTR_ID, 0); - } - uint32_t num() const { - return GetField(VT_NUM, 0); - } - const ::flatbuffers::Vector *data() const { - return GetPointer *>(VT_DATA); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_ATTR_TYPE, 4) && - VerifyField(verifier, VT_ATTR_ID, 4) && - VerifyField(verifier, VT_NUM, 4) && - VerifyOffset(verifier, VT_DATA) && - verifier.VerifyVector(data()) && - verifier.EndTable(); - } -}; - -struct MatchingAttrBuilder { - typedef MatchingAttr Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_attr_type(uint32_t attr_type) { - fbb_.AddElement(MatchingAttr::VT_ATTR_TYPE, attr_type, 0); - } - void add_attr_id(uint32_t attr_id) { - fbb_.AddElement(MatchingAttr::VT_ATTR_ID, attr_id, 0); - } - void add_num(uint32_t num) { - fbb_.AddElement(MatchingAttr::VT_NUM, num, 0); - } - void add_data(::flatbuffers::Offset<::flatbuffers::Vector> data) { - fbb_.AddOffset(MatchingAttr::VT_DATA, data); - } - explicit MatchingAttrBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingAttr( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t attr_type = 0, - uint32_t attr_id = 0, - uint32_t num = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> data = 0) { - MatchingAttrBuilder builder_(_fbb); - builder_.add_data(data); - builder_.add_num(num); - builder_.add_attr_id(attr_id); - builder_.add_attr_type(attr_type); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingAttrDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t attr_type = 0, - uint32_t attr_id = 0, - uint32_t num = 0, - const std::vector *data = nullptr) { - auto data__ = data ? _fbb.CreateVector(*data) : 0; - return CreateMatchingAttr( - _fbb, - attr_type, - attr_id, - num, - data__); -} - -struct CreateRoomGUIRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef CreateRoomGUIRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_TOTAL_SLOTS = 4, - VT_PRIVATE_SLOTS = 6, - VT_PRIVILEGE_GRANT = 8, - VT_STEALTH = 10, - VT_GAME_ATTRS = 12 - }; - uint32_t total_slots() const { - return GetField(VT_TOTAL_SLOTS, 0); - } - uint32_t private_slots() const { - return GetField(VT_PRIVATE_SLOTS, 0); - } - bool privilege_grant() const { - return GetField(VT_PRIVILEGE_GRANT, 0) != 0; - } - bool stealth() const { - return GetField(VT_STEALTH, 0) != 0; - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *game_attrs() const { - return GetPointer> *>(VT_GAME_ATTRS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_TOTAL_SLOTS, 4) && - VerifyField(verifier, VT_PRIVATE_SLOTS, 4) && - VerifyField(verifier, VT_PRIVILEGE_GRANT, 1) && - VerifyField(verifier, VT_STEALTH, 1) && - VerifyOffset(verifier, VT_GAME_ATTRS) && - verifier.VerifyVector(game_attrs()) && - verifier.VerifyVectorOfTables(game_attrs()) && - verifier.EndTable(); - } -}; - -struct CreateRoomGUIRequestBuilder { - typedef CreateRoomGUIRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_total_slots(uint32_t total_slots) { - fbb_.AddElement(CreateRoomGUIRequest::VT_TOTAL_SLOTS, total_slots, 0); - } - void add_private_slots(uint32_t private_slots) { - fbb_.AddElement(CreateRoomGUIRequest::VT_PRIVATE_SLOTS, private_slots, 0); - } - void add_privilege_grant(bool privilege_grant) { - fbb_.AddElement(CreateRoomGUIRequest::VT_PRIVILEGE_GRANT, static_cast(privilege_grant), 0); - } - void add_stealth(bool stealth) { - fbb_.AddElement(CreateRoomGUIRequest::VT_STEALTH, static_cast(stealth), 0); - } - void add_game_attrs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> game_attrs) { - fbb_.AddOffset(CreateRoomGUIRequest::VT_GAME_ATTRS, game_attrs); - } - explicit CreateRoomGUIRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateCreateRoomGUIRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t total_slots = 0, - uint32_t private_slots = 0, - bool privilege_grant = false, - bool stealth = false, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> game_attrs = 0) { - CreateRoomGUIRequestBuilder builder_(_fbb); - builder_.add_game_attrs(game_attrs); - builder_.add_private_slots(private_slots); - builder_.add_total_slots(total_slots); - builder_.add_stealth(stealth); - builder_.add_privilege_grant(privilege_grant); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateCreateRoomGUIRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t total_slots = 0, - uint32_t private_slots = 0, - bool privilege_grant = false, - bool stealth = false, - const std::vector<::flatbuffers::Offset> *game_attrs = nullptr) { - auto game_attrs__ = game_attrs ? _fbb.CreateVector<::flatbuffers::Offset>(*game_attrs) : 0; - return CreateCreateRoomGUIRequest( - _fbb, - total_slots, - private_slots, - privilege_grant, - stealth, - game_attrs__); -} - -struct GUIUserInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GUIUserInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_INFO = 4, - VT_OWNER = 6 - }; - const UserInfo *info() const { - return GetPointer(VT_INFO); - } - bool owner() const { - return GetField(VT_OWNER, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_INFO) && - verifier.VerifyTable(info()) && - VerifyField(verifier, VT_OWNER, 1) && - verifier.EndTable(); - } -}; - -struct GUIUserInfoBuilder { - typedef GUIUserInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_info(::flatbuffers::Offset info) { - fbb_.AddOffset(GUIUserInfo::VT_INFO, info); - } - void add_owner(bool owner) { - fbb_.AddElement(GUIUserInfo::VT_OWNER, static_cast(owner), 0); - } - explicit GUIUserInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGUIUserInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset info = 0, - bool owner = false) { - GUIUserInfoBuilder builder_(_fbb); - builder_.add_info(info); - builder_.add_owner(owner); - return builder_.Finish(); -} - -struct MatchingRoomStatus FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingRoomStatusBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ID = 4, - VT_MEMBERS = 6, - VT_KICK_ACTOR = 8, - VT_OPT = 10 - }; - const ::flatbuffers::Vector *id() const { - return GetPointer *>(VT_ID); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *members() const { - return GetPointer> *>(VT_MEMBERS); - } - const ::flatbuffers::String *kick_actor() const { - return GetPointer(VT_KICK_ACTOR); - } - const ::flatbuffers::Vector *opt() const { - return GetPointer *>(VT_OPT); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ID) && - verifier.VerifyVector(id()) && - VerifyOffset(verifier, VT_MEMBERS) && - verifier.VerifyVector(members()) && - verifier.VerifyVectorOfTables(members()) && - VerifyOffset(verifier, VT_KICK_ACTOR) && - verifier.VerifyString(kick_actor()) && - VerifyOffset(verifier, VT_OPT) && - verifier.VerifyVector(opt()) && - verifier.EndTable(); - } -}; - -struct MatchingRoomStatusBuilder { - typedef MatchingRoomStatus Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(::flatbuffers::Offset<::flatbuffers::Vector> id) { - fbb_.AddOffset(MatchingRoomStatus::VT_ID, id); - } - void add_members(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> members) { - fbb_.AddOffset(MatchingRoomStatus::VT_MEMBERS, members); - } - void add_kick_actor(::flatbuffers::Offset<::flatbuffers::String> kick_actor) { - fbb_.AddOffset(MatchingRoomStatus::VT_KICK_ACTOR, kick_actor); - } - void add_opt(::flatbuffers::Offset<::flatbuffers::Vector> opt) { - fbb_.AddOffset(MatchingRoomStatus::VT_OPT, opt); - } - explicit MatchingRoomStatusBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingRoomStatus( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> id = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> members = 0, - ::flatbuffers::Offset<::flatbuffers::String> kick_actor = 0, - ::flatbuffers::Offset<::flatbuffers::Vector> opt = 0) { - MatchingRoomStatusBuilder builder_(_fbb); - builder_.add_opt(opt); - builder_.add_kick_actor(kick_actor); - builder_.add_members(members); - builder_.add_id(id); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingRoomStatusDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *id = nullptr, - const std::vector<::flatbuffers::Offset> *members = nullptr, - const char *kick_actor = nullptr, - const std::vector *opt = nullptr) { - auto id__ = id ? _fbb.CreateVector(*id) : 0; - auto members__ = members ? _fbb.CreateVector<::flatbuffers::Offset>(*members) : 0; - auto kick_actor__ = kick_actor ? _fbb.CreateString(kick_actor) : 0; - auto opt__ = opt ? _fbb.CreateVector(*opt) : 0; - return CreateMatchingRoomStatus( - _fbb, - id__, - members__, - kick_actor__, - opt__); -} - -struct GetRoomListGUIRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef GetRoomListGUIRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_RANGE_START = 4, - VT_RANGE_MAX = 6, - VT_CONDS = 8, - VT_ATTRS = 10 - }; - uint32_t range_start() const { - return GetField(VT_RANGE_START, 0); - } - uint32_t range_max() const { - return GetField(VT_RANGE_MAX, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *conds() const { - return GetPointer> *>(VT_CONDS); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *attrs() const { - return GetPointer> *>(VT_ATTRS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_RANGE_START, 4) && - VerifyField(verifier, VT_RANGE_MAX, 4) && - VerifyOffset(verifier, VT_CONDS) && - verifier.VerifyVector(conds()) && - verifier.VerifyVectorOfTables(conds()) && - VerifyOffset(verifier, VT_ATTRS) && - verifier.VerifyVector(attrs()) && - verifier.VerifyVectorOfTables(attrs()) && - verifier.EndTable(); - } -}; - -struct GetRoomListGUIRequestBuilder { - typedef GetRoomListGUIRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_range_start(uint32_t range_start) { - fbb_.AddElement(GetRoomListGUIRequest::VT_RANGE_START, range_start, 0); - } - void add_range_max(uint32_t range_max) { - fbb_.AddElement(GetRoomListGUIRequest::VT_RANGE_MAX, range_max, 0); - } - void add_conds(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> conds) { - fbb_.AddOffset(GetRoomListGUIRequest::VT_CONDS, conds); - } - void add_attrs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attrs) { - fbb_.AddOffset(GetRoomListGUIRequest::VT_ATTRS, attrs); - } - explicit GetRoomListGUIRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateGetRoomListGUIRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t range_start = 0, - uint32_t range_max = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> conds = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attrs = 0) { - GetRoomListGUIRequestBuilder builder_(_fbb); - builder_.add_attrs(attrs); - builder_.add_conds(conds); - builder_.add_range_max(range_max); - builder_.add_range_start(range_start); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateGetRoomListGUIRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t range_start = 0, - uint32_t range_max = 0, - const std::vector<::flatbuffers::Offset> *conds = nullptr, - const std::vector<::flatbuffers::Offset> *attrs = nullptr) { - auto conds__ = conds ? _fbb.CreateVector<::flatbuffers::Offset>(*conds) : 0; - auto attrs__ = attrs ? _fbb.CreateVector<::flatbuffers::Offset>(*attrs) : 0; - return CreateGetRoomListGUIRequest( - _fbb, - range_start, - range_max, - conds__, - attrs__); -} - -struct MatchingRoom FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingRoomBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ID = 4, - VT_ATTR = 6 - }; - const ::flatbuffers::Vector *id() const { - return GetPointer *>(VT_ID); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *attr() const { - return GetPointer> *>(VT_ATTR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ID) && - verifier.VerifyVector(id()) && - VerifyOffset(verifier, VT_ATTR) && - verifier.VerifyVector(attr()) && - verifier.VerifyVectorOfTables(attr()) && - verifier.EndTable(); - } -}; - -struct MatchingRoomBuilder { - typedef MatchingRoom Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(::flatbuffers::Offset<::flatbuffers::Vector> id) { - fbb_.AddOffset(MatchingRoom::VT_ID, id); - } - void add_attr(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attr) { - fbb_.AddOffset(MatchingRoom::VT_ATTR, attr); - } - explicit MatchingRoomBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingRoom( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> id = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attr = 0) { - MatchingRoomBuilder builder_(_fbb); - builder_.add_attr(attr); - builder_.add_id(id); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingRoomDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *id = nullptr, - const std::vector<::flatbuffers::Offset> *attr = nullptr) { - auto id__ = id ? _fbb.CreateVector(*id) : 0; - auto attr__ = attr ? _fbb.CreateVector<::flatbuffers::Offset>(*attr) : 0; - return CreateMatchingRoom( - _fbb, - id__, - attr__); -} - -struct MatchingRoomList FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingRoomListBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_START = 4, - VT_TOTAL = 6, - VT_ROOMS = 8 - }; - uint32_t start() const { - return GetField(VT_START, 0); - } - uint32_t total() const { - return GetField(VT_TOTAL, 0); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *rooms() const { - return GetPointer> *>(VT_ROOMS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyField(verifier, VT_START, 4) && - VerifyField(verifier, VT_TOTAL, 4) && - VerifyOffset(verifier, VT_ROOMS) && - verifier.VerifyVector(rooms()) && - verifier.VerifyVectorOfTables(rooms()) && - verifier.EndTable(); - } -}; - -struct MatchingRoomListBuilder { - typedef MatchingRoomList Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_start(uint32_t start) { - fbb_.AddElement(MatchingRoomList::VT_START, start, 0); - } - void add_total(uint32_t total) { - fbb_.AddElement(MatchingRoomList::VT_TOTAL, total, 0); - } - void add_rooms(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rooms) { - fbb_.AddOffset(MatchingRoomList::VT_ROOMS, rooms); - } - explicit MatchingRoomListBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingRoomList( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t start = 0, - uint32_t total = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> rooms = 0) { - MatchingRoomListBuilder builder_(_fbb); - builder_.add_rooms(rooms); - builder_.add_total(total); - builder_.add_start(start); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingRoomListDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - uint32_t start = 0, - uint32_t total = 0, - const std::vector<::flatbuffers::Offset> *rooms = nullptr) { - auto rooms__ = rooms ? _fbb.CreateVector<::flatbuffers::Offset>(*rooms) : 0; - return CreateMatchingRoomList( - _fbb, - start, - total, - rooms__); -} - -struct MatchingGuiRoomId FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingGuiRoomIdBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ID = 4 - }; - const ::flatbuffers::Vector *id() const { - return GetPointer *>(VT_ID); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ID) && - verifier.VerifyVector(id()) && - verifier.EndTable(); - } -}; - -struct MatchingGuiRoomIdBuilder { - typedef MatchingGuiRoomId Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_id(::flatbuffers::Offset<::flatbuffers::Vector> id) { - fbb_.AddOffset(MatchingGuiRoomId::VT_ID, id); - } - explicit MatchingGuiRoomIdBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingGuiRoomId( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> id = 0) { - MatchingGuiRoomIdBuilder builder_(_fbb); - builder_.add_id(id); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingGuiRoomIdDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *id = nullptr) { - auto id__ = id ? _fbb.CreateVector(*id) : 0; - return CreateMatchingGuiRoomId( - _fbb, - id__); -} - -struct SetRoomSearchFlagGUI FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SetRoomSearchFlagGUIBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOMID = 4, - VT_STEALTH = 6 - }; - const ::flatbuffers::Vector *roomid() const { - return GetPointer *>(VT_ROOMID); - } - bool stealth() const { - return GetField(VT_STEALTH, 0) != 0; - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ROOMID) && - verifier.VerifyVector(roomid()) && - VerifyField(verifier, VT_STEALTH, 1) && - verifier.EndTable(); - } -}; - -struct SetRoomSearchFlagGUIBuilder { - typedef SetRoomSearchFlagGUI Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_roomid(::flatbuffers::Offset<::flatbuffers::Vector> roomid) { - fbb_.AddOffset(SetRoomSearchFlagGUI::VT_ROOMID, roomid); - } - void add_stealth(bool stealth) { - fbb_.AddElement(SetRoomSearchFlagGUI::VT_STEALTH, static_cast(stealth), 0); - } - explicit SetRoomSearchFlagGUIBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSetRoomSearchFlagGUI( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector> roomid = 0, - bool stealth = false) { - SetRoomSearchFlagGUIBuilder builder_(_fbb); - builder_.add_roomid(roomid); - builder_.add_stealth(stealth); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSetRoomSearchFlagGUIDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector *roomid = nullptr, - bool stealth = false) { - auto roomid__ = roomid ? _fbb.CreateVector(*roomid) : 0; - return CreateSetRoomSearchFlagGUI( - _fbb, - roomid__, - stealth); -} - -struct QuickMatchGUIRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef QuickMatchGUIRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_CONDS = 4, - VT_AVAILABLE_NUM = 6 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *conds() const { - return GetPointer> *>(VT_CONDS); - } - uint32_t available_num() const { - return GetField(VT_AVAILABLE_NUM, 0); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_CONDS) && - verifier.VerifyVector(conds()) && - verifier.VerifyVectorOfTables(conds()) && - VerifyField(verifier, VT_AVAILABLE_NUM, 4) && - verifier.EndTable(); - } -}; - -struct QuickMatchGUIRequestBuilder { - typedef QuickMatchGUIRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_conds(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> conds) { - fbb_.AddOffset(QuickMatchGUIRequest::VT_CONDS, conds); - } - void add_available_num(uint32_t available_num) { - fbb_.AddElement(QuickMatchGUIRequest::VT_AVAILABLE_NUM, available_num, 0); - } - explicit QuickMatchGUIRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateQuickMatchGUIRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> conds = 0, - uint32_t available_num = 0) { - QuickMatchGUIRequestBuilder builder_(_fbb); - builder_.add_available_num(available_num); - builder_.add_conds(conds); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateQuickMatchGUIRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *conds = nullptr, - uint32_t available_num = 0) { - auto conds__ = conds ? _fbb.CreateVector<::flatbuffers::Offset>(*conds) : 0; - return CreateQuickMatchGUIRequest( - _fbb, - conds__, - available_num); -} - -struct SearchJoinRoomGUIRequest FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef SearchJoinRoomGUIRequestBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_CONDS = 4, - VT_ATTRS = 6 - }; - const ::flatbuffers::Vector<::flatbuffers::Offset> *conds() const { - return GetPointer> *>(VT_CONDS); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *attrs() const { - return GetPointer> *>(VT_ATTRS); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_CONDS) && - verifier.VerifyVector(conds()) && - verifier.VerifyVectorOfTables(conds()) && - VerifyOffset(verifier, VT_ATTRS) && - verifier.VerifyVector(attrs()) && - verifier.VerifyVectorOfTables(attrs()) && - verifier.EndTable(); - } -}; - -struct SearchJoinRoomGUIRequestBuilder { - typedef SearchJoinRoomGUIRequest Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_conds(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> conds) { - fbb_.AddOffset(SearchJoinRoomGUIRequest::VT_CONDS, conds); - } - void add_attrs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attrs) { - fbb_.AddOffset(SearchJoinRoomGUIRequest::VT_ATTRS, attrs); - } - explicit SearchJoinRoomGUIRequestBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateSearchJoinRoomGUIRequest( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> conds = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attrs = 0) { - SearchJoinRoomGUIRequestBuilder builder_(_fbb); - builder_.add_attrs(attrs); - builder_.add_conds(conds); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateSearchJoinRoomGUIRequestDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - const std::vector<::flatbuffers::Offset> *conds = nullptr, - const std::vector<::flatbuffers::Offset> *attrs = nullptr) { - auto conds__ = conds ? _fbb.CreateVector<::flatbuffers::Offset>(*conds) : 0; - auto attrs__ = attrs ? _fbb.CreateVector<::flatbuffers::Offset>(*attrs) : 0; - return CreateSearchJoinRoomGUIRequest( - _fbb, - conds__, - attrs__); -} - -struct MatchingSearchJoinRoomInfo FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { - typedef MatchingSearchJoinRoomInfoBuilder Builder; - enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE { - VT_ROOM = 4, - VT_ATTR = 6 - }; - const MatchingRoomStatus *room() const { - return GetPointer(VT_ROOM); - } - const ::flatbuffers::Vector<::flatbuffers::Offset> *attr() const { - return GetPointer> *>(VT_ATTR); - } - bool Verify(::flatbuffers::Verifier &verifier) const { - return VerifyTableStart(verifier) && - VerifyOffset(verifier, VT_ROOM) && - verifier.VerifyTable(room()) && - VerifyOffset(verifier, VT_ATTR) && - verifier.VerifyVector(attr()) && - verifier.VerifyVectorOfTables(attr()) && - verifier.EndTable(); - } -}; - -struct MatchingSearchJoinRoomInfoBuilder { - typedef MatchingSearchJoinRoomInfo Table; - ::flatbuffers::FlatBufferBuilder &fbb_; - ::flatbuffers::uoffset_t start_; - void add_room(::flatbuffers::Offset room) { - fbb_.AddOffset(MatchingSearchJoinRoomInfo::VT_ROOM, room); - } - void add_attr(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attr) { - fbb_.AddOffset(MatchingSearchJoinRoomInfo::VT_ATTR, attr); - } - explicit MatchingSearchJoinRoomInfoBuilder(::flatbuffers::FlatBufferBuilder &_fbb) - : fbb_(_fbb) { - start_ = fbb_.StartTable(); - } - ::flatbuffers::Offset Finish() { - const auto end = fbb_.EndTable(start_); - auto o = ::flatbuffers::Offset(end); - return o; - } -}; - -inline ::flatbuffers::Offset CreateMatchingSearchJoinRoomInfo( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset room = 0, - ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset>> attr = 0) { - MatchingSearchJoinRoomInfoBuilder builder_(_fbb); - builder_.add_attr(attr); - builder_.add_room(room); - return builder_.Finish(); -} - -inline ::flatbuffers::Offset CreateMatchingSearchJoinRoomInfoDirect( - ::flatbuffers::FlatBufferBuilder &_fbb, - ::flatbuffers::Offset room = 0, - const std::vector<::flatbuffers::Offset> *attr = nullptr) { - auto attr__ = attr ? _fbb.CreateVector<::flatbuffers::Offset>(*attr) : 0; - return CreateMatchingSearchJoinRoomInfo( - _fbb, - room, - attr__); -} - -#endif // FLATBUFFERS_GENERATED_NP2STRUCTS_H_ diff --git a/rpcs3/Emu/NP/ip_address.cpp b/rpcs3/Emu/NP/ip_address.cpp index ce7b460272..7d9d972d7c 100644 --- a/rpcs3/Emu/NP/ip_address.cpp +++ b/rpcs3/Emu/NP/ip_address.cpp @@ -66,28 +66,30 @@ namespace np return sockaddr_ipv6; } - u32 register_ip(const flatbuffers::Vector* vec) + u32 register_ip(const std::string& ip_bytes) { - if (vec->size() == 4) + if (ip_bytes.size() == 4) { - const u32 ip = static_cast(vec->Get(0)) << 24 | static_cast(vec->Get(1)) << 16 | - static_cast(vec->Get(2)) << 8 | static_cast(vec->Get(3)); + const u32 ip = static_cast(static_cast(ip_bytes[0])) << 24 | + static_cast(static_cast(ip_bytes[1])) << 16 | + static_cast(static_cast(ip_bytes[2])) << 8 | + static_cast(static_cast(ip_bytes[3])); u32 result_ip = std::bit_cast>(ip); return result_ip; } - else if (vec->size() == 16) + else if (ip_bytes.size() == 16) { std::array ipv6_addr{}; - std::memcpy(ipv6_addr.data(), vec->Data(), 16); + std::memcpy(ipv6_addr.data(), ip_bytes.data(), 16); auto& translator = g_fxo->get(); return translator.register_ipv6(ipv6_addr); } else { - fmt::throw_exception("Received ip address with size = %d", vec->size()); + fmt::throw_exception("Received ip address with size = %d", ip_bytes.size()); } } diff --git a/rpcs3/Emu/NP/ip_address.h b/rpcs3/Emu/NP/ip_address.h index 3857275aac..f019e299cb 100644 --- a/rpcs3/Emu/NP/ip_address.h +++ b/rpcs3/Emu/NP/ip_address.h @@ -1,10 +1,9 @@ #pragma once #include +#include #include -#include - #include "util/types.hpp" #include "Utilities/mutex.h" @@ -67,7 +66,7 @@ namespace np std::vector> ipv4_to_ipv6; }; - u32 register_ip(const flatbuffers::Vector* vec); + u32 register_ip(const std::string& ip_bytes); enum class IPV6_SUPPORT : u8 { diff --git a/rpcs3/Emu/NP/np_notifications.cpp b/rpcs3/Emu/NP/np_notifications.cpp index 55b74ec761..d5756a8351 100644 --- a/rpcs3/Emu/NP/np_notifications.cpp +++ b/rpcs3/Emu/NP/np_notifications.cpp @@ -5,7 +5,7 @@ #include "Emu/NP/np_handler.h" #include "Emu/NP/np_helpers.h" #include "Emu/NP/np_structs_extra.h" -#include "Emu/NP/fb_helpers.h" +#include "Emu/NP/pb_helpers.h" #include "Emu/NP/signaling_handler.h" #include "Emu/NP/ip_address.h" @@ -15,7 +15,7 @@ namespace np { void np_handler::notif_user_joined_room(vec_stream& noti) { - const auto* notification = noti.get_flatbuffer(); + auto notification = noti.get_protobuf(); if (noti.is_error()) { @@ -23,7 +23,7 @@ namespace np return; } - ensure(notification->update_info()); + ensure(notification->has_update_info()); const u32 event_key = get_event_key(); const auto [include_onlinename, include_avatarurl] = get_match2_context_options(room_event_cb_ctx); @@ -45,10 +45,11 @@ namespace np extra_nps::print_SceNpMatching2RoomMemberDataInternal(notif_data->roomMemberDataInternal.get_ptr()); // We initiate signaling if necessary - if (const auto* signaling_info = notification->signaling()) + if (notification->has_signaling()) { - const u32 addr_p2p = register_ip(signaling_info->ip()); - const u16 port_p2p = signaling_info->port(); + const auto& signaling_info = notification->signaling(); + const u32 addr_p2p = register_ip(signaling_info.ip()); + const u16 port_p2p = signaling_info.port().value(); const u16 member_id = notif_data->roomMemberDataInternal->memberId; const SceNpId& npid = notif_data->roomMemberDataInternal->userInfo.npId; @@ -74,7 +75,7 @@ namespace np void np_handler::notif_user_left_room(vec_stream& noti) { u64 room_id = noti.get(); - const auto* update_info = noti.get_flatbuffer(); + auto update_info = noti.get_protobuf(); if (noti.is_error()) { @@ -87,7 +88,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_RoomMemberUpdateInfo, sizeof(SceNpMatching2RoomMemberUpdateInfo)); auto* notif_data = reinterpret_cast(edata.data()); - RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(edata, update_info, notif_data, include_onlinename, include_avatarurl); + RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(edata, *update_info, notif_data, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); // Ensures we do not call the callback if the room is not in the cache(ie we left the room already) @@ -113,7 +114,7 @@ namespace np void np_handler::notif_room_destroyed(vec_stream& noti) { u64 room_id = noti.get(); - const auto* update_info = noti.get_flatbuffer(); + auto update_info = noti.get_protobuf(); if (noti.is_error()) { @@ -125,7 +126,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_RoomUpdateInfo, sizeof(SceNpMatching2RoomUpdateInfo)); auto* notif_data = reinterpret_cast(edata.data()); - RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(update_info, notif_data); + RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(*update_info, notif_data); np_memory.shrink_allocation(edata.addr(), edata.size()); rpcn_log.notice("Received notification that room(%d) was destroyed", room_id); @@ -146,7 +147,7 @@ namespace np void np_handler::notif_updated_room_data_internal(vec_stream& noti) { SceNpMatching2RoomId room_id = noti.get(); - const auto* update_info = noti.get_flatbuffer(); + auto update_info = noti.get_protobuf(); if (noti.is_error()) { @@ -159,7 +160,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_RoomDataInternalUpdateInfo, sizeof(SceNpMatching2RoomDataInternalUpdateInfo)); auto* notif_data = reinterpret_cast(edata.data()); - RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(edata, update_info, notif_data, npid, include_onlinename, include_avatarurl); + RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(edata, *update_info, notif_data, npid, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); np_cache.insert_room(notif_data->newRoomDataInternal.get_ptr()); @@ -181,7 +182,7 @@ namespace np void np_handler::notif_updated_room_member_data_internal(vec_stream& noti) { SceNpMatching2RoomId room_id = noti.get(); - const auto* update_info = noti.get_flatbuffer(); + auto update_info = noti.get_protobuf(); if (noti.is_error()) { @@ -194,7 +195,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_RoomMemberDataInternalUpdateInfo, sizeof(SceNpMatching2RoomMemberDataInternalUpdateInfo)); auto* notif_data = reinterpret_cast(edata.data()); - RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(edata, update_info, notif_data, include_onlinename, include_avatarurl); + RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(edata, *update_info, notif_data, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); if (!np_cache.add_member(room_id, notif_data->newRoomMemberDataInternal.get_ptr())) @@ -220,7 +221,7 @@ namespace np { u64 room_id = noti.get(); u16 member_id = noti.get(); - const auto* message_info = noti.get_flatbuffer(); + auto message_info = noti.get_protobuf(); if (noti.is_error()) { @@ -233,7 +234,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_RoomMessageInfo, sizeof(SceNpMatching2RoomMessageInfo)); auto* notif_data = reinterpret_cast(edata.data()); - RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(edata, message_info, notif_data, include_onlinename, include_avatarurl); + RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(edata, *message_info, notif_data, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); rpcn_log.notice("Received notification of a room message from member(%d) in room(%d)", member_id, room_id); @@ -250,19 +251,19 @@ namespace np void np_handler::notif_signaling_helper(vec_stream& noti) { - const auto* matching_info = noti.get_flatbuffer(); + auto matching_info = noti.get_protobuf(); - if (noti.is_error() || !matching_info->addr() || !matching_info->npid() || !matching_info->addr()->ip()) + if (noti.is_error() || !matching_info->has_addr() || matching_info->npid().empty() || matching_info->addr().ip().empty()) { rpcn_log.error("Received faulty SignalingHelper notification"); return; } SceNpId npid_p2p; - string_to_npid(matching_info->npid()->string_view(), npid_p2p); + string_to_npid(matching_info->npid(), npid_p2p); - const u32 addr_p2p = register_ip(matching_info->addr()->ip()); - const u16 port_p2p = matching_info->addr()->port(); + const u32 addr_p2p = register_ip(matching_info->addr().ip()); + const u16 port_p2p = matching_info->addr().port().value(); auto& sigh = g_fxo->get>(); sigh.send_information_packets(addr_p2p, port_p2p, npid_p2p); @@ -270,7 +271,7 @@ namespace np void np_handler::generic_gui_notification_handler(vec_stream& noti, std::string_view name, s32 notification_type) { - const auto* update_info = noti.get_flatbuffer(); + auto update_info = noti.get_protobuf(); if (noti.is_error()) { @@ -290,7 +291,7 @@ namespace np event_data edata(np_memory.allocate(MAX_SceNpMatchingRoomStatus_SIZE), sizeof(SceNpMatchingRoomStatus), MAX_SceNpMatchingRoomStatus_SIZE); auto* room_status = reinterpret_cast(edata.data()); - MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, update_info, room_status); + MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, *update_info, room_status); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingRoomStatus(room_status); @@ -351,7 +352,7 @@ namespace np void np_handler::notif_quickmatch_complete_gui(vec_stream& noti) { - const auto* update_info = noti.get_flatbuffer(); + auto update_info = noti.get_protobuf(); if (noti.is_error()) { @@ -363,7 +364,7 @@ namespace np event_data edata(np_memory.allocate(MAX_SceNpMatchingJoinedRoomInfo_SIZE), sizeof(SceNpMatchingJoinedRoomInfo), MAX_SceNpMatchingJoinedRoomInfo_SIZE); auto* room_info = reinterpret_cast(edata.data()); - MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(edata, update_info, room_info); + MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(edata, *update_info, room_info); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingJoinedRoomInfo(room_info); diff --git a/rpcs3/Emu/NP/np_requests.cpp b/rpcs3/Emu/NP/np_requests.cpp index 23e3d7ca75..1c9102ba2a 100644 --- a/rpcs3/Emu/NP/np_requests.cpp +++ b/rpcs3/Emu/NP/np_requests.cpp @@ -14,7 +14,7 @@ #include "np_contexts.h" #include "np_helpers.h" #include "np_structs_extra.h" -#include "fb_helpers.h" +#include "pb_helpers.h" #include "Emu/NP/signaling_handler.h" #include "Emu/NP/ip_address.h" @@ -200,7 +200,7 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to CreateRoom command"); const u32 event_key = get_event_key(); @@ -209,7 +209,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_CreateJoinRoom, sizeof(SceNpMatching2CreateJoinRoomResponse)); auto* room_resp = reinterpret_cast(edata.data()); auto* room_info = edata.allocate(sizeof(SceNpMatching2RoomDataInternal), room_resp->roomDataInternal); - RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, resp, room_info, npid, include_onlinename, include_avatarurl); + RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, *resp, room_info, npid, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); np_cache.insert_room(room_info); @@ -262,9 +262,9 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to JoinRoom command"); - ensure(resp->room_data()); + ensure(resp->has_room_data()); const u32 event_key = get_event_key(); const auto [include_onlinename, include_avatarurl] = get_match2_context_options(cb_info_opt->ctx_id); @@ -280,19 +280,19 @@ namespace np extra_nps::print_SceNpMatching2RoomDataInternal(room_info); // We initiate signaling if necessary - if (const auto* signaling_data = resp->signaling_data()) + if (resp->signaling_data_size() > 0) { - const u64 room_id = resp->room_data()->roomId(); + const u64 room_id = resp->room_data().roomid(); - for (unsigned int i = 0; i < signaling_data->size(); i++) + for (int i = 0; i < resp->signaling_data_size(); i++) { - const auto* signaling_info = signaling_data->Get(i); - ensure(signaling_info->addr()); + const auto& signaling_info = resp->signaling_data(i); + ensure(signaling_info.has_addr()); - const u32 addr_p2p = register_ip(signaling_info->addr()->ip()); - const u16 port_p2p = signaling_info->addr()->port(); + const u32 addr_p2p = register_ip(signaling_info.addr().ip()); + const u16 port_p2p = signaling_info.addr().port().value(); - const u16 member_id = signaling_info->member_id(); + const u16 member_id = signaling_info.member_id().value(); const auto [npid_res, npid_p2p] = np_cache.get_npid(room_id, member_id); if (npid_res != CELL_OK) @@ -379,7 +379,7 @@ namespace np ensure(error == rpcn::ErrorType::NoError, "Unexpected error in SearchRoom reply"); - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to SearchRoom command"); const u32 event_key = get_event_key(); @@ -387,7 +387,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_SearchRoom, sizeof(SceNpMatching2SearchRoomResponse)); auto* search_resp = reinterpret_cast(edata.data()); // The online_name and avatar_url are naturally filtered by the reply from the server - SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(edata, resp, search_resp); + SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(edata, *resp, search_resp); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatching2SearchRoomResponse(search_resp); @@ -418,7 +418,7 @@ namespace np ensure(error == rpcn::ErrorType::NoError, "Unexpected error in GetRoomDataExternalList reply"); - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetRoomDataExternalList command"); const u32 event_key = get_event_key(); @@ -426,7 +426,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_GetRoomDataExternalList, sizeof(SceNpMatching2GetRoomDataExternalListResponse)); auto* sce_get_room_ext_resp = reinterpret_cast(edata.data()); - GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(edata, resp, sce_get_room_ext_resp, include_onlinename, include_avatarurl); + GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(edata, *resp, sce_get_room_ext_resp, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatching2GetRoomDataExternalListResponse(sce_get_room_ext_resp); @@ -504,7 +504,7 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetRoomDataInternal command"); const u32 event_key = get_event_key(); @@ -513,7 +513,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_GetRoomDataInternal, sizeof(SceNpMatching2GetRoomDataInternalResponse)); auto* room_resp = reinterpret_cast(edata.data()); auto* room_info = edata.allocate(sizeof(SceNpMatching2RoomDataInternal), room_resp->roomDataInternal); - RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, resp, room_info, npid, include_onlinename, include_avatarurl); + RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, *resp, room_info, npid, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); np_cache.insert_room(room_info); @@ -594,7 +594,7 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetRoomMemberDataInternal command"); const u32 event_key = get_event_key(); @@ -603,7 +603,7 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_GetRoomMemberDataInternal, sizeof(SceNpMatching2GetRoomMemberDataInternalResponse)); auto* mdata_resp = reinterpret_cast(edata.data()); auto* mdata_info = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), mdata_resp->roomMemberDataInternal); - RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, resp, nullptr, mdata_info, include_onlinename, include_avatarurl); + RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, *resp, nullptr, mdata_info, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); cb_info_opt->queue_callback(req_id, event_key, 0, edata.size()); @@ -709,14 +709,14 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to PingRoomOwner command"); const u32 event_key = get_event_key(); auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_SignalingGetPingInfo, sizeof(SceNpMatching2SignalingGetPingInfoResponse)); auto* final_ping_resp = reinterpret_cast(edata.data()); - GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(resp, final_ping_resp); + GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(*resp, final_ping_resp); np_memory.shrink_allocation(edata.addr(), edata.size()); cb_info_opt->queue_callback(req_id, event_key, 0, edata.size()); } @@ -789,12 +789,12 @@ namespace np default: fmt::throw_exception("Unexpected error in reply to RequestSignalingInfos: %d", static_cast(error)); } - const auto* resp = reply.get_flatbuffer(); - ensure(!reply.is_error() && resp->ip(), "Malformed reply to RequestSignalingInfos command"); + const auto resp = reply.get_protobuf(); + ensure(!reply.is_error() && !resp->ip().empty(), "Malformed reply to RequestSignalingInfos command"); u32 addr = register_ip(resp->ip()); auto& sigh = g_fxo->get>(); - sigh.start_sig(conn_id, addr, resp->port()); + sigh.start_sig(conn_id, addr, resp->port().value()); } u32 np_handler::get_lobby_info_list(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2GetLobbyInfoListRequest* req) @@ -970,15 +970,15 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetBoardInfos command"); const SceNpScoreBoardInfo board_info{ - .rankLimit = resp->rankLimit(), - .updateMode = resp->updateMode(), - .sortMode = resp->sortMode(), - .uploadNumLimit = resp->uploadNumLimit(), - .uploadSizeLimit = resp->uploadSizeLimit() + .rankLimit = resp->ranklimit(), + .updateMode = resp->updatemode(), + .sortMode = resp->sortmode(), + .uploadNumLimit = resp->uploadnumlimit(), + .uploadSizeLimit = resp->uploadsizelimit() }; std::lock_guard lock(score_trans->mutex); @@ -1195,22 +1195,22 @@ namespace np } template - void set_rankdata_values(T& cur_rank, const ScoreRankData* fb_rankdata) + void set_rankdata_values(T& cur_rank, const np2_structs::ScoreRankData& pb_rankdata) { - string_to_npid(fb_rankdata->npId()->string_view(), cur_rank.npId); - string_to_online_name(fb_rankdata->onlineName()->string_view(), cur_rank.onlineName); + string_to_npid(pb_rankdata.npid(), cur_rank.npId); + string_to_online_name(pb_rankdata.onlinename(), cur_rank.onlineName); static_assert(std::is_same_v || std::is_same_v); if constexpr (std::is_same_v) - cur_rank.pcId = fb_rankdata->pcId(); + cur_rank.pcId = pb_rankdata.pcid(); - cur_rank.serialRank = fb_rankdata->rank(); - cur_rank.rank = fb_rankdata->rank(); - cur_rank.highestRank = fb_rankdata->rank(); - cur_rank.scoreValue = fb_rankdata->score(); - cur_rank.hasGameData = fb_rankdata->hasGameData(); - cur_rank.recordDate.tick = fb_rankdata->recordDate(); + cur_rank.serialRank = pb_rankdata.rank(); + cur_rank.rank = pb_rankdata.rank(); + cur_rank.highestRank = pb_rankdata.rank(); + cur_rank.scoreValue = pb_rankdata.score(); + cur_rank.hasGameData = pb_rankdata.hasgamedata(); + cur_rank.recordDate.tick = pb_rankdata.recorddate(); } void np_handler::handle_GetScoreResponse(u32 req_id, rpcn::ErrorType error, vec_stream& reply, bool simple_result) @@ -1232,15 +1232,14 @@ namespace np default: fmt::throw_exception("Unexpected error in GetScoreResponse: %d", static_cast(error)); } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Error parsing response in handle_GetScoreResponse"); const auto* tdata = std::get_if(&score_trans->tdata); ensure(tdata); - ensure(resp->rankArray() && resp->rankArray()->size() <= tdata->arrayNum); + ensure(static_cast(resp->rankarray_size()) <= tdata->arrayNum); memset(tdata->rankArray.get_ptr(), 0, tdata->rankArraySize); - auto* fb_rankarray = resp->rankArray(); vm::ptr rankPlayerArray = vm::static_ptr_cast(tdata->rankArray); vm::ptr rankPlayerArray_deprecated = vm::static_ptr_cast(tdata->rankArray); @@ -1249,12 +1248,12 @@ namespace np u32 num_scores_registered = 0; - for (flatbuffers::uoffset_t i = 0; i < fb_rankarray->size(); i++) + for (int i = 0; i < resp->rankarray_size(); i++) { - const auto* fb_rankdata = fb_rankarray->Get(i); - ensure(fb_rankdata->npId() && fb_rankdata->onlineName()); + const auto& pb_rankdata = resp->rankarray(i); + ensure(!pb_rankdata.npid().empty() && !pb_rankdata.onlinename().empty()); - if (fb_rankdata->recordDate() == 0) + if (pb_rankdata.recorddate() == 0) continue; num_scores_registered++; @@ -1264,75 +1263,73 @@ namespace np if (tdata->deprecated) { rankPlayerArray_deprecated[i].hasData = 1; - set_rankdata_values(rankPlayerArray_deprecated[i].rankData, fb_rankdata); + set_rankdata_values(rankPlayerArray_deprecated[i].rankData, pb_rankdata); } else { rankPlayerArray[i].hasData = 1; - set_rankdata_values(rankPlayerArray[i].rankData, fb_rankdata); + set_rankdata_values(rankPlayerArray[i].rankData, pb_rankdata); } } else { if (tdata->deprecated) { - set_rankdata_values(rankArray_deprecated[i], fb_rankdata); + set_rankdata_values(rankArray_deprecated[i], pb_rankdata); } else { - set_rankdata_values(rankArray[i], fb_rankdata); + set_rankdata_values(rankArray[i], pb_rankdata); } } } if (tdata->commentArray) { - ensure(resp->commentArray() && resp->commentArray()->size() <= tdata->arrayNum); + ensure(static_cast(resp->commentarray_size()) <= tdata->arrayNum); memset(tdata->commentArray.get_ptr(), 0, sizeof(SceNpScoreComment) * tdata->arrayNum); - auto* fb_commentarray = resp->commentArray(); - for (flatbuffers::uoffset_t i = 0; i < fb_commentarray->size(); i++) + for (int i = 0; i < resp->commentarray_size(); i++) { - const auto* fb_comment = fb_commentarray->Get(i); - strcpy_trunc(tdata->commentArray[i].data, fb_comment->string_view()); + const auto& pb_comment = resp->commentarray(i); + strcpy_trunc(tdata->commentArray[i].data, pb_comment); } } if (tdata->infoArray) { - ensure(resp->infoArray() && resp->infoArray()->size() <= tdata->arrayNum); - auto* fb_infoarray = resp->infoArray(); + ensure(static_cast(resp->infoarray_size()) <= tdata->arrayNum); if ((tdata->arrayNum * sizeof(SceNpScoreGameInfo)) == tdata->infoArraySize) { vm::ptr ptr_gameinfo = vm::static_ptr_cast(tdata->infoArray); memset(ptr_gameinfo.get_ptr(), 0, sizeof(SceNpScoreGameInfo) * tdata->arrayNum); - for (flatbuffers::uoffset_t i = 0; i < fb_infoarray->size(); i++) + for (int i = 0; i < resp->infoarray_size(); i++) { - const auto* fb_info = fb_infoarray->Get(i); - ensure(fb_info->data()->size() <= SCE_NP_SCORE_GAMEINFO_SIZE); - memcpy(ptr_gameinfo[i].nativeData, fb_info->data()->data(), fb_info->data()->size()); + const auto& pb_info = resp->infoarray(i); + ensure(pb_info.data().size() <= SCE_NP_SCORE_GAMEINFO_SIZE); + memcpy(ptr_gameinfo[i].nativeData, pb_info.data().data(), pb_info.data().size()); } } else { vm::ptr ptr_vargameinfo = vm::static_ptr_cast(tdata->infoArray); memset(ptr_vargameinfo.get_ptr(), 0, sizeof(SceNpScoreVariableSizeGameInfo) * tdata->arrayNum); - for (flatbuffers::uoffset_t i = 0; i < fb_infoarray->size(); i++) + for (int i = 0; i < resp->infoarray_size(); i++) { - const auto* fb_info = fb_infoarray->Get(i); - ensure(fb_info->data()->size() <= SCE_NP_SCORE_VARIABLE_SIZE_GAMEINFO_MAXSIZE); - ptr_vargameinfo[i].infoSize = fb_info->data()->size(); - memcpy(ptr_vargameinfo[i].data, fb_info->data(), fb_info->data()->size()); + const auto& pb_info = resp->infoarray(i); + ensure(pb_info.data().size() <= SCE_NP_SCORE_VARIABLE_SIZE_GAMEINFO_MAXSIZE); + ptr_vargameinfo[i].infoSize = ::narrow(pb_info.data().size()); + memcpy(ptr_vargameinfo[i].data, pb_info.data().data(), pb_info.data().size()); } } } - tdata->lastSortDate->tick = resp->lastSortDate(); - *tdata->totalRecord = resp->totalRecord(); + tdata->lastSortDate->tick = resp->lastsortdate(); + *tdata->totalRecord = resp->totalrecord(); if (num_scores_registered) - score_trans->result = simple_result ? CELL_OK : not_an_error(fb_rankarray->size()); + score_trans->result = simple_result ? CELL_OK : not_an_error(resp->rankarray_size()); else score_trans->result = SCE_NP_COMMUNITY_SERVER_ERROR_GAME_RANKING_NOT_FOUND; @@ -1446,39 +1443,37 @@ namespace np default: fmt::throw_exception("Unexpected error in handle_TusVarResponse: %d", static_cast(error)); } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Error parsing response in handle_TusVarResponse"); const auto* tdata = std::get_if(&tus_trans->tdata); ensure(tdata); - ensure(resp->vars() && resp->vars()->size() <= static_cast(tdata->arrayNum)); - - const auto* fb_vars = resp->vars(); + ensure(static_cast(resp->vars_size()) <= static_cast(tdata->arrayNum)); memset(tdata->variableArray.get_ptr(), 0, sizeof(SceNpTusVariable) * tdata->arrayNum); - for (flatbuffers::uoffset_t i = 0; i < fb_vars->size(); i++) + for (int i = 0; i < resp->vars_size(); i++) { auto* cur_var = &tdata->variableArray[i]; - const auto* cur_fb_var = fb_vars->Get(i); + const auto& cur_pb_var = resp->vars(i); - ensure(cur_fb_var->ownerId()); - string_to_npid(cur_fb_var->ownerId()->string_view(), cur_var->ownerId); + ensure(!cur_pb_var.ownerid().empty()); + string_to_npid(cur_pb_var.ownerid(), cur_var->ownerId); - if (!cur_fb_var->hasData()) + if (!cur_pb_var.hasdata()) { continue; } - ensure(cur_fb_var->lastChangedAuthorId()); + ensure(!cur_pb_var.lastchangedauthorid().empty()); cur_var->hasData = 1; - cur_var->lastChangedDate.tick = cur_fb_var->lastChangedDate(); - string_to_npid(cur_fb_var->lastChangedAuthorId()->string_view(), cur_var->lastChangedAuthorId); - cur_var->variable = cur_fb_var->variable(); - cur_var->oldVariable = cur_fb_var->oldVariable(); + cur_var->lastChangedDate.tick = cur_pb_var.lastchangeddate(); + string_to_npid(cur_pb_var.lastchangedauthorid(), cur_var->lastChangedAuthorId); + cur_var->variable = cur_pb_var.variable(); + cur_var->oldVariable = cur_pb_var.oldvariable(); } - tus_trans->result = not_an_error(fb_vars->size()); + tus_trans->result = not_an_error(resp->vars_size()); tus_trans->wake_cond.notify_one(); } @@ -1504,7 +1499,7 @@ namespace np default: fmt::throw_exception("Unexpected error in handle_TusVariable: %d", static_cast(error)); } - const auto* fb_var = reply.get_flatbuffer(); + auto pb_var = reply.get_protobuf(); ensure(!reply.is_error(), "Error parsing response in handle_TusVariable"); const auto* tdata = std::get_if(&tus_trans->tdata); @@ -1513,17 +1508,17 @@ namespace np auto* var = tdata->outVariable.get_ptr(); memset(var, 0, sizeof(SceNpTusVariable)); - ensure(fb_var->ownerId()); - string_to_npid(fb_var->ownerId()->string_view(), var->ownerId); + ensure(!pb_var->ownerid().empty()); + string_to_npid(pb_var->ownerid(), var->ownerId); - if (fb_var->hasData()) + if (pb_var->hasdata()) { - ensure(fb_var->lastChangedAuthorId()); + ensure(!pb_var->lastchangedauthorid().empty()); var->hasData = 1; - var->lastChangedDate.tick = fb_var->lastChangedDate(); - string_to_npid(fb_var->lastChangedAuthorId()->string_view(), var->lastChangedAuthorId); - var->variable = fb_var->variable(); - var->oldVariable = fb_var->oldVariable(); + var->lastChangedDate.tick = pb_var->lastchangeddate(); + string_to_npid(pb_var->lastchangedauthorid(), var->lastChangedAuthorId); + var->variable = pb_var->variable(); + var->oldVariable = pb_var->oldvariable(); } tus_trans->result = CELL_OK; @@ -1552,42 +1547,37 @@ namespace np default: fmt::throw_exception("Unexpected error in handle_TusDataStatusResponse: %d", static_cast(error)); } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Error parsing response in handle_TusDataStatusReponse"); const auto* tdata = std::get_if(&tus_trans->tdata); ensure(tdata); - ensure(resp->status() && resp->status()->size() <= static_cast(tdata->arrayNum)); - - const auto* fb_status = resp->status(); + ensure(static_cast(resp->status_size()) <= static_cast(tdata->arrayNum)); memset(tdata->statusArray.get_ptr(), 0, sizeof(SceNpTusDataStatus) * tdata->arrayNum); - for (flatbuffers::uoffset_t i = 0; i < fb_status->size(); i++) + for (int i = 0; i < resp->status_size(); i++) { auto* cur_status = &tdata->statusArray[i]; - const auto* cur_fb_status = fb_status->Get(i); + const auto& cur_pb_status = resp->status(i); - ensure(cur_fb_status->ownerId()); - string_to_npid(cur_fb_status->ownerId()->string_view(), cur_status->ownerId); + ensure(!cur_pb_status.ownerid().empty()); + string_to_npid(cur_pb_status.ownerid(), cur_status->ownerId); - if (!cur_fb_status->hasData()) + if (!cur_pb_status.hasdata()) { continue; } - ensure(cur_fb_status->lastChangedAuthorId()); + ensure(!cur_pb_status.lastchangedauthorid().empty()); cur_status->hasData = 1; - cur_status->lastChangedDate.tick = cur_fb_status->lastChangedDate(); - string_to_npid(cur_fb_status->lastChangedAuthorId()->string_view(), cur_status->lastChangedAuthorId); - cur_status->info.infoSize = cur_fb_status->info() ? cur_fb_status->info()->size() : 0; - for (flatbuffers::uoffset_t i = 0; i < cur_status->info.infoSize; i++) - { - cur_status->info.data[i] = cur_fb_status->info()->Get(i); - } + cur_status->lastChangedDate.tick = cur_pb_status.lastchangeddate(); + string_to_npid(cur_pb_status.lastchangedauthorid(), cur_status->lastChangedAuthorId); + cur_status->info.infoSize = ::narrow(cur_pb_status.info().size()); + memcpy(cur_status->info.data, cur_pb_status.info().data(), cur_pb_status.info().size()); } - tus_trans->result = not_an_error(fb_status->size()); + tus_trans->result = not_an_error(resp->status_size()); tus_trans->wake_cond.notify_one(); } @@ -1798,48 +1788,39 @@ namespace np default: fmt::throw_exception("Unexpected error in reply to TusGetData: %d", static_cast(error)); } - const auto* fb_data = reply.get_flatbuffer(); + auto pb_data = reply.get_protobuf(); ensure(!reply.is_error(), "Error parsing response in reply_tus_get_data"); auto* tdata = std::get_if(&tus_trans->tdata); ensure(tdata); - const auto* fb_status = fb_data->status(); - ensure(fb_status && fb_status->ownerId()); - if (!fb_status) - return; // Sanity check to make compiler happy + ensure(pb_data->has_status() && !pb_data->status().ownerid().empty()); + const auto& pb_status = pb_data->status(); auto* data_status = tdata->dataStatus.get_ptr(); auto* data = static_cast(tdata->data.get_ptr()); memset(data_status, 0, sizeof(SceNpTusDataStatus)); - string_to_npid(fb_status->ownerId()->string_view(), data_status->ownerId); + string_to_npid(pb_status.ownerid(), data_status->ownerId); - if (fb_status->hasData()) + if (pb_status.hasdata()) { data_status->hasData = 1; - data_status->lastChangedDate.tick = fb_status->lastChangedDate(); - string_to_npid(fb_status->lastChangedAuthorId()->string_view(), data_status->lastChangedAuthorId); + data_status->lastChangedDate.tick = pb_status.lastchangeddate(); + string_to_npid(pb_status.lastchangedauthorid(), data_status->lastChangedAuthorId); data_status->data = tdata->data; - data_status->dataSize = fb_data->data() ? fb_data->data()->size() : 0; - data_status->info.infoSize = fb_status->info() ? fb_status->info()->size() : 0; - + data_status->dataSize = ::narrow(pb_data->data().size()); + data_status->info.infoSize = ::narrow(pb_status.info().size()); + const u32 to_copy = std::min(data_status->dataSize, tdata->recvSize); - for (flatbuffers::uoffset_t i = 0; i < to_copy; i++) - { - data[i] = fb_data->data()->Get(i); - } + memcpy(data, pb_data->data().data(), to_copy); + const u32 bytes_left = data_status->dataSize - to_copy; - tdata->tus_data.reserve(bytes_left); - for (flatbuffers::uoffset_t i = to_copy; i < bytes_left; i++) + if (bytes_left > 0) { - tdata->tus_data.push_back(fb_data->data()->Get(i)); + tdata->tus_data.assign(pb_data->data().begin() + to_copy, pb_data->data().end()); } - for (flatbuffers::uoffset_t i = 0; i < data_status->info.infoSize; i++) - { - fb_status->info()->Get(i); - } tus_trans->result = not_an_error(to_copy); } else diff --git a/rpcs3/Emu/NP/np_requests_gui.cpp b/rpcs3/Emu/NP/np_requests_gui.cpp index 7782287053..be6026afa6 100644 --- a/rpcs3/Emu/NP/np_requests_gui.cpp +++ b/rpcs3/Emu/NP/np_requests_gui.cpp @@ -6,7 +6,7 @@ #include "np_handler.h" #include "np_contexts.h" #include "np_structs_extra.h" -#include "fb_helpers.h" +#include "pb_helpers.h" LOG_CHANNEL(rpcn_log, "rpcn"); @@ -165,12 +165,12 @@ namespace np return; ensure(error == rpcn::ErrorType::NoError, "Unexpected error in CreateRoomGUI reply"); - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to CreateRoomGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingJoinedRoomInfo_SIZE), sizeof(SceNpMatchingJoinedRoomInfo), MAX_SceNpMatchingJoinedRoomInfo_SIZE); auto* room_info = reinterpret_cast(edata.data()); - MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(edata, resp, room_info); + MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(edata, *resp, room_info); np_memory.shrink_allocation(edata.addr(), edata.size()); gui_cache.add_room(room_info->room_status.id); @@ -230,12 +230,12 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to JoinRoomGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingJoinedRoomInfo_SIZE), sizeof(SceNpMatchingJoinedRoomInfo), MAX_SceNpMatchingJoinedRoomInfo_SIZE); auto* room_info = reinterpret_cast(edata.data()); - MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(edata, resp, room_info); + MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(edata, *resp, room_info); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingJoinedRoomInfo(room_info); @@ -291,12 +291,12 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to LeaveRoomGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingRoomStatus_SIZE), sizeof(SceNpMatchingRoomStatus), MAX_SceNpMatchingRoomStatus_SIZE); auto* room_status = reinterpret_cast(edata.data()); - MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp, room_status); + MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, *resp, room_status); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingRoomStatus(room_status); @@ -343,12 +343,12 @@ namespace np return; ensure(error == rpcn::ErrorType::NoError, "Unexpected error in GetRoomListGUI reply"); - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetRoomListGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingRoomList_SIZE), sizeof(SceNpMatchingRoomList), MAX_SceNpMatchingRoomList_SIZE); auto* room_list = reinterpret_cast(edata.data()); - MatchingRoomList_to_SceNpMatchingRoomList(edata, resp, room_list); + MatchingRoomList_to_SceNpMatchingRoomList(edata, *resp, room_list); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingRoomList(room_list); @@ -443,12 +443,12 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetRoomSearchFlagGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingRoom_SIZE), sizeof(SceNpMatchingRoom), MAX_SceNpMatchingRoom_SIZE); auto* room_info = reinterpret_cast(edata.data()); - MatchingRoom_to_SceNpMatchingRoom(edata, resp, room_info); + MatchingRoom_to_SceNpMatchingRoom(edata, *resp, room_info); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingRoom(room_info); @@ -538,12 +538,12 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to GetRoomInfoGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingRoom_SIZE), sizeof(SceNpMatchingRoom), MAX_SceNpMatchingRoom_SIZE); auto* room_info = reinterpret_cast(edata.data()); - MatchingRoom_to_SceNpMatchingRoom(edata, resp, room_info); + MatchingRoom_to_SceNpMatchingRoom(edata, *resp, room_info); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingRoom(room_info); @@ -576,12 +576,12 @@ namespace np return; ensure(error == rpcn::ErrorType::NoError, "Unexpected error in QuickMatchGUI reply"); - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to QuickMatchGUI command"); SceNpRoomId room_id{}; - ensure(resp->id() && resp->id()->size() == sizeof(SceNpRoomId::opt)); - std::memcpy(room_id.opt, resp->id()->data(), sizeof(SceNpRoomId::opt)); + ensure(!resp->id().empty() && resp->id().size() == sizeof(SceNpRoomId::opt)); + std::memcpy(room_id.opt, resp->id().data(), sizeof(SceNpRoomId::opt)); const auto [_, inserted] = pending_quickmatching.insert_or_assign(room_id, ctx->ctx_id); ensure(inserted); @@ -657,12 +657,12 @@ namespace np return; } - const auto* resp = reply.get_flatbuffer(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to SearchJoinRoomGUI command"); event_data edata(np_memory.allocate(MAX_SceNpMatchingSearchJoinRoomInfo_SIZE), sizeof(SceNpMatchingSearchJoinRoomInfo), MAX_SceNpMatchingSearchJoinRoomInfo_SIZE); auto* room_info = reinterpret_cast(edata.data()); - MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(edata, resp, room_info); + MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(edata, *resp, room_info); np_memory.shrink_allocation(edata.addr(), edata.size()); extra_nps::print_SceNpMatchingSearchJoinRoomInfo(room_info); diff --git a/rpcs3/Emu/NP/pb_helpers.cpp b/rpcs3/Emu/NP/pb_helpers.cpp new file mode 100644 index 0000000000..c00eed8496 --- /dev/null +++ b/rpcs3/Emu/NP/pb_helpers.cpp @@ -0,0 +1,635 @@ +#include "stdafx.h" +#include "Emu/Cell/lv2/sys_process.h" +#include "pb_helpers.h" + +LOG_CHANNEL(rpcn_log, "rpcn"); + +namespace np +{ + void BinAttr_to_SceNpMatching2BinAttr(event_data& edata, const np2_structs::BinAttr& bin_attr, SceNpMatching2BinAttr* binattr_info) + { + binattr_info->id = bin_attr.id().value(); + binattr_info->size = ::narrow(bin_attr.data().size()); + auto* ptr = edata.allocate(binattr_info->size, binattr_info->ptr); + memcpy(ptr, bin_attr.data().data(), bin_attr.data().size()); + } + + void BinAttrs_to_SceNpMatching2BinAttrs(event_data& edata, const google::protobuf::RepeatedPtrField& pb_attrs, SceNpMatching2BinAttr* binattr_info) + { + for (int i = 0; i < pb_attrs.size(); i++) + { + const auto& cur_pb_attr = pb_attrs.Get(i); + auto* cur_binattr = binattr_info + i; + + BinAttr_to_SceNpMatching2BinAttr(edata, cur_pb_attr, cur_binattr); + } + } + + void RoomMemberBinAttrInternal_to_SceNpMatching2RoomMemberBinAttrInternal(event_data& edata, const np2_structs::RoomMemberBinAttrInternal& pb_attr, SceNpMatching2RoomMemberBinAttrInternal* binattr_info) + { + binattr_info->updateDate.tick = pb_attr.updatedate(); + BinAttr_to_SceNpMatching2BinAttr(edata, pb_attr.data(), &binattr_info->data); + } + + void RoomBinAttrInternal_to_SceNpMatching2RoomBinAttrInternal(event_data& edata, const np2_structs::BinAttrInternal& pb_attr, SceNpMatching2RoomBinAttrInternal* binattr_info) + { + binattr_info->updateDate.tick = pb_attr.updatedate(); + binattr_info->updateMemberId = pb_attr.updatememberid().value(); + BinAttr_to_SceNpMatching2BinAttr(edata, pb_attr.data(), &binattr_info->data); + } + + void RoomGroup_to_SceNpMatching2RoomGroup(const np2_structs::RoomGroup& pb_group, SceNpMatching2RoomGroup* sce_group) + { + sce_group->groupId = pb_group.groupid().value(); + sce_group->withPassword = pb_group.withpassword(); + sce_group->withLabel = !pb_group.label().empty(); + if (!pb_group.label().empty()) + { + const auto& label = pb_group.label(); + for (usz l_index = 0; l_index < label.size() && l_index < sizeof(sce_group->label.data); l_index++) + { + sce_group->label.data[l_index] = static_cast(label[l_index]); + } + } + sce_group->slotNum = pb_group.slotnum(); + sce_group->curGroupMemberNum = pb_group.curgroupmembernum(); + } + + void RoomGroups_to_SceNpMatching2RoomGroups(const google::protobuf::RepeatedPtrField& pb_groups, SceNpMatching2RoomGroup* sce_groups) + { + for (int i = 0; i < pb_groups.size(); i++) + { + const auto& pb_group = pb_groups.Get(i); + SceNpMatching2RoomGroup* sce_group = &sce_groups[i]; + RoomGroup_to_SceNpMatching2RoomGroup(pb_group, sce_group); + } + } + + void UserInfo_to_SceNpUserInfo(const np2_structs::UserInfo& user, SceNpUserInfo* user_info) + { + if (!user.npid().empty()) + { + std::memcpy(user_info->userId.handle.data, user.npid().c_str(), std::min(16, user.npid().size())); + } + + if (!user.onlinename().empty()) + { + std::memcpy(user_info->name.data, user.onlinename().c_str(), std::min(48, user.onlinename().size())); + } + + if (!user.avatarurl().empty()) + { + std::memcpy(user_info->icon.data, user.avatarurl().c_str(), std::min(127, user.avatarurl().size())); + } + } + + void UserInfo_to_SceNpUserInfo2(event_data& edata, const np2_structs::UserInfo& user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl) + { + if (!user.npid().empty()) + std::memcpy(user_info->npId.handle.data, user.npid().c_str(), std::min(16, user.npid().size())); + + if (include_onlinename && !user.onlinename().empty()) + { + auto* ptr = edata.allocate(sizeof(SceNpOnlineName), user_info->onlineName); + std::memcpy(ptr->data, user.onlinename().c_str(), std::min(48, user.onlinename().size())); + } + if (include_avatarurl && !user.avatarurl().empty()) + { + auto* ptr = edata.allocate(sizeof(SceNpAvatarUrl), user_info->avatarUrl); + std::memcpy(ptr->data, user.avatarurl().c_str(), std::min(127, user.avatarurl().size())); + } + } + + void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const np2_structs::RoomDataExternal& room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl) + { + room_info->serverId = room.serverid().value(); + room_info->worldId = room.worldid(); + room_info->lobbyId = room.lobbyid(); + room_info->roomId = room.roomid(); + room_info->maxSlot = room.maxslot().value(); + room_info->curMemberNum = room.curmembernum().value(); + room_info->passwordSlotMask = room.passwordslotmask(); + + s32 sdk_ver; + process_get_sdk_version(process_getpid(), sdk_ver); + + // Structure changed in sdk 3.3.0 + if (sdk_ver >= 0x330000) + { + room_info->publicSlotNum = room.publicslotnum().value(); + room_info->privateSlotNum = room.privateslotnum().value(); + room_info->openPublicSlotNum = room.openpublicslotnum().value(); + room_info->openPrivateSlotNum = room.openprivateslotnum().value(); + } + else + { + room_info->publicSlotNum = 0; + room_info->privateSlotNum = 0; + room_info->openPublicSlotNum = 0; + room_info->openPrivateSlotNum = 0; + } + + if (room.has_owner()) + { + auto* ptr_owner = edata.allocate(sizeof(SceNpUserInfo2), room_info->owner); + UserInfo_to_SceNpUserInfo2(edata, room.owner(), ptr_owner, include_onlinename, include_avatarurl); + } + + if (room.roomgroup_size() != 0) + { + room_info->roomGroupNum = room.roomgroup_size(); + auto* ptr_groups = edata.allocate(sizeof(SceNpMatching2RoomGroup) * room_info->roomGroupNum, room_info->roomGroup); + RoomGroups_to_SceNpMatching2RoomGroups(room.roomgroup(), ptr_groups); + } + + room_info->flagAttr = room.flagattr(); + + if (room.roomsearchableintattrexternal_size() != 0) + { + room_info->roomSearchableIntAttrExternalNum = room.roomsearchableintattrexternal_size(); + auto* ptr_int_attr = edata.allocate(sizeof(SceNpMatching2IntAttr) * room_info->roomSearchableIntAttrExternalNum, room_info->roomSearchableIntAttrExternal); + for (int a_index = 0; a_index < room.roomsearchableintattrexternal_size(); a_index++) + { + const auto& pb_int_attr = room.roomsearchableintattrexternal(a_index); + ptr_int_attr[a_index].id = pb_int_attr.id().value(); + ptr_int_attr[a_index].num = pb_int_attr.num(); + } + } + + if (room.roomsearchablebinattrexternal_size() != 0) + { + room_info->roomSearchableBinAttrExternalNum = room.roomsearchablebinattrexternal_size(); + auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2BinAttr) * room_info->roomSearchableBinAttrExternalNum, room_info->roomSearchableBinAttrExternal); + BinAttrs_to_SceNpMatching2BinAttrs(edata, room.roomsearchablebinattrexternal(), ptr_bin_attr); + } + + if (room.roombinattrexternal_size() != 0) + { + room_info->roomBinAttrExternalNum = room.roombinattrexternal_size(); + auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2BinAttr) * room_info->roomBinAttrExternalNum, room_info->roomBinAttrExternal); + BinAttrs_to_SceNpMatching2BinAttrs(edata, room.roombinattrexternal(), ptr_bin_attr); + } + } + + void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const np2_structs::SearchRoomResponse& resp, SceNpMatching2SearchRoomResponse* search_resp) + { + search_resp->range.size = resp.rooms_size(); + search_resp->range.startIndex = resp.startindex(); + search_resp->range.total = resp.total(); + + SceNpMatching2RoomDataExternal* prev_room = nullptr; + for (int i = 0; i < resp.rooms_size(); i++) + { + const auto& pb_room = resp.rooms(i); + SceNpMatching2RoomDataExternal* cur_room; + cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : search_resp->roomDataExternal); + RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, pb_room, cur_room, true, true); + prev_room = cur_room; + } + } + + void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const np2_structs::GetRoomDataExternalListResponse& resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl) + { + get_resp->roomDataExternalNum = resp.rooms_size(); + + SceNpMatching2RoomDataExternal* prev_room = nullptr; + for (int i = 0; i < resp.rooms_size(); i++) + { + const auto& pb_room = resp.rooms(i); + SceNpMatching2RoomDataExternal* cur_room; + + cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : get_resp->roomDataExternal); + + RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, pb_room, cur_room, include_onlinename, include_avatarurl); + prev_room = cur_room; + } + } + + u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const np2_structs::RoomDataInternal& resp, SceNpMatching2RoomDataInternal* room_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl) + { + u16 member_id = 0; + room_info->serverId = resp.serverid().value(); + room_info->worldId = resp.worldid(); + room_info->lobbyId = resp.lobbyid(); + room_info->roomId = resp.roomid(); + room_info->passwordSlotMask = resp.passwordslotmask(); + room_info->maxSlot = resp.maxslot(); + + if (resp.roomgroup_size() != 0) + { + room_info->roomGroupNum = resp.roomgroup_size(); + auto* ptr_groups = edata.allocate(sizeof(SceNpMatching2RoomGroup) * room_info->roomGroupNum, room_info->roomGroup); + RoomGroups_to_SceNpMatching2RoomGroups(resp.roomgroup(), ptr_groups); + } + + room_info->memberList.membersNum = static_cast(resp.memberlist_size()); + edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal) * room_info->memberList.membersNum, room_info->memberList.members); + + for (int i = 0; i < resp.memberlist_size(); i++) + { + const auto& pb_member = resp.memberlist(i); + SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i]; + + if (i < (resp.memberlist_size() - 1)) + { + sce_member->next = room_info->memberList.members + i + 1; + edata.add_relocation(sce_member->next); + } + + RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, pb_member, room_info, sce_member, include_onlinename, include_avatarurl); + } + + for (u32 i = 0; i < room_info->memberList.membersNum; i++) + { + SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i]; + if (strcmp(sce_member->userInfo.npId.handle.data, npid.handle.data) == 0) + { + room_info->memberList.me = room_info->memberList.members + i; + edata.add_relocation(room_info->memberList.me); + member_id = sce_member->memberId; + break; + } + } + + for (u32 i = 0; i < room_info->memberList.membersNum; i++) + { + SceNpMatching2RoomMemberDataInternal* sce_member = &room_info->memberList.members[i]; + if (sce_member->memberId == resp.ownerid().value()) + { + room_info->memberList.owner = room_info->memberList.members + i; + edata.add_relocation(room_info->memberList.owner); + break; + } + } + + room_info->flagAttr = resp.flagattr(); + + if (resp.roombinattrinternal_size() != 0) + { + room_info->roomBinAttrInternalNum = resp.roombinattrinternal_size(); + auto* ptr_bin_attr = edata.allocate(sizeof(SceNpMatching2RoomBinAttrInternal) * room_info->roomBinAttrInternalNum, room_info->roomBinAttrInternal); + + for (u32 b_index = 0; b_index < room_info->roomBinAttrInternalNum; b_index++) + { + const auto& pb_bin_attr = resp.roombinattrinternal(b_index); + ptr_bin_attr[b_index].updateDate.tick = pb_bin_attr.updatedate(); + ptr_bin_attr[b_index].updateMemberId = pb_bin_attr.updatememberid().value(); + + ptr_bin_attr[b_index].data.id = pb_bin_attr.data().id().value(); + ptr_bin_attr[b_index].data.size = ::narrow(pb_bin_attr.data().data().size()); + auto* ptr_bin_attr_data = edata.allocate(ptr_bin_attr[b_index].data.size, ptr_bin_attr[b_index].data.ptr); + memcpy(ptr_bin_attr_data, pb_bin_attr.data().data().data(), pb_bin_attr.data().data().size()); + } + } + + return member_id; + } + + void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const np2_structs::RoomMemberDataInternal& member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl) + { + UserInfo_to_SceNpUserInfo2(edata, member_data.userinfo(), &sce_member_data->userInfo, include_onlinename, include_avatarurl); + sce_member_data->joinDate.tick = member_data.joindate(); + sce_member_data->memberId = member_data.memberid(); + sce_member_data->teamId = member_data.teamid().value(); + + if (member_data.has_roomgroup()) + { + const auto& pb_roomgroup = member_data.roomgroup(); + if (room_info) + { + // If we have SceNpMatching2RoomDataInternal available we point the pointers to the group there + sce_member_data->roomGroup = room_info->roomGroup + (pb_roomgroup.groupid().value() - 1); + edata.add_relocation(sce_member_data->roomGroup); + } + else + { + // Otherwise we allocate for it + auto* ptr_group = edata.allocate(sizeof(SceNpMatching2RoomGroup), sce_member_data->roomGroup); + RoomGroup_to_SceNpMatching2RoomGroup(pb_roomgroup, ptr_group); + } + } + + sce_member_data->natType = member_data.nattype().value(); + sce_member_data->flagAttr = member_data.flagattr(); + + if (member_data.roommemberbinattrinternal_size() != 0) + { + sce_member_data->roomMemberBinAttrInternalNum = member_data.roommemberbinattrinternal_size(); + auto* sce_binattrs = edata.allocate(sizeof(SceNpMatching2RoomMemberBinAttrInternal) * sce_member_data->roomMemberBinAttrInternalNum, sce_member_data->roomMemberBinAttrInternal); + for (u32 b_index = 0; b_index < sce_member_data->roomMemberBinAttrInternalNum; b_index++) + { + const auto& pb_battr = member_data.roommemberbinattrinternal(b_index); + sce_binattrs[b_index].updateDate.tick = pb_battr.updatedate(); + + sce_binattrs[b_index].data.id = pb_battr.data().id().value(); + sce_binattrs[b_index].data.size = ::narrow(pb_battr.data().data().size()); + auto* sce_binattr_data = edata.allocate(sce_binattrs[b_index].data.size, sce_binattrs[b_index].data.ptr); + memcpy(sce_binattr_data, pb_battr.data().data().data(), pb_battr.data().data().size()); + } + } + } + + void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const np2_structs::RoomMemberUpdateInfo& update_info, SceNpMatching2RoomMemberUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl) + { + sce_update_info->eventCause = 0; + if (update_info.has_optdata()) + { + const auto& opt_data = update_info.optdata(); + sce_update_info->optData.length = ::narrow(opt_data.data().size()); + for (usz i = 0; i < 16 && i < opt_data.data().size(); i++) + { + sce_update_info->optData.data[i] = static_cast(opt_data.data()[i]); + } + } + + if (update_info.has_roommemberdatainternal()) + { + const auto& pb_member = update_info.roommemberdatainternal(); + auto* ptr_roomemberinternal = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), sce_update_info->roomMemberDataInternal); + + // TODO: Pass room_info + RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, pb_member, nullptr, ptr_roomemberinternal, include_onlinename, include_avatarurl); + } + } + + void RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(const np2_structs::RoomUpdateInfo& update_info, SceNpMatching2RoomUpdateInfo* sce_update_info) + { + sce_update_info->errorCode = 0; + sce_update_info->eventCause = 0; + if (update_info.has_optdata()) + { + const auto& opt_data = update_info.optdata(); + sce_update_info->optData.length = ::narrow(opt_data.data().size()); + for (usz i = 0; i < 16 && i < opt_data.data().size(); i++) + { + sce_update_info->optData.data[i] = static_cast(opt_data.data()[i]); + } + } + } + + void RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(event_data& edata, const np2_structs::RoomDataInternalUpdateInfo& update_info, SceNpMatching2RoomDataInternalUpdateInfo* sce_update_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl) + { + auto* sce_room_data = edata.allocate(sizeof(SceNpMatching2RoomDataInternal), sce_update_info->newRoomDataInternal); + RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, update_info.newroomdatainternal(), sce_room_data, npid, include_onlinename, include_avatarurl); + + if (sce_room_data->flagAttr != update_info.prevflagattr()) + { + sce_update_info->newFlagAttr = sce_update_info->newRoomDataInternal.ptr(&SceNpMatching2RoomDataInternal::flagAttr); + edata.add_relocation(sce_update_info->newFlagAttr); + auto* ptr_sce_prevflag = edata.allocate(sizeof(SceNpMatching2FlagAttr), sce_update_info->prevFlagAttr); + *ptr_sce_prevflag = update_info.prevflagattr(); + } + + if (sce_room_data->passwordSlotMask != update_info.prevroompasswordslotmask()) + { + sce_update_info->newRoomPasswordSlotMask = sce_update_info->newRoomDataInternal.ptr(&SceNpMatching2RoomDataInternal::passwordSlotMask); + edata.add_relocation(sce_update_info->newRoomPasswordSlotMask); + auto* ptr_sce_prevpass = edata.allocate(sizeof(SceNpMatching2RoomPasswordSlotMask), sce_update_info->prevRoomPasswordSlotMask); + *ptr_sce_prevpass = update_info.prevroompasswordslotmask(); + } + + if (!update_info.newroomgroup().empty()) + { + rpcn_log.todo("RoomDataInternalUpdateInfo::newRoomGroup"); + // TODO + // sce_update_info->newRoomGroupNum = update_info.newroomgroup().size(); + // vm::ptr group_info(allocate(sizeof(SceNpMatching2RoomGroup) * sce_update_info->newRoomGroupNum)); + // RoomGroups_to_SceNpMatching2RoomGroup(update_info.newroomgroup(), group_info); + // sce_update_info->newRoomGroup = group_info; + } + + if (update_info.newroombinattrinternal_size() != 0) + { + const auto get_ptr_for_binattr = [&](u16 binattr_id) -> vm::bptr + { + vm::bptr ret_ptr = sce_room_data->roomBinAttrInternal; + for (u32 i = 0; i < sce_room_data->roomBinAttrInternalNum; i++) + { + if (ret_ptr->data.id == binattr_id) + return ret_ptr; + + ret_ptr++; + } + rpcn_log.fatal("RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo: Couldn't find matching roomBinAttrInternal!"); + return vm::null; + }; + + sce_update_info->newRoomBinAttrInternalNum = update_info.newroombinattrinternal_size(); + edata.allocate_ptr_array(sce_update_info->newRoomBinAttrInternalNum, sce_update_info->newRoomBinAttrInternal); + for (u32 i = 0; i < sce_update_info->newRoomBinAttrInternalNum; i++) + { + sce_update_info->newRoomBinAttrInternal[i] = get_ptr_for_binattr(update_info.newroombinattrinternal(i).value()); + } + } + } + + void RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(event_data& edata, const np2_structs::RoomMemberDataInternalUpdateInfo& update_info, SceNpMatching2RoomMemberDataInternalUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl) + { + auto* sce_room_member_data = edata.allocate(sizeof(SceNpMatching2RoomMemberDataInternal), sce_update_info->newRoomMemberDataInternal); + RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(edata, update_info.newroommemberdatainternal(), nullptr, sce_room_member_data, include_onlinename, include_avatarurl); + + if (sce_update_info->newRoomMemberDataInternal->flagAttr != update_info.prevflagattr()) + { + sce_update_info->newFlagAttr = sce_update_info->newRoomMemberDataInternal.ptr(&SceNpMatching2RoomMemberDataInternal::flagAttr); + edata.add_relocation(sce_update_info->newFlagAttr); + auto* ptr_sce_prevflag = edata.allocate(sizeof(SceNpMatching2FlagAttr), sce_update_info->prevFlagAttr); + *ptr_sce_prevflag = update_info.prevflagattr(); + } + + if (sce_update_info->newRoomMemberDataInternal->teamId != update_info.prevteamid().value()) + { + sce_update_info->newTeamId = sce_update_info->newRoomMemberDataInternal.ptr(&SceNpMatching2RoomMemberDataInternal::teamId); + edata.add_relocation(sce_update_info->newTeamId); + } + + if (update_info.newroommemberbinattrinternal_size() != 0) + { + const auto get_ptr_for_binattr = [&](u16 binattr_id) -> vm::bptr + { + vm::bptr ret_ptr = sce_room_member_data->roomMemberBinAttrInternal; + for (u32 i = 0; i < sce_room_member_data->roomMemberBinAttrInternalNum; i++) + { + if (ret_ptr->data.id == binattr_id) + return ret_ptr; + + ret_ptr++; + } + rpcn_log.fatal("RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo: Couldn't find matching roomMemberBinAttrInternal!"); + return vm::null; + }; + + sce_update_info->newRoomMemberBinAttrInternalNum = update_info.newroommemberbinattrinternal_size(); + edata.allocate_ptr_array(sce_update_info->newRoomMemberBinAttrInternalNum, sce_update_info->newRoomMemberBinAttrInternal); + for (u32 i = 0; i < sce_update_info->newRoomMemberBinAttrInternalNum; i++) + { + sce_update_info->newRoomMemberBinAttrInternal[i] = get_ptr_for_binattr(update_info.newroommemberbinattrinternal(i).value()); + } + } + } + + void GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(const np2_structs::GetPingInfoResponse& resp, SceNpMatching2SignalingGetPingInfoResponse* sce_resp) + { + sce_resp->serverId = resp.serverid().value(); + sce_resp->worldId = resp.worldid(); + sce_resp->roomId = resp.roomid(); + sce_resp->rtt = resp.rtt(); + } + + void RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(event_data& edata, const np2_structs::RoomMessageInfo& mi, SceNpMatching2RoomMessageInfo* sce_mi, bool include_onlinename, bool include_avatarurl) + { + sce_mi->filtered = mi.filtered(); + sce_mi->castType = mi.casttype().value(); + + if (sce_mi->castType != SCE_NP_MATCHING2_CASTTYPE_BROADCAST) + { + edata.allocate(sizeof(SceNpMatching2RoomMessageDestination), sce_mi->dst); + } + + switch (sce_mi->castType) + { + case SCE_NP_MATCHING2_CASTTYPE_BROADCAST: break; + case SCE_NP_MATCHING2_CASTTYPE_UNICAST: sce_mi->dst->unicastTarget = mi.dst(0).value(); break; + case SCE_NP_MATCHING2_CASTTYPE_MULTICAST: + { + sce_mi->dst->multicastTarget.memberIdNum = mi.dst_size(); + edata.allocate(sizeof(u16) * mi.dst_size(), sce_mi->dst->multicastTarget.memberId); + for (int i = 0; i < mi.dst_size(); i++) + { + sce_mi->dst->multicastTarget.memberId[i] = mi.dst(i).value(); + } + break; + } + case SCE_NP_MATCHING2_CASTTYPE_MULTICAST_TEAM: sce_mi->dst->multicastTargetTeamId = ::narrow(mi.dst(0).value()); break; + default: ensure(false); + } + + if (mi.has_srcmember()) + { + auto* ptr_sce_userinfo = edata.allocate(sizeof(SceNpUserInfo2), sce_mi->srcMember); + UserInfo_to_SceNpUserInfo2(edata, mi.srcmember(), ptr_sce_userinfo, include_onlinename, include_avatarurl); + } + + if (!mi.msg().empty()) + { + sce_mi->msgLen = ::narrow(mi.msg().size()); + auto* ptr_msg_data = static_cast(edata.allocate(mi.msg().size(), sce_mi->msg)); + memcpy(ptr_msg_data, mi.msg().data(), mi.msg().size()); + } + } + + void MatchingRoomStatus_to_SceNpMatchingRoomStatus(event_data& edata, const np2_structs::MatchingRoomStatus& resp, SceNpMatchingRoomStatus* room_status) + { + const auto& vec_id = resp.id(); + ensure(vec_id.size() == 28, "Invalid room id in MatchingRoomStatus"); + + for (usz i = 0; i < 28; i++) + { + room_status->id.opt[i] = static_cast(vec_id[i]); + } + + // In some events the member list can be empty + if (resp.members_size() > 0) + { + room_status->num = resp.members_size(); + SceNpMatchingRoomMember* prev_member{}; + + for (int i = 0; i < resp.members_size(); i++) + { + auto* cur_member = edata.allocate(sizeof(SceNpMatchingRoomMember), (i > 0) ? prev_member->next : room_status->members); + const auto& member = resp.members(i); + ensure(member.has_info(), "Invalid member in MatchingRoomStatus list"); + + cur_member->owner = member.owner() ? 1 : 0; + UserInfo_to_SceNpUserInfo(member.info(), &cur_member->user_info); + + prev_member = cur_member; + } + } + + if (!resp.kick_actor().empty()) + { + auto* npid = edata.allocate(sizeof(SceNpId), room_status->kick_actor); + std::memcpy(npid->handle.data, resp.kick_actor().c_str(), std::min(16, resp.kick_actor().size())); + } + + if (!resp.opt().empty()) + { + room_status->opt_len = ::narrow(resp.opt().size()); + u8* opt_data = static_cast(edata.allocate(resp.opt().size(), room_status->opt)); + + memcpy(opt_data, resp.opt().data(), resp.opt().size()); + } + } + + void MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(event_data& edata, const np2_structs::MatchingRoomStatus& resp, SceNpMatchingJoinedRoomInfo* room_info) + { + // The use of SceNpLobbyId is unclear as it is never specified by the client except in further operations, so we always set it to a series of 0 and a 1 + room_info->lobbyid.opt[27] = 1; + MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp, &room_info->room_status); + } + + void MatchingAttr_to_SceNpMatchingAttr(event_data& edata, const google::protobuf::RepeatedPtrField& attr_list, vm::bptr& first_attr) + { + if (attr_list.size() > 0) + { + SceNpMatchingAttr* cur_attr = nullptr; + + for (int i_attr = 0; i_attr < attr_list.size(); i_attr++) + { + const auto& attr = attr_list.Get(i_attr); + cur_attr = edata.allocate(sizeof(SceNpMatchingAttr), cur_attr ? cur_attr->next : first_attr); + + cur_attr->type = attr.attr_type(); + cur_attr->id = attr.attr_id(); + if (!attr.data().empty()) + { + cur_attr->value.data.size = ::narrow(attr.data().size()); + u8* data_ptr = static_cast(edata.allocate(attr.data().size(), cur_attr->value.data.ptr)); + memcpy(data_ptr, attr.data().data(), attr.data().size()); + } + else + { + cur_attr->value.num = attr.num(); + } + } + } + } + + void MatchingRoom_to_SceNpMatchingRoom(event_data& edata, const np2_structs::MatchingRoom& resp, SceNpMatchingRoom* room) + { + ensure(room && resp.id().size() == sizeof(SceNpRoomId::opt)); + memcpy(room->id.opt, resp.id().data(), sizeof(SceNpRoomId::opt)); + MatchingAttr_to_SceNpMatchingAttr(edata, resp.attr(), room->attr); + } + + void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const np2_structs::MatchingRoomList& resp, SceNpMatchingRoomList* room_list) + { + // The use of SceNpLobbyId is unclear as it is never specified by the client except in further operations, so we always set it to a series of 0 and a 1 + room_list->lobbyid.opt[27] = 1; + room_list->range.start = resp.start(); + room_list->range.total = resp.total(); + + if (resp.rooms_size() > 0) + { + room_list->range.results = resp.rooms_size(); + + SceNpMatchingRoom* cur_room = nullptr; + + for (int i = 0; i < resp.rooms_size(); i++) + { + const auto& room = resp.rooms(i); + cur_room = edata.allocate(sizeof(SceNpMatchingRoom), cur_room ? cur_room->next : room_list->head); + MatchingRoom_to_SceNpMatchingRoom(edata, room, cur_room); + } + } + } + + void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const np2_structs::MatchingSearchJoinRoomInfo& resp, SceNpMatchingSearchJoinRoomInfo* room_info) + { + ensure(resp.has_room()); + room_info->lobbyid.opt[27] = 1; + MatchingRoomStatus_to_SceNpMatchingRoomStatus(edata, resp.room(), &room_info->room_status); + MatchingAttr_to_SceNpMatchingAttr(edata, resp.attr(), room_info->attr); + } + +} // namespace np diff --git a/rpcs3/Emu/NP/pb_helpers.h b/rpcs3/Emu/NP/pb_helpers.h new file mode 100644 index 0000000000..a11c092f9c --- /dev/null +++ b/rpcs3/Emu/NP/pb_helpers.h @@ -0,0 +1,35 @@ +#pragma once + +#include "Emu/Cell/Modules/sceNp.h" +#include "Emu/Cell/Modules/sceNp2.h" +#include "np_event_data.h" +#include "generated/np2_structs.pb.h" + +namespace np +{ + void BinAttr_to_SceNpMatching2BinAttr(event_data& edata, const np2_structs::BinAttr& bin_attr, SceNpMatching2BinAttr* binattr_info); + void BinAttrs_to_SceNpMatching2BinAttrs(event_data& edata, const google::protobuf::RepeatedPtrField& pb_attrs, SceNpMatching2BinAttr* binattr_info); + void RoomMemberBinAttrInternal_to_SceNpMatching2RoomMemberBinAttrInternal(event_data& edata, const np2_structs::RoomMemberBinAttrInternal& pb_attr, SceNpMatching2RoomMemberBinAttrInternal* binattr_info); + void RoomBinAttrInternal_to_SceNpMatching2RoomBinAttrInternal(event_data& edata, const np2_structs::BinAttrInternal& pb_attr, SceNpMatching2RoomBinAttrInternal* binattr_info); + void RoomGroup_to_SceNpMatching2RoomGroup(const np2_structs::RoomGroup& pb_group, SceNpMatching2RoomGroup* sce_group); + void RoomGroups_to_SceNpMatching2RoomGroups(const google::protobuf::RepeatedPtrField& pb_groups, SceNpMatching2RoomGroup* sce_groups); + void UserInfo_to_SceNpUserInfo(const np2_structs::UserInfo& user, SceNpUserInfo* user_info); + void UserInfo_to_SceNpUserInfo2(event_data& edata, const np2_structs::UserInfo& user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl); + void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const np2_structs::RoomDataExternal& room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl); + void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const np2_structs::SearchRoomResponse& resp, SceNpMatching2SearchRoomResponse* search_resp); + void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const np2_structs::GetRoomDataExternalListResponse& resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl); + u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const np2_structs::RoomDataInternal& resp, SceNpMatching2RoomDataInternal* room_resp, const SceNpId& npid, bool include_onlinename, bool include_avatarurl); + void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const np2_structs::RoomMemberDataInternal& member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl); + void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const np2_structs::RoomMemberUpdateInfo& resp, SceNpMatching2RoomMemberUpdateInfo* room_info, bool include_onlinename, bool include_avatarurl); + void RoomUpdateInfo_to_SceNpMatching2RoomUpdateInfo(const np2_structs::RoomUpdateInfo& update_info, SceNpMatching2RoomUpdateInfo* sce_update_info); + void GetPingInfoResponse_to_SceNpMatching2SignalingGetPingInfoResponse(const np2_structs::GetPingInfoResponse& resp, SceNpMatching2SignalingGetPingInfoResponse* sce_resp); + void RoomMessageInfo_to_SceNpMatching2RoomMessageInfo(event_data& edata, const np2_structs::RoomMessageInfo& mi, SceNpMatching2RoomMessageInfo* sce_mi, bool include_onlinename, bool include_avatarurl); + void RoomDataInternalUpdateInfo_to_SceNpMatching2RoomDataInternalUpdateInfo(event_data& edata, const np2_structs::RoomDataInternalUpdateInfo& update_info, SceNpMatching2RoomDataInternalUpdateInfo* sce_update_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl); + void RoomMemberDataInternalUpdateInfo_to_SceNpMatching2RoomMemberDataInternalUpdateInfo(event_data& edata, const np2_structs::RoomMemberDataInternalUpdateInfo& update_info, SceNpMatching2RoomMemberDataInternalUpdateInfo* sce_update_info, bool include_onlinename, bool include_avatarurl); + void MatchingRoomStatus_to_SceNpMatchingRoomStatus(event_data& edata, const np2_structs::MatchingRoomStatus& resp, SceNpMatchingRoomStatus* room_status); + void MatchingRoomStatus_to_SceNpMatchingJoinedRoomInfo(event_data& edata, const np2_structs::MatchingRoomStatus& resp, SceNpMatchingJoinedRoomInfo* room_info); + void MatchingRoom_to_SceNpMatchingRoom(event_data& edata, const np2_structs::MatchingRoom& resp, SceNpMatchingRoom* room); + void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const np2_structs::MatchingRoomList& resp, SceNpMatchingRoomList* room_list); + void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const np2_structs::MatchingSearchJoinRoomInfo& resp, SceNpMatchingSearchJoinRoomInfo* room_info); + void MatchingAttr_to_SceNpMatchingAttr(event_data& edata, const google::protobuf::RepeatedPtrField& attr_list, vm::bptr& first_attr); +} // namespace np diff --git a/rpcs3/Emu/NP/rpcn_client.cpp b/rpcs3/Emu/NP/rpcn_client.cpp index dc0af98f6c..2b58310f1c 100644 --- a/rpcs3/Emu/NP/rpcn_client.cpp +++ b/rpcs3/Emu/NP/rpcn_client.cpp @@ -16,7 +16,7 @@ #include "Emu/system_config.h" #include "Emu/RSX/Overlays/overlay_message.h" -#include "generated/np2_structs_generated.h" +#include "generated/np2_structs.pb.h" #ifdef _WIN32 #include @@ -256,7 +256,7 @@ namespace rpcn rpcn_log.notice("online: %s, pr_com_id: %s, pr_title: %s, pr_status: %s, pr_comment: %s, pr_data: %s", online ? "true" : "false", pr_com_id.data, pr_title, pr_status, pr_comment, fmt::buf_to_hexstring(pr_data.data(), pr_data.size())); } - constexpr u32 RPCN_PROTOCOL_VERSION = 28; + constexpr u32 RPCN_PROTOCOL_VERSION = 29; constexpr usz RPCN_HEADER_SIZE = 15; const char* error_to_explanation(rpcn::ErrorType error) @@ -1658,57 +1658,55 @@ namespace rpcn bool rpcn_client::createjoin_room(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2CreateJoinRoomRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::CreateJoinRoomRequest pb_req; + + pb_req.set_worldid(req->worldId); + pb_req.set_lobbyid(req->lobbyId); + pb_req.set_maxslot(req->maxSlot); + pb_req.set_flagattr(req->flagAttr); + pb_req.mutable_teamid()->set_value(req->teamId); - flatbuffers::Offset>> final_searchintattrexternal_vec; if (req->roomSearchableIntAttrExternalNum && req->roomSearchableIntAttrExternal) { - std::vector> davec; for (u32 i = 0; i < req->roomSearchableIntAttrExternalNum; i++) { - auto bin = CreateIntAttr(builder, req->roomSearchableIntAttrExternal[i].id, req->roomSearchableIntAttrExternal[i].num); - davec.push_back(bin); + auto* attr = pb_req.add_roomsearchableintattrexternal(); + attr->mutable_id()->set_value(req->roomSearchableIntAttrExternal[i].id); + attr->set_num(req->roomSearchableIntAttrExternal[i].num); } - final_searchintattrexternal_vec = builder.CreateVector(davec); } // WWE SmackDown vs. RAW 2009 passes roomBinAttrExternal in roomSearchableBinAttrExternal so we parse based on attribute ids - flatbuffers::Offset>> final_binattrinternal_vec; - flatbuffers::Offset>> final_searchbinattrexternal_vec; - flatbuffers::Offset>> final_binattrexternal_vec; - - std::vector> davec_binattrinternal; - std::vector> davec_searchable_binattrexternal; - std::vector> davec_binattrexternal; - - auto put_binattr = [&](SceNpMatching2AttributeId id, flatbuffers::Offset bin) + auto put_binattr = [&](const SceNpMatching2BinAttr& binattr) { - switch (id) + np2_structs::BinAttr* attr = nullptr; + switch (binattr.id) { case SCE_NP_MATCHING2_ROOM_BIN_ATTR_INTERNAL_1_ID: case SCE_NP_MATCHING2_ROOM_BIN_ATTR_INTERNAL_2_ID: - davec_binattrinternal.push_back(bin); + attr = pb_req.add_roombinattrinternal(); break; case SCE_NP_MATCHING2_ROOM_BIN_ATTR_EXTERNAL_1_ID: case SCE_NP_MATCHING2_ROOM_BIN_ATTR_EXTERNAL_2_ID: - davec_binattrexternal.push_back(bin); + attr = pb_req.add_roombinattrexternal(); break; case SCE_NP_MATCHING2_ROOM_SEARCHABLE_BIN_ATTR_EXTERNAL_1_ID: - davec_searchable_binattrexternal.push_back(bin); + attr = pb_req.add_roomsearchablebinattrexternal(); break; default: - rpcn_log.error("Unexpected bin attribute id in createjoin_room request: 0x%x", id); - break; + rpcn_log.error("Unexpected bin attribute id in createjoin_room request: 0x%x", binattr.id); + return; } + attr->mutable_id()->set_value(binattr.id); + attr->set_data(binattr.ptr.get_ptr(), binattr.size); }; if (req->roomBinAttrInternalNum && req->roomBinAttrInternal) { for (u32 i = 0; i < req->roomBinAttrInternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomBinAttrInternal[i].id, builder.CreateVector(req->roomBinAttrInternal[i].ptr.get_ptr(), req->roomBinAttrInternal[i].size)); - put_binattr(req->roomBinAttrInternal[i].id, bin); + put_binattr(req->roomBinAttrInternal[i]); } } @@ -1716,8 +1714,7 @@ namespace rpcn { for (u32 i = 0; i < req->roomSearchableBinAttrExternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomSearchableBinAttrExternal[i].id, builder.CreateVector(req->roomSearchableBinAttrExternal[i].ptr.get_ptr(), req->roomSearchableBinAttrExternal[i].size)); - put_binattr(req->roomSearchableBinAttrExternal[i].id, bin); + put_binattr(req->roomSearchableBinAttrExternal[i]); } } @@ -1725,38 +1722,30 @@ namespace rpcn { for (u32 i = 0; i < req->roomBinAttrExternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomBinAttrExternal[i].id, builder.CreateVector(req->roomBinAttrExternal[i].ptr.get_ptr(), req->roomBinAttrExternal[i].size)); - put_binattr(req->roomBinAttrExternal[i].id, bin); + put_binattr(req->roomBinAttrExternal[i]); } } - if (!davec_binattrinternal.empty()) - final_binattrinternal_vec = builder.CreateVector(davec_binattrinternal); - - if (!davec_searchable_binattrexternal.empty()) - final_searchbinattrexternal_vec = builder.CreateVector(davec_searchable_binattrexternal); - - if (!davec_binattrexternal.empty()) - final_binattrexternal_vec = builder.CreateVector(davec_binattrexternal); - - flatbuffers::Offset> final_roompassword; if (req->roomPassword) - final_roompassword = builder.CreateVector(req->roomPassword->data, 8); - flatbuffers::Offset>> final_groupconfigs_vec; + pb_req.set_roompassword(req->roomPassword->data, 8); + if (req->groupConfigNum && req->groupConfig) { - std::vector> davec; for (u32 i = 0; i < req->groupConfigNum; i++) { - auto bin = CreateGroupConfig(builder, req->groupConfig[i].slotNum, req->groupConfig[i].withLabel ? builder.CreateVector(req->groupConfig[i].label.data, 8) : 0, req->groupConfig[i].withPassword); - davec.push_back(bin); + auto* gc = pb_req.add_groupconfig(); + gc->set_slotnum(req->groupConfig[i].slotNum); + gc->set_withpassword(req->groupConfig[i].withPassword); + if (req->groupConfig[i].withLabel) + gc->set_label(req->groupConfig[i].label.data, 8); } - final_groupconfigs_vec = builder.CreateVector(davec); } - flatbuffers::Offset>> final_allowedusers_vec; + + if (req->passwordSlotMask) + pb_req.set_passwordslotmask(*req->passwordSlotMask); + if (req->allowedUserNum && req->allowedUser) { - std::vector> davec; for (u32 i = 0; i < req->allowedUserNum; i++) { // Some games just give us garbage, make sure npid is valid before passing @@ -1765,221 +1754,207 @@ namespace rpcn { continue; } - - auto bin = builder.CreateString(req->allowedUser[i].handle.data); - davec.push_back(bin); + pb_req.add_alloweduser(req->allowedUser[i].handle.data); } - final_allowedusers_vec = builder.CreateVector(davec); } - flatbuffers::Offset>> final_blockedusers_vec; + if (req->blockedUserNum && req->blockedUser) { - std::vector> davec; for (u32 i = 0; i < req->blockedUserNum; i++) { if (!np::is_valid_npid(req->blockedUser[i])) { continue; } - - auto bin = builder.CreateString(req->blockedUser[i].handle.data); - davec.push_back(bin); + pb_req.add_blockeduser(req->blockedUser[i].handle.data); } - final_blockedusers_vec = builder.CreateVector(davec); } - flatbuffers::Offset> final_grouplabel; + if (req->joinRoomGroupLabel) - final_grouplabel = builder.CreateVector(req->joinRoomGroupLabel->data, 8); - flatbuffers::Offset>> final_memberbinattrinternal_vec; + pb_req.set_joinroomgrouplabel(req->joinRoomGroupLabel->data, 8); + if (req->roomMemberBinAttrInternalNum && req->roomMemberBinAttrInternal) { - std::vector> davec; for (u32 i = 0; i < req->roomMemberBinAttrInternalNum; i++) { - auto bin = CreateBinAttr( - builder, req->roomMemberBinAttrInternal[i].id, builder.CreateVector(reinterpret_cast(req->roomMemberBinAttrInternal[i].ptr.get_ptr()), req->roomMemberBinAttrInternal[i].size)); - davec.push_back(bin); + auto* attr = pb_req.add_roommemberbinattrinternal(); + attr->mutable_id()->set_value(req->roomMemberBinAttrInternal[i].id); + attr->set_data(req->roomMemberBinAttrInternal[i].ptr.get_ptr(), req->roomMemberBinAttrInternal[i].size); } - final_memberbinattrinternal_vec = builder.CreateVector(davec); } - flatbuffers::Offset final_optparam; + if (req->sigOptParam) - final_optparam = CreateOptParam(builder, req->sigOptParam->type, req->sigOptParam->flag, req->sigOptParam->hubMemberId); - u64 final_passwordSlotMask = 0; - if (req->passwordSlotMask) - final_passwordSlotMask = *req->passwordSlotMask; + { + auto* opt = pb_req.mutable_sigoptparam(); + opt->mutable_type()->set_value(req->sigOptParam->type); + opt->mutable_flag()->set_value(req->sigOptParam->flag); + opt->mutable_hubmemberid()->set_value(req->sigOptParam->hubMemberId); + } - auto req_finished = CreateCreateJoinRoomRequest(builder, req->worldId, req->lobbyId, req->maxSlot, req->flagAttr, final_binattrinternal_vec, final_searchintattrexternal_vec, - final_searchbinattrexternal_vec, final_binattrexternal_vec, final_roompassword, final_groupconfigs_vec, final_passwordSlotMask, final_allowedusers_vec, final_blockedusers_vec, final_grouplabel, - final_memberbinattrinternal_vec, req->teamId, final_optparam); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::CreateRoom, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::CreateRoom, req_id); } bool rpcn_client::join_room(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2JoinRoomRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::JoinRoomRequest pb_req; + + pb_req.set_roomid(req->roomId); + pb_req.mutable_teamid()->set_value(req->teamId); - flatbuffers::Offset> final_roompassword; if (req->roomPassword) - final_roompassword = builder.CreateVector(req->roomPassword->data, 8); - flatbuffers::Offset> final_grouplabel; + pb_req.set_roompassword(req->roomPassword->data, 8); + if (req->joinRoomGroupLabel) - final_grouplabel = builder.CreateVector(req->joinRoomGroupLabel->data, 8); - flatbuffers::Offset>> final_memberbinattrinternal_vec; + pb_req.set_joinroomgrouplabel(req->joinRoomGroupLabel->data, 8); + if (req->roomMemberBinAttrInternalNum && req->roomMemberBinAttrInternal) { - std::vector> davec; for (u32 i = 0; i < req->roomMemberBinAttrInternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomMemberBinAttrInternal[i].id, builder.CreateVector(req->roomMemberBinAttrInternal[i].ptr.get_ptr(), req->roomMemberBinAttrInternal[i].size)); - davec.push_back(bin); + auto* attr = pb_req.add_roommemberbinattrinternal(); + attr->mutable_id()->set_value(req->roomMemberBinAttrInternal[i].id); + attr->set_data(req->roomMemberBinAttrInternal[i].ptr.get_ptr(), req->roomMemberBinAttrInternal[i].size); } - final_memberbinattrinternal_vec = builder.CreateVector(davec); } - flatbuffers::Offset final_optdata = CreatePresenceOptionData(builder, builder.CreateVector(req->optData.data, 16), req->optData.length); - auto req_finished = CreateJoinRoomRequest(builder, req->roomId, final_roompassword, final_grouplabel, final_memberbinattrinternal_vec, final_optdata, req->teamId); - builder.Finish(req_finished); + auto* optdata = pb_req.mutable_optdata(); + optdata->set_data(req->optData.data, 16); + optdata->set_len(req->optData.length); - return forge_request_with_com_id(builder, communication_id, CommandType::JoinRoom, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::JoinRoom, req_id); } bool rpcn_client::leave_room(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2LeaveRoomRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset final_optdata = CreatePresenceOptionData(builder, builder.CreateVector(req->optData.data, 16), req->optData.length); - auto req_finished = CreateLeaveRoomRequest(builder, req->roomId, final_optdata); - builder.Finish(req_finished); + np2_structs::LeaveRoomRequest pb_req; + pb_req.set_roomid(req->roomId); - return forge_request_with_com_id(builder, communication_id, CommandType::LeaveRoom, req_id); + auto* optdata = pb_req.mutable_optdata(); + optdata->set_data(req->optData.data, 16); + optdata->set_len(req->optData.length); + + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::LeaveRoom, req_id); } bool rpcn_client::search_room(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SearchRoomRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset>> final_intfilter_vec; + np2_structs::SearchRoomRequest pb_req; + + pb_req.set_option(req->option); + pb_req.set_worldid(req->worldId); + pb_req.set_lobbyid(req->lobbyId); + pb_req.set_rangefilter_startindex(req->rangeFilter.startIndex); + pb_req.set_rangefilter_max(req->rangeFilter.max); + pb_req.set_flagfilter(req->flagFilter); + pb_req.set_flagattr(req->flagAttr); + if (req->intFilterNum && req->intFilter) { - std::vector> davec{}; for (u32 i = 0; i < req->intFilterNum; i++) { - auto int_attr = CreateIntAttr(builder, req->intFilter[i].attr.id, req->intFilter[i].attr.num); - auto bin = CreateIntSearchFilter(builder, req->intFilter[i].searchOperator, int_attr); - davec.push_back(bin); + auto* filter = pb_req.add_intfilter(); + filter->mutable_searchoperator()->set_value(req->intFilter[i].searchOperator); + auto* attr = filter->mutable_attr(); + attr->mutable_id()->set_value(req->intFilter[i].attr.id); + attr->set_num(req->intFilter[i].attr.num); } - final_intfilter_vec = builder.CreateVector(davec); } - flatbuffers::Offset>> final_binfilter_vec; + if (req->binFilterNum && req->binFilter) { - std::vector> davec; for (u32 i = 0; i < req->binFilterNum; i++) { - auto bin_attr = CreateBinAttr(builder, req->binFilter[i].attr.id, builder.CreateVector(req->binFilter[i].attr.ptr.get_ptr(), req->binFilter[i].attr.size)); - auto bin = CreateBinSearchFilter(builder, req->binFilter[i].searchOperator, bin_attr); - davec.push_back(bin); + auto* filter = pb_req.add_binfilter(); + filter->mutable_searchoperator()->set_value(req->binFilter[i].searchOperator); + auto* attr = filter->mutable_attr(); + attr->mutable_id()->set_value(req->binFilter[i].attr.id); + attr->set_data(req->binFilter[i].attr.ptr.get_ptr(), req->binFilter[i].attr.size); } - final_binfilter_vec = builder.CreateVector(davec); } - flatbuffers::Offset> attrid_vec; if (req->attrIdNum && req->attrId) { - std::vector attr_ids; for (u32 i = 0; i < req->attrIdNum; i++) { - attr_ids.push_back(req->attrId[i]); + pb_req.add_attrid()->set_value(req->attrId[i]); } - attrid_vec = builder.CreateVector(attr_ids); } - SearchRoomRequestBuilder s_req(builder); - s_req.add_option(req->option); - s_req.add_worldId(req->worldId); - s_req.add_lobbyId(req->lobbyId); - s_req.add_rangeFilter_startIndex(req->rangeFilter.startIndex); - s_req.add_rangeFilter_max(req->rangeFilter.max); - s_req.add_flagFilter(req->flagFilter); - s_req.add_flagAttr(req->flagAttr); - if (req->intFilterNum) - s_req.add_intFilter(final_intfilter_vec); - if (req->binFilterNum) - s_req.add_binFilter(final_binfilter_vec); - if (req->attrIdNum) - s_req.add_attrId(attrid_vec); + std::string serialized; + pb_req.SerializeToString(&serialized); - auto req_finished = s_req.Finish(); - builder.Finish(req_finished); - - return forge_request_with_com_id(builder, communication_id, CommandType::SearchRoom, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::SearchRoom, req_id); } bool rpcn_client::get_roomdata_external_list(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2GetRoomDataExternalListRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - std::vector roomIds; + np2_structs::GetRoomDataExternalListRequest pb_req; + for (u32 i = 0; i < req->roomIdNum && req->roomId; i++) { - roomIds.push_back(req->roomId[i]); + pb_req.add_roomids(req->roomId[i]); } - std::vector attrIds; + for (u32 i = 0; i < req->attrIdNum && req->attrId; i++) { - attrIds.push_back(req->attrId[i]); + pb_req.add_attrids()->set_value(req->attrId[i]); } - auto req_finished = CreateGetRoomDataExternalListRequestDirect(builder, &roomIds, &attrIds); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::GetRoomDataExternalList, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::GetRoomDataExternalList, req_id); } bool rpcn_client::set_roomdata_external(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetRoomDataExternalRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset>> final_searchintattrexternal_vec; + np2_structs::SetRoomDataExternalRequest pb_req; + pb_req.set_roomid(req->roomId); + if (req->roomSearchableIntAttrExternalNum && req->roomSearchableIntAttrExternal) { - std::vector> davec; for (u32 i = 0; i < req->roomSearchableIntAttrExternalNum; i++) { - auto bin = CreateIntAttr(builder, req->roomSearchableIntAttrExternal[i].id, req->roomSearchableIntAttrExternal[i].num); - davec.push_back(bin); + auto* attr = pb_req.add_roomsearchableintattrexternal(); + attr->mutable_id()->set_value(req->roomSearchableIntAttrExternal[i].id); + attr->set_num(req->roomSearchableIntAttrExternal[i].num); } - final_searchintattrexternal_vec = builder.CreateVector(davec); } - flatbuffers::Offset>> final_searchbinattrexternal_vec; - flatbuffers::Offset>> final_binattrexternal_vec; - - std::vector> davec_searchable_binattrexternal; - std::vector> davec_binattrexternal; - - auto put_binattr = [&](SceNpMatching2AttributeId id, flatbuffers::Offset bin) + auto put_binattr = [&](const SceNpMatching2BinAttr& binattr) { - switch (id) + np2_structs::BinAttr* attr = nullptr; + switch (binattr.id) { case SCE_NP_MATCHING2_ROOM_BIN_ATTR_EXTERNAL_1_ID: case SCE_NP_MATCHING2_ROOM_BIN_ATTR_EXTERNAL_2_ID: - davec_binattrexternal.push_back(bin); + attr = pb_req.add_roombinattrexternal(); break; case SCE_NP_MATCHING2_ROOM_SEARCHABLE_BIN_ATTR_EXTERNAL_1_ID: - davec_searchable_binattrexternal.push_back(bin); + attr = pb_req.add_roomsearchablebinattrexternal(); break; default: - rpcn_log.error("Unexpected bin attribute id in set_roomdata_external request: 0x%x", id); - break; + rpcn_log.error("Unexpected bin attribute id in set_roomdata_external request: 0x%x", binattr.id); + return; } + attr->mutable_id()->set_value(binattr.id); + attr->set_data(binattr.ptr.get_ptr(), binattr.size); }; if (req->roomSearchableBinAttrExternalNum && req->roomSearchableBinAttrExternal) { for (u32 i = 0; i < req->roomSearchableBinAttrExternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomSearchableBinAttrExternal[i].id, builder.CreateVector(req->roomSearchableBinAttrExternal[i].ptr.get_ptr(), req->roomSearchableBinAttrExternal[i].size)); - put_binattr(req->roomSearchableBinAttrExternal[i].id, bin); + put_binattr(req->roomSearchableBinAttrExternal[i]); } } @@ -1987,155 +1962,143 @@ namespace rpcn { for (u32 i = 0; i < req->roomBinAttrExternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomBinAttrExternal[i].id, builder.CreateVector(req->roomBinAttrExternal[i].ptr.get_ptr(), req->roomBinAttrExternal[i].size)); - put_binattr(req->roomBinAttrExternal[i].id, bin); + put_binattr(req->roomBinAttrExternal[i]); } } - if (!davec_searchable_binattrexternal.empty()) - final_searchbinattrexternal_vec = builder.CreateVector(davec_searchable_binattrexternal); + std::string serialized; + pb_req.SerializeToString(&serialized); - if (!davec_binattrexternal.empty()) - final_binattrexternal_vec = builder.CreateVector(davec_binattrexternal); - - auto req_finished = CreateSetRoomDataExternalRequest(builder, req->roomId, final_searchintattrexternal_vec, final_searchbinattrexternal_vec, final_binattrexternal_vec); - builder.Finish(req_finished); - - return forge_request_with_com_id(builder, communication_id, CommandType::SetRoomDataExternal, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::SetRoomDataExternal, req_id); } bool rpcn_client::get_roomdata_internal(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2GetRoomDataInternalRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::GetRoomDataInternalRequest pb_req; + pb_req.set_roomid(req->roomId); - flatbuffers::Offset> final_attr_ids_vec; if (req->attrIdNum && req->attrId) { - std::vector attr_ids; for (u32 i = 0; i < req->attrIdNum; i++) { - attr_ids.push_back(req->attrId[i]); + pb_req.add_attrid()->set_value(req->attrId[i]); } - final_attr_ids_vec = builder.CreateVector(attr_ids); } - auto req_finished = CreateGetRoomDataInternalRequest(builder, req->roomId, final_attr_ids_vec); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::GetRoomDataInternal, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::GetRoomDataInternal, req_id); } bool rpcn_client::set_roomdata_internal(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetRoomDataInternalRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset>> final_binattrinternal_vec; + np2_structs::SetRoomDataInternalRequest pb_req; + pb_req.set_roomid(req->roomId); + pb_req.set_flagfilter(req->flagFilter); + pb_req.set_flagattr(req->flagAttr); + if (req->roomBinAttrInternalNum && req->roomBinAttrInternal) { - std::vector> davec; for (u32 i = 0; i < req->roomBinAttrInternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomBinAttrInternal[i].id, builder.CreateVector(req->roomBinAttrInternal[i].ptr.get_ptr(), req->roomBinAttrInternal[i].size)); - davec.push_back(bin); + auto* attr = pb_req.add_roombinattrinternal(); + attr->mutable_id()->set_value(req->roomBinAttrInternal[i].id); + attr->set_data(req->roomBinAttrInternal[i].ptr.get_ptr(), req->roomBinAttrInternal[i].size); } - final_binattrinternal_vec = builder.CreateVector(davec); } - flatbuffers::Offset>> final_grouppasswordconfig_vec; + if (req->passwordConfigNum && req->passwordConfig) { - std::vector> davec; for (u32 i = 0; i < req->passwordConfigNum; i++) { - auto rg = CreateRoomGroupPasswordConfig(builder, req->passwordConfig[i].groupId, req->passwordConfig[i].withPassword); - davec.push_back(rg); + auto* cfg = pb_req.add_passwordconfig(); + cfg->mutable_groupid()->set_value(req->passwordConfig[i].groupId); + cfg->set_withpassword(req->passwordConfig[i].withPassword); } - final_grouppasswordconfig_vec = builder.CreateVector(davec); } - flatbuffers::Offset> final_passwordSlotMask; if (req->passwordSlotMask) { - const u64 value = *req->passwordSlotMask; - final_passwordSlotMask = builder.CreateVector(&value, 1); + pb_req.add_passwordslotmask(*req->passwordSlotMask); } - flatbuffers::Offset> final_ownerprivilege_vec; if (req->ownerPrivilegeRankNum && req->ownerPrivilegeRank) { - std::vector priv_ranks; for (u32 i = 0; i < req->ownerPrivilegeRankNum; i++) { - priv_ranks.push_back(req->ownerPrivilegeRank[i]); + pb_req.add_ownerprivilegerank()->set_value(req->ownerPrivilegeRank[i]); } - final_ownerprivilege_vec = builder.CreateVector(priv_ranks); } - auto req_finished = - CreateSetRoomDataInternalRequest(builder, req->roomId, req->flagFilter, req->flagAttr, final_binattrinternal_vec, final_grouppasswordconfig_vec, final_passwordSlotMask, final_ownerprivilege_vec); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::SetRoomDataInternal, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::SetRoomDataInternal, req_id); } bool rpcn_client::get_roommemberdata_internal(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2GetRoomMemberDataInternalRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset> final_attrid_vec; + np2_structs::GetRoomMemberDataInternalRequest pb_req; + pb_req.set_roomid(req->roomId); + pb_req.mutable_memberid()->set_value(req->memberId); + if (req->attrIdNum && req->attrId) { - std::vector attrid_vec; for (u32 i = 0; i < req->attrIdNum; i++) { - attrid_vec.push_back(req->attrId[i]); + pb_req.add_attrid()->set_value(req->attrId[i]); } - final_attrid_vec = builder.CreateVector(attrid_vec); } - auto req_finished = CreateGetRoomMemberDataInternalRequest(builder, req->roomId, req->memberId, final_attrid_vec); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::GetRoomMemberDataInternal, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::GetRoomMemberDataInternal, req_id); } bool rpcn_client::set_roommemberdata_internal(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetRoomMemberDataInternalRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset>> final_binattrinternal_vec; + np2_structs::SetRoomMemberDataInternalRequest pb_req; + pb_req.set_roomid(req->roomId); + pb_req.mutable_memberid()->set_value(req->memberId); + pb_req.mutable_teamid()->set_value(req->teamId); + if (req->roomMemberBinAttrInternalNum && req->roomMemberBinAttrInternal) { - std::vector> davec; for (u32 i = 0; i < req->roomMemberBinAttrInternalNum; i++) { - auto bin = CreateBinAttr(builder, req->roomMemberBinAttrInternal[i].id, builder.CreateVector(req->roomMemberBinAttrInternal[i].ptr.get_ptr(), req->roomMemberBinAttrInternal[i].size)); - davec.push_back(bin); + auto* attr = pb_req.add_roommemberbinattrinternal(); + attr->mutable_id()->set_value(req->roomMemberBinAttrInternal[i].id); + attr->set_data(req->roomMemberBinAttrInternal[i].ptr.get_ptr(), req->roomMemberBinAttrInternal[i].size); } - final_binattrinternal_vec = builder.CreateVector(davec); } - auto req_finished = CreateSetRoomMemberDataInternalRequest(builder, req->roomId, req->memberId, req->teamId, final_binattrinternal_vec); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::SetRoomMemberDataInternal, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::SetRoomMemberDataInternal, req_id); } bool rpcn_client::set_userinfo(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetUserInfoRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); - flatbuffers::Offset>> final_memberbinattr_vec; + np2_structs::SetUserInfo pb_req; + pb_req.mutable_serverid()->set_value(req->serverId); + if (req->userBinAttrNum && req->userBinAttr) { - std::vector> davec; for (u32 i = 0; i < req->userBinAttrNum; i++) { - auto bin = CreateBinAttr(builder, req->userBinAttr[i].id, builder.CreateVector(req->userBinAttr[i].ptr.get_ptr(), req->userBinAttr[i].size)); - davec.push_back(bin); + auto* attr = pb_req.add_userbinattr(); + attr->mutable_id()->set_value(req->userBinAttr[i].id); + attr->set_data(req->userBinAttr[i].ptr.get_ptr(), req->userBinAttr[i].size); } - final_memberbinattr_vec = builder.CreateVector(davec); } - auto req_finished = CreateSetUserInfo(builder, req->serverId, final_memberbinattr_vec); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::SetUserInfo, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::SetUserInfo, req_id); } bool rpcn_client::ping_room_owner(u32 req_id, const SceNpCommunicationId& communication_id, u64 room_id) @@ -2150,34 +2113,38 @@ namespace rpcn bool rpcn_client::send_room_message(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SendRoomMessageRequest* req) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::SendRoomMessageRequest pb_req; + pb_req.set_roomid(req->roomId); + pb_req.mutable_casttype()->set_value(req->castType); + pb_req.mutable_option()->set_value(req->option); - std::vector dst; switch (req->castType) { case SCE_NP_MATCHING2_CASTTYPE_BROADCAST: break; case SCE_NP_MATCHING2_CASTTYPE_UNICAST: - dst.push_back(req->dst.unicastTarget); + pb_req.add_dst()->set_value(req->dst.unicastTarget); break; case SCE_NP_MATCHING2_CASTTYPE_MULTICAST: for (u32 i = 0; i < req->dst.multicastTarget.memberIdNum && req->dst.multicastTarget.memberId; i++) { - dst.push_back(req->dst.multicastTarget.memberId[i]); + pb_req.add_dst()->set_value(req->dst.multicastTarget.memberId[i]); } break; case SCE_NP_MATCHING2_CASTTYPE_MULTICAST_TEAM: - dst.push_back(req->dst.multicastTargetTeamId); + pb_req.add_dst()->set_value(req->dst.multicastTargetTeamId); break; default: ensure(false); break; } - auto req_finished = CreateSendRoomMessageRequest(builder, req->roomId, req->castType, builder.CreateVector(dst.data(), dst.size()), builder.CreateVector(reinterpret_cast(req->msg.get_ptr()), req->msgLen), req->option); - builder.Finish(req_finished); + pb_req.set_msg(req->msg.get_ptr(), req->msgLen); - return forge_request_with_com_id(builder, communication_id, CommandType::SendRoomMessage, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::SendRoomMessage, req_id); } bool rpcn_client::req_sign_infos(u32 req_id, const std::string& npid) @@ -2203,32 +2170,32 @@ namespace rpcn bool rpcn_client::send_message(const message_data& msg_data, const std::set& npids) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::MessageDetails pb_message; + pb_message.set_communicationid(static_cast(msg_data.commId.data)); + pb_message.set_msgid(msg_data.msgId); + pb_message.mutable_maintype()->set_value(msg_data.mainType); + pb_message.mutable_subtype()->set_value(msg_data.subType); + pb_message.set_msgfeatures(msg_data.msgFeatures); + pb_message.set_subject(msg_data.subject); + pb_message.set_body(msg_data.body); + pb_message.set_data(msg_data.data.data(), msg_data.data.size()); - flatbuffers::FlatBufferBuilder nested_builder(1024); - auto fb_message = CreateMessageDetailsDirect(nested_builder, static_cast(msg_data.commId.data), msg_data.msgId, msg_data.mainType, msg_data.subType, msg_data.msgFeatures, msg_data.subject.c_str(), msg_data.body.c_str(), &msg_data.data); - nested_builder.Finish(fb_message); - builder.ForceVectorAlignment(nested_builder.GetSize(), sizeof(uint8_t), nested_builder.GetBufferMinAlignment()); - auto nested_flatbuffer_vector = builder.CreateVector(nested_builder.GetBufferPointer(), nested_builder.GetSize()); + std::string serialized_message; + pb_message.SerializeToString(&serialized_message); - std::vector> davec; + np2_structs::SendMessageRequest pb_req; + pb_req.set_message(serialized_message); for (const auto& npid : npids) { - auto s_npid = builder.CreateString(npid); - davec.push_back(s_npid); + pb_req.add_npids(npid); } - auto npids_vector = builder.CreateVector(davec); - // auto npids = builder.Create - auto fb_sendmessage = CreateSendMessageRequest(builder, nested_flatbuffer_vector, npids_vector); + std::string serialized; + pb_req.SerializeToString(&serialized); - builder.Finish(fb_sendmessage); - const u8* buf = builder.GetBufferPointer(); - const usz bufsize = builder.GetSize(); - std::vector data(bufsize + sizeof(u32)); - - reinterpret_cast&>(data[0]) = static_cast(bufsize); - memcpy(data.data() + sizeof(u32), buf, bufsize); + std::vector data(serialized.size() + sizeof(u32)); + reinterpret_cast&>(data[0]) = static_cast(serialized.size()); + memcpy(data.data() + sizeof(u32), serialized.data(), serialized.size()); return forge_send(CommandType::SendMessage, rpcn_request_counter.fetch_add(1), data); } @@ -2244,63 +2211,91 @@ namespace rpcn bool rpcn_client::record_score(u32 req_id, const SceNpCommunicationId& communication_id, SceNpScoreBoardId board_id, SceNpScorePcId char_id, SceNpScoreValue score, const std::optional comment, const std::optional> score_data) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::RecordScoreRequest pb_req; + pb_req.set_boardid(board_id); + pb_req.set_pcid(char_id); + pb_req.set_score(score); + if (comment) + { + pb_req.set_comment(*comment); + } + if (score_data) + { + pb_req.set_data(score_data->data(), score_data->size()); + } - auto req_finished = CreateRecordScoreRequestDirect(builder, board_id, char_id, score, comment ? (*comment).c_str() : nullptr, score_data ? &*score_data : nullptr); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::RecordScore, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::RecordScore, req_id); } bool rpcn_client::get_score_range(u32 req_id, const SceNpCommunicationId& communication_id, SceNpScoreBoardId board_id, u32 start_rank, u32 num_rank, bool with_comment, bool with_gameinfo) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateGetScoreRangeRequest(builder, board_id, start_rank, num_rank, with_comment, with_gameinfo); - builder.Finish(req_finished); + np2_structs::GetScoreRangeRequest pb_req; + pb_req.set_boardid(board_id); + pb_req.set_startrank(start_rank); + pb_req.set_numranks(num_rank); + pb_req.set_withcomment(with_comment); + pb_req.set_withgameinfo(with_gameinfo); - return forge_request_with_com_id(builder, communication_id, CommandType::GetScoreRange, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::GetScoreRange, req_id); } bool rpcn_client::get_score_npid(u32 req_id, const SceNpCommunicationId& communication_id, SceNpScoreBoardId board_id, const std::vector>& npids, bool with_comment, bool with_gameinfo) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::GetScoreNpIdRequest pb_req; + pb_req.set_boardid(board_id); + pb_req.set_withcomment(with_comment); + pb_req.set_withgameinfo(with_gameinfo); - std::vector> davec; for (usz i = 0; i < npids.size(); i++) { - auto npid = CreateScoreNpIdPcId(builder, builder.CreateString(static_cast(npids[i].first.handle.data)), npids[i].second); - davec.push_back(npid); + auto* npid_entry = pb_req.add_npids(); + npid_entry->set_npid(static_cast(npids[i].first.handle.data)); + npid_entry->set_pcid(npids[i].second); } - auto req_finished = CreateGetScoreNpIdRequest(builder, board_id, builder.CreateVector(davec), with_comment, with_gameinfo); + std::string serialized; + pb_req.SerializeToString(&serialized); - builder.Finish(req_finished); - - return forge_request_with_com_id(builder, communication_id, CommandType::GetScoreNpid, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::GetScoreNpid, req_id); } bool rpcn_client::get_score_friend(u32 req_id, const SceNpCommunicationId& communication_id, SceNpScoreBoardId board_id, bool include_self, bool with_comment, bool with_gameinfo, u32 max_entries) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateGetScoreFriendsRequest(builder, board_id, include_self, max_entries, with_comment, with_gameinfo); - builder.Finish(req_finished); + np2_structs::GetScoreFriendsRequest pb_req; + pb_req.set_boardid(board_id); + pb_req.set_include_self(include_self); + pb_req.set_max(max_entries); + pb_req.set_withcomment(with_comment); + pb_req.set_withgameinfo(with_gameinfo); - return forge_request_with_com_id(builder, communication_id, CommandType::GetScoreFriends, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::GetScoreFriends, req_id); } bool rpcn_client::record_score_data(u32 req_id, const SceNpCommunicationId& communication_id, SceNpScorePcId pc_id, SceNpScoreBoardId board_id, s64 score, const std::vector& score_data) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateRecordScoreGameDataRequest(builder, board_id, pc_id, score); - builder.Finish(req_finished); + np2_structs::RecordScoreGameDataRequest pb_req; + pb_req.set_boardid(board_id); + pb_req.set_pcid(pc_id); + pb_req.set_score(score); - const u8* buf = builder.GetBufferPointer(); - const usz bufsize = builder.GetSize(); + std::string serialized; + pb_req.SerializeToString(&serialized); + + const usz bufsize = serialized.size(); std::vector data(COMMUNICATION_ID_SIZE + sizeof(u32) + bufsize + sizeof(u32) + score_data.size()); rpcn_client::write_communication_id(communication_id, data); reinterpret_cast&>(data[COMMUNICATION_ID_SIZE]) = static_cast(bufsize); - memcpy(data.data() + COMMUNICATION_ID_SIZE + sizeof(u32), buf, bufsize); + memcpy(data.data() + COMMUNICATION_ID_SIZE + sizeof(u32), serialized.data(), bufsize); reinterpret_cast&>(data[COMMUNICATION_ID_SIZE + sizeof(u32) + bufsize]) = static_cast(score_data.size()); memcpy(data.data() + COMMUNICATION_ID_SIZE + sizeof(u32) + bufsize + sizeof(u32), score_data.data(), score_data.size()); @@ -2309,247 +2304,304 @@ namespace rpcn bool rpcn_client::get_score_data(u32 req_id, const SceNpCommunicationId& communication_id, SceNpScorePcId pc_id, SceNpScoreBoardId board_id, const SceNpId& npid) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateGetScoreGameDataRequest(builder, board_id, builder.CreateString(reinterpret_cast(npid.handle.data)), pc_id); - builder.Finish(req_finished); + np2_structs::GetScoreGameDataRequest pb_req; + pb_req.set_boardid(board_id); + pb_req.set_npid(reinterpret_cast(npid.handle.data)); + pb_req.set_pcid(pc_id); - return forge_request_with_com_id(builder, communication_id, CommandType::GetScoreData, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::GetScoreData, req_id); } bool rpcn_client::tus_set_multislot_variable(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, vm::cptr slotIdArray, vm::cptr variableArray, s32 arrayNum, bool vuser) { - const std::vector slotid_array(slotIdArray.get_ptr(), slotIdArray.get_ptr() + arrayNum); - const std::vector variable_array(variableArray.get_ptr(), variableArray.get_ptr() + arrayNum); + np2_structs::TusSetMultiSlotVariableRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusSetMultiSlotVariableRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), builder.CreateVector(slotid_array), builder.CreateVector(variable_array)); - builder.Finish(req_finished); + for (s32 i = 0; i < arrayNum; i++) + { + pb_req.add_slotidarray(slotIdArray[i]); + pb_req.add_variablearray(variableArray[i]); + } - return forge_request_with_com_id(builder, communication_id, CommandType::TusSetMultiSlotVariable, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusSetMultiSlotVariable, req_id); } bool rpcn_client::tus_get_multislot_variable(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, vm::cptr slotIdArray, s32 arrayNum, bool vuser) { - const std::vector slotid_array(slotIdArray.get_ptr(), slotIdArray.get_ptr() + arrayNum); + np2_structs::TusGetMultiSlotVariableRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusGetMultiSlotVariableRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), builder.CreateVector(slotid_array)); - builder.Finish(req_finished); + for (s32 i = 0; i < arrayNum; i++) + { + pb_req.add_slotidarray(slotIdArray[i]); + } - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetMultiSlotVariable, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetMultiSlotVariable, req_id); } bool rpcn_client::tus_get_multiuser_variable(u32 req_id, const SceNpCommunicationId& communication_id, const std::vector& targetNpIdArray, SceNpTusSlotId slotId, s32 arrayNum, bool vuser) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::TusGetMultiUserVariableRequest pb_req; + pb_req.set_slotid(slotId); - std::vector> davec; for (s32 i = 0; i < std::min(arrayNum, ::narrow(targetNpIdArray.size())); i++) { - davec.push_back(CreateTusUser(builder, vuser, builder.CreateString(targetNpIdArray[i].data))); + auto* user = pb_req.add_users(); + user->set_vuser(vuser); + user->set_npid(targetNpIdArray[i].data); } - auto req_finished = CreateTusGetMultiUserVariableRequest(builder, builder.CreateVector(davec), slotId); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetMultiUserVariable, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetMultiUserVariable, req_id); } bool rpcn_client::tus_get_friends_variable(u32 req_id, const SceNpCommunicationId& communication_id, SceNpTusSlotId slotId, bool includeSelf, s32 sortType, s32 arrayNum) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusGetFriendsVariableRequest(builder, slotId, includeSelf, sortType, arrayNum); - builder.Finish(req_finished); + np2_structs::TusGetFriendsVariableRequest pb_req; + pb_req.set_slotid(slotId); + pb_req.set_includeself(includeSelf); + pb_req.set_sorttype(sortType); + pb_req.set_arraynum(arrayNum); - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetFriendsVariable, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetFriendsVariable, req_id); } bool rpcn_client::tus_add_and_get_variable(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, SceNpTusSlotId slotId, s64 inVariable, vm::ptr option, bool vuser) { - flatbuffers::FlatBufferBuilder builder(1024); - - flatbuffers::Offset> isLastChangedDate; - flatbuffers::Offset isLastChangedAuthorId; + np2_structs::TusAddAndGetVariableRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); + pb_req.set_slotid(slotId); + pb_req.set_invariable(inVariable); if (option) { if (option->isLastChangedDate) { - std::vector is_last_changed_date_vec; - is_last_changed_date_vec.push_back(option->isLastChangedDate->tick); - isLastChangedDate = builder.CreateVector(is_last_changed_date_vec); + pb_req.add_islastchangeddate(option->isLastChangedDate->tick); } if (option->isLastChangedAuthorId) { - isLastChangedAuthorId = builder.CreateString(option->isLastChangedAuthorId->handle.data); + pb_req.set_islastchangedauthorid(option->isLastChangedAuthorId->handle.data); } } - auto req_finished = CreateTusAddAndGetVariableRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), slotId, inVariable, isLastChangedDate, isLastChangedAuthorId); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::TusAddAndGetVariable, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::TusAddAndGetVariable, req_id); } bool rpcn_client::tus_try_and_set_variable(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, SceNpTusSlotId slotId, s32 opeType, s64 variable, vm::ptr option, bool vuser) { - flatbuffers::FlatBufferBuilder builder(1024); - - flatbuffers::Offset> isLastChangedDate; - flatbuffers::Offset isLastChangedAuthorId; - flatbuffers::Offset> compareValue; + np2_structs::TusTryAndSetVariableRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); + pb_req.set_slotid(slotId); + pb_req.set_opetype(opeType); + pb_req.set_variable(variable); if (option) { if (option->isLastChangedDate) { - std::vector is_last_changed_date_vec; - is_last_changed_date_vec.push_back(option->isLastChangedDate->tick); - isLastChangedDate = builder.CreateVector(is_last_changed_date_vec); + pb_req.add_islastchangeddate(option->isLastChangedDate->tick); } if (option->isLastChangedAuthorId) { - isLastChangedAuthorId = builder.CreateString(option->isLastChangedAuthorId->handle.data); + pb_req.set_islastchangedauthorid(option->isLastChangedAuthorId->handle.data); } if (option->compareValue) { - std::vector compare_value_vec; - compare_value_vec.push_back(*(option->compareValue)); - compareValue = builder.CreateVector(compare_value_vec); + pb_req.add_comparevalue(*(option->compareValue)); } } - auto req_finished = CreateTusTryAndSetVariableRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), slotId, opeType, variable, isLastChangedDate, isLastChangedAuthorId, compareValue); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::TusTryAndSetVariable, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::TusTryAndSetVariable, req_id); } bool rpcn_client::tus_delete_multislot_variable(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, vm::cptr slotIdArray, s32 arrayNum, bool vuser) { - const std::vector slotid_array(slotIdArray.get_ptr(), slotIdArray.get_ptr() + arrayNum); + np2_structs::TusDeleteMultiSlotVariableRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusDeleteMultiSlotVariableRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), builder.CreateVector(slotid_array)); - builder.Finish(req_finished); + for (s32 i = 0; i < arrayNum; i++) + { + pb_req.add_slotidarray(slotIdArray[i]); + } - return forge_request_with_com_id(builder, communication_id, CommandType::TusDeleteMultiSlotVariable, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusDeleteMultiSlotVariable, req_id); } bool rpcn_client::tus_set_data(u32 req_id, SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, SceNpTusSlotId slotId, const std::vector& tus_data, vm::cptr info, vm::ptr option, bool vuser) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::TusSetDataRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); + pb_req.set_slotid(slotId); + pb_req.set_data(tus_data.data(), tus_data.size()); - flatbuffers::Offset> isLastChangedDate; - flatbuffers::Offset isLastChangedAuthorId; + if (info) + { + pb_req.set_info(info->data, static_cast(info->infoSize)); + } if (option) { if (option->isLastChangedDate) { - std::vector is_last_changed_date_vec; - is_last_changed_date_vec.push_back(option->isLastChangedDate->tick); - isLastChangedDate = builder.CreateVector(is_last_changed_date_vec); + pb_req.add_islastchangeddate(option->isLastChangedDate->tick); } if (option->isLastChangedAuthorId) { - isLastChangedAuthorId = builder.CreateString(option->isLastChangedAuthorId->handle.data); + pb_req.set_islastchangedauthorid(option->isLastChangedAuthorId->handle.data); } } - flatbuffers::Offset> fb_info; + std::string serialized; + pb_req.SerializeToString(&serialized); - if (info) - { - fb_info = builder.CreateVector(info->data, static_cast(info->infoSize)); - } - - auto req_finished = CreateTusSetDataRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), slotId, builder.CreateVector(tus_data), fb_info, isLastChangedDate, isLastChangedAuthorId); - builder.Finish(req_finished); - - return forge_request_with_com_id(builder, communication_id, CommandType::TusSetData, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::TusSetData, req_id); } bool rpcn_client::tus_get_data(u32 req_id, SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, SceNpTusSlotId slotId, bool vuser) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusGetDataRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), slotId); - builder.Finish(req_finished); + np2_structs::TusGetDataRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); + pb_req.set_slotid(slotId); - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetData, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetData, req_id); } bool rpcn_client::tus_get_multislot_data_status(u32 req_id, SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, vm::cptr slotIdArray, s32 arrayNum, bool vuser) { - const std::vector slotid_array(slotIdArray.get_ptr(), slotIdArray.get_ptr() + arrayNum); + np2_structs::TusGetMultiSlotDataStatusRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusGetMultiSlotDataStatusRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), builder.CreateVector(slotid_array)); - builder.Finish(req_finished); + for (s32 i = 0; i < arrayNum; i++) + { + pb_req.add_slotidarray(slotIdArray[i]); + } - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetMultiSlotDataStatus, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetMultiSlotDataStatus, req_id); } bool rpcn_client::tus_get_multiuser_data_status(u32 req_id, SceNpCommunicationId& communication_id, const std::vector& targetNpIdArray, SceNpTusSlotId slotId, s32 arrayNum, bool vuser) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::TusGetMultiUserDataStatusRequest pb_req; + pb_req.set_slotid(slotId); - std::vector> davec; for (s32 i = 0; i < std::min(arrayNum, ::narrow(targetNpIdArray.size())); i++) { - davec.push_back(CreateTusUser(builder, vuser, builder.CreateString(targetNpIdArray[i].data))); + auto* user = pb_req.add_users(); + user->set_vuser(vuser); + user->set_npid(targetNpIdArray[i].data); } - auto req_finished = CreateTusGetMultiUserDataStatusRequest(builder, builder.CreateVector(davec), slotId); - builder.Finish(req_finished); + std::string serialized; + pb_req.SerializeToString(&serialized); - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetMultiUserDataStatus, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetMultiUserDataStatus, req_id); } bool rpcn_client::tus_get_friends_data_status(u32 req_id, SceNpCommunicationId& communication_id, SceNpTusSlotId slotId, bool includeSelf, s32 sortType, s32 arrayNum) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusGetFriendsDataStatusRequest(builder, slotId, includeSelf, sortType, arrayNum); - builder.Finish(req_finished); + np2_structs::TusGetFriendsDataStatusRequest pb_req; + pb_req.set_slotid(slotId); + pb_req.set_includeself(includeSelf); + pb_req.set_sorttype(sortType); + pb_req.set_arraynum(arrayNum); - return forge_request_with_com_id(builder, communication_id, CommandType::TusGetFriendsDataStatus, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusGetFriendsDataStatus, req_id); } bool rpcn_client::tus_delete_multislot_data(u32 req_id, SceNpCommunicationId& communication_id, const SceNpOnlineId& targetNpId, vm::cptr slotIdArray, s32 arrayNum, bool vuser) { - const std::vector slotid_array(slotIdArray.get_ptr(), slotIdArray.get_ptr() + arrayNum); + np2_structs::TusDeleteMultiSlotDataRequest pb_req; + auto* user = pb_req.mutable_user(); + user->set_vuser(vuser); + user->set_npid(targetNpId.data); - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateTusDeleteMultiSlotDataRequest(builder, CreateTusUser(builder, vuser, builder.CreateString(targetNpId.data)), builder.CreateVector(slotid_array)); - builder.Finish(req_finished); + for (s32 i = 0; i < arrayNum; i++) + { + pb_req.add_slotidarray(slotIdArray[i]); + } - return forge_request_with_com_id(builder, communication_id, CommandType::TusDeleteMultiSlotData, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, communication_id, CommandType::TusDeleteMultiSlotData, req_id); } bool rpcn_client::send_presence(const SceNpCommunicationId& pr_com_id, const std::string& pr_title, const std::string& pr_status, const std::string& pr_comment, const std::vector& pr_data) { - flatbuffers::FlatBufferBuilder builder(1024); - auto req_finished = CreateSetPresenceRequest(builder, builder.CreateString(pr_title), builder.CreateString(pr_status), builder.CreateString(pr_comment), builder.CreateVector(pr_data)); - builder.Finish(req_finished); + np2_structs::SetPresenceRequest pb_req; + pb_req.set_title(pr_title); + pb_req.set_status(pr_status); + pb_req.set_comment(pr_comment); + pb_req.set_data(pr_data.data(), pr_data.size()); - return forge_request_with_com_id(builder, pr_com_id, CommandType::SetPresence, rpcn_request_counter.fetch_add(1)); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, pr_com_id, CommandType::SetPresence, rpcn_request_counter.fetch_add(1)); } bool rpcn_client::createjoin_room_gui(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatchingAttr* attr_list) { - flatbuffers::FlatBufferBuilder builder(1024); + np2_structs::CreateRoomGUIRequest pb_req; u32 total_slots = 0; u32 private_slots = 0; bool privilege_grant = false; bool stealth = false; - std::vector> vec_attrs; - for (const SceNpMatchingAttr* cur_attr = attr_list; cur_attr != nullptr; cur_attr = cur_attr->next ? cur_attr->next.get_ptr() : nullptr) { switch (cur_attr->type) @@ -2584,17 +2636,21 @@ namespace rpcn ensure(cur_attr->id >= 1u && cur_attr->id <= 16u, "Invalid game bin attribute id"); ensure(cur_attr->value.data.size <= 64u || ((cur_attr->id == 1u || cur_attr->id == 2u) && cur_attr->value.data.size <= 256u), "Invalid game bin size"); - const std::vector vec_data(static_cast(cur_attr->value.data.ptr.get_ptr()), static_cast(cur_attr->value.data.ptr.get_ptr()) + cur_attr->value.data.size); - auto attr = CreateMatchingAttrDirect(builder, cur_attr->type, cur_attr->id, 0, &vec_data); - vec_attrs.push_back(attr); + auto* attr = pb_req.add_game_attrs(); + attr->set_attr_type(cur_attr->type); + attr->set_attr_id(cur_attr->id); + attr->set_num(0); + attr->set_data(cur_attr->value.data.ptr.get_ptr(), cur_attr->value.data.size); break; } case SCE_NP_MATCHING_ATTR_TYPE_GAME_NUM: { ensure(cur_attr->id >= 1u && cur_attr->id <= 16u, "Invalid game num attribute id"); - auto attr = CreateMatchingAttrDirect(builder, cur_attr->type, cur_attr->id, cur_attr->value.num, nullptr); - vec_attrs.push_back(attr); + auto* attr = pb_req.add_game_attrs(); + attr->set_attr_type(cur_attr->type); + attr->set_attr_id(cur_attr->id); + attr->set_num(cur_attr->value.num); break; } default: @@ -2602,187 +2658,185 @@ namespace rpcn } } - flatbuffers::Offset>> final_attrs_vec; + pb_req.set_total_slots(total_slots); + pb_req.set_private_slots(private_slots); + pb_req.set_privilege_grant(privilege_grant); + pb_req.set_stealth(stealth); - if (!vec_attrs.empty()) - { - final_attrs_vec = builder.CreateVector(vec_attrs); - } + std::string serialized; + pb_req.SerializeToString(&serialized); - auto req_finished = CreateCreateRoomGUIRequest(builder, total_slots, private_slots, privilege_grant, stealth, final_attrs_vec); - builder.Finish(req_finished); - - return forge_request_with_com_id(builder, communication_id, CommandType::CreateRoomGUI, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::CreateRoomGUI, req_id); } bool rpcn_client::join_room_gui(u32 req_id, const SceNpRoomId& room_id) { - flatbuffers::FlatBufferBuilder builder(1024); - const std::vector vec_room_id(room_id.opt, room_id.opt + sizeof(room_id.opt)); - auto req_finished = CreateMatchingGuiRoomIdDirect(builder, &vec_room_id); - builder.Finish(req_finished); - return forge_request_with_data(builder, CommandType::JoinRoomGUI, req_id); + np2_structs::MatchingGuiRoomId pb_req; + pb_req.set_id(room_id.opt, sizeof(room_id.opt)); + + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_data(serialized, CommandType::JoinRoomGUI, req_id); } bool rpcn_client::leave_room_gui(u32 req_id, const SceNpRoomId& room_id) { - flatbuffers::FlatBufferBuilder builder(1024); - const std::vector vec_room_id(room_id.opt, room_id.opt + sizeof(room_id.opt)); - auto req_finished = CreateMatchingGuiRoomIdDirect(builder, &vec_room_id); - builder.Finish(req_finished); - return forge_request_with_data(builder, CommandType::LeaveRoomGUI, req_id); + np2_structs::MatchingGuiRoomId pb_req; + pb_req.set_id(room_id.opt, sizeof(room_id.opt)); + + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_data(serialized, CommandType::LeaveRoomGUI, req_id); } bool rpcn_client::get_room_list_gui(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatchingReqRange* range, vm::ptr cond, vm::ptr attr) { - flatbuffers::FlatBufferBuilder builder(1024); - - const s32 range_start = range->start; - const u32 range_max = range->max; - - std::vector> vec_conds; - std::vector> vec_attrs; + np2_structs::GetRoomListGUIRequest pb_req; + pb_req.set_range_start(range->start); + pb_req.set_range_max(range->max); for (auto cur_cond = cond; cur_cond; cur_cond = cur_cond->next) { - auto fb_cond = CreateMatchingSearchCondition(builder, cur_cond->target_attr_type, cur_cond->target_attr_id, cur_cond->comp_op, cur_cond->compared.value.num); - vec_conds.push_back(fb_cond); + auto* pb_cond = pb_req.add_conds(); + pb_cond->set_attr_type(cur_cond->target_attr_type); + pb_cond->set_attr_id(cur_cond->target_attr_id); + pb_cond->set_comp_op(cur_cond->comp_op); + pb_cond->set_comp_value(cur_cond->compared.value.num); } for (auto cur_attr = attr; cur_attr; cur_attr = cur_attr->next) { - auto fb_attr = CreateMatchingAttr(builder, cur_attr->type, cur_attr->id); - vec_attrs.push_back(fb_attr); + auto* pb_attr = pb_req.add_attrs(); + pb_attr->set_attr_type(cur_attr->type); + pb_attr->set_attr_id(cur_attr->id); } - flatbuffers::Offset>> final_conds_vec; - flatbuffers::Offset>> final_attrs_vec; + std::string serialized; + pb_req.SerializeToString(&serialized); - if (!vec_conds.empty()) - { - final_conds_vec = builder.CreateVector(vec_conds); - } - - if (!vec_attrs.empty()) - { - final_attrs_vec = builder.CreateVector(vec_attrs); - } - - auto req_finished = CreateGetRoomListGUIRequest(builder, range_start, range_max, final_conds_vec, final_attrs_vec); - builder.Finish(req_finished); - - return forge_request_with_com_id(builder, communication_id, CommandType::GetRoomListGUI, req_id); + return forge_request_with_com_id(serialized, communication_id, CommandType::GetRoomListGUI, req_id); } bool rpcn_client::set_room_search_flag_gui(u32 req_id, const SceNpRoomId& room_id, bool stealth) { - flatbuffers::FlatBufferBuilder builder(1024); - const std::vector vec_room_id(room_id.opt, room_id.opt + sizeof(room_id.opt)); - auto req_finished = CreateSetRoomSearchFlagGUIDirect(builder, &vec_room_id, stealth); - builder.Finish(req_finished); - return forge_request_with_data(builder, CommandType::SetRoomSearchFlagGUI, req_id); + np2_structs::SetRoomSearchFlagGUI pb_req; + pb_req.set_roomid(room_id.opt, sizeof(room_id.opt)); + pb_req.set_stealth(stealth); + + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_data(serialized, CommandType::SetRoomSearchFlagGUI, req_id); } bool rpcn_client::get_room_search_flag_gui(u32 req_id, const SceNpRoomId& room_id) { - flatbuffers::FlatBufferBuilder builder(1024); - const std::vector vec_room_id(room_id.opt, room_id.opt + sizeof(room_id.opt)); - auto req_finished = CreateMatchingGuiRoomIdDirect(builder, &vec_room_id); - builder.Finish(req_finished); - return forge_request_with_data(builder, CommandType::GetRoomSearchFlagGUI, req_id); + np2_structs::MatchingGuiRoomId pb_req; + pb_req.set_id(room_id.opt, sizeof(room_id.opt)); + + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_data(serialized, CommandType::GetRoomSearchFlagGUI, req_id); } bool rpcn_client::set_room_info_gui(u32 req_id, const SceNpRoomId& room_id, vm::ptr attrs) { - flatbuffers::FlatBufferBuilder builder(1024); - const std::vector vec_room_id(room_id.opt, room_id.opt + sizeof(room_id.opt)); - std::vector> vec_attrs; + np2_structs::MatchingRoom pb_req; + pb_req.set_id(room_id.opt, sizeof(room_id.opt)); for (auto cur_attr = attrs; cur_attr; cur_attr = cur_attr->next) { - u32 num = 0; - flatbuffers::Offset> fb_vec_data = 0; + auto* pb_attr = pb_req.add_attr(); + pb_attr->set_attr_type(cur_attr->type); + pb_attr->set_attr_id(cur_attr->id); switch (cur_attr->type) { case SCE_NP_MATCHING_ATTR_TYPE_GAME_BIN: { - const std::vector vec_data(static_cast(cur_attr->value.data.ptr.get_ptr()), static_cast(cur_attr->value.data.ptr.get_ptr()) + cur_attr->value.data.size); - fb_vec_data = builder.CreateVector(vec_data); + pb_attr->set_data(cur_attr->value.data.ptr.get_ptr(), cur_attr->value.data.size); break; } case SCE_NP_MATCHING_ATTR_TYPE_GAME_NUM: { - num = cur_attr->value.num; + pb_attr->set_num(cur_attr->value.num); break; } default: fmt::throw_exception("Invalid attr type reached set_room_info_gui"); } - - auto fb_attr = CreateMatchingAttr(builder, cur_attr->type, cur_attr->id, num, fb_vec_data); - vec_attrs.push_back(fb_attr); } - auto req_finished = CreateMatchingRoomDirect(builder, &vec_room_id, &vec_attrs); - builder.Finish(req_finished); - return forge_request_with_data(builder, CommandType::SetRoomInfoGUI, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_data(serialized, CommandType::SetRoomInfoGUI, req_id); } bool rpcn_client::get_room_info_gui(u32 req_id, const SceNpRoomId& room_id, vm::ptr attrs) { - flatbuffers::FlatBufferBuilder builder(1024); - const std::vector vec_room_id(room_id.opt, room_id.opt + sizeof(room_id.opt)); - std::vector> vec_attrs; + np2_structs::MatchingRoom pb_req; + pb_req.set_id(room_id.opt, sizeof(room_id.opt)); for (auto cur_attr = attrs; cur_attr; cur_attr = cur_attr->next) { - auto fb_attr = CreateMatchingAttr(builder, cur_attr->type, cur_attr->id); - vec_attrs.push_back(fb_attr); + auto* pb_attr = pb_req.add_attr(); + pb_attr->set_attr_type(cur_attr->type); + pb_attr->set_attr_id(cur_attr->id); } - auto req_finished = CreateMatchingRoomDirect(builder, &vec_room_id, &vec_attrs); - builder.Finish(req_finished); - return forge_request_with_data(builder, CommandType::GetRoomInfoGUI, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_data(serialized, CommandType::GetRoomInfoGUI, req_id); } bool rpcn_client::quickmatch_gui(u32 req_id, const SceNpCommunicationId& com_id, vm::cptr cond, s32 available_num) { - flatbuffers::FlatBufferBuilder builder(1024); - std::vector> vec_conds; + np2_structs::QuickMatchGUIRequest pb_req; + pb_req.set_available_num(available_num); for (auto cur_cond = cond; cur_cond; cur_cond = cur_cond->next) { - auto fb_cond = CreateMatchingSearchCondition(builder, cur_cond->target_attr_type, cur_cond->target_attr_id, cur_cond->comp_op, cur_cond->compared.value.num); - vec_conds.push_back(fb_cond); + auto* pb_cond = pb_req.add_conds(); + pb_cond->set_attr_type(cur_cond->target_attr_type); + pb_cond->set_attr_id(cur_cond->target_attr_id); + pb_cond->set_comp_op(cur_cond->comp_op); + pb_cond->set_comp_value(cur_cond->compared.value.num); } - auto req_finished = CreateQuickMatchGUIRequestDirect(builder, &vec_conds, available_num); - builder.Finish(req_finished); - return forge_request_with_com_id(builder, com_id, CommandType::QuickMatchGUI, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, com_id, CommandType::QuickMatchGUI, req_id); } bool rpcn_client::searchjoin_gui(u32 req_id, const SceNpCommunicationId& com_id, vm::cptr cond, vm::cptr attr) { - flatbuffers::FlatBufferBuilder builder(1024); - - std::vector> vec_conds; - std::vector> vec_attrs; + np2_structs::SearchJoinRoomGUIRequest pb_req; for (auto cur_cond = cond; cur_cond; cur_cond = cur_cond->next) { - auto fb_cond = CreateMatchingSearchCondition(builder, cur_cond->target_attr_type, cur_cond->target_attr_id, cur_cond->comp_op, cur_cond->compared.value.num); - vec_conds.push_back(fb_cond); + auto* pb_cond = pb_req.add_conds(); + pb_cond->set_attr_type(cur_cond->target_attr_type); + pb_cond->set_attr_id(cur_cond->target_attr_id); + pb_cond->set_comp_op(cur_cond->comp_op); + pb_cond->set_comp_value(cur_cond->compared.value.num); } for (auto cur_attr = attr; cur_attr; cur_attr = cur_attr->next) { - auto fb_attr = CreateMatchingAttr(builder, cur_attr->type, cur_attr->id); - vec_attrs.push_back(fb_attr); + auto* pb_attr = pb_req.add_attrs(); + pb_attr->set_attr_type(cur_attr->type); + pb_attr->set_attr_id(cur_attr->id); } - auto req_finished = CreateSearchJoinRoomGUIRequestDirect(builder, vec_conds.empty() ? nullptr : &vec_conds, vec_attrs.empty() ? nullptr : &vec_attrs); - builder.Finish(req_finished); - return forge_request_with_com_id(builder, com_id, CommandType::SearchJoinRoomGUI, req_id); + std::string serialized; + pb_req.SerializeToString(&serialized); + + return forge_request_with_com_id(serialized, com_id, CommandType::SearchJoinRoomGUI, req_id); } void rpcn_client::write_communication_id(const SceNpCommunicationId& com_id, std::vector& data) @@ -2793,28 +2847,26 @@ namespace rpcn memcpy(data.data(), com_id_str.data(), COMMUNICATION_ID_SIZE); } - bool rpcn_client::forge_request_with_com_id(const flatbuffers::FlatBufferBuilder& builder, const SceNpCommunicationId& com_id, CommandType command, u64 packet_id) + bool rpcn_client::forge_request_with_com_id(const std::string& serialized_data, const SceNpCommunicationId& com_id, CommandType command, u64 packet_id) { - const u8* buf = builder.GetBufferPointer(); - const usz bufsize = builder.GetSize(); + const usz bufsize = serialized_data.size(); std::vector data(COMMUNICATION_ID_SIZE + sizeof(u32) + bufsize); rpcn_client::write_communication_id(com_id, data); reinterpret_cast&>(data[COMMUNICATION_ID_SIZE]) = static_cast(bufsize); - memcpy(data.data() + COMMUNICATION_ID_SIZE + sizeof(u32), buf, bufsize); + memcpy(data.data() + COMMUNICATION_ID_SIZE + sizeof(u32), serialized_data.data(), bufsize); return forge_send(command, packet_id, data); } - bool rpcn_client::forge_request_with_data(const flatbuffers::FlatBufferBuilder& builder, CommandType command, u64 packet_id) + bool rpcn_client::forge_request_with_data(const std::string& serialized_data, CommandType command, u64 packet_id) { - const u8* buf = builder.GetBufferPointer(); - const usz bufsize = builder.GetSize(); + const usz bufsize = serialized_data.size(); std::vector data(sizeof(u32) + bufsize); reinterpret_cast&>(data[0]) = static_cast(bufsize); - memcpy(data.data() + sizeof(u32), buf, bufsize); + memcpy(data.data() + sizeof(u32), serialized_data.data(), bufsize); return forge_send(command, packet_id, data); } @@ -3066,15 +3118,15 @@ namespace rpcn // Unserialize the message vec_stream sdata(data); std::string sender = sdata.get_string(false); - auto* fb_mdata = sdata.get_flatbuffer(); + auto pb_mdata = sdata.get_protobuf(); if (sdata.is_error()) { return; } - if (!fb_mdata->communicationId() || fb_mdata->communicationId()->size() == 0 || fb_mdata->communicationId()->size() > 9 || - !fb_mdata->subject() || !fb_mdata->body() || !fb_mdata->data()) + if (pb_mdata->communicationid().empty() || pb_mdata->communicationid().size() > 9 || + pb_mdata->subject().empty() || pb_mdata->body().empty()) { rpcn_log.warning("Discarded invalid message!"); return; @@ -3082,14 +3134,14 @@ namespace rpcn message_data mdata = { .msgId = message_counter, - .mainType = fb_mdata->mainType(), - .subType = fb_mdata->subType(), - .msgFeatures = fb_mdata->msgFeatures(), - .subject = fb_mdata->subject()->str(), - .body = fb_mdata->body()->str()}; + .mainType = ::narrow(pb_mdata->maintype().value()), + .subType = ::narrow(pb_mdata->subtype().value()), + .msgFeatures = pb_mdata->msgfeatures(), + .subject = pb_mdata->subject(), + .body = pb_mdata->body()}; - strcpy_trunc(mdata.commId.data, fb_mdata->communicationId()->str()); - mdata.data.assign(fb_mdata->data()->Data(), fb_mdata->data()->Data() + fb_mdata->data()->size()); + strcpy_trunc(mdata.commId.data, pb_mdata->communicationid()); + mdata.data.assign(pb_mdata->data().begin(), pb_mdata->data().end()); // Save the message and call callbacks { diff --git a/rpcs3/Emu/NP/rpcn_client.h b/rpcs3/Emu/NP/rpcn_client.h index 3781711912..ba043d2d17 100644 --- a/rpcs3/Emu/NP/rpcn_client.h +++ b/rpcs3/Emu/NP/rpcn_client.h @@ -26,7 +26,6 @@ #include "Emu/Cell/Modules/sceNp.h" #include "Emu/Cell/Modules/sceNp2.h" #include "Emu/Cell/Modules/sceNpTus.h" -#include #ifdef __clang__ #pragma clang diagnostic push @@ -130,31 +129,27 @@ public: } template - const T* get_flatbuffer() + std::unique_ptr get_protobuf() { auto rawdata_vec = get_rawdata(); if (error) return nullptr; - if (vec.empty()) + if (rawdata_vec.empty()) { error = true; return nullptr; } - const T* ret = flatbuffers::GetRoot(rawdata_vec.data()); - flatbuffers::Verifier verifier(rawdata_vec.data(), rawdata_vec.size()); - - if (!ret->Verify(verifier)) + auto msg = std::make_unique(); + if (!msg->ParseFromArray(rawdata_vec.data(), static_cast(rawdata_vec.size()))) { error = true; return nullptr; } - aligned_bufs.push_back(std::move(rawdata_vec)); - - return ret; + return msg; } // Setters @@ -177,7 +172,6 @@ public: protected: std::vector& vec; - std::vector> aligned_bufs; usz i = 0; bool error = false; }; @@ -399,8 +393,8 @@ namespace rpcn std::vector forge_request(rpcn::CommandType command, u64 packet_id, const std::vector& data) const; bool forge_send(rpcn::CommandType command, u64 packet_id, const std::vector& data); - bool forge_request_with_com_id(const flatbuffers::FlatBufferBuilder& builder, const SceNpCommunicationId& com_id, CommandType command, u64 packet_id); - bool forge_request_with_data(const flatbuffers::FlatBufferBuilder& builder, CommandType command, u64 packet_id); + bool forge_request_with_com_id(const std::string& serialized_data, const SceNpCommunicationId& com_id, CommandType command, u64 packet_id); + bool forge_request_with_data(const std::string& serialized_data, CommandType command, u64 packet_id); bool forge_send_reply(rpcn::CommandType command, u64 packet_id, const std::vector& data, std::vector& reply_data); bool error_and_disconnect(const std::string& error_mgs); diff --git a/rpcs3/emucore.vcxproj b/rpcs3/emucore.vcxproj index 15c4a26d81..8df2ef3092 100644 --- a/rpcs3/emucore.vcxproj +++ b/rpcs3/emucore.vcxproj @@ -40,7 +40,7 @@ Use - ..\3rdparty\miniupnp\miniupnp\miniupnpc\include;..\3rdparty\wolfssl\wolfssl;..\3rdparty\flatbuffers\include;..\3rdparty\libusb\libusb\libusb;..\3rdparty\yaml-cpp\yaml-cpp\include;..\3rdparty\SoundTouch\soundtouch\include;..\3rdparty\rtmidi\rtmidi;..\3rdparty\zlib\zlib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\llvm_build\include;$(SolutionDir)build\lib_ext\$(Configuration)-$(Platform)\llvm_build\include;$(SolutionDir)build\lib_ext\$(Configuration)-$(Platform)\llvm\include;$(SolutionDir)build\lib_ext\$(Configuration)-$(Platform)\llvm_build\include;$(VULKAN_SDK)\Include;..\3rdparty\zstd\zstd\lib;$(SolutionDir)3rdparty\fusion\fusion\Fusion;$(SolutionDir)3rdparty\wolfssl\extra\win32;$(SolutionDir)3rdparty\libsdl-org\SDL\include;$(SolutionDir)3rdparty\glslang\glslang;$(SolutionDir)3rdparty\curl\curl\include + ..\3rdparty\miniupnp\miniupnp\miniupnpc\include;..\3rdparty\wolfssl\wolfssl;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build\include;..\3rdparty\libusb\libusb\libusb;..\3rdparty\yaml-cpp\yaml-cpp\include;..\3rdparty\SoundTouch\soundtouch\include;..\3rdparty\rtmidi\rtmidi;..\3rdparty\zlib\zlib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\llvm_build\include;$(SolutionDir)build\lib_ext\$(Configuration)-$(Platform)\llvm_build\include;$(SolutionDir)build\lib_ext\$(Configuration)-$(Platform)\llvm\include;$(SolutionDir)build\lib_ext\$(Configuration)-$(Platform)\llvm_build\include;$(VULKAN_SDK)\Include;..\3rdparty\zstd\zstd\lib;$(SolutionDir)3rdparty\fusion\fusion\Fusion;$(SolutionDir)3rdparty\wolfssl\extra\win32;$(SolutionDir)3rdparty\libsdl-org\SDL\include;$(SolutionDir)3rdparty\glslang\glslang;$(SolutionDir)3rdparty\curl\curl\include MaxSpeed AL_LIBTYPE_STATIC;MINIUPNP_STATICLIB;HAVE_VULKAN;HAVE_SDL3;ZLIB_CONST;WOLFSSL_USER_SETTINGS;CURL_STATICLIB;%(PreprocessorDefinitions) AL_LIBTYPE_STATIC;MINIUPNP_STATICLIB;HAVE_VULKAN;HAVE_SDL3;ZLIB_CONST;WOLFSSL_USER_SETTINGS;CURL_STATICLIB;%(PreprocessorDefinitions) @@ -177,7 +177,7 @@ - + @@ -192,6 +192,9 @@ + + NotUsing + @@ -631,8 +634,8 @@ - - + + diff --git a/rpcs3/emucore.vcxproj.filters b/rpcs3/emucore.vcxproj.filters index 09f4b3c2b6..5ca602fbec 100644 --- a/rpcs3/emucore.vcxproj.filters +++ b/rpcs3/emucore.vcxproj.filters @@ -996,7 +996,7 @@ Emu\GPU\RSX\Overlays - + Emu\NP @@ -1053,6 +1053,9 @@ Emu\NP + + Emu\NP + Emu\NP @@ -2283,7 +2286,7 @@ Emu\NP - + Emu\NP @@ -2755,7 +2758,7 @@ Emu\GPU\RSX\Host Mini-Driver - + Emu\NP diff --git a/rpcs3/rpcs3.vcxproj b/rpcs3/rpcs3.vcxproj index 028f2e74c8..5fbf0491e9 100644 --- a/rpcs3/rpcs3.vcxproj +++ b/rpcs3/rpcs3.vcxproj @@ -69,7 +69,7 @@ - $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\include;$(SolutionDir)3rdparty\SoundTouch\soundtouch\include;$(SolutionDir)3rdparty\cubeb\extra;$(SolutionDir)3rdparty\cubeb\cubeb\include\;$(SolutionDir)3rdparty\flatbuffers\include;$(SolutionDir)3rdparty\wolfssl\wolfssl;$(SolutionDir)3rdparty\wolfssl\extra\win32;$(SolutionDir)3rdparty\curl\curl\include;$(SolutionDir)3rdparty\rtmidi\rtmidi;$(SolutionDir)3rdparty\libusb\libusb\libusb;$(VULKAN_SDK)\Include;$(SolutionDir)3rdparty\libsdl-org\SDL\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtConcurrent;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtSvg;$(QTDIR)\include\QtSvgWidgets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtMultimedia;$(QTDIR)\mkspecs\win32-msvc;.\release;.\QTGeneratedFiles\$(ConfigurationName);.\QTGeneratedFiles;%(AdditionalIncludeDirectories) + $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\include;$(SolutionDir)3rdparty\SoundTouch\soundtouch\include;$(SolutionDir)3rdparty\cubeb\extra;$(SolutionDir)3rdparty\cubeb\cubeb\include\;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build\include;$(SolutionDir)3rdparty\wolfssl\wolfssl;$(SolutionDir)3rdparty\wolfssl\extra\win32;$(SolutionDir)3rdparty\curl\curl\include;$(SolutionDir)3rdparty\rtmidi\rtmidi;$(SolutionDir)3rdparty\libusb\libusb\libusb;$(VULKAN_SDK)\Include;$(SolutionDir)3rdparty\libsdl-org\SDL\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtConcurrent;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtSvg;$(QTDIR)\include\QtSvgWidgets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtMultimedia;$(QTDIR)\mkspecs\win32-msvc;.\release;.\QTGeneratedFiles\$(ConfigurationName);.\QTGeneratedFiles;%(AdditionalIncludeDirectories) /Zc:__cplusplus -Zc:strictStrings -Zc:throwingNew- -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) release\ false @@ -88,7 +88,7 @@ opencv_world4120.lib;DbgHelp.lib;Ole32.lib;gdi32.lib;hidapi.lib;libusb-1.0.lib;winmm.lib;miniupnpc_static.lib;rtmidi.lib;imm32.lib;ksuser.lib;version.lib;OpenAL32.lib;XAudio.lib;GLGSRender.lib;shlwapi.lib;VKGSRender.lib;vulkan-1.lib;wolfssl.lib;libcurl.lib;Wldap32.lib;glslang.lib;OSDependent.lib;SPIRV.lib;MachineIndependent.lib;GenericCodeGen.lib;Advapi32.lib;user32.lib;zlib.lib;zstd.lib;libpng16.lib;asmjit.lib;yaml-cpp.lib;discord-rpc.lib;emucore.lib;dxgi.lib;shell32.lib;Qt6Core.lib;Qt6Gui.lib;Qt6Widgets.lib;Qt6Concurrent.lib;Qt6Multimedia.lib;Qt6MultimediaWidgets.lib;Qt6Svg.lib;Qt6SvgWidgets.lib;7zip.lib;libcubeb.lib;cubeb.lib;soundtouch.lib;Avrt.lib;SDL.lib;fusion.lib;%(AdditionalDependencies) - $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\x64\lib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\glslang;$(SolutionDir)build\lib_ext\$(CONFIGURATION)-$(PLATFORM);$(QTDIR)\lib;$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) + $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\x64\lib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\glslang;$(SolutionDir)build\lib_ext\$(CONFIGURATION)-$(PLATFORM);$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build\lib;$(QTDIR)\lib;$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions) true Debug @@ -130,7 +130,7 @@ - $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\include;$(SolutionDir)3rdparty\SoundTouch\soundtouch\include;$(SolutionDir)3rdparty\cubeb\extra;$(SolutionDir)3rdparty\cubeb\cubeb\include\;$(SolutionDir)3rdparty\flatbuffers\include;$(SolutionDir)3rdparty\wolfssl\wolfssl;$(SolutionDir)3rdparty\wolfssl\extra\win32;$(SolutionDir)3rdparty\curl\curl\include;$(SolutionDir)3rdparty\rtmidi\rtmidi;$(SolutionDir)3rdparty\libusb\libusb\libusb;$(VULKAN_SDK)\Include;$(SolutionDir)3rdparty\libsdl-org\SDL\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtConcurrent;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtSvg;$(QTDIR)\include\QtSvgWidgets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtMultimedia;$(QTDIR)\mkspecs\win32-msvc;.\debug;.\QTGeneratedFiles\$(ConfigurationName);.\QTGeneratedFiles;%(AdditionalIncludeDirectories) + $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\include;$(SolutionDir)3rdparty\SoundTouch\soundtouch\include;$(SolutionDir)3rdparty\cubeb\extra;$(SolutionDir)3rdparty\cubeb\cubeb\include\;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build\include;$(SolutionDir)3rdparty\wolfssl\wolfssl;$(SolutionDir)3rdparty\wolfssl\extra\win32;$(SolutionDir)3rdparty\curl\curl\include;$(SolutionDir)3rdparty\rtmidi\rtmidi;$(SolutionDir)3rdparty\libusb\libusb\libusb;$(VULKAN_SDK)\Include;$(SolutionDir)3rdparty\libsdl-org\SDL\include;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtConcurrent;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtSvg;$(QTDIR)\include\QtSvgWidgets;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtMultimedia;$(QTDIR)\mkspecs\win32-msvc;.\debug;.\QTGeneratedFiles\$(ConfigurationName);.\QTGeneratedFiles;%(AdditionalIncludeDirectories) /Zc:__cplusplus -Zc:strictStrings -Zc:throwingNew- -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) debug\ false @@ -148,7 +148,7 @@ opencv_world4120.lib;DbgHelp.lib;Ole32.lib;gdi32.lib;hidapi.lib;libusb-1.0.lib;winmm.lib;miniupnpc_static.lib;rtmidi.lib;imm32.lib;ksuser.lib;version.lib;OpenAL32.lib;XAudio.lib;GLGSRender.lib;shlwapi.lib;VKGSRender.lib;vulkan-1.lib;wolfssl.lib;libcurl.lib;Wldap32.lib;glslangd.lib;OSDependentd.lib;SPIRVd.lib;MachineIndependentd.lib;GenericCodeGend.lib;Advapi32.lib;user32.lib;zlib.lib;zstd.lib;libpng16.lib;asmjit.lib;yaml-cpp.lib;discord-rpc.lib;emucore.lib;dxgi.lib;shell32.lib;Qt6Cored.lib;Qt6Guid.lib;Qt6Widgetsd.lib;Qt6Concurrentd.lib;Qt6Multimediad.lib;Qt6MultimediaWidgetsd.lib;Qt6Svgd.lib;Qt6SvgWidgetsd.lib;7zip.lib;libcubeb.lib;cubeb.lib;soundtouch.lib;Avrt.lib;SDL.lib;fusion.lib;%(AdditionalDependencies) - $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\x64\lib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\glslang;$(SolutionDir)build\lib\$(CONFIGURATION)-$(PLATFORM);$(QTDIR)\lib;$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) + $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\x64\lib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\glslang;$(SolutionDir)build\lib\$(CONFIGURATION)-$(PLATFORM);$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build\lib;$(QTDIR)\lib;$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /VERBOSE %(AdditionalOptions) true Debug @@ -1215,21 +1215,21 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\XAudio2Redist\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\XAudio2Redist\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\XAudio2Redist\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\XAudio2Redist\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" @@ -1237,11 +1237,11 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1399,31 +1399,31 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\rtmidi\rtmidi" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1441,10 +1441,10 @@ Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) $(QTDIR)\bin\moc.exe;%(FullPath) @@ -1466,52 +1466,52 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1529,7 +1529,7 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp @@ -1539,7 +1539,7 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp @@ -1549,7 +1549,7 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp @@ -1559,7 +1559,7 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp @@ -1569,11 +1569,11 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1582,10 +1582,10 @@ Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) $(QTDIR)\bin\moc.exe;%(FullPath) @@ -1593,31 +1593,31 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1626,31 +1626,31 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1658,61 +1658,61 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1781,41 +1781,41 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" @@ -1845,11 +1845,11 @@ $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\debug" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" $(QTDIR)\bin\moc.exe;%(FullPath) Moc%27ing %(Identity)... .\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp - "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\flatbuffers\include" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" + "$(QTDIR)\bin\moc.exe" "%(FullPath)" -o ".\QTGeneratedFiles\$(ConfigurationName)\moc_%(Filename).cpp" -D_WINDOWS -DUNICODE -DWIN32 -DWIN64 -DWIN32_LEAN_AND_MEAN -DHAVE_VULKAN -DMINIUPNP_STATICLIB -DHAVE_SDL3 -DWITH_DISCORD_RPC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -DQT_CONCURRENT_LIB -DQT_MULTIMEDIA_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_SVG_LIB -D%(PreprocessorDefinitions) "-I.\..\3rdparty\SoundTouch\soundtouch\include" "-I.\..\3rdparty\cubeb\extra" "-I.\..\3rdparty\cubeb\cubeb\include" "-I.\..\3rdparty\protobuf\protobuf\src" "-I.\..\3rdparty\wolfssl\wolfssl" "-I.\..\3rdparty\curl\curl\include" "-I.\..\3rdparty\libusb\libusb\libusb" "-I$(VULKAN_SDK)\Include" "-I.\..\3rdparty\libsdl-org\SDL\include" "-I$(QTDIR)\include" "-I$(QTDIR)\include\QtWidgets" "-I$(QTDIR)\include\QtGui" "-I$(QTDIR)\include\QtCore" "-I.\release" "-I.\QTGeneratedFiles\$(ConfigurationName)" "-I.\QTGeneratedFiles" "-I$(QTDIR)\include\QtConcurrent" "-I$(QTDIR)\include\QtMultimedia" "-I$(QTDIR)\include\QtMultimediaWidgets" "-I$(QTDIR)\include\QtSvg" diff --git a/rpcs3/tests/rpcs3_test.vcxproj b/rpcs3/tests/rpcs3_test.vcxproj index 867a6e651f..263334d19e 100644 --- a/rpcs3/tests/rpcs3_test.vcxproj +++ b/rpcs3/tests/rpcs3_test.vcxproj @@ -49,7 +49,7 @@ rpcs3.lib;opencv_world4120.lib;DbgHelp.lib;Ole32.lib;gdi32.lib;hidapi.lib;libusb-1.0.lib;winmm.lib;miniupnpc_static.lib;rtmidi.lib;imm32.lib;ksuser.lib;version.lib;OpenAL32.lib;XAudio.lib;GLGSRender.lib;shlwapi.lib;VKGSRender.lib;vulkan-1.lib;wolfssl.lib;libcurl.lib;Wldap32.lib;glslang.lib;OSDependent.lib;SPIRV.lib;MachineIndependent.lib;GenericCodeGen.lib;Advapi32.lib;user32.lib;zlib.lib;zstd.lib;libpng16.lib;asmjit.lib;yaml-cpp.lib;discord-rpc.lib;emucore.lib;dxgi.lib;shell32.lib;Qt6Core.lib;Qt6Gui.lib;Qt6Widgets.lib;Qt6Concurrent.lib;Qt6Multimedia.lib;Qt6MultimediaWidgets.lib;Qt6Svg.lib;Qt6SvgWidgets.lib;7zip.lib;libcubeb.lib;cubeb.lib;soundtouch.lib;Avrt.lib;SDL.lib;fusion.lib;%(AdditionalDependencies) - $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\x64\lib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\glslang;$(SolutionDir)build\lib_ext\$(CONFIGURATION)-$(PLATFORM);$(QTDIR)\lib;$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) + $(SolutionDir)3rdparty\opencv\opencv\opencv412\build\x64\lib;$(SolutionDir)build\lib\$(Configuration)-$(Platform)\glslang;$(SolutionDir)build\lib_ext\$(CONFIGURATION)-$(PLATFORM);$(SolutionDir)build\lib\$(Configuration)-$(Platform)\protobuf_build\lib;$(QTDIR)\lib;$(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) Console true From aec981935ce45a0eccb4b97c216d71703ebbd6f7 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 24 Jan 2026 13:45:49 +0100 Subject: [PATCH 02/41] Migration bugfixes --- rpcs3/Emu/NP/np_requests.cpp | 3 ++- rpcs3/Emu/NP/rpcn_client.h | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/rpcs3/Emu/NP/np_requests.cpp b/rpcs3/Emu/NP/np_requests.cpp index 1c9102ba2a..bcc97a2b25 100644 --- a/rpcs3/Emu/NP/np_requests.cpp +++ b/rpcs3/Emu/NP/np_requests.cpp @@ -1251,11 +1251,12 @@ namespace np for (int i = 0; i < resp->rankarray_size(); i++) { const auto& pb_rankdata = resp->rankarray(i); - ensure(!pb_rankdata.npid().empty() && !pb_rankdata.onlinename().empty()); if (pb_rankdata.recorddate() == 0) continue; + ensure(!pb_rankdata.npid().empty() && !pb_rankdata.onlinename().empty()); + num_scores_registered++; if (tdata->player_rank_data) diff --git a/rpcs3/Emu/NP/rpcn_client.h b/rpcs3/Emu/NP/rpcn_client.h index ba043d2d17..e3c3f47ba9 100644 --- a/rpcs3/Emu/NP/rpcn_client.h +++ b/rpcs3/Emu/NP/rpcn_client.h @@ -136,12 +136,6 @@ public: if (error) return nullptr; - if (rawdata_vec.empty()) - { - error = true; - return nullptr; - } - auto msg = std::make_unique(); if (!msg->ParseFromArray(rawdata_vec.data(), static_cast(rawdata_vec.size()))) { From a5f570996f2c825ddd65b6d4709f066eaa951f5e Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Thu, 22 Jan 2026 20:13:00 +0100 Subject: [PATCH 03/41] Qt: change UI labels based on device product type --- rpcs3/rpcs3qt/pad_settings_dialog.cpp | 105 ++++++++++++++++++++++++++ rpcs3/rpcs3qt/pad_settings_dialog.h | 1 + 2 files changed, 106 insertions(+) diff --git a/rpcs3/rpcs3qt/pad_settings_dialog.cpp b/rpcs3/rpcs3qt/pad_settings_dialog.cpp index 2940143a27..21be0db0af 100644 --- a/rpcs3/rpcs3qt/pad_settings_dialog.cpp +++ b/rpcs3/rpcs3qt/pad_settings_dialog.cpp @@ -184,6 +184,11 @@ pad_settings_dialog::pad_settings_dialog(std::shared_ptr gui_setti if (index < 0) return; HandleDeviceClassChange(ui->chooseClass->currentData().toUInt()); }); + connect(ui->chooseProduct, &QComboBox::currentIndexChanged, this, [this](int index) + { + if (index < 0) return; + HandleDeviceProductChange(ui->chooseProduct->currentData().toUInt()); + }); ui->chb_show_emulated_values->setChecked(m_gui_settings->GetValue(gui::pads_show_emulated).toBool()); @@ -1790,6 +1795,106 @@ void pad_settings_dialog::HandleDeviceClassChange(u32 class_id) const } } +void pad_settings_dialog::HandleDeviceProductChange(u32 product_id) const +{ + QString cross_title = tr("Cross"); + QString circle_title = tr("Circle"); + QString square_title = tr("Square"); + QString triangle_title = tr("Triangle"); + QString dpad_up_title = tr("Up"); + QString dpad_down_title = tr("Down"); + QString right_stick_up_title = tr("Up"); + QString right_stick_down_title = tr("Down"); + QString right_stick_right_title = tr("Right"); + QString l1_title = tr("L1"); + QString l2_title = tr("L2"); + QString l3_title = tr("L3"); + QString r1_title = tr("R1"); + QString r3_title = tr("R3"); + + switch (static_cast(product_id)) + { + case input::product_type::red_octane_gh_guitar: + { + cross_title = tr("Green Fret"); + circle_title = tr("Red Fret"); + square_title = tr("Yellow Fret"); + triangle_title = tr("Blue Fret"); + dpad_up_title = tr("Strum Up"); + dpad_down_title = tr("Strum Down"); + right_stick_right_title = tr("Whammy"); + l1_title = tr("Orange Fret"); + break; + } + case input::product_type::harmonix_rockband_guitar: + { + cross_title = tr("Green Fret"); + circle_title = tr("Red Fret"); + square_title = tr("Blue Fret"); + triangle_title = tr("Yellow Fret"); + dpad_up_title = tr("Strum Up"); + dpad_down_title = tr("Strum Down"); + right_stick_up_title = tr("Pickup Switch Up"); + right_stick_down_title = tr("Pickup Switch Down"); + right_stick_right_title = tr("Whammy"); + l1_title = tr("Orange Fret"); + l2_title = tr("Solo Modifier"); + r1_title = tr("Tilt"); + break; + } + case input::product_type::red_octane_gh_drum_kit: + { + cross_title = tr("Green Pad"); + circle_title = tr("Red Pad"); + square_title = tr("Blue Pad"); + triangle_title = tr("Yellow Pad"); + l1_title = tr("Foot Pedal"); + r1_title = tr("Orange Pad"); + break; + } + case input::product_type::harmonix_rockband_drum_kit: + { + cross_title = tr("Green Pad"); + circle_title = tr("Red Pad"); + square_title = tr("Blue Pad"); + triangle_title = tr("Yellow Pad"); + l1_title = tr("Foot Pedal"); + break; + } + case input::product_type::harmonix_rockband_drum_kit_2: + { + cross_title = tr("Green Pad"); + circle_title = tr("Red Pad"); + square_title = tr("Blue Pad"); + triangle_title = tr("Yellow Pad"); + l1_title = tr("Foot Pedal"); + l3_title = tr("Pad Modifier"); + r1_title = tr("Double Bass Pedal"); + r3_title = tr("Cymbal Modifier"); + break; + } + default: + { + break; + } + } + + ui->gb_triangle->setTitle(triangle_title); + ui->gb_circle->setTitle(circle_title); + ui->gb_cross->setTitle(cross_title); + ui->gb_square->setTitle(square_title); + ui->gb_dpad_up->setTitle(dpad_up_title); + ui->gb_dpad_down->setTitle(dpad_down_title); + ui->gb_right_stick_up->setTitle(right_stick_up_title); + ui->gb_right_stick_down->setTitle(right_stick_down_title); + ui->gb_right_stick_right->setTitle(right_stick_right_title); + ui->gb_l1->setTitle(l1_title); + ui->gb_l2->setTitle(l2_title); + ui->gb_l3->setTitle(l3_title); + ui->gb_r1->setTitle(r1_title); + ui->gb_r3->setTitle(r3_title); +} + void pad_settings_dialog::AddConfigFile() { QInputDialog* dialog = new QInputDialog(this); diff --git a/rpcs3/rpcs3qt/pad_settings_dialog.h b/rpcs3/rpcs3qt/pad_settings_dialog.h index e9e56903df..0e31b0a297 100644 --- a/rpcs3/rpcs3qt/pad_settings_dialog.h +++ b/rpcs3/rpcs3qt/pad_settings_dialog.h @@ -101,6 +101,7 @@ private Q_SLOTS: void ChangeConfig(const QString& config_file); void ChangeDevice(int index); void HandleDeviceClassChange(u32 class_id) const; + void HandleDeviceProductChange(u32 product_id) const; void AddConfigFile(); void RemoveConfigFile(); /** Update the current player config with the GUI values. */ From ef9ff09e1798f0da892b5b6a2f74b20ee2eda46f Mon Sep 17 00:00:00 2001 From: Skiski Date: Sat, 24 Jan 2026 18:35:00 +0100 Subject: [PATCH 04/41] change velocity for RB3 pro guitar when it stays the same twice in a row (#18064) There is a bug when you play twice in a row with the same velocity on a string. The second note is not taken into account as the game does not notice any change in the velocity. It is because the velocity is never reset (or at least not very often). The idea is to check if the velocity of the string is the same as the previous one. And if it is, we just flip the last bit. Since the accepted values goes from 6 to 127, from what I've seen, it should be ok. I don't have an official RB3 pro guitar, but I have a YouRock Guitar that is compatible and works perfectly with a real MPA. When I use midi in rpcs3, I miss notes because of that bug. I've add a log message to test the patch and in a streak of nearly 150 notes, I should have missed nearly 20 notes. I had absolutely no missed note with thanks to the patch. fixes https://github.com/RPCS3/rpcs3/issues/18062 --------- Co-authored-by: Romain Janvier --- rpcs3/Emu/Io/RB3MidiGuitar.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Io/RB3MidiGuitar.cpp b/rpcs3/Emu/Io/RB3MidiGuitar.cpp index 9895722638..1d6d10bb76 100644 --- a/rpcs3/Emu/Io/RB3MidiGuitar.cpp +++ b/rpcs3/Emu/Io/RB3MidiGuitar.cpp @@ -265,7 +265,16 @@ void usb_device_rb3_midi_guitar::parse_midi_message(u8* msg, usz size) // read strings if (size == 8 && msg[0] == 0xF0 && msg[4] == 0x05) { - button_state.string_velocities[msg[5] - 1] = msg[6]; + // if the velocity remains the same, the game does not know that you've just played a string + u8& velocity = ::at32(button_state.string_velocities, msg[5] - 1); + if (msg[6] != 0 && msg[6] == velocity) + { + velocity = msg[6] ^ 1; // to be sure to change the velocity + } + else + { + velocity = msg[6]; + } } // read buttons From f70b5e0c1ccec69697adcbcb4c5bcff092dec145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= Date: Wed, 14 Jan 2026 18:21:56 +0000 Subject: [PATCH 05/41] cellVdec: Add support for all MPEG4 profile levels The names are based from the maximum resolution that the PS3 supports and the levels that are listed on the MPEG-4 Part 2 Wikipedia. The PS3 uses a separate decoder for MPEG4 instead of DivX, so the handling on cellVdecGetPicItem should probably be separate too. However, research needs to be done on that side and things seem to be working with what we currently have. --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 81 +++++++++++++++++++++++++++-- rpcs3/Emu/Cell/Modules/cellVdec.h | 20 +++++-- 2 files changed, 95 insertions(+), 6 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index 49975b632c..2a8f855d6b 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -780,6 +780,83 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0 break; } case CELL_VDEC_CODEC_TYPE_MPEG4: + { + cellVdec.warning("cellVdecQueryAttr: MPEG4 (profile=%d)", profile); + + const vm::ptr sinfo = vm::cast(spec_addr); + + if (sinfo) + { + if (sinfo->thisSize != sizeof(CellVdecMpeg4SpecificInfo)) + { + return { CELL_VDEC_ERROR_ARG, "Invalid MPEG4 specific info size %d", sinfo->thisSize }; + } + } + + // TODO: sinfo + + const u32 maxDecH = sinfo ? +sinfo->maxDecodedFrameHeight : 0; + const u32 maxDecW = sinfo ? +sinfo->maxDecodedFrameWidth : 0; + + switch (profile) + { + case CELL_VDEC_MPEG4_SP_L1: + { + if (maxDecW > 176 || maxDecH > 144) + { + return { CELL_VDEC_ERROR_ARG, "Invalid max decoded frame size %dx%d for profile %d", maxDecH, maxDecW, profile }; + } + + memSize = new_sdk ? 0x8B78B : 0xBB70B; + break; + } + case CELL_VDEC_MPEG4_SP_L2: + case CELL_VDEC_MPEG4_SP_L3: + { + if (maxDecW > 352 || maxDecH > 288) + { + return { CELL_VDEC_ERROR_ARG, "Invalid max decoded frame size %dx%d for profile %d", maxDecH, maxDecW, profile }; + } + + memSize = new_sdk ? 0xEFE0B : 0x11FD8B; + break; + } + case CELL_VDEC_MPEG4_SP_D1_NTSC: + { + if (maxDecW > 720 || maxDecH > 480) + { + return { CELL_VDEC_ERROR_ARG, "Invalid max decoded frame size %dx%d for profile %d", maxDecH, maxDecW, profile }; + } + + memSize = new_sdk ? 0x22DB0B : 0x25DA8B; + break; + } + case CELL_VDEC_MPEG4_SP_VGA: + { + if (maxDecW > 640 || maxDecH > 480) + { + return { CELL_VDEC_ERROR_ARG, "Invalid max decoded frame size %dx%d for profile %d", maxDecH, maxDecW, profile }; + } + + memSize = new_sdk ? 0x1FC00B : 0x22BF8B; + break; + } + case CELL_VDEC_MPEG4_SP_D1_PAL: + { + if (maxDecW > 720 || maxDecH > 576) + { + return { CELL_VDEC_ERROR_ARG, "Invalid max decoded frame size %dx%d for profile %d", maxDecH, maxDecW, profile }; + } + + memSize = new_sdk ? 0x28570B : 0x2B568B; + break; + } + default: return { CELL_VDEC_ERROR_ARG, "Invalid MPEG4 profile %d", profile }; + } + + decoderVerLower = 0x1080000; + break; + } case CELL_VDEC_CODEC_TYPE_DIVX: { cellVdec.warning("cellVdecQueryAttr: DivX (profile=%d)", profile); @@ -822,9 +899,6 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0 { case CELL_VDEC_DIVX_QMOBILE : memSize = new_sdk ? 0x11B720 : 0x1DEF30; break; case CELL_VDEC_DIVX_MOBILE : memSize = new_sdk ? 0x19A740 : 0x26DED0; break; - case CELL_VDEC_MPEG4_PROFILE_1: - case CELL_VDEC_MPEG4_PROFILE_3: - case CELL_VDEC_MPEG4_PROFILE_4: // just a guess based on the profile used by singstar before and after update case CELL_VDEC_DIVX_HOME_THEATER: memSize = new_sdk ? 0x386A60 : 0x498060; break; case CELL_VDEC_DIVX_HD_720 : memSize = new_sdk ? 0x692070 : 0x805690; break; case CELL_VDEC_DIVX_HD_1080 : memSize = new_sdk ? 0xD78100 : 0xFC9870; break; @@ -1527,6 +1601,7 @@ error_code cellVdecGetPicItem(ppu_thread& ppu, u32 handle, vm::pptrreserved[0] = 0; avc->reserved[1] = 0; } + // TODO: handle MPEG4 properly else if (vdec->type == CELL_VDEC_CODEC_TYPE_MPEG4 || vdec->type == CELL_VDEC_CODEC_TYPE_DIVX) { const vm::ptr dvx = picinfo_addr; diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.h b/rpcs3/Emu/Cell/Modules/cellVdec.h index c8d6df4ae4..b18530ca33 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.h +++ b/rpcs3/Emu/Cell/Modules/cellVdec.h @@ -389,9 +389,6 @@ struct CellVdecAvcInfo // DIVX Profile enum DIVX_level : u8 { - CELL_VDEC_MPEG4_PROFILE_1 = 1, // SingStar Vol.2 / Vol.3 - CELL_VDEC_MPEG4_PROFILE_3 = 3, // Used for SingStar recordings - CELL_VDEC_MPEG4_PROFILE_4 = 4, // SingStar Pop CELL_VDEC_DIVX_QMOBILE = 10, CELL_VDEC_DIVX_MOBILE = 11, CELL_VDEC_DIVX_HOME_THEATER = 12, @@ -676,3 +673,20 @@ struct CellVdecMpeg2Info u8 ccData[2][128]; be_t reserved[2]; }; + +enum MPEG4_level +{ + CELL_VDEC_MPEG4_SP_L1, + CELL_VDEC_MPEG4_SP_L2, + CELL_VDEC_MPEG4_SP_L3, + CELL_VDEC_MPEG4_SP_D1_NTSC, + CELL_VDEC_MPEG4_SP_VGA, + CELL_VDEC_MPEG4_SP_D1_PAL, +}; + +struct CellVdecMpeg4SpecificInfo +{ + be_t thisSize; + be_t maxDecodedFrameWidth; + be_t maxDecodedFrameHeight; +}; From 4b07ac4f27218e9b52deaf29aecd8d221476bdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= Date: Wed, 14 Jan 2026 18:29:59 +0000 Subject: [PATCH 06/41] cellVdec: Document all supported codecs These are all the codecs that the PS3 can handle. There are some numbers skipped on the codecs enum, but this is intentional: there isn't a codec assigned to those. --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 6 ++---- rpcs3/Emu/Cell/Modules/cellVdec.h | 13 +++++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index 2a8f855d6b..2f1cb6862b 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -1200,8 +1200,7 @@ error_code cellVdecDecodeAu(ppu_thread& ppu, u32 handle, CellVdecDecodeMode mode return { CELL_VDEC_ERROR_ARG, "mode=%d", +mode }; } - // TODO: what does the 3 stand for ? - if ((mode == (CELL_VDEC_DEC_MODE_B_SKIP | CELL_VDEC_DEC_MODE_PB_SKIP) && vdec->type != 3) || + if ((mode == (CELL_VDEC_DEC_MODE_B_SKIP | CELL_VDEC_DEC_MODE_PB_SKIP) && vdec->type != CELL_VDEC_CODEC_TYPE_VC1) || (mode == CELL_VDEC_DEC_MODE_PB_SKIP && vdec->type != CELL_VDEC_CODEC_TYPE_AVC)) { return { CELL_VDEC_ERROR_ARG, "mode=%d, type=%d", +mode, vdec->type }; @@ -1248,8 +1247,7 @@ error_code cellVdecDecodeAuEx2(ppu_thread& ppu, u32 handle, CellVdecDecodeMode m return { CELL_VDEC_ERROR_ARG, "mode=%d", +mode }; } - // TODO: what does the 3 stand for ? - if ((mode == (CELL_VDEC_DEC_MODE_B_SKIP | CELL_VDEC_DEC_MODE_PB_SKIP) && vdec->type != 3) || + if ((mode == (CELL_VDEC_DEC_MODE_B_SKIP | CELL_VDEC_DEC_MODE_PB_SKIP) && vdec->type != CELL_VDEC_CODEC_TYPE_VC1) || (mode == CELL_VDEC_DEC_MODE_PB_SKIP && vdec->type != CELL_VDEC_CODEC_TYPE_AVC)) { return { CELL_VDEC_ERROR_ARG, "mode=%d, type=%d", +mode, vdec->type }; diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.h b/rpcs3/Emu/Cell/Modules/cellVdec.h index b18530ca33..a1f9c3ae50 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.h +++ b/rpcs3/Emu/Cell/Modules/cellVdec.h @@ -14,10 +14,15 @@ enum CellVdecError : u32 enum CellVdecCodecType : s32 { - CELL_VDEC_CODEC_TYPE_MPEG2 = 0, - CELL_VDEC_CODEC_TYPE_AVC = 1, - CELL_VDEC_CODEC_TYPE_MPEG4 = 2, - CELL_VDEC_CODEC_TYPE_DIVX = 5, + CELL_VDEC_CODEC_TYPE_MPEG2 = 0, + CELL_VDEC_CODEC_TYPE_AVC = 1, + CELL_VDEC_CODEC_TYPE_MPEG4 = 2, + CELL_VDEC_CODEC_TYPE_VC1 = 3, + CELL_VDEC_CODEC_TYPE_DIVX = 5, + CELL_VDEC_CODEC_TYPE_JVT = 7, + CELL_VDEC_CODEC_TYPE_DIVX3_11 = 9, + CELL_VDEC_CODEC_TYPE_MVC = 11, + CELL_VDEC_CODEC_TYPE_MVC2 = 13, // seems the same as CELL_VDEC_CODEC_TYPE_MVC? CELL_VDEC_CODEC_TYPE_MAX }; From b41c2754ce0d49d92dfb7843180abb8682b4a599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= Date: Wed, 14 Jan 2026 20:02:43 +0000 Subject: [PATCH 07/41] cellVdec: Remove resolved TODOs --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index 2f1cb6862b..5cf5e64a51 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -726,8 +726,6 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0 } } - // TODO: sinfo - const u32 maxDecH = sinfo ? +sinfo->maxDecodedFrameHeight : 0; const u32 maxDecW = sinfo ? +sinfo->maxDecodedFrameWidth : 0; @@ -793,8 +791,6 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0 } } - // TODO: sinfo - const u32 maxDecH = sinfo ? +sinfo->maxDecodedFrameHeight : 0; const u32 maxDecW = sinfo ? +sinfo->maxDecodedFrameWidth : 0; From a646a66ead2001c83ccd07dcd5558dc5d1f053af Mon Sep 17 00:00:00 2001 From: schm1dtmac Date: Sat, 10 Jan 2026 21:16:19 +0000 Subject: [PATCH 08/41] [macOS] Fix release naming --- .ci/deploy-mac.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/deploy-mac.sh b/.ci/deploy-mac.sh index 8b6301f8b9..53212357d0 100755 --- a/.ci/deploy-mac.sh +++ b/.ci/deploy-mac.sh @@ -76,7 +76,11 @@ echo "[InternetShortcut]" > Quickstart.url echo "URL=https://rpcs3.net/quickstart" >> Quickstart.url echo "IconIndex=0" >> Quickstart.url -ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${COMM_TAG}-${COMM_COUNT}-${COMM_HASH}_macos.7z" +if [ "$AARCH64" -eq 1 ]; then + ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${COMM_TAG}-${COMM_COUNT}-${COMM_HASH}_macos_arm64.7z" +else + ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${COMM_TAG}-${COMM_COUNT}-${COMM_HASH}_macos.7z" +fi 7z a -mx9 "$ARCHIVE_FILEPATH" RPCS3.app Quickstart.url FILESIZE=$(stat -f %z "$ARCHIVE_FILEPATH") SHA256SUM=$(shasum -a 256 "$ARCHIVE_FILEPATH" | awk '{ print $1 }') From 7a12e806669d10a6a9f5d107b3cc1ce46062b82c Mon Sep 17 00:00:00 2001 From: schm1dtmac Date: Sat, 10 Jan 2026 21:16:19 +0000 Subject: [PATCH 09/41] [macOS] Specify plist version --- .ci/build-mac.sh | 14 +++++++++++++- .ci/deploy-mac.sh | 14 ++------------ rpcs3/rpcs3.plist.in | 6 ++---- rpcs3/rpcs3_version.cpp | 2 -- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/.ci/build-mac.sh b/.ci/build-mac.sh index 9eb27681b7..2f43e05e74 100755 --- a/.ci/build-mac.sh +++ b/.ci/build-mac.sh @@ -1,4 +1,13 @@ #!/bin/sh -ex +# Gather explicit version number and number of commits +COMM_TAG=$(awk '/version{.*}/ { printf("%d.%d.%d", $5, $6, $7) }' rpcs3/rpcs3_version.cpp) +COMM_COUNT=$(git rev-list --count HEAD) +COMM_HASH=$(git rev-parse --short=8 HEAD) + +# AVVER is used for GitHub releases, it is the version number. LVER is used for release naming. +AVVER="${COMM_TAG}-${COMM_COUNT}" +export LVER="${COMM_TAG}-${COMM_COUNT}-${COMM_HASH}" +echo "AVVER=$AVVER" >> .ci/ci-vars.env export HOMEBREW_NO_AUTO_UPDATE=1 export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 @@ -13,7 +22,6 @@ else arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" arch -x86_64 /usr/local/bin/brew install -f --overwrite --quiet python@3.14 opencv@4 "llvm@$LLVM_COMPILER_VER" sdl3 vulkan-headers vulkan-loader molten-vk arch -x86_64 /usr/local/bin/brew unlink --quiet ffmpeg qtbase qtsvg qtdeclarative - arch -x86_64 /usr/local/bin/brew link -f --overwrite --quiet "llvm@$LLVM_COMPILER_VER" fi export CXX=clang++ @@ -80,6 +88,8 @@ cmake .. \ -DRUN_RPCS3_TESTS="${RUN_UNIT_TESTS}" \ -DCMAKE_OSX_DEPLOYMENT_TARGET=14.4 \ -DCMAKE_OSX_SYSROOT="$(xcrun --sdk macosx --show-sdk-path)" \ + -DMACOSX_BUNDLE_SHORT_VERSION_STRING="${COMM_TAG}" \ + -DMACOSX_BUNDLE_BUNDLE_VERSION="${COMM_COUNT}" \ -DSTATIC_LINK_LLVM=ON \ -DUSE_SDL=ON \ -DUSE_DISCORD_RPC=ON \ @@ -100,6 +110,8 @@ cmake .. \ -DCMAKE_TOOLCHAIN_FILE=buildfiles/cmake/TCDarwinX86_64.cmake \ -DCMAKE_OSX_DEPLOYMENT_TARGET=14.4 \ -DCMAKE_OSX_SYSROOT="$(xcrun --sdk macosx --show-sdk-path)" \ + -DMACOSX_BUNDLE_SHORT_VERSION_STRING="${COMM_TAG}" \ + -DMACOSX_BUNDLE_BUNDLE_VERSION="${COMM_COUNT}"\ -DSTATIC_LINK_LLVM=ON \ -DUSE_SDL=ON \ -DUSE_DISCORD_RPC=ON \ diff --git a/.ci/deploy-mac.sh b/.ci/deploy-mac.sh index 53212357d0..76e34c4b3b 100755 --- a/.ci/deploy-mac.sh +++ b/.ci/deploy-mac.sh @@ -3,16 +3,6 @@ # shellcheck disable=SC2086 cd build || exit 1 -# Gather explicit version number and number of commits -COMM_TAG=$(awk '/version{.*}/ { printf("%d.%d.%d", $5, $6, $7) }' ../rpcs3/rpcs3_version.cpp) -COMM_COUNT=$(git rev-list --count HEAD) -COMM_HASH=$(git rev-parse --short=8 HEAD) - -AVVER="${COMM_TAG}-${COMM_COUNT}" - -# AVVER is used for GitHub releases, it is the version number. -echo "AVVER=$AVVER" >> ../.ci/ci-vars.env - cd bin mkdir -p "rpcs3.app/Contents/Resources/vulkan/icd.d" || true wget https://github.com/KhronosGroup/MoltenVK/releases/download/v1.4.1/MoltenVK-macos-privateapi.tar @@ -77,9 +67,9 @@ echo "URL=https://rpcs3.net/quickstart" >> Quickstart.url echo "IconIndex=0" >> Quickstart.url if [ "$AARCH64" -eq 1 ]; then - ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${COMM_TAG}-${COMM_COUNT}-${COMM_HASH}_macos_arm64.7z" + ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${LVER}_macos_arm64.7z" else - ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${COMM_TAG}-${COMM_COUNT}-${COMM_HASH}_macos.7z" + ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${LVER}_macos.7z" fi 7z a -mx9 "$ARCHIVE_FILEPATH" RPCS3.app Quickstart.url FILESIZE=$(stat -f %z "$ARCHIVE_FILEPATH") diff --git a/rpcs3/rpcs3.plist.in b/rpcs3/rpcs3.plist.in index a854779d9d..93a4f2c186 100644 --- a/rpcs3/rpcs3.plist.in +++ b/rpcs3/rpcs3.plist.in @@ -12,16 +12,14 @@ rpcs3.icns CFBundleIdentifier net.rpcs3.rpcs3 - CFBundleLongVersionString - ${RPCS3_GIT_TAG} CFBundleName RPCS3 CFBundlePackageType APPL CFBundleShortVersionString - ${RPCS3_GIT_TAG} + ${MACOSX_BUNDLE_SHORT_VERSION_STRING} CFBundleVersion - ${RPCS3_GIT_TAG} + ${MACOSX_BUNDLE_BUNDLE_VERSION} CFBundleSupportedPlatforms MacOSX diff --git a/rpcs3/rpcs3_version.cpp b/rpcs3/rpcs3_version.cpp index e7666e7b81..19d107e582 100644 --- a/rpcs3/rpcs3_version.cpp +++ b/rpcs3/rpcs3_version.cpp @@ -24,8 +24,6 @@ namespace rpcs3 return std::make_pair(std::move(commit_and_hash[0]), std::move(commit_and_hash[1])); } - // TODO: Make this accessible from cmake and keep in sync with MACOSX_BUNDLE_BUNDLE_VERSION. - // Currently accessible by Windows and Linux build scripts, see implementations when doing MACOSX const utils::version& get_version() { static constexpr utils::version version{ 0, 0, 39, utils::version_type::alpha, 1, RPCS3_GIT_VERSION }; From fbd5bbcfa32a83aea9823dae1a34e637f6e56d5e Mon Sep 17 00:00:00 2001 From: schm1dtmac Date: Wed, 14 Jan 2026 14:41:12 +0000 Subject: [PATCH 10/41] Address review comments --- .ci/deploy-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/deploy-mac.sh b/.ci/deploy-mac.sh index 76e34c4b3b..70db614b59 100755 --- a/.ci/deploy-mac.sh +++ b/.ci/deploy-mac.sh @@ -67,7 +67,7 @@ echo "URL=https://rpcs3.net/quickstart" >> Quickstart.url echo "IconIndex=0" >> Quickstart.url if [ "$AARCH64" -eq 1 ]; then - ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${LVER}_macos_arm64.7z" + ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${LVER}_macos_aarch64.7z" else ARCHIVE_FILEPATH="$BUILD_ARTIFACTSTAGINGDIRECTORY/rpcs3-v${LVER}_macos.7z" fi From 1e0909c579cb786e6e6a44b1ce0d0f9c79366ad9 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 24 Jan 2026 12:57:11 +0100 Subject: [PATCH 11/41] CI: download dependency if the filename is the same but the checksum changed --- .ci/setup-llvm.sh | 18 +++++++++++++++--- .ci/setup-windows.sh | 18 +++++++++++++++--- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/.ci/setup-llvm.sh b/.ci/setup-llvm.sh index a54901309e..d296d2a3e4 100644 --- a/.ci/setup-llvm.sh +++ b/.ci/setup-llvm.sh @@ -28,11 +28,23 @@ download_and_verify() correctChecksum="$2" algo="$3" fileName="$4" + path="$DEPS_CACHE_DIR/$fileName" for _ in 1 2 3; do - [ -e "$DEPS_CACHE_DIR/$fileName" ] || curl -fLo "$DEPS_CACHE_DIR/$fileName" "$url" - fileChecksum=$("${algo}sum" "$DEPS_CACHE_DIR/$fileName" | awk '{ print $1 }') - [ "$fileChecksum" = "$correctChecksum" ] && return 0 + # Check if the file exists and the checksum is correct + if [ -e "$path" ]; then + fileChecksum=$("${algo}sum" "$path" | awk '{ print $1 }') + [ "$fileChecksum" = "$correctChecksum" ] && return 0 + fi + + # Otherwise download the file + curl -fLo "$path" "$url" + + # Check again if the file exists and the checksum is correct + if [ -e "$path" ]; then + fileChecksum=$("${algo}sum" "$path" | awk '{ print $1 }') + [ "$fileChecksum" = "$correctChecksum" ] && return 0 + fi done return 1; diff --git a/.ci/setup-windows.sh b/.ci/setup-windows.sh index d874c7a7f0..aade55fc95 100755 --- a/.ci/setup-windows.sh +++ b/.ci/setup-windows.sh @@ -53,11 +53,23 @@ download_and_verify() correctChecksum="$2" algo="$3" fileName="$4" + path="$DEPS_CACHE_DIR/$fileName" for _ in 1 2 3; do - [ -e "$DEPS_CACHE_DIR/$fileName" ] || curl -fLo "$DEPS_CACHE_DIR/$fileName" "$url" - fileChecksum=$("${algo}sum" "$DEPS_CACHE_DIR/$fileName" | awk '{ print $1 }') - [ "$fileChecksum" = "$correctChecksum" ] && return 0 + # Check if the file exists and the checksum is correct + if [ -e "$path" ]; then + fileChecksum=$("${algo}sum" "$path" | awk '{ print $1 }') + [ "$fileChecksum" = "$correctChecksum" ] && return 0 + fi + + # Otherwise download the file + curl -fLo "$path" "$url" + + # Check again if the file exists and the checksum is correct + if [ -e "$path" ]; then + fileChecksum=$("${algo}sum" "$path" | awk '{ print $1 }') + [ "$fileChecksum" = "$correctChecksum" ] && return 0 + fi done return 1; From ae8e28282c937083d45c248d9c6d5aa7e33906d4 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 12 Jan 2026 23:14:08 +0300 Subject: [PATCH 12/41] rsx/zcull: Fix silly copypasta - Find+Replace bug --- rpcs3/Emu/RSX/RSXZCULL.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/RSX/RSXZCULL.cpp b/rpcs3/Emu/RSX/RSXZCULL.cpp index 63e39a8314..54b7ed4139 100644 --- a/rpcs3/Emu/RSX/RSXZCULL.cpp +++ b/rpcs3/Emu/RSX/RSXZCULL.cpp @@ -106,9 +106,9 @@ namespace rsx void ZCULL_control::set_status(class ::rsx::thread* ptimer, bool surface_active, bool zpass_active, bool zcull_stats_active, bool flush_queue) { - surface_active = surface_active; - zpass_count_enabled = zpass_active; - stats_enabled = zcull_stats_active; + this->surface_active = surface_active; + this->zpass_count_enabled = zpass_active; + this->stats_enabled = zcull_stats_active; check_state(ptimer, flush_queue); From 590a0bbcad75a96c678fa2a403a96026dd41806f Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 16 Nov 2025 14:26:41 +0300 Subject: [PATCH 13/41] vk: Include GCM format in debug name for temp texture-cache resources --- rpcs3/Emu/RSX/VK/VKTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp index 454038c962..1e910f0f81 100644 --- a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp +++ b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp @@ -716,7 +716,7 @@ namespace vk view_swizzle = source->native_component_map; } - image->set_debug_name("Temp view"); + image->set_debug_name(fmt::format("Temp view, fmt=0x%x", gcm_format)); image->set_native_component_layout(view_swizzle); auto view = image->get_view(remap_vector); From 131eee2eedd9ae6e2a46bbfb5efa27dc39bb6497 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 16 Nov 2025 14:25:46 +0300 Subject: [PATCH 14/41] rsx: Fix convolution filter decoding --- rpcs3/Emu/RSX/RSXTexture.cpp | 2 +- rpcs3/Emu/RSX/gcm_enums.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXTexture.cpp b/rpcs3/Emu/RSX/RSXTexture.cpp index 9b8f4bfb2e..52f8183545 100644 --- a/rpcs3/Emu/RSX/RSXTexture.cpp +++ b/rpcs3/Emu/RSX/RSXTexture.cpp @@ -251,7 +251,7 @@ namespace rsx u8 fragment_texture::convolution_filter() const { - return ((registers[NV4097_SET_TEXTURE_FILTER + (m_index * 8)] >> 13) & 0xf); + return ((registers[NV4097_SET_TEXTURE_FILTER + (m_index * 8)] >> 13) & 0x7); } u8 fragment_texture::argb_signed() const diff --git a/rpcs3/Emu/RSX/gcm_enums.h b/rpcs3/Emu/RSX/gcm_enums.h index 07901aa78c..6662df1653 100644 --- a/rpcs3/Emu/RSX/gcm_enums.h +++ b/rpcs3/Emu/RSX/gcm_enums.h @@ -967,6 +967,8 @@ namespace gcm CELL_GCM_TEXTURE_LINEAR_LINEAR = 6, CELL_GCM_TEXTURE_CONVOLUTION_MIN = 7, CELL_GCM_TEXTURE_CONVOLUTION_MAG = 4, + + // Convolution mode CELL_GCM_TEXTURE_CONVOLUTION_QUINCUNX = 1, CELL_GCM_TEXTURE_CONVOLUTION_GAUSSIAN = 2, CELL_GCM_TEXTURE_CONVOLUTION_QUINCUNX_ALT = 3, From b9f5d85d161278909cc286873b1a897666052d24 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 24 Jan 2026 22:52:41 +0300 Subject: [PATCH 15/41] rsx: Lower harmless errors to warnings --- rpcs3/Emu/RSX/GL/GLTextureCache.h | 2 +- rpcs3/Emu/RSX/VK/VKTextureCache.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/GLTextureCache.h b/rpcs3/Emu/RSX/GL/GLTextureCache.h index 8dc2c27664..ae3b8e37e9 100644 --- a/rpcs3/Emu/RSX/GL/GLTextureCache.h +++ b/rpcs3/Emu/RSX/GL/GLTextureCache.h @@ -768,7 +768,7 @@ namespace gl { default: // TODO - err_once("Format incompatibility detected, reporting failure to force data copy (GL_INTERNAL_FORMAT=0x%X, GCM_FORMAT=0x%X)", static_cast(ifmt), gcm_format); + warn_once("Format incompatibility detected, reporting failure to force data copy (GL_INTERNAL_FORMAT=0x%X, GCM_FORMAT=0x%X)", static_cast(ifmt), gcm_format); return false; case CELL_GCM_TEXTURE_W16_Z16_Y16_X16_FLOAT: return (ifmt == gl::texture::internal_format::rgba16f); diff --git a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp index 1e910f0f81..d1b0e536ef 100644 --- a/rpcs3/Emu/RSX/VK/VKTextureCache.cpp +++ b/rpcs3/Emu/RSX/VK/VKTextureCache.cpp @@ -1258,7 +1258,7 @@ namespace vk { default: //TODO - err_once("Format incompatibility detected, reporting failure to force data copy (VK_FORMAT=0x%X, GCM_FORMAT=0x%X)", static_cast(vk_format), gcm_format); + warn_once("Format incompatibility detected, reporting failure to force data copy (VK_FORMAT=0x%X, GCM_FORMAT=0x%X)", static_cast(vk_format), gcm_format); return false; #ifndef __APPLE__ case CELL_GCM_TEXTURE_R5G6B5: From f883718b238e6897635201a67ca11537ce197510 Mon Sep 17 00:00:00 2001 From: Florin9doi Date: Sun, 25 Jan 2026 00:33:29 +0200 Subject: [PATCH 16/41] USB: Complete Summonride figures - Support the last 3 riders discovered by @RipleyTom - Simplify the creator dialog --- rpcs3/Emu/Cell/lv2/sys_usbd.cpp | 3 +- rpcs3/rpcs3qt/kamen_rider_dialog.cpp | 243 ++++++++++----------------- rpcs3/rpcs3qt/kamen_rider_dialog.h | 2 +- 3 files changed, 93 insertions(+), 155 deletions(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_usbd.cpp b/rpcs3/Emu/Cell/lv2/sys_usbd.cpp index dffd211aed..64f27227d3 100644 --- a/rpcs3/Emu/Cell/lv2/sys_usbd.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_usbd.cpp @@ -247,8 +247,9 @@ private: // uDraw GameTablet {0x20D6, 0xCB17, 0xCB17, "uDraw GameTablet", nullptr, nullptr}, - // DVB-T + // TV Tuners {0x1415, 0x0003, 0x0003, "PlayTV SCEH-0036", nullptr, nullptr}, + // {0x054c, 0x04b2, 0x04b2, "Torne CECH-ZD1 J", nullptr, nullptr}, // PSP Devices {0x054C, 0x01C8, 0x01C8, "PSP Type A", nullptr, nullptr}, diff --git a/rpcs3/rpcs3qt/kamen_rider_dialog.cpp b/rpcs3/rpcs3qt/kamen_rider_dialog.cpp index 53fd2e07e0..20202a68f2 100644 --- a/rpcs3/rpcs3qt/kamen_rider_dialog.cpp +++ b/rpcs3/rpcs3qt/kamen_rider_dialog.cpp @@ -16,85 +16,84 @@ #include kamen_rider_dialog* kamen_rider_dialog::inst = nullptr; -std::array>, UI_FIG_NUM> kamen_rider_dialog::figure_slots = {}; +std::array>, UI_FIG_NUM> kamen_rider_dialog::figure_slots = {}; QString last_kamen_rider_path; -static const std::map, const std::string> list_kamen_riders = { - // Character ID [0x1b], ERC type [0x1a], Figure type [0x19] - {{0x10, 0x01, 0x10}, "Kamen Rider Drive (Wind)"}, - {{0x10, 0x01, 0x20}, "Kamen Rider Drive (Water)"}, - {{0x10, 0x01, 0x30}, "Kamen Rider Drive (Fire)"}, - {{0x10, 0x01, 0x40}, "Kamen Rider Drive (Light)"}, - {{0x10, 0x01, 0x50}, "Kamen Rider Drive (Dark)"}, - {{0x20, 0x01, 0x00}, "Kamen Rider Drive - Type Wild"}, - {{0x20, 0x02, 0x00}, "Kamen Rider Drive - Type Wild Gyasha Ver"}, - // {{ , , }, "Kamen Rider Drive - Type Speed Flare"}, - // {{ , , }, "Kamen Rider Drive - Type Technic"}, // 1.05 update - {{0x11, 0x01, 0x10}, "Kamen Rider Gaim (Wind)"}, - {{0x11, 0x01, 0x20}, "Kamen Rider Gaim (Water)"}, - {{0x21, 0x01, 0x00}, "Kamen Rider Gaim - Jimber Lemon Arms"}, - {{0x21, 0x02, 0x00}, "Kamen Rider Gaim - Kachidoki Arms"}, - {{0x21, 0x03, 0x00}, "Kamen Rider Gaim - Kiwami Arms"}, - {{0x12, 0x01, 0x20}, "Kamen Rider Wizard (Water)"}, - {{0x12, 0x01, 0x30}, "Kamen Rider Wizard (Fire)"}, - {{0x22, 0x01, 0x00}, "Kamen Rider Wizard - Infinity Style"}, - {{0x22, 0x02, 0x00}, "Kamen Rider Wizard - All Dragon"}, - {{0x22, 0x03, 0x00}, "Kamen Rider Wizard - Infinity Gold Dragon"}, - {{0x13, 0x01, 0x40}, "Kamen Rider Fourze (Light)"}, - {{0x23, 0x01, 0x00}, "Kamen Rider Fourze - Magnet States"}, - {{0x23, 0x02, 0x00}, "Kamen Rider Fourze - Cosmic States"}, - {{0x23, 0x03, 0x00}, "Kamen Rider Fourze - Meteor Nadeshiko Fusion States"}, - {{0x14, 0x01, 0x20}, "Kamen Rider OOO (Water)"}, - {{0x24, 0x01, 0x00}, "Kamen Rider OOO - Super Tatoba Combo"}, - {{0x24, 0x02, 0x00}, "Kamen Rider OOO - Putotyra Combo"}, - {{0x24, 0x04, 0x00}, "Kamen Rider OOO - Tajadol Combo"}, - {{0x15, 0x01, 0x10}, "Kamen Rider W (Double) (Wind)"}, - {{0x25, 0x01, 0x00}, "Kamen Rider W (Double) - Cyclone Joker Extreme"}, - {{0x25, 0x02, 0x00}, "Kamen Rider W (Double) - Cyclone Joker Gold Extreme"}, - {{0x25, 0x03, 0x00}, "Kamen Rider W (Double) - Fang Joker"}, - {{0x16, 0x01, 0x50}, "Kamen Rider Decade (Dark)"}, - {{0x26, 0x01, 0x00}, "Kamen Rider Decade - Complete Form"}, - {{0x26, 0x02, 0x00}, "Kamen Rider Decade - Strongest Complete Form"}, - {{0x26, 0x03, 0x00}, "Kamen Rider Decade - Final Form"}, - {{0x17, 0x01, 0x50}, "Kamen Rider Kiva (Dark)"}, - {{0x27, 0x01, 0x00}, "Kamen Rider Kiva - Dogabaki Form"}, - {{0x27, 0x02, 0x00}, "Kamen Rider Kiva - Emperor Form"}, - {{0x18, 0x01, 0x40}, "Kamen Rider Den-O (Light)"}, - {{0x28, 0x01, 0x00}, "Kamen Rider Den-O - Super Climax Form"}, - {{0x28, 0x02, 0x00}, "Kamen Rider Den-O - Liner Form"}, - {{0x28, 0x03, 0x00}, "Kamen Rider Den-O - Climax Form"}, - {{0x19, 0x01, 0x30}, "Kamen Rider Kabuto (Fire)"}, - {{0x29, 0x01, 0x00}, "Kamen Rider Kabuto - Hyper Form"}, - {{0x29, 0x02, 0x00}, "Kamen Rider Kabuto - Masked Form"}, - {{0x1a, 0x01, 0x30}, "Kamen Rider Hibiki (Fire)"}, - {{0x2a, 0x01, 0x00}, "Kamen Rider Hibiki - Kurenai"}, - {{0x2a, 0x02, 0x00}, "Kamen Rider Hibiki - Armed"}, - {{0x1b, 0x01, 0x50}, "Kamen Rider Blade (Dark)"}, - {{0x2b, 0x01, 0x00}, "Kamen Rider Blade - Joker Form"}, - {{0x2b, 0x02, 0x00}, "Kamen Rider Blade - King Form"}, - {{0x1c, 0x01, 0x50}, "Kamen Rider Faiz (Dark)"}, - {{0x2c, 0x01, 0x00}, "Kamen Rider Faiz - Axel Form"}, - {{0x2c, 0x02, 0x00}, "Kamen Rider Faiz - Blaster Form"}, - {{0x1d, 0x01, 0x10}, "Kamen Rider Ryuki (Wind)"}, - {{0x2d, 0x01, 0x00}, "Kamen Rider Ryuki - Dragreder"}, - {{0x2d, 0x02, 0x00}, "Kamen Rider Ryuki - Survive"}, - {{0x1e, 0x01, 0x20}, "Kamen Rider Agito (Water)"}, - {{0x2e, 0x01, 0x00}, "Kamen Rider Agito - Shining Form"}, - {{0x2e, 0x02, 0x00}, "Kamen Rider Agito - Burning Form"}, - {{0x1f, 0x01, 0x40}, "Kamen Rider Kuuga (Light)"}, - {{0x2f, 0x01, 0x00}, "Kamen Rider Kuuga - Ultimate Form"}, - {{0x2f, 0x02, 0x00}, "Kamen Rider Kuuga - Amazing Mighty"}, +static const std::map list_kamen_riders = { + {0x10'01'10'10, "Kamen Rider Drive (Wind)"}, + {0x10'01'20'10, "Kamen Rider Drive (Water)"}, + {0x10'01'30'10, "Kamen Rider Drive (Fire)"}, + {0x10'01'40'10, "Kamen Rider Drive (Light)"}, + {0x10'01'50'10, "Kamen Rider Drive (Dark)"}, + {0x20'01'00'10, "Kamen Rider Drive - Type Wild"}, + {0x20'02'00'10, "Kamen Rider Drive - Type Wild Gyasha Ver"}, + {0x20'03'00'11, "Kamen Rider Drive - Type Technic"}, + {0x20'06'00'10, "Kamen Rider Drive - Type Speed Flare"}, + {0x11'01'10'10, "Kamen Rider Gaim (Wind)"}, + {0x11'01'20'10, "Kamen Rider Gaim (Water)"}, + {0x21'01'00'10, "Kamen Rider Gaim - Jimber Lemon Arms"}, + {0x21'02'00'10, "Kamen Rider Gaim - Kachidoki Arms"}, + {0x21'03'00'10, "Kamen Rider Gaim - Kiwami Arms"}, + {0x12'01'20'10, "Kamen Rider Wizard (Water)"}, + {0x12'01'30'10, "Kamen Rider Wizard (Fire)"}, + {0x22'01'00'10, "Kamen Rider Wizard - Infinity Style"}, + {0x22'02'00'10, "Kamen Rider Wizard - All Dragon"}, + {0x22'03'00'10, "Kamen Rider Wizard - Infinity Gold Dragon"}, + {0x13'01'40'10, "Kamen Rider Fourze (Light)"}, + {0x23'01'00'10, "Kamen Rider Fourze - Magnet States"}, + {0x23'02'00'10, "Kamen Rider Fourze - Cosmic States"}, + {0x23'03'00'10, "Kamen Rider Fourze - Meteor Nadeshiko Fusion States"}, + {0x14'01'20'10, "Kamen Rider OOO (Water)"}, + {0x24'01'00'10, "Kamen Rider OOO - Super Tatoba Combo"}, + {0x24'02'00'10, "Kamen Rider OOO - Putotyra Combo"}, + {0x24'04'00'10, "Kamen Rider OOO - Tajadol Combo"}, + {0x15'01'10'10, "Kamen Rider W (Double) (Wind)"}, + {0x25'01'00'10, "Kamen Rider W (Double) - Cyclone Joker Extreme"}, + {0x25'02'00'10, "Kamen Rider W (Double) - Cyclone Joker Gold Extreme"}, + {0x25'03'00'10, "Kamen Rider W (Double) - Fang Joker"}, + {0x16'01'50'10, "Kamen Rider Decade (Dark)"}, + {0x26'01'00'10, "Kamen Rider Decade - Complete Form"}, + {0x26'02'00'10, "Kamen Rider Decade - Strongest Complete Form"}, + {0x26'03'00'10, "Kamen Rider Decade - Final Form"}, + {0x17'01'50'10, "Kamen Rider Kiva (Dark)"}, + {0x27'01'00'10, "Kamen Rider Kiva - Dogabaki Form"}, + {0x27'02'00'10, "Kamen Rider Kiva - Emperor Form"}, + {0x18'01'40'10, "Kamen Rider Den-O (Light)"}, + {0x28'01'00'10, "Kamen Rider Den-O - Super Climax Form"}, + {0x28'02'00'10, "Kamen Rider Den-O - Liner Form"}, + {0x28'03'00'10, "Kamen Rider Den-O - Climax Form"}, + {0x19'01'30'10, "Kamen Rider Kabuto (Fire)"}, + {0x29'01'00'10, "Kamen Rider Kabuto - Hyper Form"}, + {0x29'02'00'10, "Kamen Rider Kabuto - Masked Form"}, + {0x1a'01'30'10, "Kamen Rider Hibiki (Fire)"}, + {0x2a'01'00'10, "Kamen Rider Hibiki - Kurenai"}, + {0x2a'02'00'10, "Kamen Rider Hibiki - Armed"}, + {0x1b'01'50'10, "Kamen Rider Blade (Dark)"}, + {0x2b'01'00'10, "Kamen Rider Blade - Joker Form"}, + {0x2b'02'00'10, "Kamen Rider Blade - King Form"}, + {0x1c'01'50'10, "Kamen Rider Faiz (Dark)"}, + {0x2c'01'00'10, "Kamen Rider Faiz - Axel Form"}, + {0x2c'02'00'10, "Kamen Rider Faiz - Blaster Form"}, + {0x1d'01'10'10, "Kamen Rider Ryuki (Wind)"}, + {0x2d'01'00'10, "Kamen Rider Ryuki - Dragreder"}, + {0x2d'02'00'10, "Kamen Rider Ryuki - Survive"}, + {0x1e'01'20'10, "Kamen Rider Agito (Water)"}, + {0x2e'01'00'10, "Kamen Rider Agito - Shining Form"}, + {0x2e'02'00'10, "Kamen Rider Agito - Burning Form"}, + {0x1f'01'40'10, "Kamen Rider Kuuga (Light)"}, + {0x2f'01'00'10, "Kamen Rider Kuuga - Ultimate Form"}, + {0x2f'02'00'10, "Kamen Rider Kuuga - Amazing Mighty"}, - {{0x31, 0x01, 0x00}, "Kamen Rider Baron"}, - {{0x31, 0x02, 0x00}, "Kamen Rider Zangetsu Shin"}, - {{0x32, 0x01, 0x00}, "Kamen Rider Beast"}, - {{0x33, 0x01, 0x00}, "Kamen Rider Meteor"}, - {{0x34, 0x01, 0x00}, "Kamen Rider Birth"}, - {{0x35, 0x01, 0x00}, "Kamen Rider Accel"}, - {{0x36, 0x01, 0x00}, "Kamen Rider Diend"}, - {{0x36, 0x02, 0x00}, "Kamen Rider Shocker Combatman"}, - {{0x39, 0x01, 0x00}, "Kamen Rider Gatack"}, - // {{ , , }, "Kamen Rider Mach"}, // 01.05 update + {0x30'01'00'11, "Kamen Rider Mach"}, + {0x31'01'00'10, "Kamen Rider Baron"}, + {0x31'02'00'10, "Kamen Rider Zangetsu Shin"}, + {0x32'01'00'10, "Kamen Rider Beast"}, + {0x33'01'00'10, "Kamen Rider Meteor"}, + {0x34'01'00'10, "Kamen Rider Birth"}, + {0x35'01'00'10, "Kamen Rider Accel"}, + {0x36'01'00'10, "Kamen Rider Diend"}, + {0x36'02'00'10, "Kamen Rider Shocker Combatman"}, + {0x39'01'00'10, "Kamen Rider Gatack"}, }; static u32 kamen_rider_crc32(const std::array& buffer) @@ -154,21 +153,18 @@ kamen_rider_creator_dialog::kamen_rider_creator_dialog(QWidget* parent) { setWindowTitle(tr("Kamen Rider Creator")); setObjectName("kamen_rider_creator"); - setMinimumSize(QSize(500, 150)); + setMinimumSize(QSize(500, 100)); QVBoxLayout* vbox_panel = new QVBoxLayout(); QComboBox* combo_figlist = new QComboBox(); QStringList filterlist; - for (const auto& [entry, figure_name] : list_kamen_riders) + for (const auto& [fig_id, figure_name] : list_kamen_riders) { - const auto& [character_id, erc_type, figure_type] = entry; - const uint qvar = (character_id << 16) | (erc_type << 8) | figure_type; QString name = QString::fromStdString(figure_name); - combo_figlist->addItem(name, QVariant(qvar)); + combo_figlist->addItem(name, QVariant(fig_id)); filterlist << std::move(name); } - combo_figlist->addItem(tr("--Unknown--"), QVariant(0xFFFFFFFF)); combo_figlist->setEditable(true); combo_figlist->setInsertPolicy(QComboBox::NoInsert); combo_figlist->model()->sort(0, Qt::AscendingOrder); @@ -178,33 +174,8 @@ kamen_rider_creator_dialog::kamen_rider_creator_dialog(QWidget* parent) co_compl->setCompletionMode(QCompleter::PopupCompletion); co_compl->setFilterMode(Qt::MatchContains); combo_figlist->setCompleter(co_compl); - vbox_panel->addWidget(combo_figlist); - QFrame* line = new QFrame(); - line->setFrameShape(QFrame::HLine); - line->setFrameShadow(QFrame::Sunken); - vbox_panel->addWidget(line); - - QHBoxLayout* hbox_idvar = new QHBoxLayout(); - QLabel* label_id = new QLabel(tr("Character:")); - QLabel* label_erc = new QLabel(tr("ERC:")); - QLabel* label_fig = new QLabel(tr("Figure:")); - QLineEdit* edit_id = new QLineEdit("0"); - QLineEdit* edit_erc = new QLineEdit("0"); - QLineEdit* edit_fig = new QLineEdit("0"); - QRegularExpressionValidator* rxv = new QRegularExpressionValidator(QRegularExpression("\\d*"), this); - edit_id->setValidator(rxv); - edit_erc->setValidator(rxv); - edit_fig->setValidator(rxv); - hbox_idvar->addWidget(label_id); - hbox_idvar->addWidget(edit_id); - hbox_idvar->addWidget(label_erc); - hbox_idvar->addWidget(edit_erc); - hbox_idvar->addWidget(label_fig); - hbox_idvar->addWidget(edit_fig); - vbox_panel->addLayout(hbox_idvar); - QHBoxLayout* hbox_buttons = new QHBoxLayout(); QPushButton* btn_create = new QPushButton(tr("Create"), this); QPushButton* btn_cancel = new QPushButton(tr("Cancel"), this); @@ -215,52 +186,18 @@ kamen_rider_creator_dialog::kamen_rider_creator_dialog(QWidget* parent) setLayout(vbox_panel); - connect(combo_figlist, &QComboBox::currentIndexChanged, [=](int index) - { - const u32 fig_info = combo_figlist->itemData(index).toUInt(); - if (fig_info != 0xFFFFFFFF) - { - const u8 character_id = (fig_info >> 16) & 0xff; - const u8 erc_type = (fig_info >> 8) & 0xff; - const u8 figure_type = fig_info & 0xff; - - edit_id->setText(QString::number(character_id)); - edit_erc->setText(QString::number(erc_type)); - edit_fig->setText(QString::number(figure_type)); - } - }); - connect(btn_create, &QAbstractButton::clicked, this, [=, this]() { - bool ok_character = false, ok_erc = false, ok_fig = false; - const u8 character_id = edit_id->text().toUShort(&ok_character); - if (!ok_character) - { - QMessageBox::warning(this, tr("Error converting value"), tr("ID entered is invalid!"), QMessageBox::Ok); - return; - } - const u8 erc_type = edit_erc->text().toUShort(&ok_erc); - if (!ok_erc) - { - QMessageBox::warning(this, tr("Error converting value"), tr("ERC entered is invalid!"), QMessageBox::Ok); - return; - } - const u8 figure_type = edit_fig->text().toUShort(&ok_fig); - if (!ok_fig) - { - QMessageBox::warning(this, tr("Error converting value"), tr("Figure entered is invalid!"), QMessageBox::Ok); - return; - } - + const u32 fig_id = combo_figlist->itemData(combo_figlist->currentIndex()).toUInt(); QString predef_name = last_kamen_rider_path; - const auto found_fig = list_kamen_riders.find(std::make_tuple(character_id, erc_type, figure_type)); + const auto found_fig = list_kamen_riders.find(fig_id); if (found_fig != list_kamen_riders.cend()) { predef_name += QString::fromStdString(found_fig->second + ".bin"); } else { - predef_name += QString("Unknown(%1 %2 %3).bin").arg(character_id).arg(erc_type).arg(figure_type); + predef_name += QString("Unknown (%1).bin").arg(fig_id); } file_path = QFileDialog::getSaveFileName(this, tr("Create Kamen Rider File"), predef_name, tr("Kamen Rider Object (*.bin);;All Files (*)")); @@ -294,7 +231,9 @@ kamen_rider_creator_dialog::kamen_rider_creator_dialog(QWidget* parent) buf[7] = 0x89; buf[8] = 0x44; buf[10] = 0xc2; - std::array figure_data = {u8(dist(mt)), 0x03, 0x00, 0x00, 0x01, 0x0e, 0x0a, 0x0a, 0x10, figure_type, erc_type, character_id}; + std::array figure_data = {static_cast(dist(mt)), 0x03, 0x00, 0x00, 0x01, 0x0e, 0x0a, 0x0a, + static_cast(fig_id & 0xff), static_cast((fig_id >> 8) & 0xff), + static_cast((fig_id >> 16) & 0xff), static_cast((fig_id >> 24) & 0xff)}; write_to_ptr>(figure_data.data(), 0xC, kamen_rider_crc32(figure_data)); memcpy(&buf[16], figure_data.data(), figure_data.size()); fig_file.write(buf.data(), buf.size()); @@ -401,7 +340,7 @@ void kamen_rider_dialog::clear_kamen_rider(u8 slot) { if (const auto& slot_infos = ::at32(figure_slots, slot)) { - const auto& [cur_slot, character_id, erc_type, figure_type] = slot_infos.value(); + const auto& [cur_slot, fig_id] = slot_infos.value(); g_ridergate.remove_figure(cur_slot); figure_slots[slot] = {}; update_edits(); @@ -448,12 +387,10 @@ void kamen_rider_dialog::load_kamen_rider_path(u8 slot, const QString& path) clear_kamen_rider(slot); - u8 character_id = data[0x1b]; - u8 erc_type = data[0x1a]; - u8 figure_type = data[0x19]; + u32 fig_id = data[0x18] | (data[0x19] << 8) | (data[0x1a] << 16) | (data[0x1b] << 24); u8 portal_slot = g_ridergate.load_figure(data, std::move(fig_file)); - figure_slots[slot] = std::tuple(portal_slot, character_id, erc_type, figure_type); + figure_slots[slot] = std::pair(portal_slot, fig_id); update_edits(); } @@ -465,15 +402,15 @@ void kamen_rider_dialog::update_edits() QString display_string; if (const auto& sd = figure_slots[i]) { - const auto& [portal_slot, character_id, erc_type, figure_type] = sd.value(); - const auto found_fig = list_kamen_riders.find(std::make_tuple(character_id, erc_type, figure_type)); + const auto& [portal_slot, fig_id] = sd.value(); + const auto found_fig = list_kamen_riders.find(fig_id); if (found_fig != list_kamen_riders.cend()) { display_string = QString::fromStdString(found_fig->second); } else { - display_string = QString(tr("Unknown (Character:%1 ERC:%2 Figure:%3)")).arg(character_id).arg(erc_type).arg(figure_type); + display_string = QString(tr("Unknown (%1)")).arg(fig_id); } } else diff --git a/rpcs3/rpcs3qt/kamen_rider_dialog.h b/rpcs3/rpcs3qt/kamen_rider_dialog.h index 3b6dc69e51..9f872d7bc2 100644 --- a/rpcs3/rpcs3qt/kamen_rider_dialog.h +++ b/rpcs3/rpcs3qt/kamen_rider_dialog.h @@ -42,7 +42,7 @@ protected: protected: std::array edit_kamen_riders{}; - static std::array>, UI_FIG_NUM> figure_slots; + static std::array>, UI_FIG_NUM> figure_slots; private: static kamen_rider_dialog* inst; From d854ff03febb59d7f37b98ae05d0ffb50d2dca93 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 13 Jan 2026 13:55:22 +0100 Subject: [PATCH 17/41] Qt: allow to disable logging to the log frame while it is hidden --- rpcs3/Emu/Io/usb_microphone.cpp | 4 +-- rpcs3/rpcs3qt/gui_settings.h | 1 + rpcs3/rpcs3qt/log_frame.cpp | 57 +++++++++++++++++++++------------ rpcs3/rpcs3qt/log_frame.h | 1 + 4 files changed, 41 insertions(+), 22 deletions(-) diff --git a/rpcs3/Emu/Io/usb_microphone.cpp b/rpcs3/Emu/Io/usb_microphone.cpp index 743fadb66a..39bf45d91d 100644 --- a/rpcs3/Emu/Io/usb_microphone.cpp +++ b/rpcs3/Emu/Io/usb_microphone.cpp @@ -599,7 +599,7 @@ void usb_device_mic::control_transfer(u8 bmRequestType, u8 bRequest, u16 wValue, case GET_MIN: { ensure(buf_size >= 2); - constexpr s16 minVol = 0xff00; + constexpr s16 minVol = -256; buf[0] = (minVol ) & 0xff; buf[1] = (minVol >> 8) & 0xff; usb_mic_log.notice("Get Min Volume: 0x%04x (%d dB)", minVol, minVol / 256); @@ -608,7 +608,7 @@ void usb_device_mic::control_transfer(u8 bmRequestType, u8 bRequest, u16 wValue, case GET_MAX: { ensure(buf_size >= 2); - constexpr s16 maxVol = 0x0100; + constexpr s16 maxVol = 256; buf[0] = (maxVol ) & 0xff; buf[1] = (maxVol >> 8) & 0xff; usb_mic_log.notice("Get Max Volume: 0x%04x (%d dB)", maxVol, maxVol / 256); diff --git a/rpcs3/rpcs3qt/gui_settings.h b/rpcs3/rpcs3qt/gui_settings.h index fbf66dceed..a3b6fb4286 100644 --- a/rpcs3/rpcs3qt/gui_settings.h +++ b/rpcs3/rpcs3qt/gui_settings.h @@ -237,6 +237,7 @@ namespace gui const gui_save l_ansi_code = gui_save(logger, "ANSI_code", true); const gui_save l_limit = gui_save(logger, "limit", 1000); const gui_save l_limit_tty = gui_save(logger, "TTY_limit", 1000); + const gui_save l_log_hide = gui_save(logger, "Log hide", false); const gui_save d_splitterState = gui_save(debugger, "splitterState", QByteArray()); diff --git a/rpcs3/rpcs3qt/log_frame.cpp b/rpcs3/rpcs3qt/log_frame.cpp index 2080cdabcf..6d99791799 100644 --- a/rpcs3/rpcs3qt/log_frame.cpp +++ b/rpcs3/rpcs3qt/log_frame.cpp @@ -39,6 +39,7 @@ struct gui_listener : logs::listener lf_queue queue; atomic_t show_prefix{false}; + atomic_t logging_enabled{true}; gui_listener() : logs::listener() @@ -55,7 +56,7 @@ struct gui_listener : logs::listener { Q_UNUSED(stamp) - if (msg <= enabled) + if (msg <= enabled && (logging_enabled || msg <= logs::level::fatal)) { packet_t p,* _new = &p; _new->sev = msg; @@ -237,7 +238,7 @@ void log_frame::CreateAndConnectActions() }; m_clear_act = new QAction(tr("Clear"), this); - connect(m_clear_act, &QAction::triggered, [this]() + connect(m_clear_act, &QAction::triggered, this, [this]() { m_old_log_text.clear(); m_log->clear(); @@ -245,14 +246,14 @@ void log_frame::CreateAndConnectActions() }); m_clear_tty_act = new QAction(tr("Clear"), this); - connect(m_clear_tty_act, &QAction::triggered, [this]() + connect(m_clear_tty_act, &QAction::triggered, this, [this]() { m_old_tty_text.clear(); m_tty->clear(); }); m_perform_goto_on_debugger = new QAction(tr("Go-To on Debugger"), this); - connect(m_perform_goto_on_debugger, &QAction::triggered, [this]() + connect(m_perform_goto_on_debugger, &QAction::triggered, this, [this]() { QPlainTextEdit* pte = (m_tabWidget->currentIndex() == 1 ? m_tty : m_log); Q_EMIT PerformGoToOnDebugger(pte->textCursor().selectedText(), true); @@ -274,7 +275,7 @@ void log_frame::CreateAndConnectActions() }); m_perform_goto_thread_on_debugger = new QAction(tr("Show Thread on Debugger"), this); - connect(m_perform_goto_thread_on_debugger, &QAction::triggered, [this]() + connect(m_perform_goto_thread_on_debugger, &QAction::triggered, this, [this]() { QPlainTextEdit* pte = (m_tabWidget->currentIndex() == 1 ? m_tty : m_log); Q_EMIT PerformGoToOnDebugger(pte->textCursor().selectedText(), false); @@ -282,7 +283,7 @@ void log_frame::CreateAndConnectActions() m_stack_act_tty = new QAction(tr("Stack Mode (TTY)"), this); m_stack_act_tty->setCheckable(true); - connect(m_stack_act_tty, &QAction::toggled, [this](bool checked) + connect(m_stack_act_tty, &QAction::toggled, this, [this](bool checked) { m_gui_settings->SetValue(gui::l_stack_tty, checked); m_stack_tty = checked; @@ -290,7 +291,7 @@ void log_frame::CreateAndConnectActions() m_ansi_act_tty = new QAction(tr("ANSI Code (TTY)"), this); m_ansi_act_tty->setCheckable(true); - connect(m_ansi_act_tty, &QAction::toggled, [this](bool checked) + connect(m_ansi_act_tty, &QAction::toggled, this, [this](bool checked) { m_gui_settings->SetValue(gui::l_ansi_code, checked); m_ansi_tty = checked; @@ -311,7 +312,7 @@ void log_frame::CreateAndConnectActions() QAction* all_channels_act = new QAction(tr("All user channels"), m_tty_channel_acts); all_channels_act->setCheckable(true); all_channels_act->setChecked(m_tty_channel == -1); - connect(all_channels_act, &QAction::triggered, [this]() + connect(all_channels_act, &QAction::triggered, this, [this]() { m_tty_channel = -1; m_tty_input->setPlaceholderText(tr("All user channels")); @@ -322,7 +323,7 @@ void log_frame::CreateAndConnectActions() QAction* act = new QAction(tr("Channel %0").arg(i), m_tty_channel_acts); act->setCheckable(true); act->setChecked(i == m_tty_channel); - connect(act, &QAction::triggered, [this, i]() + connect(act, &QAction::triggered, this, [this, i]() { m_tty_channel = i; m_tty_input->setPlaceholderText(tr("Channel %0").arg(m_tty_channel)); @@ -343,7 +344,7 @@ void log_frame::CreateAndConnectActions() m_stack_act_log = new QAction(tr("Stack Mode (Log)"), this); m_stack_act_log->setCheckable(true); - connect(m_stack_act_log, &QAction::toggled, [this](bool checked) + connect(m_stack_act_log, &QAction::toggled, this, [this](bool checked) { m_gui_settings->SetValue(gui::l_stack, checked); m_stack_log = checked; @@ -351,7 +352,7 @@ void log_frame::CreateAndConnectActions() m_stack_act_err = new QAction(tr("Stack Cell Errors"), this); m_stack_act_err->setCheckable(true); - connect(m_stack_act_err, &QAction::toggled, [this](bool checked) + connect(m_stack_act_err, &QAction::toggled, this, [this](bool checked) { m_gui_settings->SetValue(gui::l_stack_err, checked); g_log_all_errors = !checked; @@ -359,15 +360,27 @@ void log_frame::CreateAndConnectActions() m_show_prefix_act = new QAction(tr("Show Thread Prefix"), this); m_show_prefix_act->setCheckable(true); - connect(m_show_prefix_act, &QAction::toggled, [this](bool checked) + connect(m_show_prefix_act, &QAction::toggled, this, [this](bool checked) { m_gui_settings->SetValue(gui::l_prefix, checked); s_gui_listener.show_prefix = checked; }); + m_log_while_hidden_act = new QAction(tr("Print Log/TTY while hidden"), this); + m_log_while_hidden_act->setCheckable(true); + connect(m_log_while_hidden_act, &QAction::toggled, this, [this](bool checked) + { + m_gui_settings->SetValue(gui::l_log_hide, checked); + s_gui_listener.logging_enabled = checked || isVisible(); + }); + connect(this, &log_frame::visibilityChanged, this, [this](bool visible) + { + s_gui_listener.logging_enabled = m_log_while_hidden_act->isChecked() || visible; + }); + m_tty_act = new QAction(tr("Enable TTY"), this); m_tty_act->setCheckable(true); - connect(m_tty_act, &QAction::triggered, [this](bool checked) + connect(m_tty_act, &QAction::triggered, this, [this](bool checked) { m_gui_settings->SetValue(gui::l_tty, checked); }); @@ -381,7 +394,7 @@ void log_frame::CreateAndConnectActions() l_initAct(m_notice_act, logs::level::notice); l_initAct(m_trace_act, logs::level::trace); - connect(m_log, &QWidget::customContextMenuRequested, [this](const QPoint& pos) + connect(m_log, &QWidget::customContextMenuRequested, this, [this](const QPoint& pos) { QMenu* menu = m_log->createStandardContextMenu(); menu->addAction(m_clear_act); @@ -403,13 +416,14 @@ void log_frame::CreateAndConnectActions() menu->addAction(m_stack_act_log); menu->addAction(m_stack_act_err); menu->addAction(m_show_prefix_act); + menu->addAction(m_log_while_hidden_act); menu->addSeparator(); menu->addActions(m_log_level_acts->actions()); menu->exec(m_log->viewport()->mapToGlobal(pos)); }); - connect(m_tty, &QWidget::customContextMenuRequested, [this](const QPoint& pos) + connect(m_tty, &QWidget::customContextMenuRequested, this, [this](const QPoint& pos) { QMenu* menu = m_tty->createStandardContextMenu(); menu->addAction(m_clear_tty_act); @@ -432,13 +446,13 @@ void log_frame::CreateAndConnectActions() menu->exec(m_tty->viewport()->mapToGlobal(pos)); }); - connect(m_tabWidget, &QTabWidget::currentChanged, [this](int/* index*/) + connect(m_tabWidget, &QTabWidget::currentChanged, this, [this](int/* index*/) { if (m_find_dialog) m_find_dialog->close(); }); - connect(m_tty_input, &QLineEdit::returnPressed, [this]() + connect(m_tty_input, &QLineEdit::returnPressed, this, [this]() { std::string text = m_tty_input->text().toStdString(); @@ -492,6 +506,9 @@ void log_frame::LoadSettings() m_ansi_act_tty->setChecked(m_ansi_tty); m_stack_act_err->setChecked(!g_log_all_errors); + m_log_while_hidden_act->setChecked(m_gui_settings->GetValue(gui::l_log_hide).toBool()); + s_gui_listener.logging_enabled = m_log_while_hidden_act->isChecked() || isVisible(); + s_gui_listener.show_prefix = m_gui_settings->GetValue(gui::l_prefix).toBool(); m_show_prefix_act->setChecked(s_gui_listener.show_prefix); @@ -599,9 +616,9 @@ void log_frame::UpdateUI() const std::chrono::time_point log_timeout = start + 7ms; // Check TTY logs - if (u64 size = std::max(0, m_tty_file ? (g_tty_size.load() - m_tty_file.pos()) : 0)) + if (const u64 size = std::max(0, m_tty_file ? (g_tty_size.load() - m_tty_file.pos()) : 0)) { - if (m_tty_act->isChecked()) + if (m_tty_act->isChecked() && s_gui_listener.logging_enabled) { m_tty_buf.resize(std::min(size, m_tty_limited_read ? m_tty_limited_read : usz{umax})); m_tty_buf.resize(m_tty_file.read(&m_tty_buf.front(), m_tty_buf.size())); @@ -781,7 +798,7 @@ void log_frame::UpdateUI() usz first_rep_counter = m_log_counter; // Batch output of multiple lines if possible (optimization) - auto flush = [&]() + const auto flush = [&]() { if (m_log_text.isEmpty() && !is_first_rep) { diff --git a/rpcs3/rpcs3qt/log_frame.h b/rpcs3/rpcs3qt/log_frame.h index 35bd3a7ab1..7bdd304c5f 100644 --- a/rpcs3/rpcs3qt/log_frame.h +++ b/rpcs3/rpcs3qt/log_frame.h @@ -95,6 +95,7 @@ private: QAction* m_stack_act_err = nullptr; QAction* m_show_prefix_act = nullptr; + QAction* m_log_while_hidden_act = nullptr; QAction* m_tty_act = nullptr; From 2e4a187145dfc807a5c92ae7d8a5408f6da07549 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 00:36:24 +0300 Subject: [PATCH 18/41] vk: Persist debug name in the image wrapper to aid in debugging --- rpcs3/Emu/RSX/VK/vkutils/image.cpp | 2 ++ rpcs3/Emu/RSX/VK/vkutils/image.h | 1 + 2 files changed, 3 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/vkutils/image.cpp b/rpcs3/Emu/RSX/VK/vkutils/image.cpp index 02d9bf34bd..e1c1faa8da 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/image.cpp @@ -304,6 +304,8 @@ namespace vk _vkSetDebugUtilsObjectNameEXT(m_device, &name_info); } + + m_debug_name = name; } image_view::image_view(VkDevice dev, VkImage image, VkImageViewType view_type, VkFormat format, VkComponentMapping mapping, VkImageSubresourceRange range) diff --git a/rpcs3/Emu/RSX/VK/vkutils/image.h b/rpcs3/Emu/RSX/VK/vkutils/image.h index 91ebf5616e..18baf19646 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image.h +++ b/rpcs3/Emu/RSX/VK/vkutils/image.h @@ -33,6 +33,7 @@ namespace vk VkImageAspectFlags m_storage_aspect = 0; rsx::format_class m_format_class = RSX_FORMAT_CLASS_UNDEFINED; + std::string m_debug_name; void validate(const vk::render_device& dev, const VkImageCreateInfo& info) const; From 11087a973c95988d56478e24dfd7abbcb7c8aed7 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 01:33:03 +0300 Subject: [PATCH 19/41] vk: Set debug names for image views - Crucial for debugging hangs and crashes as well as VVL output --- rpcs3/Emu/RSX/VK/vkutils/image.cpp | 27 +++++++++++++++++++++++++++ rpcs3/Emu/RSX/VK/vkutils/image.h | 2 ++ 2 files changed, 29 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/vkutils/image.cpp b/rpcs3/Emu/RSX/VK/vkutils/image.cpp index e1c1faa8da..5e4c8ce022 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/image.cpp @@ -207,6 +207,11 @@ namespace vk return m_format_class; } + std::string image::debug_name() const + { + return m_debug_name; + } + void image::push_layout(const command_buffer& cmd, VkImageLayout layout) { ensure(current_queue_family == VK_QUEUE_FAMILY_IGNORED || current_queue_family == cmd.get_queue_family()); @@ -407,6 +412,14 @@ namespace vk // Restore requested mapping info.components = mapping; #endif + + if (m_resource) + { + if (const auto name = m_resource->debug_name(); !name.empty()) + { + set_debug_name(fmt::format("%p (%p) %s", value, m_resource->value, name)); + } + } } viewable_image* viewable_image::clone() @@ -490,4 +503,18 @@ namespace vk views.clear(); } } + + void image_view::set_debug_name(std::string_view name) + { + if (g_render_device->get_debug_utils_support()) + { + VkDebugUtilsObjectNameInfoEXT name_info{}; + name_info.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT; + name_info.objectType = VK_OBJECT_TYPE_IMAGE_VIEW; + name_info.objectHandle = reinterpret_cast(value); + name_info.pObjectName = name.data(); + + _vkSetDebugUtilsObjectNameEXT(m_device, &name_info); + } + } } diff --git a/rpcs3/Emu/RSX/VK/vkutils/image.h b/rpcs3/Emu/RSX/VK/vkutils/image.h index 18baf19646..fbe7abb5fd 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image.h +++ b/rpcs3/Emu/RSX/VK/vkutils/image.h @@ -84,6 +84,7 @@ namespace vk VkSharingMode sharing_mode() const; VkImageAspectFlags aspect() const; rsx::format_class format_class() const; + std::string debug_name() const; // Pipeline management void push_layout(const command_buffer& cmd, VkImageLayout layout); @@ -128,6 +129,7 @@ namespace vk vk::image* m_resource = nullptr; void create_impl(); + void set_debug_name(std::string_view name); }; class viewable_image : public image From 11464f0793056430c0ab4e990952da719510226f Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 01:44:01 +0300 Subject: [PATCH 20/41] vk: Tighten image barriers to account for IMAGE_OP_LOAD operation when starting a renderpass --- rpcs3/Emu/RSX/VK/VKDraw.cpp | 8 +++-- rpcs3/Emu/RSX/VK/VKPresent.cpp | 2 +- rpcs3/Emu/RSX/VK/vkutils/barriers.cpp | 14 ++++++--- rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp | 36 +++++++++++++++++++--- 4 files changed, 49 insertions(+), 11 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKDraw.cpp b/rpcs3/Emu/RSX/VK/VKDraw.cpp index b73b4a66a8..739253cc03 100644 --- a/rpcs3/Emu/RSX/VK/VKDraw.cpp +++ b/rpcs3/Emu/RSX/VK/VKDraw.cpp @@ -74,16 +74,20 @@ namespace vk // This was used in a cyclic ref before, but is missing a barrier // No need for a full stall, use a custom barrier instead VkPipelineStageFlags src_stage; - VkAccessFlags src_access; + VkAccessFlags src_access, dst_access; if (raw->aspect() == VK_IMAGE_ASPECT_COLOR_BIT) { src_stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; src_access = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + dst_access = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_READ_BIT; + dst_stage |= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; } else { src_stage = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; src_access = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; + dst_access = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; + dst_stage |= VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; } vk::insert_image_memory_barrier( @@ -91,7 +95,7 @@ namespace vk raw->value, raw->current_layout, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, src_stage, dst_stage, - src_access, VK_ACCESS_SHADER_READ_BIT, + src_access, dst_access, { raw->aspect(), 0, 1, 0, 1 }); raw->current_layout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; diff --git a/rpcs3/Emu/RSX/VK/VKPresent.cpp b/rpcs3/Emu/RSX/VK/VKPresent.cpp index 3eac2821de..d474af2139 100644 --- a/rpcs3/Emu/RSX/VK/VKPresent.cpp +++ b/rpcs3/Emu/RSX/VK/VKPresent.cpp @@ -790,7 +790,7 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) barrier.oldLayout = target_layout; barrier.image = target_image; barrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; - barrier.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + barrier.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_COLOR_ATTACHMENT_READ_BIT; barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.subresourceRange = subresource_range; diff --git a/rpcs3/Emu/RSX/VK/vkutils/barriers.cpp b/rpcs3/Emu/RSX/VK/vkutils/barriers.cpp index fb1bb84e34..6a7e518749 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/barriers.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/barriers.cpp @@ -94,19 +94,25 @@ namespace vk vk::end_renderpass(cmd); } - VkAccessFlags src_access; - VkPipelineStageFlags src_stage; + VkAccessFlags src_access, dst_access; + VkPipelineStageFlags src_stage, dst_stage; if (range.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) { src_access = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + dst_access = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_READ_BIT; src_stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; + dst_stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; } else { src_access = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; + dst_access = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; src_stage = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; + dst_stage = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; } + dst_stage |= VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; + VkImageMemoryBarrier barrier = {}; barrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; barrier.newLayout = new_layout; @@ -116,9 +122,9 @@ namespace vk barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.subresourceRange = range; barrier.srcAccessMask = src_access; - barrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT; + barrier.dstAccessMask = dst_access; - vkCmdPipelineBarrier(cmd, src_stage, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, 0, 0, nullptr, 0, nullptr, 1, &barrier); + vkCmdPipelineBarrier(cmd, src_stage, dst_stage, 0, 0, nullptr, 0, nullptr, 1, &barrier); } void insert_texture_barrier(const vk::command_buffer& cmd, vk::image* image, VkImageLayout new_layout, bool preserve_renderpass) diff --git a/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp b/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp index e8d8bc9c0d..de0345fdb4 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp @@ -58,6 +58,8 @@ namespace vk VkPipelineStageFlags src_stage = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dst_stage = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + const bool is_color_surface = !!(range.aspectMask & VK_IMAGE_ASPECT_COLOR_BIT); + switch (+new_layout) { case VK_IMAGE_LAYOUT_GENERAL: @@ -89,17 +91,30 @@ namespace vk dst_stage = VK_PIPELINE_STAGE_TRANSFER_BIT; break; case VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL: - barrier.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + barrier.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_COLOR_ATTACHMENT_READ_BIT; dst_stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; break; case VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL: - barrier.dstAccessMask = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; + barrier.dstAccessMask = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; dst_stage = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT; break; case VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL: + barrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; + dst_stage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; + break; case VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT: barrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; - dst_stage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT; + dst_stage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; + if (is_color_surface) + { + barrier.dstAccessMask |= VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + dst_stage |= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; + } + else + { + barrier.dstAccessMask |= VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; + dst_stage |= VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; + } break; case VK_IMAGE_LAYOUT_UNDEFINED: case VK_IMAGE_LAYOUT_PREINITIALIZED: @@ -170,12 +185,25 @@ namespace vk src_stage = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; break; case VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL: + barrier.srcAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; + src_stage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT | VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; + break; case VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT: barrier.srcAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; src_stage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT; + if (is_color_surface) + { + barrier.srcAccessMask |= VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + src_stage |= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; + } + else + { + barrier.srcAccessMask |= VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; + src_stage |= VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; + } break; default: - break; //TODO Investigate what happens here + break; } barrier.srcAccessMask &= src_access_mask_bits; From 318385787a2b463dee1ffba2bfa179c13ae2400f Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 18:54:23 +0300 Subject: [PATCH 21/41] vk: Force strict query scopes quirk if SRM is enabled --- rpcs3/Emu/RSX/VK/VKHelpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/VK/VKHelpers.cpp b/rpcs3/Emu/RSX/VK/VKHelpers.cpp index f59878ec18..9360215797 100644 --- a/rpcs3/Emu/RSX/VK/VKHelpers.cpp +++ b/rpcs3/Emu/RSX/VK/VKHelpers.cpp @@ -90,6 +90,7 @@ namespace vk g_drv_no_primitive_restart = false; g_drv_sanitize_fp_values = false; g_drv_disable_fence_reset = false; + g_drv_strict_query_scopes = !!g_cfg.video.strict_rendering_mode; g_drv_emulate_cond_render = (g_cfg.video.relaxed_zcull_sync && !g_render_device->get_conditional_render_support()); g_num_processed_frames = 0; g_num_total_frames = 0; From 9dfaca4cd85d737e6913bd1918e73d770b2b0e23 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 18:54:43 +0300 Subject: [PATCH 22/41] vk: Fix WAW hazard when preparing copy commands for texture uploads using scratch --- rpcs3/Emu/RSX/VK/VKTexture.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKTexture.cpp b/rpcs3/Emu/RSX/VK/VKTexture.cpp index a57378384a..bc6aabf2d4 100644 --- a/rpcs3/Emu/RSX/VK/VKTexture.cpp +++ b/rpcs3/Emu/RSX/VK/VKTexture.cpp @@ -1183,6 +1183,13 @@ namespace vk { ensure(scratch_buf); + // WAW hazard - complete previous work before executing any transfers + insert_buffer_memory_barrier( + cmd2, scratch_buf->value, 0, scratch_offset, + VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT, + VK_ACCESS_TRANSFER_WRITE_BIT); + if (upload_commands.size() > 1) { auto range_ptr = buffer_copies.data(); @@ -1197,8 +1204,11 @@ namespace vk vkCmdCopyBuffer(cmd2, upload_buffer->value, scratch_buf->value, static_cast(buffer_copies.size()), buffer_copies.data()); } - insert_buffer_memory_barrier(cmd2, scratch_buf->value, 0, scratch_offset, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, - VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT); + insert_buffer_memory_barrier( + cmd2, scratch_buf->value, 0, scratch_offset, + VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, + VK_ACCESS_TRANSFER_WRITE_BIT, + VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT); } // Swap and deswizzle if requested From 29cb4f59bd3f75ca63575d84a278b48220ab6fe5 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 19:26:42 +0300 Subject: [PATCH 23/41] vk: Invalidate renderpass key in post-cyclic-z barrier - Post-Z renderpass split is crucial due to loss of writes. The failure to invalidate the renderpass key was an oversight. --- rpcs3/Emu/RSX/VK/VKDraw.cpp | 21 +++++++++++++++------ rpcs3/Emu/RSX/VK/VKGSRender.h | 1 + 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKDraw.cpp b/rpcs3/Emu/RSX/VK/VKDraw.cpp index 739253cc03..59f9bfb40a 100644 --- a/rpcs3/Emu/RSX/VK/VKDraw.cpp +++ b/rpcs3/Emu/RSX/VK/VKDraw.cpp @@ -143,6 +143,17 @@ VkRenderPass VKGSRender::get_render_pass() return m_cached_renderpass; } +void VKGSRender::invalidate_render_pass() +{ + // Regenerate renderpass key for the next draw call + if (const auto key = vk::get_renderpass_key(m_fbo_images, m_current_renderpass_key); + key != m_current_renderpass_key) + { + m_current_renderpass_key = key; + m_cached_renderpass = VK_NULL_HANDLE; + } +} + void VKGSRender::update_draw_state() { m_profiler.start(); @@ -514,12 +525,7 @@ void VKGSRender::load_texture_env() if (check_for_cyclic_refs) { // Regenerate renderpass key - if (const auto key = vk::get_renderpass_key(m_fbo_images, m_current_renderpass_key); - key != m_current_renderpass_key) - { - m_current_renderpass_key = key; - m_cached_renderpass = VK_NULL_HANDLE; - } + invalidate_render_pass(); } if (backend_config.supports_asynchronous_compute) @@ -1069,6 +1075,9 @@ void VKGSRender::end() // Since we're ending the subpass, might as well restore DCC/HiZ for extra performance ds->change_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL); ds->reset_surface_counters(); + + // Regenerate render pass key + invalidate_render_pass(); } } diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.h b/rpcs3/Emu/RSX/VK/VKGSRender.h index b0edaa48f6..aa62df2122 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.h +++ b/rpcs3/Emu/RSX/VK/VKGSRender.h @@ -227,6 +227,7 @@ private: void begin_render_pass(); void close_render_pass(); VkRenderPass get_render_pass(); + void invalidate_render_pass(); void update_draw_state(); void check_present_status(); From a907cc838bc2f06e09da9b4b4c9a8d0ff01db20b Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 19:27:32 +0300 Subject: [PATCH 24/41] vk: Always specify LATE_FRAGMENT_TESTS and EARLY_FRAGMENT_TESTS together when declaring barriers - The combination of access patterns can go either way, do not assume early testing to always take place. --- rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp b/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp index de0345fdb4..2e97e5ad22 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/image_helpers.cpp @@ -78,6 +78,7 @@ namespace vk VK_PIPELINE_STAGE_TRANSFER_BIT | VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT | VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | + VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT }; break; @@ -96,7 +97,7 @@ namespace vk break; case VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL: barrier.dstAccessMask = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; - dst_stage = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT; + dst_stage = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; break; case VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL: barrier.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; From 33d79ee2cd1c24afa2721c43da82ef6ee20e845b Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 20:39:52 +0300 Subject: [PATCH 25/41] vk: Fix CPU frame misalignment bug - This one has been around for a really long time. - The frame-based structure was due to translating the original vulkan tutorial to working code. - While it is not feasible to throw the arch away, we don't need a rigid 2-frame set for acquire-submit semaphores. --- rpcs3/Emu/RSX/VK/VKGSRender.cpp | 25 +++++++++++----------- rpcs3/Emu/RSX/VK/VKGSRender.h | 5 +++-- rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp | 15 ++++++++++++- rpcs3/Emu/RSX/VK/VKPresent.cpp | 32 ++++++++++++++++++++++------ 4 files changed, 55 insertions(+), 22 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index 4a0e6c19ce..cba661a64b 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -505,9 +505,6 @@ VKGSRender::VKGSRender(utils::serial* ar) noexcept : GSRender(ar) m_occlusion_query_manager->set_control_flags(VK_QUERY_CONTROL_PRECISE_BIT, 0); } - VkSemaphoreCreateInfo semaphore_info = {}; - semaphore_info.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; - // VRAM allocation // This first set is bound persistently, so grow notifications are enabled. m_attrib_ring_info.create(VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, VK_ATTRIB_RING_BUFFER_SIZE_M * 0x100000, vk::heap_pool_default, "attrib buffer", 0x400000, VK_TRUE); @@ -570,10 +567,13 @@ VKGSRender::VKGSRender(utils::serial* ar) noexcept : GSRender(ar) rsx_log.warning("Current driver may crash due to memory limitations (%uk)", m_texbuffer_view_size / 1024); } - for (auto &ctx : frame_context_storage) + m_max_async_frames = m_swapchain->get_swap_image_count(); + m_frame_context_storage.resize(m_max_async_frames); + m_current_frame = &m_frame_context_storage[0]; + + for (auto& ctx : m_frame_context_storage) { - vkCreateSemaphore((*m_device), &semaphore_info, nullptr, &ctx.present_wait_semaphore); - vkCreateSemaphore((*m_device), &semaphore_info, nullptr, &ctx.acquire_signal_semaphore); + ctx.init(*m_device); } const auto& memory_map = m_device->get_memory_mapping(); @@ -612,8 +612,6 @@ VKGSRender::VKGSRender(utils::serial* ar) noexcept : GSRender(ar) } - m_current_frame = &frame_context_storage[0]; - m_texture_cache.initialize((*m_device), m_device->get_graphics_queue(), m_texture_upload_buffer_ring_info); @@ -830,16 +828,17 @@ VKGSRender::~VKGSRender() if (m_current_frame == &m_aux_frame_context) { // Return resources back to the owner - m_current_frame = &frame_context_storage[m_current_queue_index]; + m_current_frame = &m_frame_context_storage[m_current_queue_index]; m_current_frame->grab_resources(m_aux_frame_context); } - // NOTE: aux_context uses descriptor pools borrowed from the main queues and any allocations will be automatically freed when pool is destroyed - for (auto &ctx : frame_context_storage) + // CPU frame contexts + for (auto &ctx : m_frame_context_storage) { - vkDestroySemaphore((*m_device), ctx.present_wait_semaphore, nullptr); - vkDestroySemaphore((*m_device), ctx.acquire_signal_semaphore, nullptr); + ctx.destroy(*m_device); } + m_current_frame = nullptr; + m_frame_context_storage.clear(); // Textures m_rtts.destroy(); diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.h b/rpcs3/Emu/RSX/VK/VKGSRender.h index aa62df2122..faae1bb78f 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.h +++ b/rpcs3/Emu/RSX/VK/VKGSRender.h @@ -159,8 +159,9 @@ private: u64 m_texture_parameters_dynamic_offset = 0; u64 m_stipple_array_dynamic_offset = 0; - std::array frame_context_storage; - //Temp frame context to use if the real frame queue is overburdened. Only used for storage + std::vector m_frame_context_storage; + u32 m_max_async_frames = 0u; + // Temp frame context to use if the real frame queue is overburdened. Only used for storage vk::frame_context_t m_aux_frame_context; u32 m_current_queue_index = 0; diff --git a/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp b/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp index 429e428a18..0a400c68d9 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp +++ b/rpcs3/Emu/RSX/VK/VKGSRenderTypes.hpp @@ -23,7 +23,6 @@ #define VK_INDEX_RING_BUFFER_SIZE_M 16 #define VK_MAX_ASYNC_CB_COUNT 512 -#define VK_MAX_ASYNC_FRAMES 2 #define FRAME_PRESENT_TIMEOUT 10000000ull // 10 seconds #define GENERAL_WAIT_TIMEOUT 2000000ull // 2 seconds @@ -186,6 +185,20 @@ namespace vk data_heap_manager::managed_heap_snapshot_t heap_snapshot; u64 last_frame_sync_time = 0; + void init(VkDevice dev) + { + VkSemaphoreCreateInfo semaphore_info = {}; + semaphore_info.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; + vkCreateSemaphore(dev, &semaphore_info, nullptr, &present_wait_semaphore); + vkCreateSemaphore(dev, &semaphore_info, nullptr, &acquire_signal_semaphore); + } + + void destroy(VkDevice dev) + { + vkDestroySemaphore(dev, present_wait_semaphore, nullptr); + vkDestroySemaphore(dev, acquire_signal_semaphore, nullptr); + } + // Copy shareable information void grab_resources(frame_context_t& other) { diff --git a/rpcs3/Emu/RSX/VK/VKPresent.cpp b/rpcs3/Emu/RSX/VK/VKPresent.cpp index d474af2139..eb30f9f2d6 100644 --- a/rpcs3/Emu/RSX/VK/VKPresent.cpp +++ b/rpcs3/Emu/RSX/VK/VKPresent.cpp @@ -52,7 +52,7 @@ void VKGSRender::reinitialize_swapchain() m_current_command_buffer->reset(); m_current_command_buffer->begin(); - for (auto &ctx : frame_context_storage) + for (auto &ctx : m_frame_context_storage) { if (ctx.present_image == umax) continue; @@ -67,6 +67,16 @@ void VKGSRender::reinitialize_swapchain() // Drain all the queues vkDeviceWaitIdle(*m_device); + // Reset frame context storage + for (auto& ctx : m_frame_context_storage) + { + ctx.destroy(*m_device); + } + m_current_frame = nullptr; + m_max_async_frames = 0; + m_current_queue_index = 0; + m_frame_context_storage.clear(); + // Rebuild swapchain. Old swapchain destruction is handled by the init_swapchain call if (!m_swapchain->init(m_swapchain_dims.width, m_swapchain_dims.height)) { @@ -75,6 +85,16 @@ void VKGSRender::reinitialize_swapchain() return; } + // Re-initialize CPU frame contexts + m_max_async_frames = m_swapchain->get_swap_image_count(); + m_frame_context_storage.resize(m_max_async_frames); + for (auto& ctx : m_frame_context_storage) + { + ctx.init(*m_device); + } + m_current_queue_index = 0; + m_current_frame = &m_frame_context_storage[0]; + // Prepare new swapchain images for use for (u32 i = 0; i < m_swapchain->get_swap_image_count(); ++i) { @@ -158,10 +178,10 @@ void VKGSRender::advance_queued_frames() m_current_frame->tag_frame_end(); m_queued_frames.push_back(m_current_frame); - ensure(m_queued_frames.size() <= VK_MAX_ASYNC_FRAMES); + ensure(m_queued_frames.size() <= m_max_async_frames); - m_current_queue_index = (m_current_queue_index + 1) % VK_MAX_ASYNC_FRAMES; - m_current_frame = &frame_context_storage[m_current_queue_index]; + m_current_queue_index = (m_current_queue_index + 1) % m_max_async_frames; + m_current_frame = &m_frame_context_storage[m_current_queue_index]; m_current_frame->flags |= frame_context_state::dirty; vk::advance_frame_counter(); @@ -398,7 +418,7 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) if (m_current_frame == &m_aux_frame_context) { - m_current_frame = &frame_context_storage[m_current_queue_index]; + m_current_frame = &m_frame_context_storage[m_current_queue_index]; if (m_current_frame->swap_command_buffer) { // Its possible this flip request is triggered by overlays and the flip queue is in undefined state @@ -520,7 +540,7 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) ensure(m_current_frame->present_image == umax); ensure(m_current_frame->swap_command_buffer == nullptr); - u64 timeout = m_swapchain->get_swap_image_count() <= VK_MAX_ASYNC_FRAMES? 0ull: 100000000ull; + u64 timeout = m_swapchain->get_swap_image_count() <= 2? 0ull: 100000000ull; while (VkResult status = m_swapchain->acquire_next_swapchain_image(m_current_frame->acquire_signal_semaphore, timeout, &m_current_frame->present_image)) { switch (status) From 9b09fba8117dad097d43ac961a5ad13cb78c7317 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 21:00:48 +0300 Subject: [PATCH 26/41] vk: Prevent WAW hazard when the window size exceeds the output draw box --- rpcs3/Emu/RSX/VK/VKPresent.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKPresent.cpp b/rpcs3/Emu/RSX/VK/VKPresent.cpp index eb30f9f2d6..08006d8dbd 100644 --- a/rpcs3/Emu/RSX/VK/VKPresent.cpp +++ b/rpcs3/Emu/RSX/VK/VKPresent.cpp @@ -612,6 +612,19 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) vk::change_image_layout(*m_current_command_buffer, target_image, present_layout, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, subresource_range); vkCmdClearColorImage(*m_current_command_buffer, target_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clear_black, 1, &subresource_range); + // Prevent WAW on transfer writes + vk::insert_image_memory_barrier( + *m_current_command_buffer, + target_image, + target_layout, + target_layout, + VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_ACCESS_TRANSFER_WRITE_BIT, + VK_ACCESS_TRANSFER_WRITE_BIT, + subresource_range + ); + target_layout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; } From fb420d5989573d564c6871aa04027d9be79d838c Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 25 Jan 2026 21:30:22 +0300 Subject: [PATCH 27/41] vk: Fix flood of VVL synchronization violations appearing when capturing media --- rpcs3/Emu/RSX/VK/VKPresent.cpp | 202 +++++++++++++++++---------------- 1 file changed, 103 insertions(+), 99 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKPresent.cpp b/rpcs3/Emu/RSX/VK/VKPresent.cpp index 08006d8dbd..4f4517d062 100644 --- a/rpcs3/Emu/RSX/VK/VKPresent.cpp +++ b/rpcs3/Emu/RSX/VK/VKPresent.cpp @@ -605,6 +605,109 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) vk::framebuffer_holder* direct_fbo = nullptr; rsx::simple_array calibration_src; + const bool has_overlay = (m_overlay_manager && m_overlay_manager->has_visible()); + const bool user_asked_for_screenshot = g_user_asked_for_screenshot.exchange(false); + const bool user_is_recording = (g_recording_mode != recording_mode::stopped && m_frame->can_consume_frame()); + const bool need_media_capture = user_asked_for_screenshot || user_is_recording; + + const auto render_overlays = [&](vk::framebuffer_holder* fbo, const areau& area) + { + if (!has_overlay) return; + + // Lock to avoid modification during run-update chain + auto ui_renderer = vk::get_overlay_pass(); + std::lock_guard lock(*m_overlay_manager); + + for (const auto& view : m_overlay_manager->get_views()) + { + ui_renderer->run(*m_current_command_buffer, area, fbo, single_target_pass, m_texture_upload_buffer_ring_info, *view.get()); + } + }; + + // WARNING: We have to do this here. We cannot touch the acquired image on the CB and then do a hard sync on it before it is submitted to the presentation engine. + // That introduces a WRITE_AFTER_PRESENT (from the previous present) when we later try to present on a different CB + if (image_to_flip && need_media_capture) + { + const usz sshot_size = buffer_height * buffer_width * 4; + + vk::buffer sshot_vkbuf(*m_device, utils::align(sshot_size, 0x100000), m_device->get_memory_mapping().host_visible_coherent, + VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, VK_BUFFER_USAGE_TRANSFER_DST_BIT, 0, VMM_ALLOCATION_POOL_UNDEFINED); + + VkBufferImageCopy copy_info{}; + copy_info.bufferOffset = 0; + copy_info.bufferRowLength = 0; + copy_info.bufferImageHeight = 0; + copy_info.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + copy_info.imageSubresource.baseArrayLayer = 0; + copy_info.imageSubresource.layerCount = 1; + copy_info.imageSubresource.mipLevel = 0; + copy_info.imageOffset.x = 0; + copy_info.imageOffset.y = 0; + copy_info.imageOffset.z = 0; + copy_info.imageExtent.width = buffer_width; + copy_info.imageExtent.height = buffer_height; + copy_info.imageExtent.depth = 1; + + vk::image* image_to_copy = image_to_flip; + + if (g_cfg.video.record_with_overlays && has_overlay) + { + const auto key = vk::get_renderpass_key(m_swapchain->get_surface_format()); + single_target_pass = vk::get_renderpass(*m_device, key); + ensure(single_target_pass != VK_NULL_HANDLE); + + if (!m_overlay_recording_img || + m_overlay_recording_img->type() != image_to_flip->type() || + m_overlay_recording_img->format() != image_to_flip->format() || + m_overlay_recording_img->width() != image_to_flip->width() || + m_overlay_recording_img->height() != image_to_flip->height() || + m_overlay_recording_img->layers() != image_to_flip->layers()) + { + m_overlay_recording_img = std::make_unique(*m_device, m_device->get_memory_mapping().device_local, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, + image_to_flip->type(), image_to_flip->format(), image_to_flip->width(), image_to_flip->height(), 1, 1, image_to_flip->layers(), VK_SAMPLE_COUNT_1_BIT, + VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT, + 0, VMM_ALLOCATION_POOL_UNDEFINED); + } + + m_overlay_recording_img->change_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); + image_to_flip->push_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); + + const areai rect = areai(0, 0, buffer_width, buffer_height); + vk::copy_image(*m_current_command_buffer, image_to_flip, m_overlay_recording_img.get(), rect, rect, 1); + + image_to_flip->pop_layout(*m_current_command_buffer); + m_overlay_recording_img->change_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); + + vk::framebuffer_holder* sshot_fbo = vk::get_framebuffer(*m_device, buffer_width, buffer_height, VK_FALSE, single_target_pass, { m_overlay_recording_img.get() }); + sshot_fbo->add_ref(); + render_overlays(sshot_fbo, areau(rect)); + sshot_fbo->release(); + + image_to_copy = m_overlay_recording_img.get(); + } + + image_to_copy->push_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); + vk::copy_image_to_buffer(*m_current_command_buffer, image_to_copy, &sshot_vkbuf, copy_info); + image_to_copy->pop_layout(*m_current_command_buffer); + + flush_command_queue(true); + const auto src = sshot_vkbuf.map(0, sshot_size); + std::vector sshot_frame(sshot_size); + memcpy(sshot_frame.data(), src, sshot_size); + sshot_vkbuf.unmap(); + + const bool is_bgra = image_to_copy->format() == VK_FORMAT_B8G8R8A8_UNORM; + + if (user_asked_for_screenshot) + { + m_frame->take_screenshot(std::move(sshot_frame), buffer_width, buffer_height, is_bgra); + } + else + { + m_frame->present_frame(std::move(sshot_frame), buffer_width * 4, buffer_width, buffer_height, is_bgra); + } + } + if (!image_to_flip || aspect_ratio.x1 || aspect_ratio.y1) { // Clear the window background to black @@ -648,21 +751,6 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) } } - const bool has_overlay = (m_overlay_manager && m_overlay_manager->has_visible()); - const auto render_overlays = [&](vk::framebuffer_holder* fbo, const areau& area) - { - if (!has_overlay) return; - - // Lock to avoid modification during run-update chain - auto ui_renderer = vk::get_overlay_pass(); - std::lock_guard lock(*m_overlay_manager); - - for (const auto& view : m_overlay_manager->get_views()) - { - ui_renderer->run(*m_current_command_buffer, area, fbo, single_target_pass, m_texture_upload_buffer_ring_info, *view.get()); - } - }; - if (image_to_flip) { const bool use_full_rgb_range_output = g_cfg.video.full_rgb_range_output.get(); @@ -726,90 +814,6 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info) m_upscaler->scale_output(*m_current_command_buffer, image_to_flip, target_image, target_layout, rgn, UPSCALE_AND_COMMIT | UPSCALE_DEFAULT_VIEW); } - - const bool user_asked_for_screenshot = g_user_asked_for_screenshot.exchange(false); - - if (user_asked_for_screenshot || (g_recording_mode != recording_mode::stopped && m_frame->can_consume_frame())) - { - const usz sshot_size = buffer_height * buffer_width * 4; - - vk::buffer sshot_vkbuf(*m_device, utils::align(sshot_size, 0x100000), m_device->get_memory_mapping().host_visible_coherent, - VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, VK_BUFFER_USAGE_TRANSFER_DST_BIT, 0, VMM_ALLOCATION_POOL_UNDEFINED); - - VkBufferImageCopy copy_info {}; - copy_info.bufferOffset = 0; - copy_info.bufferRowLength = 0; - copy_info.bufferImageHeight = 0; - copy_info.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - copy_info.imageSubresource.baseArrayLayer = 0; - copy_info.imageSubresource.layerCount = 1; - copy_info.imageSubresource.mipLevel = 0; - copy_info.imageOffset.x = 0; - copy_info.imageOffset.y = 0; - copy_info.imageOffset.z = 0; - copy_info.imageExtent.width = buffer_width; - copy_info.imageExtent.height = buffer_height; - copy_info.imageExtent.depth = 1; - - vk::image* image_to_copy = image_to_flip; - - if (g_cfg.video.record_with_overlays && has_overlay) - { - const auto key = vk::get_renderpass_key(m_swapchain->get_surface_format()); - single_target_pass = vk::get_renderpass(*m_device, key); - ensure(single_target_pass != VK_NULL_HANDLE); - - if (!m_overlay_recording_img || - m_overlay_recording_img->type() != image_to_flip->type() || - m_overlay_recording_img->format() != image_to_flip->format() || - m_overlay_recording_img->width() != image_to_flip->width() || - m_overlay_recording_img->height() != image_to_flip->height() || - m_overlay_recording_img->layers() != image_to_flip->layers()) - { - m_overlay_recording_img = std::make_unique(*m_device, m_device->get_memory_mapping().device_local, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, - image_to_flip->type(), image_to_flip->format(), image_to_flip->width(), image_to_flip->height(), 1, 1, image_to_flip->layers(), VK_SAMPLE_COUNT_1_BIT, - VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_SAMPLED_BIT, - 0, VMM_ALLOCATION_POOL_UNDEFINED); - } - - m_overlay_recording_img->change_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); - image_to_flip->push_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); - - const areai rect = areai(0, 0, buffer_width, buffer_height); - vk::copy_image(*m_current_command_buffer, image_to_flip, m_overlay_recording_img.get(), rect, rect, 1); - - image_to_flip->pop_layout(*m_current_command_buffer); - m_overlay_recording_img->change_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); - - vk::framebuffer_holder* sshot_fbo = vk::get_framebuffer(*m_device, buffer_width, buffer_height, VK_FALSE, single_target_pass, { m_overlay_recording_img.get() }); - sshot_fbo->add_ref(); - render_overlays(sshot_fbo, areau(rect)); - sshot_fbo->release(); - - image_to_copy = m_overlay_recording_img.get(); - } - - image_to_copy->push_layout(*m_current_command_buffer, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); - vk::copy_image_to_buffer(*m_current_command_buffer, image_to_copy, &sshot_vkbuf, copy_info); - image_to_copy->pop_layout(*m_current_command_buffer); - - flush_command_queue(true); - const auto src = sshot_vkbuf.map(0, sshot_size); - std::vector sshot_frame(sshot_size); - memcpy(sshot_frame.data(), src, sshot_size); - sshot_vkbuf.unmap(); - - const bool is_bgra = image_to_copy->format() == VK_FORMAT_B8G8R8A8_UNORM; - - if (user_asked_for_screenshot) - { - m_frame->take_screenshot(std::move(sshot_frame), buffer_width, buffer_height, is_bgra); - } - else - { - m_frame->present_frame(std::move(sshot_frame), buffer_width * 4, buffer_width, buffer_height, is_bgra); - } - } } if (g_cfg.video.debug_overlay || has_overlay) From 0ee3e24b25a119ac8810c30a5065ab846419214b Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 26 Jan 2026 00:23:48 +0300 Subject: [PATCH 28/41] vk: Drain the pending frame queue before resizing the swapchain --- rpcs3/Emu/RSX/VK/VKPresent.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKPresent.cpp b/rpcs3/Emu/RSX/VK/VKPresent.cpp index 4f4517d062..f9fbb114ed 100644 --- a/rpcs3/Emu/RSX/VK/VKPresent.cpp +++ b/rpcs3/Emu/RSX/VK/VKPresent.cpp @@ -61,6 +61,21 @@ void VKGSRender::reinitialize_swapchain() frame_context_cleanup(&ctx); } + // NOTE: frame_context_cleanup alters the queued_frames structure. + while (!m_queued_frames.empty()) + { + auto& frame = m_queued_frames.front(); + if (!frame->swap_command_buffer) + { + // Drop it + m_queued_frames.pop_front(); + continue; + } + + frame_context_cleanup(frame); + } + ensure(m_queued_frames.empty()); + // Discard the current upscaling pipeline if any m_upscaler.reset(); From 818b11fd2fa2607334f781213e26da5fbb8506b5 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 26 Jan 2026 15:55:03 +0300 Subject: [PATCH 29/41] Revert adrenalin crash workaround --- rpcs3/Emu/RSX/VK/vkutils/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/vkutils/device.cpp b/rpcs3/Emu/RSX/VK/vkutils/device.cpp index 14752f160c..f7b7ffb19c 100644 --- a/rpcs3/Emu/RSX/VK/vkutils/device.cpp +++ b/rpcs3/Emu/RSX/VK/vkutils/device.cpp @@ -102,7 +102,7 @@ namespace vk multidraw_support.max_batch_size = 65536; optional_features_support.barycentric_coords = !!shader_barycentric_info.fragmentShaderBarycentric; - optional_features_support.framebuffer_loops = !!fbo_loops_info.attachmentFeedbackLoopLayout && get_driver_vendor() != driver_vendor::AMD; + optional_features_support.framebuffer_loops = !!fbo_loops_info.attachmentFeedbackLoopLayout; optional_features_support.extended_device_fault = !!device_fault_info.deviceFault; features = features2.features; From 0e2584fc9f367c2d3cd3e0ce578fb81b0e74b6ce Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sun, 25 Jan 2026 07:10:50 +0100 Subject: [PATCH 30/41] sceNpBasicLimitedSendMessage --- rpcs3/Emu/Cell/Modules/sceNp.cpp | 65 ++++++++++++++++++++++++++++++-- rpcs3/Emu/Cell/PPUModule.cpp | 1 + rpcs3/Emu/Cell/PPUModule.h | 1 + 3 files changed, 64 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp.cpp b/rpcs3/Emu/Cell/Modules/sceNp.cpp index 2b49309a9b..ee9c308265 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp.cpp @@ -1118,10 +1118,35 @@ error_code sceNpBasicSetPresenceDetails2(vm::cptr pr return CELL_OK; } -error_code sceNpBasicSendMessage(vm::cptr to, vm::cptr data, u32 size) -{ - sceNp.warning("sceNpBasicSendMessage(to=*0x%x, data=*0x%x, size=%d)", to, data, size); +u64 sys_time_get_system_time(); +error_code acquire_time_slot(u64* time_array, usz array_size, u64 slot_duration) +{ + static shared_mutex mutex; + std::lock_guard lock(mutex); + + const u64 current_time = sys_time_get_system_time(); + + for (usz index = 0; index < array_size; index++) + { + if (time_array[index] == 0) + { + time_array[index] = current_time; + return CELL_OK; + } + + if (current_time > (time_array[index] + slot_duration)) + { + time_array[index] = current_time; + return CELL_OK; + } + } + + return SCE_NP_BASIC_ERROR_BUSY; +} + +error_code _sceNpBasicSendMessage(vm::cptr to, vm::cptr data, u32 size, bool rate_limited) +{ auto& nph = g_fxo->get>(); if (!nph.is_NP_init) @@ -1144,6 +1169,22 @@ error_code sceNpBasicSendMessage(vm::cptr to, vm::cptr data, u32 return SCE_NP_BASIC_ERROR_EXCEEDS_MAX; } + if (rate_limited) + { + struct sceNpBasicSendMessage_time_slots + { + sceNpBasicSendMessage_time_slots(sceNpBasicSendMessage_time_slots&&) = delete; + std::array data{}; + }; + + auto& time_slots = g_fxo->get(); + + if (auto error = acquire_time_slot(time_slots.data.data(), time_slots.data.size(), 60000000); error != CELL_OK) + { + return error; + } + } + if (nph.get_psn_status() != SCE_NP_MANAGER_STATUS_ONLINE) { return not_an_error(SCE_NP_BASIC_ERROR_NOT_CONNECTED); @@ -1164,6 +1205,19 @@ error_code sceNpBasicSendMessage(vm::cptr to, vm::cptr data, u32 return CELL_OK; } +error_code sceNpBasicSendMessage(vm::cptr to, vm::cptr data, u32 size) +{ + sceNp.warning("sceNpBasicSendMessage(to=*0x%x, data=*0x%x, size=%d)", to, data, size); + return _sceNpBasicSendMessage(to, data, size, false); +} + +// This function is sceNpBasicSendMessage + a rate limiter that will return SCE_NP_BASIC_ERROR_BUSY if it too many messages have been sent +error_code sceNpBasicLimited_0xEB42E2E6(vm::cptr to, vm::cptr data, u32 size) +{ + sceNp.warning("sceNpBasicLimited_0xEB42E2E6(to=*0x%x, data=*0x%x, size=%d)", to, data, size); + return _sceNpBasicSendMessage(to, data, size, true); +} + error_code sceNpBasicSendMessageGui(ppu_thread& ppu, vm::cptr msg, sys_memory_container_t containerId) { sceNp.warning("sceNpBasicSendMessageGui(msg=*0x%x, containerId=%d)", msg, containerId); @@ -7289,6 +7343,11 @@ s32 _Z32_sce_np_sysutil_cxml_prepare_docPN16sysutil_cxmlutil11FixedMemoryERN4cxm return CELL_OK; } +DECLARE(ppu_module_manager::sceNpBasicLimited) +("sceNpBasicLimited", []() { + ppu_module_manager::register_static_function<&sceNpBasicLimited_0xEB42E2E6>("sceNpBasicLimited", ppu_select_name("sceNpBasicLimited", "sceNpBasicLimited_0xEB42E2E6"), BIND_FUNC_WITH_BLR(sceNpBasicLimited_0xEB42E2E6, "sceNpBasicLimited"), 0xEB42E2E6); +}); + DECLARE(ppu_module_manager::sceNp) ("sceNp", []() { REG_FUNC(sceNp, sceNpInit); diff --git a/rpcs3/Emu/Cell/PPUModule.cpp b/rpcs3/Emu/Cell/PPUModule.cpp index 65ab0fe18d..b298539519 100644 --- a/rpcs3/Emu/Cell/PPUModule.cpp +++ b/rpcs3/Emu/Cell/PPUModule.cpp @@ -314,6 +314,7 @@ static void ppu_initialize_modules(ppu_linkage_info* link, utils::serial* ar = n &ppu_module_manager::libsnd3, &ppu_module_manager::libsynth2, &ppu_module_manager::sceNp, + &ppu_module_manager::sceNpBasicLimited, &ppu_module_manager::sceNp2, &ppu_module_manager::sceNpClans, &ppu_module_manager::sceNpCommerce2, diff --git a/rpcs3/Emu/Cell/PPUModule.h b/rpcs3/Emu/Cell/PPUModule.h index fdcd736f38..6171a4faa1 100644 --- a/rpcs3/Emu/Cell/PPUModule.h +++ b/rpcs3/Emu/Cell/PPUModule.h @@ -283,6 +283,7 @@ public: static const ppu_static_module libsnd3; static const ppu_static_module libsynth2; static const ppu_static_module sceNp; + static const ppu_static_module sceNpBasicLimited; static const ppu_static_module sceNp2; static const ppu_static_module sceNpClans; static const ppu_static_module sceNpCommerce2; From 8f8032b5a8959397e2d03bef9f3a6e0bf6a3560d Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Mon, 26 Jan 2026 09:36:59 +0100 Subject: [PATCH 31/41] Implement sceNpMatching2GetSignalingOptParamLocal --- rpcs3/Emu/Cell/Modules/sceNp2.cpp | 24 + rpcs3/Emu/NP/generated/np2_structs.pb.cc | 421 ++++++++++++++- rpcs3/Emu/NP/generated/np2_structs.pb.h | 656 ++++++++++++++++++++--- rpcs3/Emu/NP/generated/np2_structs.proto | 95 +--- rpcs3/Emu/NP/np_cache.cpp | 17 + rpcs3/Emu/NP/np_cache.h | 4 + rpcs3/Emu/NP/np_handler.cpp | 5 + rpcs3/Emu/NP/np_handler.h | 1 + rpcs3/Emu/NP/np_requests.cpp | 55 +- rpcs3/Emu/NP/pb_helpers.cpp | 7 + rpcs3/Emu/NP/pb_helpers.h | 1 + rpcs3/Emu/NP/rpcn_client.cpp | 2 +- 12 files changed, 1096 insertions(+), 192 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp2.cpp b/rpcs3/Emu/Cell/Modules/sceNp2.cpp index 820fbdf1c0..b6ad47b846 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp2.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp2.cpp @@ -1335,6 +1335,30 @@ error_code sceNpMatching2GetSignalingOptParamLocal(SceNpMatching2ContextId ctxId return SCE_NP_MATCHING2_ERROR_NOT_INITIALIZED; } + if (!ctxId) + { + return SCE_NP_MATCHING2_ERROR_INVALID_CONTEXT_ID; + } + + if (!roomId) + { + return SCE_NP_MATCHING2_ERROR_INVALID_ROOM_ID; + } + + if (!check_match2_context(ctxId)) + { + return SCE_NP_MATCHING2_ERROR_CONTEXT_NOT_FOUND; + } + + const auto [error, signaling_opt_param] = nph.local_get_signaling_opt_param(roomId); + + if (error) + { + return error; + } + + *signalingOptParam = *signaling_opt_param; + return CELL_OK; } diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.cc b/rpcs3/Emu/NP/generated/np2_structs.pb.cc index 756b12b0dc..6416723f11 100644 --- a/rpcs3/Emu/NP/generated/np2_structs.pb.cc +++ b/rpcs3/Emu/NP/generated/np2_structs.pb.cc @@ -2555,7 +2555,8 @@ inline constexpr JoinRoomResponse::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, signaling_data_{}, - room_data_{nullptr} {} + room_data_{nullptr}, + opt_param_{nullptr} {} template PROTOBUF_CONSTEXPR JoinRoomResponse::JoinRoomResponse(::_pbi::ConstantInitialized) @@ -2576,6 +2577,32 @@ struct JoinRoomResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JoinRoomResponseDefaultTypeInternal _JoinRoomResponse_default_instance_; + +inline constexpr CreateRoomResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + internal_{nullptr}, + opt_param_{nullptr} {} + +template +PROTOBUF_CONSTEXPR CreateRoomResponse::CreateRoomResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(CreateRoomResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CreateRoomResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CreateRoomResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CreateRoomResponseDefaultTypeInternal() {} + union { + CreateRoomResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRoomResponseDefaultTypeInternal _CreateRoomResponse_default_instance_; } // namespace np2_structs namespace np2_structs { // =================================================================== @@ -11934,6 +11961,324 @@ void CreateJoinRoomRequest::InternalSwap(CreateJoinRoomRequest* PROTOBUF_RESTRIC // =================================================================== +class CreateRoomResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_._has_bits_); +}; + +CreateRoomResponse::CreateRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, CreateRoomResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.CreateRoomResponse) +} +PROTOBUF_NDEBUG_INLINE CreateRoomResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::CreateRoomResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +CreateRoomResponse::CreateRoomResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const CreateRoomResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, CreateRoomResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CreateRoomResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.internal_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.internal_) + : nullptr; + _impl_.opt_param_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.opt_param_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:np2_structs.CreateRoomResponse) +} +PROTOBUF_NDEBUG_INLINE CreateRoomResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void CreateRoomResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, internal_), + 0, + offsetof(Impl_, opt_param_) - + offsetof(Impl_, internal_) + + sizeof(Impl_::opt_param_)); +} +CreateRoomResponse::~CreateRoomResponse() { + // @@protoc_insertion_point(destructor:np2_structs.CreateRoomResponse) + SharedDtor(*this); +} +inline void CreateRoomResponse::SharedDtor(MessageLite& self) { + CreateRoomResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.internal_; + delete this_._impl_.opt_param_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL CreateRoomResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) CreateRoomResponse(arena); +} +constexpr auto CreateRoomResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CreateRoomResponse), + alignof(CreateRoomResponse)); +} +constexpr auto CreateRoomResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<31>{ + { + &_CreateRoomResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CreateRoomResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CreateRoomResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &CreateRoomResponse::ByteSizeLong, + &CreateRoomResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_._cached_size_), + true, + }, + "np2_structs.CreateRoomResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<31> CreateRoomResponse_class_data_ = + CreateRoomResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +CreateRoomResponse::GetClassData() const { + return CreateRoomResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +CreateRoomResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + CreateRoomResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::CreateRoomResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .np2_structs.OptParam opt_param = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, + PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_.opt_param_)}}, + // .np2_structs.RoomDataInternal internal = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_.internal_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.RoomDataInternal internal = 1; + {PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_.internal_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.OptParam opt_param = 2; + {PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_.opt_param_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>()}, + {::_pbi::TcParser::GetTable<::np2_structs::OptParam>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void CreateRoomResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.CreateRoomResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.internal_ != nullptr); + _impl_.internal_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.opt_param_ != nullptr); + _impl_.opt_param_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL CreateRoomResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const CreateRoomResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL CreateRoomResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const CreateRoomResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.CreateRoomResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.RoomDataInternal internal = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.internal_, this_._impl_.internal_->GetCachedSize(), target, + stream); + } + + // .np2_structs.OptParam opt_param = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.opt_param_, this_._impl_.opt_param_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.CreateRoomResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t CreateRoomResponse::ByteSizeLong(const MessageLite& base) { + const CreateRoomResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t CreateRoomResponse::ByteSizeLong() const { + const CreateRoomResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.CreateRoomResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + // .np2_structs.RoomDataInternal internal = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.internal_); + } + // .np2_structs.OptParam opt_param = 2; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.opt_param_); + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void CreateRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.CreateRoomResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.internal_ != nullptr); + if (_this->_impl_.internal_ == nullptr) { + _this->_impl_.internal_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.internal_); + } else { + _this->_impl_.internal_->MergeFrom(*from._impl_.internal_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.opt_param_ != nullptr); + if (_this->_impl_.opt_param_ == nullptr) { + _this->_impl_.opt_param_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.opt_param_); + } else { + _this->_impl_.opt_param_->MergeFrom(*from._impl_.opt_param_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void CreateRoomResponse::CopyFrom(const CreateRoomResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.CreateRoomResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CreateRoomResponse::InternalSwap(CreateRoomResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_.opt_param_) + + sizeof(CreateRoomResponse::_impl_.opt_param_) + - PROTOBUF_FIELD_OFFSET(CreateRoomResponse, _impl_.internal_)>( + reinterpret_cast(&_impl_.internal_), + reinterpret_cast(&other->_impl_.internal_)); +} + +// =================================================================== + class JoinRoomRequest::_Internal { public: using HasBits = @@ -12451,6 +12796,9 @@ JoinRoomResponse::JoinRoomResponse( _impl_.room_data_ = (CheckHasBit(cached_has_bits, 0x00000002U)) ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.room_data_) : nullptr; + _impl_.opt_param_ = (CheckHasBit(cached_has_bits, 0x00000004U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.opt_param_) + : nullptr; // @@protoc_insertion_point(copy_constructor:np2_structs.JoinRoomResponse) } @@ -12462,7 +12810,12 @@ PROTOBUF_NDEBUG_INLINE JoinRoomResponse::Impl_::Impl_( inline void JoinRoomResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.room_data_ = {}; + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, room_data_), + 0, + offsetof(Impl_, opt_param_) - + offsetof(Impl_, room_data_) + + sizeof(Impl_::opt_param_)); } JoinRoomResponse::~JoinRoomResponse() { // @@protoc_insertion_point(destructor:np2_structs.JoinRoomResponse) @@ -12476,6 +12829,7 @@ inline void JoinRoomResponse::SharedDtor(MessageLite& self) { this_._internal_metadata_.Delete<::std::string>(); ABSL_DCHECK(this_.GetArena() == nullptr); delete this_._impl_.room_data_; + delete this_._impl_.opt_param_; this_._impl_.~Impl_(); } @@ -12531,17 +12885,17 @@ JoinRoomResponse::GetClassData() const { return JoinRoomResponse_class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 2, 0, 2> +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> JoinRoomResponse::_table_ = { { PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_._has_bits_), 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask + 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap + 4294967288, // skipmap offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries + 3, // num_field_entries + 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), JoinRoomResponse_class_data_.base(), nullptr, // post_loop_handler @@ -12550,14 +12904,19 @@ JoinRoomResponse::_table_ = { ::_pbi::TcParser::GetTable<::np2_structs::JoinRoomResponse>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ - // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; - {::_pbi::TcParser::FastMtR1, - {18, 0, 1, - PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_)}}, + {::_pbi::TcParser::MiniParse, {}}, // .np2_structs.RoomDataInternal room_data = 1; {::_pbi::TcParser::FastMtS1, {10, 1, 0, PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_)}}, + // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; + {::_pbi::TcParser::FastMtR1, + {18, 0, 1, + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_)}}, + // .np2_structs.OptParam opt_param = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.opt_param_)}}, }}, {{ 65535, 65535 }}, {{ @@ -12565,10 +12924,13 @@ JoinRoomResponse::_table_ = { {PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; {PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.signaling_data_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .np2_structs.OptParam opt_param = 3; + {PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.opt_param_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::np2_structs::RoomDataInternal>()}, {::_pbi::TcParser::GetTable<::np2_structs::Matching2SignalingInfo>()}, + {::_pbi::TcParser::GetTable<::np2_structs::OptParam>()}, }}, {{ }}, @@ -12581,7 +12943,7 @@ PROTOBUF_NOINLINE void JoinRoomResponse::Clear() { (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; - if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { _impl_.signaling_data_.Clear(); } @@ -12589,6 +12951,10 @@ PROTOBUF_NOINLINE void JoinRoomResponse::Clear() { ABSL_DCHECK(_impl_.room_data_ != nullptr); _impl_.room_data_->Clear(); } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(_impl_.opt_param_ != nullptr); + _impl_.opt_param_->Clear(); + } } _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::std::string>(); @@ -12633,6 +12999,13 @@ PROTOBUF_NOINLINE void JoinRoomResponse::Clear() { } } + // .np2_structs.OptParam opt_param = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.opt_param_, this_._impl_.opt_param_->GetCachedSize(), target, + stream); + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw( this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), @@ -12658,7 +13031,7 @@ PROTOBUF_NOINLINE void JoinRoomResponse::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); cached_has_bits = this_._impl_._has_bits_[0]; - if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { total_size += 1UL * this_._internal_signaling_data_size(); @@ -12671,6 +13044,11 @@ PROTOBUF_NOINLINE void JoinRoomResponse::Clear() { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.room_data_); } + // .np2_structs.OptParam opt_param = 3; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.opt_param_); + } } if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); @@ -12694,7 +13072,7 @@ void JoinRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, (void)cached_has_bits; cached_has_bits = from._impl_._has_bits_[0]; - if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { _this->_internal_mutable_signaling_data()->InternalMergeFromWithArena( ::google::protobuf::MessageLite::internal_visibility(), arena, @@ -12708,6 +13086,14 @@ void JoinRoomResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, _this->_impl_.room_data_->MergeFrom(*from._impl_.room_data_); } } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + ABSL_DCHECK(from._impl_.opt_param_ != nullptr); + if (_this->_impl_.opt_param_ == nullptr) { + _this->_impl_.opt_param_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.opt_param_); + } else { + _this->_impl_.opt_param_->MergeFrom(*from._impl_.opt_param_); + } + } } _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::std::string>( @@ -12727,7 +13113,12 @@ void JoinRoomResponse::InternalSwap(JoinRoomResponse* PROTOBUF_RESTRICT PROTOBUF _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); _impl_.signaling_data_.InternalSwap(&other->_impl_.signaling_data_); - swap(_impl_.room_data_, other->_impl_.room_data_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.opt_param_) + + sizeof(JoinRoomResponse::_impl_.opt_param_) + - PROTOBUF_FIELD_OFFSET(JoinRoomResponse, _impl_.room_data_)>( + reinterpret_cast(&_impl_.room_data_), + reinterpret_cast(&other->_impl_.room_data_)); } // =================================================================== diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.h b/rpcs3/Emu/NP/generated/np2_structs.pb.h index f662c0a1a0..0e035973fd 100644 --- a/rpcs3/Emu/NP/generated/np2_structs.pb.h +++ b/rpcs3/Emu/NP/generated/np2_structs.pb.h @@ -71,6 +71,10 @@ class CreateRoomGUIRequest; struct CreateRoomGUIRequestDefaultTypeInternal; extern CreateRoomGUIRequestDefaultTypeInternal _CreateRoomGUIRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataLite<33> CreateRoomGUIRequest_class_data_; +class CreateRoomResponse; +struct CreateRoomResponseDefaultTypeInternal; +extern CreateRoomResponseDefaultTypeInternal _CreateRoomResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<31> CreateRoomResponse_class_data_; class GUIUserInfo; struct GUIUserInfoDefaultTypeInternal; extern GUIUserInfoDefaultTypeInternal _GUIUserInfo_default_instance_; @@ -1031,7 +1035,7 @@ class TusVariable final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusVariable_default_instance_); } - static constexpr int kIndexInFileMessages = 56; + static constexpr int kIndexInFileMessages = 57; friend void swap(TusVariable& a, TusVariable& b) { a.Swap(&b); } inline void Swap(TusVariable* PROTOBUF_NONNULL other) { if (other == this) return; @@ -1279,7 +1283,7 @@ class TusUser final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusUser_default_instance_); } - static constexpr int kIndexInFileMessages = 55; + static constexpr int kIndexInFileMessages = 56; friend void swap(TusUser& a, TusUser& b) { a.Swap(&b); } inline void Swap(TusUser* PROTOBUF_NONNULL other) { if (other == this) return; @@ -1474,7 +1478,7 @@ class TusGetFriendsVariableRequest final : public ::google::protobuf::MessageLit return *reinterpret_cast( &_TusGetFriendsVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 61; + static constexpr int kIndexInFileMessages = 62; friend void swap(TusGetFriendsVariableRequest& a, TusGetFriendsVariableRequest& b) { a.Swap(&b); } inline void Swap(TusGetFriendsVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -1688,7 +1692,7 @@ class TusGetFriendsDataStatusRequest final : public ::google::protobuf::MessageL return *reinterpret_cast( &_TusGetFriendsDataStatusRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 72; + static constexpr int kIndexInFileMessages = 73; friend void swap(TusGetFriendsDataStatusRequest& a, TusGetFriendsDataStatusRequest& b) { a.Swap(&b); } inline void Swap(TusGetFriendsDataStatusRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -1902,7 +1906,7 @@ class TusDataStatus final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusDataStatus_default_instance_); } - static constexpr int kIndexInFileMessages = 66; + static constexpr int kIndexInFileMessages = 67; friend void swap(TusDataStatus& a, TusDataStatus& b) { a.Swap(&b); } inline void Swap(TusDataStatus* PROTOBUF_NONNULL other) { if (other == this) return; @@ -2143,7 +2147,7 @@ class SetRoomSearchFlagGUI final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SetRoomSearchFlagGUI_default_instance_); } - static constexpr int kIndexInFileMessages = 84; + static constexpr int kIndexInFileMessages = 85; friend void swap(SetRoomSearchFlagGUI& a, SetRoomSearchFlagGUI& b) { a.Swap(&b); } inline void Swap(SetRoomSearchFlagGUI* PROTOBUF_NONNULL other) { if (other == this) return; @@ -2338,7 +2342,7 @@ class SetPresenceRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SetPresenceRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 74; + static constexpr int kIndexInFileMessages = 75; friend void swap(SetPresenceRequest& a, SetPresenceRequest& b) { a.Swap(&b); } inline void Swap(SetPresenceRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -2572,7 +2576,7 @@ class SendMessageRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SendMessageRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 43; + static constexpr int kIndexInFileMessages = 44; friend void swap(SendMessageRequest& a, SendMessageRequest& b) { a.Swap(&b); } inline void Swap(SendMessageRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -2779,7 +2783,7 @@ class ScoreRankData final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_ScoreRankData_default_instance_); } - static constexpr int kIndexInFileMessages = 50; + static constexpr int kIndexInFileMessages = 51; friend void swap(ScoreRankData& a, ScoreRankData& b) { a.Swap(&b); } inline void Swap(ScoreRankData* PROTOBUF_NONNULL other) { if (other == this) return; @@ -3039,7 +3043,7 @@ class ScoreNpIdPcId final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_ScoreNpIdPcId_default_instance_); } - static constexpr int kIndexInFileMessages = 47; + static constexpr int kIndexInFileMessages = 48; friend void swap(ScoreNpIdPcId& a, ScoreNpIdPcId& b) { a.Swap(&b); } inline void Swap(ScoreNpIdPcId* PROTOBUF_NONNULL other) { if (other == this) return; @@ -3234,7 +3238,7 @@ class ScoreInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_ScoreInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 51; + static constexpr int kIndexInFileMessages = 52; friend void swap(ScoreInfo& a, ScoreInfo& b) { a.Swap(&b); } inline void Swap(ScoreInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -3417,7 +3421,7 @@ class RecordScoreRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_RecordScoreRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 45; + static constexpr int kIndexInFileMessages = 46; friend void swap(RecordScoreRequest& a, RecordScoreRequest& b) { a.Swap(&b); } inline void Swap(RecordScoreRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -3653,7 +3657,7 @@ class RecordScoreGameDataRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_RecordScoreGameDataRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 53; + static constexpr int kIndexInFileMessages = 54; friend void swap(RecordScoreGameDataRequest& a, RecordScoreGameDataRequest& b) { a.Swap(&b); } inline void Swap(RecordScoreGameDataRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -4050,7 +4054,7 @@ class MatchingSearchCondition final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingSearchCondition_default_instance_); } - static constexpr int kIndexInFileMessages = 75; + static constexpr int kIndexInFileMessages = 76; friend void swap(MatchingSearchCondition& a, MatchingSearchCondition& b) { a.Swap(&b); } inline void Swap(MatchingSearchCondition* PROTOBUF_NONNULL other) { if (other == this) return; @@ -4264,7 +4268,7 @@ class MatchingGuiRoomId final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingGuiRoomId_default_instance_); } - static constexpr int kIndexInFileMessages = 83; + static constexpr int kIndexInFileMessages = 84; friend void swap(MatchingGuiRoomId& a, MatchingGuiRoomId& b) { a.Swap(&b); } inline void Swap(MatchingGuiRoomId* PROTOBUF_NONNULL other) { if (other == this) return; @@ -4447,7 +4451,7 @@ class MatchingAttr final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingAttr_default_instance_); } - static constexpr int kIndexInFileMessages = 76; + static constexpr int kIndexInFileMessages = 77; friend void swap(MatchingAttr& a, MatchingAttr& b) { a.Swap(&b); } inline void Swap(MatchingAttr* PROTOBUF_NONNULL other) { if (other == this) return; @@ -4873,7 +4877,7 @@ class GetScoreRangeRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetScoreRangeRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 46; + static constexpr int kIndexInFileMessages = 47; friend void swap(GetScoreRangeRequest& a, GetScoreRangeRequest& b) { a.Swap(&b); } inline void Swap(GetScoreRangeRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -5099,7 +5103,7 @@ class GetScoreGameDataRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetScoreGameDataRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 54; + static constexpr int kIndexInFileMessages = 55; friend void swap(GetScoreGameDataRequest& a, GetScoreGameDataRequest& b) { a.Swap(&b); } inline void Swap(GetScoreGameDataRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -5306,7 +5310,7 @@ class GetScoreFriendsRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetScoreFriendsRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 49; + static constexpr int kIndexInFileMessages = 50; friend void swap(GetScoreFriendsRequest& a, GetScoreFriendsRequest& b) { a.Swap(&b); } inline void Swap(GetScoreFriendsRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -5532,7 +5536,7 @@ class BoardInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_BoardInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 44; + static constexpr int kIndexInFileMessages = 45; friend void swap(BoardInfo& a, BoardInfo& b) { a.Swap(&b); } inline void Swap(BoardInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -5758,7 +5762,7 @@ class TusVarResponse final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusVarResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 57; + static constexpr int kIndexInFileMessages = 58; friend void swap(TusVarResponse& a, TusVarResponse& b) { a.Swap(&b); } inline void Swap(TusVarResponse* PROTOBUF_NONNULL other) { if (other == this) return; @@ -5943,7 +5947,7 @@ class TusTryAndSetVariableRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusTryAndSetVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 63; + static constexpr int kIndexInFileMessages = 64; friend void swap(TusTryAndSetVariableRequest& a, TusTryAndSetVariableRequest& b) { a.Swap(&b); } inline void Swap(TusTryAndSetVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -6221,7 +6225,7 @@ class TusSetMultiSlotVariableRequest final : public ::google::protobuf::MessageL return *reinterpret_cast( &_TusSetMultiSlotVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 58; + static constexpr int kIndexInFileMessages = 59; friend void swap(TusSetMultiSlotVariableRequest& a, TusSetMultiSlotVariableRequest& b) { a.Swap(&b); } inline void Swap(TusSetMultiSlotVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -6446,7 +6450,7 @@ class TusSetDataRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusSetDataRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 65; + static constexpr int kIndexInFileMessages = 66; friend void swap(TusSetDataRequest& a, TusSetDataRequest& b) { a.Swap(&b); } inline void Swap(TusSetDataRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -6713,7 +6717,7 @@ class TusGetMultiUserVariableRequest final : public ::google::protobuf::MessageL return *reinterpret_cast( &_TusGetMultiUserVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 60; + static constexpr int kIndexInFileMessages = 61; friend void swap(TusGetMultiUserVariableRequest& a, TusGetMultiUserVariableRequest& b) { a.Swap(&b); } inline void Swap(TusGetMultiUserVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -6910,7 +6914,7 @@ class TusGetMultiUserDataStatusRequest final : public ::google::protobuf::Messag return *reinterpret_cast( &_TusGetMultiUserDataStatusRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 71; + static constexpr int kIndexInFileMessages = 72; friend void swap(TusGetMultiUserDataStatusRequest& a, TusGetMultiUserDataStatusRequest& b) { a.Swap(&b); } inline void Swap(TusGetMultiUserDataStatusRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -7107,7 +7111,7 @@ class TusGetMultiSlotVariableRequest final : public ::google::protobuf::MessageL return *reinterpret_cast( &_TusGetMultiSlotVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 59; + static constexpr int kIndexInFileMessages = 60; friend void swap(TusGetMultiSlotVariableRequest& a, TusGetMultiSlotVariableRequest& b) { a.Swap(&b); } inline void Swap(TusGetMultiSlotVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -7311,7 +7315,7 @@ class TusGetMultiSlotDataStatusRequest final : public ::google::protobuf::Messag return *reinterpret_cast( &_TusGetMultiSlotDataStatusRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 70; + static constexpr int kIndexInFileMessages = 71; friend void swap(TusGetMultiSlotDataStatusRequest& a, TusGetMultiSlotDataStatusRequest& b) { a.Swap(&b); } inline void Swap(TusGetMultiSlotDataStatusRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -7515,7 +7519,7 @@ class TusGetDataRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusGetDataRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 69; + static constexpr int kIndexInFileMessages = 70; friend void swap(TusGetDataRequest& a, TusGetDataRequest& b) { a.Swap(&b); } inline void Swap(TusGetDataRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -7710,7 +7714,7 @@ class TusDeleteMultiSlotVariableRequest final : public ::google::protobuf::Messa return *reinterpret_cast( &_TusDeleteMultiSlotVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 64; + static constexpr int kIndexInFileMessages = 65; friend void swap(TusDeleteMultiSlotVariableRequest& a, TusDeleteMultiSlotVariableRequest& b) { a.Swap(&b); } inline void Swap(TusDeleteMultiSlotVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -7914,7 +7918,7 @@ class TusDeleteMultiSlotDataRequest final : public ::google::protobuf::MessageLi return *reinterpret_cast( &_TusDeleteMultiSlotDataRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 73; + static constexpr int kIndexInFileMessages = 74; friend void swap(TusDeleteMultiSlotDataRequest& a, TusDeleteMultiSlotDataRequest& b) { a.Swap(&b); } inline void Swap(TusDeleteMultiSlotDataRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -8118,7 +8122,7 @@ class TusDataStatusResponse final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusDataStatusResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 68; + static constexpr int kIndexInFileMessages = 69; friend void swap(TusDataStatusResponse& a, TusDataStatusResponse& b) { a.Swap(&b); } inline void Swap(TusDataStatusResponse* PROTOBUF_NONNULL other) { if (other == this) return; @@ -8303,7 +8307,7 @@ class TusData final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusData_default_instance_); } - static constexpr int kIndexInFileMessages = 67; + static constexpr int kIndexInFileMessages = 68; friend void swap(TusData& a, TusData& b) { a.Swap(&b); } inline void Swap(TusData* PROTOBUF_NONNULL other) { if (other == this) return; @@ -8503,7 +8507,7 @@ class TusAddAndGetVariableRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_TusAddAndGetVariableRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 62; + static constexpr int kIndexInFileMessages = 63; friend void swap(TusAddAndGetVariableRequest& a, TusAddAndGetVariableRequest& b) { a.Swap(&b); } inline void Swap(TusAddAndGetVariableRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -8948,7 +8952,7 @@ class SendRoomMessageRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SendRoomMessageRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 40; + static constexpr int kIndexInFileMessages = 41; friend void swap(SendRoomMessageRequest& a, SendRoomMessageRequest& b) { a.Swap(&b); } inline void Swap(SendRoomMessageRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -9196,7 +9200,7 @@ class SearchJoinRoomGUIRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SearchJoinRoomGUIRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 86; + static constexpr int kIndexInFileMessages = 87; friend void swap(SearchJoinRoomGUIRequest& a, SearchJoinRoomGUIRequest& b) { a.Swap(&b); } inline void Swap(SearchJoinRoomGUIRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -9400,7 +9404,7 @@ class RoomUpdateInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_RoomUpdateInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 36; + static constexpr int kIndexInFileMessages = 37; friend void swap(RoomUpdateInfo& a, RoomUpdateInfo& b) { a.Swap(&b); } inline void Swap(RoomUpdateInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -9612,7 +9616,7 @@ class RoomMessageInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_RoomMessageInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 41; + static constexpr int kIndexInFileMessages = 42; friend void swap(RoomMessageInfo& a, RoomMessageInfo& b) { a.Swap(&b); } inline void Swap(RoomMessageInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -10291,7 +10295,7 @@ class QuickMatchGUIRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_QuickMatchGUIRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 85; + static constexpr int kIndexInFileMessages = 86; friend void swap(QuickMatchGUIRequest& a, QuickMatchGUIRequest& b) { a.Swap(&b); } inline void Swap(QuickMatchGUIRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -10705,7 +10709,7 @@ class MessageDetails final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MessageDetails_default_instance_); } - static constexpr int kIndexInFileMessages = 42; + static constexpr int kIndexInFileMessages = 43; friend void swap(MessageDetails& a, MessageDetails& b) { a.Swap(&b); } inline void Swap(MessageDetails* PROTOBUF_NONNULL other) { if (other == this) return; @@ -10997,7 +11001,7 @@ class MatchingRoom final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingRoom_default_instance_); } - static constexpr int kIndexInFileMessages = 81; + static constexpr int kIndexInFileMessages = 82; friend void swap(MatchingRoom& a, MatchingRoom& b) { a.Swap(&b); } inline void Swap(MatchingRoom* PROTOBUF_NONNULL other) { if (other == this) return; @@ -11199,7 +11203,7 @@ class LeaveRoomRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_LeaveRoomRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 25; + static constexpr int kIndexInFileMessages = 26; friend void swap(LeaveRoomRequest& a, LeaveRoomRequest& b) { a.Swap(&b); } inline void Swap(LeaveRoomRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -11589,7 +11593,7 @@ class GetScoreResponse final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetScoreResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 52; + static constexpr int kIndexInFileMessages = 53; friend void swap(GetScoreResponse& a, GetScoreResponse& b) { a.Swap(&b); } inline void Swap(GetScoreResponse* PROTOBUF_NONNULL other) { if (other == this) return; @@ -11841,7 +11845,7 @@ class GetScoreNpIdRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetScoreNpIdRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 48; + static constexpr int kIndexInFileMessages = 49; friend void swap(GetScoreNpIdRequest& a, GetScoreNpIdRequest& b) { a.Swap(&b); } inline void Swap(GetScoreNpIdRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -12062,7 +12066,7 @@ class GetRoomMemberDataInternalRequest final : public ::google::protobuf::Messag return *reinterpret_cast( &_GetRoomMemberDataInternalRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 30; + static constexpr int kIndexInFileMessages = 31; friend void swap(GetRoomMemberDataInternalRequest& a, GetRoomMemberDataInternalRequest& b) { a.Swap(&b); } inline void Swap(GetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -12276,7 +12280,7 @@ class GetRoomListGUIRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetRoomListGUIRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 80; + static constexpr int kIndexInFileMessages = 81; friend void swap(GetRoomListGUIRequest& a, GetRoomListGUIRequest& b) { a.Swap(&b); } inline void Swap(GetRoomListGUIRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -12504,7 +12508,7 @@ class GetRoomDataInternalRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetRoomDataInternalRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 33; + static constexpr int kIndexInFileMessages = 34; friend void swap(GetRoomDataInternalRequest& a, GetRoomDataInternalRequest& b) { a.Swap(&b); } inline void Swap(GetRoomDataInternalRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -12701,7 +12705,7 @@ class GetRoomDataExternalListRequest final : public ::google::protobuf::MessageL return *reinterpret_cast( &_GetRoomDataExternalListRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 26; + static constexpr int kIndexInFileMessages = 27; friend void swap(GetRoomDataExternalListRequest& a, GetRoomDataExternalListRequest& b) { a.Swap(&b); } inline void Swap(GetRoomDataExternalListRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -12907,7 +12911,7 @@ class GetPingInfoResponse final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GetPingInfoResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 39; + static constexpr int kIndexInFileMessages = 40; friend void swap(GetPingInfoResponse& a, GetPingInfoResponse& b) { a.Swap(&b); } inline void Swap(GetPingInfoResponse* PROTOBUF_NONNULL other) { if (other == this) return; @@ -13126,7 +13130,7 @@ class GUIUserInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_GUIUserInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 78; + static constexpr int kIndexInFileMessages = 79; friend void swap(GUIUserInfo& a, GUIUserInfo& b) { a.Swap(&b); } inline void Swap(GUIUserInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -13321,7 +13325,7 @@ class CreateRoomGUIRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_CreateRoomGUIRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 77; + static constexpr int kIndexInFileMessages = 78; friend void swap(CreateRoomGUIRequest& a, CreateRoomGUIRequest& b) { a.Swap(&b); } inline void Swap(CreateRoomGUIRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -13754,7 +13758,7 @@ class SetUserInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SetUserInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 32; + static constexpr int kIndexInFileMessages = 33; friend void swap(SetUserInfo& a, SetUserInfo& b) { a.Swap(&b); } inline void Swap(SetUserInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -13956,7 +13960,7 @@ class SetRoomMemberDataInternalRequest final : public ::google::protobuf::Messag return *reinterpret_cast( &_SetRoomMemberDataInternalRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 31; + static constexpr int kIndexInFileMessages = 32; friend void swap(SetRoomMemberDataInternalRequest& a, SetRoomMemberDataInternalRequest& b) { a.Swap(&b); } inline void Swap(SetRoomMemberDataInternalRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -14187,7 +14191,7 @@ class SetRoomDataInternalRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SetRoomDataInternalRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 29; + static constexpr int kIndexInFileMessages = 30; friend void swap(SetRoomDataInternalRequest& a, SetRoomDataInternalRequest& b) { a.Swap(&b); } inline void Swap(SetRoomDataInternalRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -14467,7 +14471,7 @@ class SetRoomDataExternalRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_SetRoomDataExternalRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 28; + static constexpr int kIndexInFileMessages = 29; friend void swap(SetRoomDataExternalRequest& a, SetRoomDataExternalRequest& b) { a.Swap(&b); } inline void Swap(SetRoomDataExternalRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -15535,7 +15539,7 @@ class MatchingRoomStatus final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingRoomStatus_default_instance_); } - static constexpr int kIndexInFileMessages = 79; + static constexpr int kIndexInFileMessages = 80; friend void swap(MatchingRoomStatus& a, MatchingRoomStatus& b) { a.Swap(&b); } inline void Swap(MatchingRoomStatus* PROTOBUF_NONNULL other) { if (other == this) return; @@ -15771,7 +15775,7 @@ class MatchingRoomList final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingRoomList_default_instance_); } - static constexpr int kIndexInFileMessages = 82; + static constexpr int kIndexInFileMessages = 83; friend void swap(MatchingRoomList& a, MatchingRoomList& b) { a.Swap(&b); } inline void Swap(MatchingRoomList* PROTOBUF_NONNULL other) { if (other == this) return; @@ -16180,7 +16184,7 @@ class JoinRoomRequest final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_JoinRoomRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 23; + static constexpr int kIndexInFileMessages = 24; friend void swap(JoinRoomRequest& a, JoinRoomRequest& b) { a.Swap(&b); } inline void Swap(JoinRoomRequest* PROTOBUF_NONNULL other) { if (other == this) return; @@ -18318,7 +18322,7 @@ class MatchingSearchJoinRoomInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_MatchingSearchJoinRoomInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 87; + static constexpr int kIndexInFileMessages = 88; friend void swap(MatchingSearchJoinRoomInfo& a, MatchingSearchJoinRoomInfo& b) { a.Swap(&b); } inline void Swap(MatchingSearchJoinRoomInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -18520,7 +18524,7 @@ class GetRoomDataExternalListResponse final : public ::google::protobuf::Message return *reinterpret_cast( &_GetRoomDataExternalListResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 27; + static constexpr int kIndexInFileMessages = 28; friend void swap(GetRoomDataExternalListResponse& a, GetRoomDataExternalListResponse& b) { a.Swap(&b); } inline void Swap(GetRoomDataExternalListResponse* PROTOBUF_NONNULL other) { if (other == this) return; @@ -18705,7 +18709,7 @@ class RoomMemberUpdateInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_RoomMemberUpdateInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 34; + static constexpr int kIndexInFileMessages = 35; friend void swap(RoomMemberUpdateInfo& a, RoomMemberUpdateInfo& b) { a.Swap(&b); } inline void Swap(RoomMemberUpdateInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -18922,7 +18926,7 @@ class RoomMemberDataInternalUpdateInfo final : public ::google::protobuf::Messag return *reinterpret_cast( &_RoomMemberDataInternalUpdateInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 38; + static constexpr int kIndexInFileMessages = 39; friend void swap(RoomMemberDataInternalUpdateInfo& a, RoomMemberDataInternalUpdateInfo& b) { a.Swap(&b); } inline void Swap(RoomMemberDataInternalUpdateInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -19482,7 +19486,7 @@ class RoomDataInternalUpdateInfo final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_RoomDataInternalUpdateInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 37; + static constexpr int kIndexInFileMessages = 38; friend void swap(RoomDataInternalUpdateInfo& a, RoomDataInternalUpdateInfo& b) { a.Swap(&b); } inline void Swap(RoomDataInternalUpdateInfo* PROTOBUF_NONNULL other) { if (other == this) return; @@ -19725,7 +19729,7 @@ class NotificationUserJoinedRoom final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_NotificationUserJoinedRoom_default_instance_); } - static constexpr int kIndexInFileMessages = 35; + static constexpr int kIndexInFileMessages = 36; friend void swap(NotificationUserJoinedRoom& a, NotificationUserJoinedRoom& b) { a.Swap(&b); } inline void Swap(NotificationUserJoinedRoom* PROTOBUF_NONNULL other) { if (other == this) return; @@ -19937,7 +19941,7 @@ class JoinRoomResponse final : public ::google::protobuf::MessageLite return *reinterpret_cast( &_JoinRoomResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 24; + static constexpr int kIndexInFileMessages = 25; friend void swap(JoinRoomResponse& a, JoinRoomResponse& b) { a.Swap(&b); } inline void Swap(JoinRoomResponse* PROTOBUF_NONNULL other) { if (other == this) return; @@ -20023,6 +20027,7 @@ class JoinRoomResponse final : public ::google::protobuf::MessageLite enum : int { kSignalingDataFieldNumber = 2, kRoomDataFieldNumber = 1, + kOptParamFieldNumber = 3, }; // repeated .np2_structs.Matching2SignalingInfo signaling_data = 2; int signaling_data_size() const; @@ -20055,13 +20060,28 @@ class JoinRoomResponse final : public ::google::protobuf::MessageLite const ::np2_structs::RoomDataInternal& _internal_room_data() const; ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL _internal_mutable_room_data(); + public: + // .np2_structs.OptParam opt_param = 3; + bool has_opt_param() const; + void clear_opt_param() ; + const ::np2_structs::OptParam& opt_param() const; + [[nodiscard]] ::np2_structs::OptParam* PROTOBUF_NULLABLE release_opt_param(); + ::np2_structs::OptParam* PROTOBUF_NONNULL mutable_opt_param(); + void set_allocated_opt_param(::np2_structs::OptParam* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_opt_param(::np2_structs::OptParam* PROTOBUF_NULLABLE value); + ::np2_structs::OptParam* PROTOBUF_NULLABLE unsafe_arena_release_opt_param(); + + private: + const ::np2_structs::OptParam& _internal_opt_param() const; + ::np2_structs::OptParam* PROTOBUF_NONNULL _internal_mutable_opt_param(); + public: // @@protoc_insertion_point(class_scope:np2_structs.JoinRoomResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, - 2, 0, + static const ::google::protobuf::internal::TcParseTable<2, 3, + 3, 0, 2> _table_; @@ -20084,6 +20104,7 @@ class JoinRoomResponse final : public ::google::protobuf::MessageLite ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::np2_structs::Matching2SignalingInfo > signaling_data_; ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE room_data_; + ::np2_structs::OptParam* PROTOBUF_NULLABLE opt_param_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -20091,6 +20112,206 @@ class JoinRoomResponse final : public ::google::protobuf::MessageLite }; extern const ::google::protobuf::internal::ClassDataLite<29> JoinRoomResponse_class_data_; +// ------------------------------------------------------------------- + +class CreateRoomResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.CreateRoomResponse) */ { + public: + inline CreateRoomResponse() : CreateRoomResponse(nullptr) {} + ~CreateRoomResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CreateRoomResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateRoomResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CreateRoomResponse(::google::protobuf::internal::ConstantInitialized); + + inline CreateRoomResponse(const CreateRoomResponse& from) : CreateRoomResponse(nullptr, from) {} + inline CreateRoomResponse(CreateRoomResponse&& from) noexcept + : CreateRoomResponse(nullptr, ::std::move(from)) {} + inline CreateRoomResponse& operator=(const CreateRoomResponse& from) { + CopyFrom(from); + return *this; + } + inline CreateRoomResponse& operator=(CreateRoomResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const CreateRoomResponse& default_instance() { + return *reinterpret_cast( + &_CreateRoomResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 23; + friend void swap(CreateRoomResponse& a, CreateRoomResponse& b) { a.Swap(&b); } + inline void Swap(CreateRoomResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CreateRoomResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CreateRoomResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const CreateRoomResponse& from); + void MergeFrom(const CreateRoomResponse& from) { CreateRoomResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CreateRoomResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.CreateRoomResponse"; } + + explicit CreateRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + CreateRoomResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CreateRoomResponse& from); + CreateRoomResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CreateRoomResponse&& from) noexcept + : CreateRoomResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInternalFieldNumber = 1, + kOptParamFieldNumber = 2, + }; + // .np2_structs.RoomDataInternal internal = 1; + bool has_internal() const; + void clear_internal() ; + const ::np2_structs::RoomDataInternal& internal() const; + [[nodiscard]] ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE release_internal(); + ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL mutable_internal(); + void set_allocated_internal(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_internal(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value); + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE unsafe_arena_release_internal(); + + private: + const ::np2_structs::RoomDataInternal& _internal_internal() const; + ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL _internal_mutable_internal(); + + public: + // .np2_structs.OptParam opt_param = 2; + bool has_opt_param() const; + void clear_opt_param() ; + const ::np2_structs::OptParam& opt_param() const; + [[nodiscard]] ::np2_structs::OptParam* PROTOBUF_NULLABLE release_opt_param(); + ::np2_structs::OptParam* PROTOBUF_NONNULL mutable_opt_param(); + void set_allocated_opt_param(::np2_structs::OptParam* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_opt_param(::np2_structs::OptParam* PROTOBUF_NULLABLE value); + ::np2_structs::OptParam* PROTOBUF_NULLABLE unsafe_arena_release_opt_param(); + + private: + const ::np2_structs::OptParam& _internal_opt_param() const; + ::np2_structs::OptParam* PROTOBUF_NONNULL _internal_mutable_opt_param(); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.CreateRoomResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<1, 2, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const CreateRoomResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE internal_; + ::np2_structs::OptParam* PROTOBUF_NULLABLE opt_param_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<31> CreateRoomResponse_class_data_; // =================================================================== @@ -26431,6 +26652,208 @@ inline void CreateJoinRoomRequest::set_allocated_sigoptparam(::np2_structs::OptP // ------------------------------------------------------------------- +// CreateRoomResponse + +// .np2_structs.RoomDataInternal internal = 1; +inline bool CreateRoomResponse::has_internal() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.internal_ != nullptr); + return value; +} +inline void CreateRoomResponse::clear_internal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.internal_ != nullptr) _impl_.internal_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::RoomDataInternal& CreateRoomResponse::_internal_internal() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::RoomDataInternal* p = _impl_.internal_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_RoomDataInternal_default_instance_); +} +inline const ::np2_structs::RoomDataInternal& CreateRoomResponse::internal() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomResponse.internal) + return _internal_internal(); +} +inline void CreateRoomResponse::unsafe_arena_set_allocated_internal( + ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.internal_); + } + _impl_.internal_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.CreateRoomResponse.internal) +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE CreateRoomResponse::release_internal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomDataInternal* released = _impl_.internal_; + _impl_.internal_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE CreateRoomResponse::unsafe_arena_release_internal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.CreateRoomResponse.internal) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomDataInternal* temp = _impl_.internal_; + _impl_.internal_ = nullptr; + return temp; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL CreateRoomResponse::_internal_mutable_internal() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.internal_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::RoomDataInternal>(GetArena()); + _impl_.internal_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(p); + } + return _impl_.internal_; +} +inline ::np2_structs::RoomDataInternal* PROTOBUF_NONNULL CreateRoomResponse::mutable_internal() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::RoomDataInternal* _msg = _internal_mutable_internal(); + // @@protoc_insertion_point(field_mutable:np2_structs.CreateRoomResponse.internal) + return _msg; +} +inline void CreateRoomResponse::set_allocated_internal(::np2_structs::RoomDataInternal* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.internal_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.internal_ = reinterpret_cast<::np2_structs::RoomDataInternal*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.CreateRoomResponse.internal) +} + +// .np2_structs.OptParam opt_param = 2; +inline bool CreateRoomResponse::has_opt_param() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.opt_param_ != nullptr); + return value; +} +inline void CreateRoomResponse::clear_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.opt_param_ != nullptr) _impl_.opt_param_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::OptParam& CreateRoomResponse::_internal_opt_param() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::OptParam* p = _impl_.opt_param_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_OptParam_default_instance_); +} +inline const ::np2_structs::OptParam& CreateRoomResponse::opt_param() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.CreateRoomResponse.opt_param) + return _internal_opt_param(); +} +inline void CreateRoomResponse::unsafe_arena_set_allocated_opt_param( + ::np2_structs::OptParam* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.opt_param_); + } + _impl_.opt_param_ = reinterpret_cast<::np2_structs::OptParam*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.CreateRoomResponse.opt_param) +} +inline ::np2_structs::OptParam* PROTOBUF_NULLABLE CreateRoomResponse::release_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::OptParam* released = _impl_.opt_param_; + _impl_.opt_param_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::OptParam* PROTOBUF_NULLABLE CreateRoomResponse::unsafe_arena_release_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.CreateRoomResponse.opt_param) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::OptParam* temp = _impl_.opt_param_; + _impl_.opt_param_ = nullptr; + return temp; +} +inline ::np2_structs::OptParam* PROTOBUF_NONNULL CreateRoomResponse::_internal_mutable_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.opt_param_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::OptParam>(GetArena()); + _impl_.opt_param_ = reinterpret_cast<::np2_structs::OptParam*>(p); + } + return _impl_.opt_param_; +} +inline ::np2_structs::OptParam* PROTOBUF_NONNULL CreateRoomResponse::mutable_opt_param() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::OptParam* _msg = _internal_mutable_opt_param(); + // @@protoc_insertion_point(field_mutable:np2_structs.CreateRoomResponse.opt_param) + return _msg; +} +inline void CreateRoomResponse::set_allocated_opt_param(::np2_structs::OptParam* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.opt_param_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.opt_param_ = reinterpret_cast<::np2_structs::OptParam*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.CreateRoomResponse.opt_param) +} + +// ------------------------------------------------------------------- + // JoinRoomRequest // uint64 roomId = 1; @@ -27001,6 +27424,105 @@ JoinRoomResponse::_internal_mutable_signaling_data() { return &_impl_.signaling_data_; } +// .np2_structs.OptParam opt_param = 3; +inline bool JoinRoomResponse::has_opt_param() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U); + PROTOBUF_ASSUME(!value || _impl_.opt_param_ != nullptr); + return value; +} +inline void JoinRoomResponse::clear_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.opt_param_ != nullptr) _impl_.opt_param_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline const ::np2_structs::OptParam& JoinRoomResponse::_internal_opt_param() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::OptParam* p = _impl_.opt_param_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_OptParam_default_instance_); +} +inline const ::np2_structs::OptParam& JoinRoomResponse::opt_param() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.JoinRoomResponse.opt_param) + return _internal_opt_param(); +} +inline void JoinRoomResponse::unsafe_arena_set_allocated_opt_param( + ::np2_structs::OptParam* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.opt_param_); + } + _impl_.opt_param_ = reinterpret_cast<::np2_structs::OptParam*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.JoinRoomResponse.opt_param) +} +inline ::np2_structs::OptParam* PROTOBUF_NULLABLE JoinRoomResponse::release_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::OptParam* released = _impl_.opt_param_; + _impl_.opt_param_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::OptParam* PROTOBUF_NULLABLE JoinRoomResponse::unsafe_arena_release_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.JoinRoomResponse.opt_param) + + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::OptParam* temp = _impl_.opt_param_; + _impl_.opt_param_ = nullptr; + return temp; +} +inline ::np2_structs::OptParam* PROTOBUF_NONNULL JoinRoomResponse::_internal_mutable_opt_param() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.opt_param_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::OptParam>(GetArena()); + _impl_.opt_param_ = reinterpret_cast<::np2_structs::OptParam*>(p); + } + return _impl_.opt_param_; +} +inline ::np2_structs::OptParam* PROTOBUF_NONNULL JoinRoomResponse::mutable_opt_param() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + ::np2_structs::OptParam* _msg = _internal_mutable_opt_param(); + // @@protoc_insertion_point(field_mutable:np2_structs.JoinRoomResponse.opt_param) + return _msg; +} +inline void JoinRoomResponse::set_allocated_opt_param(::np2_structs::OptParam* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.opt_param_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000004U); + } + + _impl_.opt_param_ = reinterpret_cast<::np2_structs::OptParam*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.JoinRoomResponse.opt_param) +} + // ------------------------------------------------------------------- // LeaveRoomRequest diff --git a/rpcs3/Emu/NP/generated/np2_structs.proto b/rpcs3/Emu/NP/generated/np2_structs.proto index 34413476e6..46628781fb 100644 --- a/rpcs3/Emu/NP/generated/np2_structs.proto +++ b/rpcs3/Emu/NP/generated/np2_structs.proto @@ -1,4 +1,3 @@ - // Protocol Buffers definition for np2_structs syntax = "proto3"; @@ -16,71 +15,61 @@ message uint16 { uint32 value = 1; } -// SignalingAddr + message SignalingAddr { bytes ip = 1; uint16 port = 2; } -// MatchingSignalingInfo message MatchingSignalingInfo { string npid = 1; SignalingAddr addr = 2; } -// Matching2SignalingInfo message Matching2SignalingInfo { uint16 member_id = 1; SignalingAddr addr = 2; } -// BinAttr message BinAttr { uint16 id = 1; bytes data = 2; } -// IntAttr message IntAttr { uint16 id = 1; uint32 num = 2; } -// RoomMemberBinAttrInternal message RoomMemberBinAttrInternal { uint64 updateDate = 1; BinAttr data = 2; } -// BinAttrInternal message BinAttrInternal { uint64 updateDate = 1; uint16 updateMemberId = 2; BinAttr data = 3; } -// OptParam message OptParam { uint8 type = 1; uint8 flag = 2; uint16 hubMemberId = 3; } -// GroupConfig message GroupConfig { uint32 slotNum = 1; bytes label = 2; bool withPassword = 3; } -// UserInfo message UserInfo { string npId = 1; string onlineName = 2; string avatarUrl = 3; } -// RoomMemberDataInternal message RoomMemberDataInternal { UserInfo userInfo = 1; uint64 joinDate = 2; @@ -92,7 +81,6 @@ message RoomMemberDataInternal { repeated RoomMemberBinAttrInternal roomMemberBinAttrInternal = 8; } -// RoomGroup message RoomGroup { uint8 groupId = 1; bool withPassword = 2; @@ -101,7 +89,6 @@ message RoomGroup { uint32 curGroupMemberNum = 5; } -// RoomDataInternal message RoomDataInternal { uint16 serverId = 1; uint32 worldId = 2; @@ -116,7 +103,6 @@ message RoomDataInternal { repeated BinAttrInternal roomBinAttrInternal = 11; } -// RoomDataExternal message RoomDataExternal { uint16 serverId = 1; uint32 worldId = 2; @@ -137,31 +123,26 @@ message RoomDataExternal { repeated BinAttr roomBinAttrExternal = 17; } -// IntSearchFilter message IntSearchFilter { uint8 searchOperator = 1; IntAttr attr = 2; } -// BinSearchFilter message BinSearchFilter { uint8 searchOperator = 1; BinAttr attr = 2; } -// PresenceOptionData message PresenceOptionData { bytes data = 1; uint32 len = 2; } -// RoomGroupPasswordConfig message RoomGroupPasswordConfig { uint8 groupId = 1; bool withPassword = 2; } -// SearchRoomRequest message SearchRoomRequest { int32 option = 1; uint32 worldId = 2; @@ -175,14 +156,12 @@ message SearchRoomRequest { repeated uint16 attrId = 10; } -// SearchRoomResponse message SearchRoomResponse { uint32 startIndex = 1; uint32 total = 2; repeated RoomDataExternal rooms = 3; } -// CreateJoinRoomRequest message CreateJoinRoomRequest { uint32 worldId = 1; uint64 lobbyId = 2; @@ -203,7 +182,12 @@ message CreateJoinRoomRequest { OptParam sigOptParam = 17; } -// JoinRoomRequest +// Reply on creating a room +message CreateRoomResponse { + RoomDataInternal internal = 1; + OptParam opt_param = 2; +} + message JoinRoomRequest { uint64 roomId = 1; bytes roomPassword = 2; @@ -213,30 +197,26 @@ message JoinRoomRequest { uint8 teamId = 6; } -// JoinRoomResponse message JoinRoomResponse { RoomDataInternal room_data = 1; repeated Matching2SignalingInfo signaling_data = 2; + OptParam opt_param = 3; } -// LeaveRoomRequest message LeaveRoomRequest { uint64 roomId = 1; PresenceOptionData optData = 2; } -// GetRoomDataExternalListRequest message GetRoomDataExternalListRequest { repeated uint64 roomIds = 1; repeated uint16 attrIds = 2; } -// GetRoomDataExternalListResponse message GetRoomDataExternalListResponse { repeated RoomDataExternal rooms = 1; } -// SetRoomDataExternalRequest message SetRoomDataExternalRequest { uint64 roomId = 1; repeated IntAttr roomSearchableIntAttrExternal = 2; @@ -244,7 +224,6 @@ message SetRoomDataExternalRequest { repeated BinAttr roomBinAttrExternal = 4; } -// SetRoomDataInternalRequest message SetRoomDataInternalRequest { uint64 roomId = 1; uint32 flagFilter = 2; @@ -255,14 +234,12 @@ message SetRoomDataInternalRequest { repeated uint16 ownerPrivilegeRank = 7; } -// GetRoomMemberDataInternalRequest message GetRoomMemberDataInternalRequest { uint64 roomId = 1; uint16 memberId = 2; repeated uint16 attrId = 3; } -// SetRoomMemberDataInternalRequest message SetRoomMemberDataInternalRequest { uint64 roomId = 1; uint16 memberId = 2; @@ -270,40 +247,34 @@ message SetRoomMemberDataInternalRequest { repeated BinAttr roomMemberBinAttrInternal = 4; } -// SetUserInfo message SetUserInfo { uint16 serverId = 1; repeated BinAttr userBinAttr = 2; } -// GetRoomDataInternalRequest message GetRoomDataInternalRequest { uint64 roomId = 1; repeated uint16 attrId = 2; } -// RoomMemberUpdateInfo message RoomMemberUpdateInfo { RoomMemberDataInternal roomMemberDataInternal = 1; uint8 eventCause = 2; PresenceOptionData optData = 3; } -// NotificationUserJoinedRoom message NotificationUserJoinedRoom { uint64 room_id = 1; RoomMemberUpdateInfo update_info = 2; SignalingAddr signaling = 3; } -// RoomUpdateInfo message RoomUpdateInfo { uint8 eventCause = 1; int32 errorCode = 2; PresenceOptionData optData = 3; } -// RoomDataInternalUpdateInfo message RoomDataInternalUpdateInfo { RoomDataInternal newRoomDataInternal = 1; uint32 prevFlagAttr = 2; @@ -312,7 +283,6 @@ message RoomDataInternalUpdateInfo { repeated uint16 newRoomBinAttrInternal = 5; } -// RoomMemberDataInternalUpdateInfo message RoomMemberDataInternalUpdateInfo { RoomMemberDataInternal newRoomMemberDataInternal = 1; uint32 prevFlagAttr = 2; @@ -320,7 +290,6 @@ message RoomMemberDataInternalUpdateInfo { repeated uint16 newRoomMemberBinAttrInternal = 4; } -// GetPingInfoResponse message GetPingInfoResponse { uint16 serverId = 1; uint32 worldId = 2; @@ -328,7 +297,6 @@ message GetPingInfoResponse { uint32 rtt = 4; } -// SendRoomMessageRequest message SendRoomMessageRequest { uint64 roomId = 1; uint8 castType = 2; @@ -337,7 +305,6 @@ message SendRoomMessageRequest { uint8 option = 5; } -// RoomMessageInfo message RoomMessageInfo { bool filtered = 1; uint8 castType = 2; @@ -346,7 +313,6 @@ message RoomMessageInfo { bytes msg = 5; } -// MessageDetails message MessageDetails { string communicationId = 1; uint64 msgId = 2; @@ -358,13 +324,11 @@ message MessageDetails { bytes data = 8; } -// SendMessageRequest message SendMessageRequest { bytes message = 1; repeated string npids = 2; } -// BoardInfo message BoardInfo { uint32 rankLimit = 1; uint32 updateMode = 2; @@ -373,7 +337,6 @@ message BoardInfo { uint32 uploadSizeLimit = 5; } -// RecordScoreRequest message RecordScoreRequest { uint32 boardId = 1; int32 pcId = 2; @@ -382,7 +345,6 @@ message RecordScoreRequest { bytes data = 5; } -// GetScoreRangeRequest message GetScoreRangeRequest { uint32 boardId = 1; uint32 startRank = 2; @@ -391,13 +353,11 @@ message GetScoreRangeRequest { bool withGameInfo = 5; } -// ScoreNpIdPcId message ScoreNpIdPcId { string npid = 1; int32 pcId = 2; } -// GetScoreNpIdRequest message GetScoreNpIdRequest { uint32 boardId = 1; repeated ScoreNpIdPcId npids = 2; @@ -405,7 +365,6 @@ message GetScoreNpIdRequest { bool withGameInfo = 4; } -// GetScoreFriendsRequest message GetScoreFriendsRequest { uint32 boardId = 1; bool include_self = 2; @@ -414,7 +373,6 @@ message GetScoreFriendsRequest { bool withGameInfo = 5; } -// ScoreRankData message ScoreRankData { string npId = 1; string onlineName = 2; @@ -425,12 +383,10 @@ message ScoreRankData { uint64 recordDate = 7; } -// ScoreInfo message ScoreInfo { bytes data = 1; } -// GetScoreResponse message GetScoreResponse { repeated ScoreRankData rankArray = 1; repeated string commentArray = 2; @@ -439,27 +395,23 @@ message GetScoreResponse { uint32 totalRecord = 5; } -// RecordScoreGameDataRequest message RecordScoreGameDataRequest { uint32 boardId = 1; int32 pcId = 2; int64 score = 3; } -// GetScoreGameDataRequest message GetScoreGameDataRequest { uint32 boardId = 1; string npId = 2; int32 pcId = 3; } -// TusUser message TusUser { bool vuser = 1; string npid = 2; } -// TusVariable message TusVariable { string ownerId = 1; bool hasData = 2; @@ -469,31 +421,26 @@ message TusVariable { int64 oldVariable = 6; } -// TusVarResponse message TusVarResponse { repeated TusVariable vars = 1; } -// TusSetMultiSlotVariableRequest message TusSetMultiSlotVariableRequest { TusUser user = 1; repeated int32 slotIdArray = 2; repeated int64 variableArray = 3; } -// TusGetMultiSlotVariableRequest message TusGetMultiSlotVariableRequest { TusUser user = 1; repeated int32 slotIdArray = 2; } -// TusGetMultiUserVariableRequest message TusGetMultiUserVariableRequest { repeated TusUser users = 1; int32 slotId = 2; } -// TusGetFriendsVariableRequest message TusGetFriendsVariableRequest { int32 slotId = 1; bool includeSelf = 2; @@ -501,7 +448,6 @@ message TusGetFriendsVariableRequest { uint32 arrayNum = 4; } -// TusAddAndGetVariableRequest message TusAddAndGetVariableRequest { TusUser user = 1; int32 slotId = 2; @@ -510,7 +456,6 @@ message TusAddAndGetVariableRequest { string isLastChangedAuthorId = 5; } -// TusTryAndSetVariableRequest message TusTryAndSetVariableRequest { TusUser user = 1; int32 slotId = 2; @@ -521,13 +466,11 @@ message TusTryAndSetVariableRequest { repeated int64 compareValue = 7; } -// TusDeleteMultiSlotVariableRequest message TusDeleteMultiSlotVariableRequest { TusUser user = 1; repeated int32 slotIdArray = 2; } -// TusSetDataRequest message TusSetDataRequest { TusUser user = 1; int32 slotId = 2; @@ -537,7 +480,6 @@ message TusSetDataRequest { string isLastChangedAuthorId = 6; } -// TusDataStatus message TusDataStatus { string ownerId = 1; bool hasData = 2; @@ -546,36 +488,30 @@ message TusDataStatus { bytes info = 5; } -// TusData message TusData { TusDataStatus status = 1; bytes data = 2; } -// TusDataStatusResponse message TusDataStatusResponse { repeated TusDataStatus status = 1; } -// TusGetDataRequest message TusGetDataRequest { TusUser user = 1; int32 slotId = 2; } -// TusGetMultiSlotDataStatusRequest message TusGetMultiSlotDataStatusRequest { TusUser user = 1; repeated int32 slotIdArray = 2; } -// TusGetMultiUserDataStatusRequest message TusGetMultiUserDataStatusRequest { repeated TusUser users = 1; int32 slotId = 2; } -// TusGetFriendsDataStatusRequest message TusGetFriendsDataStatusRequest { int32 slotId = 1; bool includeSelf = 2; @@ -583,13 +519,11 @@ message TusGetFriendsDataStatusRequest { uint32 arrayNum = 4; } -// TusDeleteMultiSlotDataRequest message TusDeleteMultiSlotDataRequest { TusUser user = 1; repeated int32 slotIdArray = 2; } -// SetPresenceRequest message SetPresenceRequest { string title = 1; string status = 2; @@ -597,7 +531,6 @@ message SetPresenceRequest { bytes data = 4; } -// MatchingSearchCondition message MatchingSearchCondition { uint32 attr_type = 1; uint32 attr_id = 2; @@ -605,7 +538,6 @@ message MatchingSearchCondition { uint32 comp_value = 4; } -// MatchingAttr message MatchingAttr { uint32 attr_type = 1; uint32 attr_id = 2; @@ -613,7 +545,6 @@ message MatchingAttr { bytes data = 4; } -// CreateRoomGUIRequest message CreateRoomGUIRequest { uint32 total_slots = 1; uint32 private_slots = 2; @@ -622,13 +553,11 @@ message CreateRoomGUIRequest { repeated MatchingAttr game_attrs = 5; } -// GUIUserInfo message GUIUserInfo { UserInfo info = 1; bool owner = 2; } -// MatchingRoomStatus message MatchingRoomStatus { bytes id = 1; repeated GUIUserInfo members = 2; @@ -636,7 +565,6 @@ message MatchingRoomStatus { bytes opt = 4; } -// GetRoomListGUIRequest message GetRoomListGUIRequest { uint32 range_start = 1; uint32 range_max = 2; @@ -644,43 +572,36 @@ message GetRoomListGUIRequest { repeated MatchingAttr attrs = 4; } -// MatchingRoom message MatchingRoom { bytes id = 1; repeated MatchingAttr attr = 2; } -// MatchingRoomList message MatchingRoomList { uint32 start = 1; uint32 total = 2; repeated MatchingRoom rooms = 3; } -// MatchingGuiRoomId message MatchingGuiRoomId { bytes id = 1; } -// SetRoomSearchFlagGUI message SetRoomSearchFlagGUI { bytes roomid = 1; bool stealth = 2; } -// QuickMatchGUIRequest message QuickMatchGUIRequest { repeated MatchingSearchCondition conds = 1; uint32 available_num = 2; } -// SearchJoinRoomGUIRequest message SearchJoinRoomGUIRequest { repeated MatchingSearchCondition conds = 1; repeated MatchingAttr attrs = 2; } -// MatchingSearchJoinRoomInfo message MatchingSearchJoinRoomInfo { MatchingRoomStatus room = 1; repeated MatchingAttr attr = 2; diff --git a/rpcs3/Emu/NP/np_cache.cpp b/rpcs3/Emu/NP/np_cache.cpp index fc90a641a5..04223da545 100644 --- a/rpcs3/Emu/NP/np_cache.cpp +++ b/rpcs3/Emu/NP/np_cache.cpp @@ -120,6 +120,11 @@ namespace np rooms[room_id].password = password; } + void cache_manager::update_opt_param(SceNpMatching2RoomId room_id, const SceNpMatching2SignalingOptParam* sce_opt_param) + { + rooms[room_id].opt_param = *sce_opt_param; + } + std::pair> cache_manager::get_slots(SceNpMatching2RoomId room_id) { std::lock_guard lock(mutex); @@ -223,6 +228,18 @@ namespace np return {CELL_OK, rooms[room_id].password}; } + std::pair> cache_manager::get_opt_param(SceNpMatching2RoomId room_id) + { + std::lock_guard lock(mutex); + + if (!rooms.contains(room_id)) + { + return {SCE_NP_MATCHING2_ERROR_ROOM_NOT_FOUND, {}}; + } + + return {CELL_OK, rooms[room_id].opt_param}; + } + error_code cache_manager::get_member_and_attrs(SceNpMatching2RoomId room_id, SceNpMatching2RoomMemberId member_id, const std::vector& binattrs_list, SceNpMatching2RoomMemberDataInternal* ptr_member, u32 addr_data, u32 size_data, bool include_onlinename, bool include_avatarurl) { std::lock_guard lock(mutex); diff --git a/rpcs3/Emu/NP/np_cache.h b/rpcs3/Emu/NP/np_cache.h index 9e1b496ea5..8870f169a8 100644 --- a/rpcs3/Emu/NP/np_cache.h +++ b/rpcs3/Emu/NP/np_cache.h @@ -58,6 +58,8 @@ namespace np std::map groups; std::map members; + SceNpMatching2SignalingOptParam opt_param{}; + bool owner = false; }; @@ -70,10 +72,12 @@ namespace np bool add_member(SceNpMatching2RoomId room_id, const SceNpMatching2RoomMemberDataInternal* sce_roommemberdata); bool del_member(SceNpMatching2RoomId room_id, SceNpMatching2RoomMemberId member_id); void update_password(SceNpMatching2RoomId room_id, const std::optional& password); + void update_opt_param(SceNpMatching2RoomId room_id, const SceNpMatching2SignalingOptParam* sce_opt_param); std::pair> get_slots(SceNpMatching2RoomId room_id); std::pair> get_memberids(u64 room_id, s32 sort_method); std::pair> get_password(SceNpMatching2RoomId room_id); + std::pair> get_opt_param(SceNpMatching2RoomId room_id); error_code get_member_and_attrs(SceNpMatching2RoomId room_id, SceNpMatching2RoomMemberId member_id, const std::vector& binattrs_list, SceNpMatching2RoomMemberDataInternal* ptr_member, u32 addr_data, u32 size_data, bool include_onlinename, bool include_avatarurl); std::pair> get_npid(u64 room_id, u16 member_id); std::optional get_memberid(u64 room_id, const SceNpId& npid); diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index f76788287b..c55c16afec 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -1672,6 +1672,11 @@ namespace np return np_cache.get_memberids(room_id, sort_method); } + std::pair> np_handler::local_get_signaling_opt_param(SceNpMatching2RoomId room_id) + { + return np_cache.get_opt_param(room_id); + } + error_code np_handler::local_get_room_member_data(SceNpMatching2RoomId room_id, SceNpMatching2RoomMemberId member_id, const std::vector& binattrs_list, SceNpMatching2RoomMemberDataInternal* ptr_member, u32 addr_data, u32 size_data, u32 ctx_id) { auto [include_onlinename, include_avatarurl] = get_match2_context_options(ctx_id); diff --git a/rpcs3/Emu/NP/np_handler.h b/rpcs3/Emu/NP/np_handler.h index d3c1213cc6..a5f8014538 100644 --- a/rpcs3/Emu/NP/np_handler.h +++ b/rpcs3/Emu/NP/np_handler.h @@ -235,6 +235,7 @@ namespace np std::pair> local_get_room_slots(SceNpMatching2RoomId room_id); std::pair> local_get_room_password(SceNpMatching2RoomId room_id); std::pair> local_get_room_memberids(SceNpMatching2RoomId room_id, s32 sort_method); + std::pair> local_get_signaling_opt_param(SceNpMatching2RoomId room_id); error_code local_get_room_member_data(SceNpMatching2RoomId room_id, SceNpMatching2RoomMemberId member_id, const std::vector& binattrs_list, SceNpMatching2RoomMemberDataInternal* ptr_member, u32 addr_data, u32 size_data, u32 ctx_id); // Local GUI functions diff --git a/rpcs3/Emu/NP/np_requests.cpp b/rpcs3/Emu/NP/np_requests.cpp index bcc97a2b25..0ee7d1d0fc 100644 --- a/rpcs3/Emu/NP/np_requests.cpp +++ b/rpcs3/Emu/NP/np_requests.cpp @@ -200,8 +200,11 @@ namespace np return; } - const auto resp = reply.get_protobuf(); + const auto resp = reply.get_protobuf(); ensure(!reply.is_error(), "Malformed reply to CreateRoom command"); + ensure(resp->has_internal()); + + const auto& resp_internal = resp->internal(); const u32 event_key = get_event_key(); auto [include_onlinename, include_avatarurl] = get_match2_context_options(cb_info_opt->ctx_id); @@ -209,13 +212,19 @@ namespace np auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_CreateJoinRoom, sizeof(SceNpMatching2CreateJoinRoomResponse)); auto* room_resp = reinterpret_cast(edata.data()); auto* room_info = edata.allocate(sizeof(SceNpMatching2RoomDataInternal), room_resp->roomDataInternal); - RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, *resp, room_info, npid, include_onlinename, include_avatarurl); + RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, resp_internal, room_info, npid, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); + const auto resp_opt_param = resp->opt_param(); + SceNpMatching2SignalingOptParam opt_param{}; + OptParam_to_SceNpMatching2SignalingOptParam(resp_opt_param, &opt_param); + np_cache.insert_room(room_info); - np_cache.update_password(room_resp->roomDataInternal->roomId, cached_cj_password); + np_cache.update_password(room_info->roomId, cached_cj_password); + np_cache.update_opt_param(room_info->roomId, &opt_param); extra_nps::print_SceNpMatching2CreateJoinRoomResponse(room_resp); + extra_nps::print_SceNpMatching2SignalingOptParam(&opt_param); cb_info_opt->queue_callback(req_id, event_key, 0, edata.size()); } @@ -275,36 +284,38 @@ namespace np RoomDataInternal_to_SceNpMatching2RoomDataInternal(edata, resp->room_data(), room_info, npid, include_onlinename, include_avatarurl); np_memory.shrink_allocation(edata.addr(), edata.size()); + const u64 room_id = resp->room_data().roomid(); + + const auto resp_opt_param = resp->opt_param(); + SceNpMatching2SignalingOptParam opt_param{}; + OptParam_to_SceNpMatching2SignalingOptParam(resp_opt_param, &opt_param); np_cache.insert_room(room_info); + np_cache.update_opt_param(room_id, &opt_param); extra_nps::print_SceNpMatching2RoomDataInternal(room_info); + extra_nps::print_SceNpMatching2SignalingOptParam(&opt_param); // We initiate signaling if necessary - if (resp->signaling_data_size() > 0) + for (int i = 0; i < resp->signaling_data_size(); i++) { - const u64 room_id = resp->room_data().roomid(); + const auto& signaling_info = resp->signaling_data(i); + ensure(signaling_info.has_addr()); - for (int i = 0; i < resp->signaling_data_size(); i++) - { - const auto& signaling_info = resp->signaling_data(i); - ensure(signaling_info.has_addr()); + const u32 addr_p2p = register_ip(signaling_info.addr().ip()); + const u16 port_p2p = signaling_info.addr().port().value(); - const u32 addr_p2p = register_ip(signaling_info.addr().ip()); - const u16 port_p2p = signaling_info.addr().port().value(); + const u16 member_id = signaling_info.member_id().value(); + const auto [npid_res, npid_p2p] = np_cache.get_npid(room_id, member_id); - const u16 member_id = signaling_info.member_id().value(); - const auto [npid_res, npid_p2p] = np_cache.get_npid(room_id, member_id); + if (npid_res != CELL_OK) + continue; - if (npid_res != CELL_OK) - continue; + rpcn_log.notice("JoinRoomResult told to connect to member(%d=%s) of room(%d): %s:%d", member_id, reinterpret_cast(npid_p2p->handle.data), room_id, ip_to_string(addr_p2p), port_p2p); - rpcn_log.notice("JoinRoomResult told to connect to member(%d=%s) of room(%d): %s:%d", member_id, reinterpret_cast(npid_p2p->handle.data), room_id, ip_to_string(addr_p2p), port_p2p); - - // Attempt Signaling - auto& sigh = g_fxo->get>(); - const u32 conn_id = sigh.init_sig2(*npid_p2p, room_id, member_id); - sigh.start_sig(conn_id, addr_p2p, port_p2p); - } + // Attempt Signaling + auto& sigh = g_fxo->get>(); + const u32 conn_id = sigh.init_sig2(*npid_p2p, room_id, member_id); + sigh.start_sig(conn_id, addr_p2p, port_p2p); } cb_info_opt->queue_callback(req_id, event_key, 0, edata.size()); diff --git a/rpcs3/Emu/NP/pb_helpers.cpp b/rpcs3/Emu/NP/pb_helpers.cpp index c00eed8496..e82fc2ec0a 100644 --- a/rpcs3/Emu/NP/pb_helpers.cpp +++ b/rpcs3/Emu/NP/pb_helpers.cpp @@ -632,4 +632,11 @@ namespace np MatchingAttr_to_SceNpMatchingAttr(edata, resp.attr(), room_info->attr); } + void OptParam_to_SceNpMatching2SignalingOptParam(const np2_structs::OptParam& resp, SceNpMatching2SignalingOptParam* opt_param) + { + opt_param->type = resp.type().value(); + opt_param->flag = resp.flag().value(); + opt_param->hubMemberId = resp.hubmemberid().value(); + } + } // namespace np diff --git a/rpcs3/Emu/NP/pb_helpers.h b/rpcs3/Emu/NP/pb_helpers.h index a11c092f9c..c7482d7bc4 100644 --- a/rpcs3/Emu/NP/pb_helpers.h +++ b/rpcs3/Emu/NP/pb_helpers.h @@ -32,4 +32,5 @@ namespace np void MatchingRoomList_to_SceNpMatchingRoomList(event_data& edata, const np2_structs::MatchingRoomList& resp, SceNpMatchingRoomList* room_list); void MatchingSearchJoinRoomInfo_to_SceNpMatchingSearchJoinRoomInfo(event_data& edata, const np2_structs::MatchingSearchJoinRoomInfo& resp, SceNpMatchingSearchJoinRoomInfo* room_info); void MatchingAttr_to_SceNpMatchingAttr(event_data& edata, const google::protobuf::RepeatedPtrField& attr_list, vm::bptr& first_attr); + void OptParam_to_SceNpMatching2SignalingOptParam(const np2_structs::OptParam& resp, SceNpMatching2SignalingOptParam* opt_param); } // namespace np diff --git a/rpcs3/Emu/NP/rpcn_client.cpp b/rpcs3/Emu/NP/rpcn_client.cpp index 2b58310f1c..a87fff8244 100644 --- a/rpcs3/Emu/NP/rpcn_client.cpp +++ b/rpcs3/Emu/NP/rpcn_client.cpp @@ -256,7 +256,7 @@ namespace rpcn rpcn_log.notice("online: %s, pr_com_id: %s, pr_title: %s, pr_status: %s, pr_comment: %s, pr_data: %s", online ? "true" : "false", pr_com_id.data, pr_title, pr_status, pr_comment, fmt::buf_to_hexstring(pr_data.data(), pr_data.size())); } - constexpr u32 RPCN_PROTOCOL_VERSION = 29; + constexpr u32 RPCN_PROTOCOL_VERSION = 30; constexpr usz RPCN_HEADER_SIZE = 15; const char* error_to_explanation(rpcn::ErrorType error) From cafc2aa9d01e2b89927bfb71f7d144da1167b500 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Mon, 26 Jan 2026 10:37:59 +0100 Subject: [PATCH 32/41] Implement sceNpMatching2GetMemoryInfo --- rpcs3/Emu/Cell/Modules/sceNp2.cpp | 12 ++++++++++-- rpcs3/Emu/NP/np_allocator.h | 12 ++++++++++++ rpcs3/Emu/NP/np_handler.cpp | 12 ++++++++++++ rpcs3/Emu/NP/np_handler.h | 1 + 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp2.cpp b/rpcs3/Emu/Cell/Modules/sceNp2.cpp index b6ad47b846..0c8f97fc2f 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp2.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp2.cpp @@ -616,9 +616,9 @@ error_code sceNpMatching2CreateServerContext( return CELL_OK; } -error_code sceNpMatching2GetMemoryInfo(vm::ptr memInfo) // TODO +error_code sceNpMatching2GetMemoryInfo(vm::ptr memInfo) { - sceNp2.todo("sceNpMatching2GetMemoryInfo(memInfo=*0x%x)", memInfo); + sceNp2.warning("sceNpMatching2GetMemoryInfo(memInfo=*0x%x)", memInfo); auto& nph = g_fxo->get>(); @@ -627,6 +627,14 @@ error_code sceNpMatching2GetMemoryInfo(vm::ptr memInfo return SCE_NP_MATCHING2_ERROR_NOT_INITIALIZED; } + if (!memInfo) + { + return SCE_NP_MATCHING2_ERROR_INVALID_ARGUMENT; + } + + SceNpMatching2MemoryInfo mem_info = nph.get_memory_info(); + *memInfo = mem_info; + return CELL_OK; } diff --git a/rpcs3/Emu/NP/np_allocator.h b/rpcs3/Emu/NP/np_allocator.h index ee8017cb72..76445a4274 100644 --- a/rpcs3/Emu/NP/np_allocator.h +++ b/rpcs3/Emu/NP/np_allocator.h @@ -39,6 +39,11 @@ namespace np m_allocs.clear(); } + std::tuple get_stats() const + { + return {m_size, m_size - m_avail, m_max_usage}; + } + u32 allocate(u32 size) { std::lock_guard lock(m_mutex); @@ -82,6 +87,12 @@ namespace np m_allocs.emplace(last_free, alloc_size); m_avail -= alloc_size; + const u32 usage = m_size - m_avail; + if (usage > m_max_usage) + { + m_max_usage = usage; + } + memset((static_cast(m_pool.get_ptr())) + last_free, 0, alloc_size); np_mem_allocator.trace("Allocation off:%d size:%d psize:%d, pavail:%d", last_free, alloc_size, m_size, m_avail); @@ -121,6 +132,7 @@ namespace np vm::ptr m_pool{}; u32 m_size = 0; u32 m_avail = 0; + u32 m_max_usage = 0; std::map m_allocs{}; // offset/size }; } // namespace np diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index c55c16afec..777301abbb 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -1764,4 +1764,16 @@ namespace np } } + SceNpMatching2MemoryInfo np_handler::get_memory_info() const + { + auto [m_size, m_usage, m_max_usage] = np_memory.get_stats(); + + SceNpMatching2MemoryInfo mem_info{}; + mem_info.totalMemSize = m_size; + mem_info.curMemUsage = m_usage; + mem_info.maxMemUsage = m_max_usage; + + return mem_info; + } + } // namespace np diff --git a/rpcs3/Emu/NP/np_handler.h b/rpcs3/Emu/NP/np_handler.h index a5f8014538..51d510b854 100644 --- a/rpcs3/Emu/NP/np_handler.h +++ b/rpcs3/Emu/NP/np_handler.h @@ -262,6 +262,7 @@ namespace np u32 add_players_to_history(const SceNpId* npids, const char* description, u32 count); u32 get_players_history_count(u32 options); bool get_player_history_entry(u32 options, u32 index, SceNpId* npid); + SceNpMatching2MemoryInfo get_memory_info() const; error_code abort_request(u32 req_id); // For signaling From b0b0ed7634fa544978a5f2f111905b3a90e68bae Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Mon, 26 Jan 2026 10:44:59 +0100 Subject: [PATCH 33/41] Implement sceNpMatching2GetCbQueueInfo --- rpcs3/Emu/Cell/Modules/sceNp2.cpp | 13 ++++++++++++- rpcs3/Emu/Cell/Modules/sceNpUtil.cpp | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp2.cpp b/rpcs3/Emu/Cell/Modules/sceNp2.cpp index 0c8f97fc2f..98f2bf3883 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp2.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp2.cpp @@ -1064,7 +1064,7 @@ error_code sceNpMatching2GetRoomMemberDataInternalLocal(SceNpMatching2ContextId error_code sceNpMatching2GetCbQueueInfo(SceNpMatching2ContextId ctxId, vm::ptr queueInfo) { - sceNp2.todo("sceNpMatching2GetCbQueueInfo(ctxId=%d, queueInfo=*0x%x)", ctxId, queueInfo); + sceNp2.warning("sceNpMatching2GetCbQueueInfo(ctxId=%d, queueInfo=*0x%x)", ctxId, queueInfo); auto& nph = g_fxo->get>(); @@ -1073,6 +1073,17 @@ error_code sceNpMatching2GetCbQueueInfo(SceNpMatching2ContextId ctxId, vm::ptrrequestCbQueueLen = 255; + queueInfo->sessionEventCbQueueLen = 255; + queueInfo->sessionMsgCbQueueLen = 255; + return CELL_OK; } diff --git a/rpcs3/Emu/Cell/Modules/sceNpUtil.cpp b/rpcs3/Emu/Cell/Modules/sceNpUtil.cpp index b8f1341d85..e2f0df9620 100644 --- a/rpcs3/Emu/Cell/Modules/sceNpUtil.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNpUtil.cpp @@ -65,7 +65,7 @@ struct sce_np_util_manager error_code sceNpUtilBandwidthTestInitStart([[maybe_unused]] ppu_thread& ppu, u32 prio, u32 stack) { - sceNpUtil.todo("sceNpUtilBandwidthTestInitStart(prio=%d, stack=%d)", prio, stack); + sceNpUtil.warning("sceNpUtilBandwidthTestInitStart(prio=%d, stack=%d)", prio, stack); auto& util_manager = g_fxo->get(); std::lock_guard lock(util_manager.mtx); From b7311bd6dbea76af058b05849c69406f2a7d744e Mon Sep 17 00:00:00 2001 From: Ani Date: Thu, 29 Jan 2026 04:27:30 +0100 Subject: [PATCH 34/41] hle: Register missing functions --- rpcs3/Emu/Cell/Modules/cellFont.cpp | 7 ++++++ rpcs3/Emu/Cell/Modules/cellFs.cpp | 14 ++++++++++++ rpcs3/Emu/Cell/Modules/cellSaveData.cpp | 14 +++++++++++- rpcs3/Emu/Cell/Modules/cellSpurs.cpp | 8 +++++++ rpcs3/Emu/Cell/Modules/cellSysmodule.cpp | 28 ++++++++++++++++++++++++ rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp | 6 +++++ 6 files changed, 76 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellFont.cpp b/rpcs3/Emu/Cell/Modules/cellFont.cpp index c960375c0c..348a2869fc 100644 --- a/rpcs3/Emu/Cell/Modules/cellFont.cpp +++ b/rpcs3/Emu/Cell/Modules/cellFont.cpp @@ -2228,6 +2228,12 @@ error_code cellFontStatic() return CELL_OK; } +error_code cellFontsetUSleep() +{ + cellFont.todo("cellFontsetUSleep()"); + return CELL_OK; +} + DECLARE(ppu_module_manager::cellFont)("cellFont", []() { @@ -2315,4 +2321,5 @@ DECLARE(ppu_module_manager::cellFont)("cellFont", []() REG_FUNC(cellFont, cellFontGraphicsGetLineRGBA); REG_FUNC(cellFont, cellFontControl); REG_FUNC(cellFont, cellFontStatic); + REG_FUNC(cellFont, cellFontsetUSleep); }); diff --git a/rpcs3/Emu/Cell/Modules/cellFs.cpp b/rpcs3/Emu/Cell/Modules/cellFs.cpp index bff73f530b..1aa83390ae 100644 --- a/rpcs3/Emu/Cell/Modules/cellFs.cpp +++ b/rpcs3/Emu/Cell/Modules/cellFs.cpp @@ -1034,6 +1034,18 @@ s32 cellFsUnregisterL10nCallbacks() return CELL_OK; } +s32 cellFsGetDirent() +{ + cellFs.todo("cellFsGetDirent()"); + return CELL_OK; +} + +s32 cellFsGetDirentCount() +{ + cellFs.todo("cellFsGetDirentCount()"); + return CELL_OK; +} + DECLARE(ppu_module_manager::cellFs)("sys_fs", []() { REG_FUNC(sys_fs, cellFsAccess); @@ -1065,6 +1077,8 @@ DECLARE(ppu_module_manager::cellFs)("sys_fs", []() REG_FUNC(sys_fs, cellFsGetBlockSize); REG_FUNC(sys_fs, cellFsGetBlockSize2); REG_FUNC(sys_fs, cellFsGetDirectoryEntries); + REG_FUNC(sys_fs, cellFsGetDirent); + REG_FUNC(sys_fs, cellFsGetDirentCount); REG_FUNC(sys_fs, cellFsGetFreeSize); REG_FUNC(sys_fs, cellFsGetPath); REG_FUNC(sys_fs, cellFsLink); diff --git a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp index bb99a1f6d6..a4d160fdcb 100644 --- a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp @@ -2514,6 +2514,18 @@ error_code cellSaveDataUserFixedDelete(ppu_thread& ppu, u32 userId, PSetList set return savedata_op(ppu, SAVEDATA_OP_FIXED_DELETE, 0, vm::null, 1, setList, setBuf, vm::null, funcFixed, vm::null, vm::null, container, 6, userdata, userId, funcDone); } +error_code cellSaveDataGetEnableOverlay() +{ + cellSaveData.todo("cellSaveDataGetEnableOverlay()"); + + // auto& manager = g_fxo->get(); + // manager.enable_overlay; + + // TODO + + return CELL_OK; +} + void cellSaveDataEnableOverlay(s32 enable) { cellSaveData.notice("cellSaveDataEnableOverlay(enable=%d)", enable); @@ -2521,7 +2533,6 @@ void cellSaveDataEnableOverlay(s32 enable) manager.enable_overlay = enable != 0; } - // Functions (Extensions) error_code cellSaveDataListDelete(ppu_thread& ppu, PSetList setList, PSetBuf setBuf, PFuncList funcList, PFuncDone funcDone, u32 container, vm::ptr userdata) { @@ -2678,6 +2689,7 @@ void cellSysutil_SaveData_init() REG_VAR(cellSysutil, g_savedata_context).flag(MFF_HIDDEN); // libsysutil functions: + REG_FUNC(cellSysutil, cellSaveDataGetEnableOverlay); REG_FUNC(cellSysutil, cellSaveDataEnableOverlay); REG_FUNC(cellSysutil, cellSaveDataDelete2); diff --git a/rpcs3/Emu/Cell/Modules/cellSpurs.cpp b/rpcs3/Emu/Cell/Modules/cellSpurs.cpp index c5defbd048..7caee24849 100644 --- a/rpcs3/Emu/Cell/Modules/cellSpurs.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSpurs.cpp @@ -1438,6 +1438,13 @@ s32 cellSpursInitializeWithAttribute2(ppu_thread& ppu, vm::ptr spurs, attr->swlIsPreem); } +// Initialise SPURS +s32 cellSpursInitializeForSpuSharing() +{ + cellSpurs.todo("cellSpursInitializeForSpuSharing()"); + return CELL_OK; +} + /// Initialise SPURS attribute s32 _cellSpursAttributeInitialize(vm::ptr attr, u32 revision, u32 sdkVersion, u32 nSpus, s32 spuPriority, s32 ppuPriority, b8 exitIfNoWork) { @@ -5390,6 +5397,7 @@ DECLARE(ppu_module_manager::cellSpurs)("cellSpurs", [](ppu_static_module* _this) REG_FUNC(cellSpurs, cellSpursInitialize); REG_FUNC(cellSpurs, cellSpursInitializeWithAttribute); REG_FUNC(cellSpurs, cellSpursInitializeWithAttribute2); + REG_FUNC(cellSpurs, cellSpursInitializeForSpuSharing); REG_FUNC(cellSpurs, cellSpursFinalize); REG_FUNC(cellSpurs, _cellSpursAttributeInitialize); REG_FUNC(cellSpurs, cellSpursAttributeSetMemoryContainerForSpuThread); diff --git a/rpcs3/Emu/Cell/Modules/cellSysmodule.cpp b/rpcs3/Emu/Cell/Modules/cellSysmodule.cpp index 5548a1bbb4..41eae6bb82 100644 --- a/rpcs3/Emu/Cell/Modules/cellSysmodule.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSysmodule.cpp @@ -406,6 +406,30 @@ error_code cellSysmoduleIsLoadedEx() return CELL_OK; } +error_code cellSysmoduleLoadModuleFile() +{ + UNIMPLEMENTED_FUNC(cellSysmodule); + return CELL_OK; +} + +error_code cellSysmoduleUnloadModuleFile() +{ + UNIMPLEMENTED_FUNC(cellSysmodule); + return CELL_OK; +} + +error_code cellSysmoduleSetDebugmode() +{ + UNIMPLEMENTED_FUNC(cellSysmodule); + return CELL_OK; +} + +error_code cellSysmoduleSetInternalmode() +{ + UNIMPLEMENTED_FUNC(cellSysmodule); + return CELL_OK; +} + DECLARE(ppu_module_manager::cellSysmodule)("cellSysmodule", []() { REG_FUNC(cellSysmodule, cellSysmoduleInitialize); @@ -421,4 +445,8 @@ DECLARE(ppu_module_manager::cellSysmodule)("cellSysmodule", []() REG_FUNC(cellSysmodule, cellSysmoduleUnloadModuleEx); REG_FUNC(cellSysmodule, cellSysmoduleLoadModuleEx); REG_FUNC(cellSysmodule, cellSysmoduleIsLoadedEx); + REG_FUNC(cellSysmodule, cellSysmoduleLoadModuleFile); + REG_FUNC(cellSysmodule, cellSysmoduleUnloadModuleFile); + REG_FUNC(cellSysmodule, cellSysmoduleSetDebugmode); + REG_FUNC(cellSysmodule, cellSysmoduleSetInternalmode); }); diff --git a/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp b/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp index 3407778d64..803d174549 100644 --- a/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNpTrophy.cpp @@ -1529,6 +1529,11 @@ error_code sceNpTrophyGetTrophyIcon(u32 context, u32 handle, s32 trophyId, vm::p return CELL_OK; } +error_code sceNpTrophyNetworkSync() +{ + UNIMPLEMENTED_FUNC(sceNpTrophy); + return CELL_OK; +} DECLARE(ppu_module_manager::sceNpTrophy)("sceNpTrophy", []() { @@ -1553,4 +1558,5 @@ DECLARE(ppu_module_manager::sceNpTrophy)("sceNpTrophy", []() REG_FUNC(sceNpTrophy, sceNpTrophyGetTrophyDetails); REG_FUNC(sceNpTrophy, sceNpTrophyGetTrophyInfo); REG_FUNC(sceNpTrophy, sceNpTrophyGetGameIcon); + REG_FUNC(sceNpTrophy, sceNpTrophyNetworkSync); }); From 086ab3cb37dc8e993ad72480047bd0739cd832d5 Mon Sep 17 00:00:00 2001 From: Tuna Celik <24642056+freakmaxi@users.noreply.github.com> Date: Thu, 29 Jan 2026 22:25:56 +0100 Subject: [PATCH 35/41] Fix for an emulation shutdown hang --- rpcs3/Emu/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 0fa9300cc2..b204cc38b9 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -3393,7 +3393,7 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s bool is_being_held_longer = false; - for (int i = 0; !*join_ended && thread_ctrl::state() != thread_state::aborting;) + for (int i = 0; !*join_ended && thread_ctrl::state() != thread_state::aborting; i++) { if (g_watchdog_hold_ctr) { From 97feb4eed48787b0e985483164fcff69d08b3179 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Thu, 29 Jan 2026 00:37:04 +0100 Subject: [PATCH 36/41] Add Message logging --- Utilities/StrUtil.h | 2 +- rpcs3/Emu/NP/np_handler.cpp | 5 +++++ rpcs3/Emu/NP/rpcn_client.cpp | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Utilities/StrUtil.h b/Utilities/StrUtil.h index b5df886164..d274cc074d 100644 --- a/Utilities/StrUtil.h +++ b/Utilities/StrUtil.h @@ -188,7 +188,7 @@ namespace fmt result.append(separator); } - return result.append(source.back()); + return result.append(*end); } template diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index 777301abbb..9dc02f983c 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -1085,6 +1085,11 @@ namespace np void np_handler::send_message(const message_data& msg_data, const std::set& npids) { + const std::string npids_string = fmt::format("\"%s\"", fmt::merge(npids, "\",\"")); + + rpcn_log.notice("Sending message to %s:", npids_string); + msg_data.print(); + get_rpcn()->send_message(msg_data, npids); } diff --git a/rpcs3/Emu/NP/rpcn_client.cpp b/rpcs3/Emu/NP/rpcn_client.cpp index a87fff8244..61ad839555 100644 --- a/rpcs3/Emu/NP/rpcn_client.cpp +++ b/rpcs3/Emu/NP/rpcn_client.cpp @@ -3122,6 +3122,7 @@ namespace rpcn if (sdata.is_error()) { + rpcn_log.error("Error parsing MessageReceived notification"); return; } @@ -3143,6 +3144,9 @@ namespace rpcn strcpy_trunc(mdata.commId.data, pb_mdata->communicationid()); mdata.data.assign(pb_mdata->data().begin(), pb_mdata->data().end()); + rpcn_log.notice("Received message from %s:", sender); + mdata.print(); + // Save the message and call callbacks { std::lock_guard lock(mutex_messages); From 4df51025e5a268aed439f7dea1fe0d3b4debf8a4 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Thu, 29 Jan 2026 05:05:06 +0100 Subject: [PATCH 37/41] Improve Message ComId handling --- rpcs3/Emu/Cell/Modules/sceNp2.cpp | 2 +- rpcs3/Emu/NP/np_helpers.cpp | 26 ++++++++++++++++++++------ rpcs3/Emu/NP/np_helpers.h | 2 +- rpcs3/Emu/NP/rpcn_client.cpp | 9 +++++---- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp2.cpp b/rpcs3/Emu/Cell/Modules/sceNp2.cpp index 98f2bf3883..fddc514bcc 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp2.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp2.cpp @@ -1345,7 +1345,7 @@ error_code sceNpMatching2CreateContext( error_code sceNpMatching2GetSignalingOptParamLocal(SceNpMatching2ContextId ctxId, SceNpMatching2RoomId roomId, vm::ptr signalingOptParam) { - sceNp2.todo("sceNpMatching2GetSignalingOptParamLocal(ctxId=%d, roomId=%d, signalingOptParam=*0x%x)", ctxId, roomId, signalingOptParam); + sceNp2.warning("sceNpMatching2GetSignalingOptParamLocal(ctxId=%d, roomId=%d, signalingOptParam=*0x%x)", ctxId, roomId, signalingOptParam); auto& nph = g_fxo->get>(); diff --git a/rpcs3/Emu/NP/np_helpers.cpp b/rpcs3/Emu/NP/np_helpers.cpp index b6e49b97b2..839b33b614 100644 --- a/rpcs3/Emu/NP/np_helpers.cpp +++ b/rpcs3/Emu/NP/np_helpers.cpp @@ -8,6 +8,8 @@ #include #endif +LOG_CHANNEL(rpcn_log, "rpcn"); + namespace np { std::string ip_to_string(u32 ip_addr) @@ -34,6 +36,24 @@ namespace np return fmt::format("%s_%02d", com_id_data, communicationId.num); } + std::optional string_to_communication_id(std::string_view str) + { + SceNpCommunicationId id{}; + + const auto split_id = fmt::split_sv(str, {"_"}); + + if (split_id.size() != 2 || split_id[0].length() != 9 || split_id[1].length() != 2 || !std::isdigit(split_id[1][0]) || !std::isdigit(split_id[1][1])) + { + rpcn_log.error("Tried to parse an invalid communication_id!"); + return std::nullopt; + } + + strcpy_trunc(id.data, split_id); + id.num = std::stoi(std::string(split_id[1])); + + return id; + } + void strings_to_userinfo(std::string_view npid, std::string_view online_name, std::string_view avatar_url, SceNpUserInfo& user_info) { memset(&user_info, 0, sizeof(user_info)); @@ -81,12 +101,6 @@ namespace np strcpy_trunc(avatar_url.data, str); } - void string_to_communication_id(std::string_view str, SceNpCommunicationId& comm_id) - { - memset(&comm_id, 0, sizeof(comm_id)); - strcpy_trunc(comm_id.data, str); - } - bool is_valid_npid(const SceNpId& npid) { if (!std::all_of(npid.handle.data, npid.handle.data + 16, [](char c) { return std::isalnum(c) || c == '-' || c == '_' || c == 0; } ) diff --git a/rpcs3/Emu/NP/np_helpers.h b/rpcs3/Emu/NP/np_helpers.h index 054e45388d..c33b4ca001 100644 --- a/rpcs3/Emu/NP/np_helpers.h +++ b/rpcs3/Emu/NP/np_helpers.h @@ -10,11 +10,11 @@ namespace np std::string ether_to_string(std::array& ether); bool validate_communication_id(const SceNpCommunicationId& com_id); std::string communication_id_to_string(const SceNpCommunicationId& communicationId); + std::optional string_to_communication_id(std::string_view str); void string_to_npid(std::string_view str, SceNpId& npid); void string_to_online_name(std::string_view str, SceNpOnlineName& online_name); void string_to_avatar_url(std::string_view str, SceNpAvatarUrl& avatar_url); - void string_to_communication_id(std::string_view str, SceNpCommunicationId& comm_id); void strings_to_userinfo(std::string_view npid, std::string_view online_name, std::string_view avatar_url, SceNpUserInfo& user_info); template diff --git a/rpcs3/Emu/NP/rpcn_client.cpp b/rpcs3/Emu/NP/rpcn_client.cpp index 61ad839555..cce4fa397b 100644 --- a/rpcs3/Emu/NP/rpcn_client.cpp +++ b/rpcs3/Emu/NP/rpcn_client.cpp @@ -2171,7 +2171,7 @@ namespace rpcn bool rpcn_client::send_message(const message_data& msg_data, const std::set& npids) { np2_structs::MessageDetails pb_message; - pb_message.set_communicationid(static_cast(msg_data.commId.data)); + pb_message.set_communicationid(np::communication_id_to_string(msg_data.commId)); pb_message.set_msgid(msg_data.msgId); pb_message.mutable_maintype()->set_value(msg_data.mainType); pb_message.mutable_subtype()->set_value(msg_data.subType); @@ -3126,8 +3126,9 @@ namespace rpcn return; } - if (pb_mdata->communicationid().empty() || pb_mdata->communicationid().size() > 9 || - pb_mdata->subject().empty() || pb_mdata->body().empty()) + const auto communication_id = np::string_to_communication_id(pb_mdata->communicationid()); + + if (!communication_id) { rpcn_log.warning("Discarded invalid message!"); return; @@ -3141,7 +3142,7 @@ namespace rpcn .subject = pb_mdata->subject(), .body = pb_mdata->body()}; - strcpy_trunc(mdata.commId.data, pb_mdata->communicationid()); + mdata.commId = *communication_id; mdata.data.assign(pb_mdata->data().begin(), pb_mdata->data().end()); rpcn_log.notice("Received message from %s:", sender); From 3e0cfc651d9e2363248dcc013fc15ed71328ec9a Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Thu, 29 Jan 2026 05:37:51 +0100 Subject: [PATCH 38/41] Fix sceNpBasicLimited_0xEB42E2E6 --- rpcs3/Emu/Cell/Modules/sceNp.cpp | 1 + rpcs3/Emu/NP/np_handler.cpp | 4 +--- rpcs3/Emu/NP/np_helpers.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp.cpp b/rpcs3/Emu/Cell/Modules/sceNp.cpp index ee9c308265..2a2075f0ca 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp.cpp @@ -1173,6 +1173,7 @@ error_code _sceNpBasicSendMessage(vm::cptr to, vm::cptr data, u32 { struct sceNpBasicSendMessage_time_slots { + sceNpBasicSendMessage_time_slots() = default; sceNpBasicSendMessage_time_slots(sceNpBasicSendMessage_time_slots&&) = delete; std::array data{}; }; diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index 9dc02f983c..bc65f545b3 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -1085,9 +1085,7 @@ namespace np void np_handler::send_message(const message_data& msg_data, const std::set& npids) { - const std::string npids_string = fmt::format("\"%s\"", fmt::merge(npids, "\",\"")); - - rpcn_log.notice("Sending message to %s:", npids_string); + rpcn_log.notice("Sending message to \"%s\":", fmt::merge(npids, "\",\"")); msg_data.print(); get_rpcn()->send_message(msg_data, npids); diff --git a/rpcs3/Emu/NP/np_helpers.cpp b/rpcs3/Emu/NP/np_helpers.cpp index 839b33b614..79f61ca627 100644 --- a/rpcs3/Emu/NP/np_helpers.cpp +++ b/rpcs3/Emu/NP/np_helpers.cpp @@ -48,7 +48,7 @@ namespace np return std::nullopt; } - strcpy_trunc(id.data, split_id); + strcpy_trunc(id.data, split_id[0]); id.num = std::stoi(std::string(split_id[1])); return id; From db3d9cd2179ac0c1080b997f277d9c114e82bc76 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Fri, 30 Jan 2026 10:28:49 +0100 Subject: [PATCH 39/41] Implement sceNpMatching2GetRoomMemberDataExternalList --- rpcs3/Emu/Cell/Modules/sceNp2.cpp | 9 +- rpcs3/Emu/NP/generated/np2_structs.pb.cc | 681 ++++++++++++++++++++++ rpcs3/Emu/NP/generated/np2_structs.pb.h | 692 +++++++++++++++++++++++ rpcs3/Emu/NP/generated/np2_structs.proto | 11 + rpcs3/Emu/NP/np_handler.cpp | 1 + rpcs3/Emu/NP/np_handler.h | 2 + rpcs3/Emu/NP/np_requests.cpp | 44 ++ rpcs3/Emu/NP/np_structs_extra.cpp | 24 + rpcs3/Emu/NP/np_structs_extra.h | 2 + rpcs3/Emu/NP/pb_helpers.cpp | 31 +- rpcs3/Emu/NP/pb_helpers.h | 2 + rpcs3/Emu/NP/rpcn_client.cpp | 11 + rpcs3/Emu/NP/rpcn_client.h | 1 + rpcs3/Emu/NP/rpcn_types.h | 1 + 14 files changed, 1506 insertions(+), 6 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp2.cpp b/rpcs3/Emu/Cell/Modules/sceNp2.cpp index fddc514bcc..c9816b60f5 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp2.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp2.cpp @@ -798,7 +798,7 @@ error_code sceNpMatching2JoinLobby( error_code sceNpMatching2GetRoomMemberDataExternalList(SceNpMatching2ContextId ctxId, vm::cptr reqParam, vm::cptr optParam, vm::ptr assignedReqId) { - sceNp2.todo("sceNpMatching2GetRoomMemberDataExternalList(ctxId=%d, reqParam=*0x%x, optParam=*0x%x, assignedReqId=*0x%x)", ctxId, reqParam, optParam, assignedReqId); + sceNp2.warning("sceNpMatching2GetRoomMemberDataExternalList(ctxId=%d, reqParam=*0x%x, optParam=*0x%x, assignedReqId=*0x%x)", ctxId, reqParam, optParam, assignedReqId); auto& nph = g_fxo->get>(); if (auto res = generic_match2_error_check(nph, ctxId, reqParam); res != CELL_OK) @@ -806,6 +806,13 @@ error_code sceNpMatching2GetRoomMemberDataExternalList(SceNpMatching2ContextId c return res; } + const u32 request_id = nph.get_room_member_data_external_list(ctxId, optParam, reqParam.get_ptr()); + + if (assignedReqId) + { + *assignedReqId = request_id; + } + return CELL_OK; } diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.cc b/rpcs3/Emu/NP/generated/np2_structs.pb.cc index 6416723f11..2a4c4f6241 100644 --- a/rpcs3/Emu/NP/generated/np2_structs.pb.cc +++ b/rpcs3/Emu/NP/generated/np2_structs.pb.cc @@ -1299,6 +1299,33 @@ struct RoomMessageInfoDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMessageInfoDefaultTypeInternal _RoomMessageInfo_default_instance_; +inline constexpr RoomMemberDataExternal::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + userinfo_{nullptr}, + role_{nullptr}, + joindate_{::uint64_t{0u}} {} + +template +PROTOBUF_CONSTEXPR RoomMemberDataExternal::RoomMemberDataExternal(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(RoomMemberDataExternal_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RoomMemberDataExternalDefaultTypeInternal { + PROTOBUF_CONSTEXPR RoomMemberDataExternalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RoomMemberDataExternalDefaultTypeInternal() {} + union { + RoomMemberDataExternal _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoomMemberDataExternalDefaultTypeInternal _RoomMemberDataExternal_default_instance_; + inline constexpr RoomGroupPasswordConfig::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, @@ -2161,6 +2188,31 @@ struct IntSearchFilterDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntSearchFilterDefaultTypeInternal _IntSearchFilter_default_instance_; +inline constexpr GetRoomMemberDataExternalListResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + members_{} {} + +template +PROTOBUF_CONSTEXPR GetRoomMemberDataExternalListResponse::GetRoomMemberDataExternalListResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(GetRoomMemberDataExternalListResponse_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct GetRoomMemberDataExternalListResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetRoomMemberDataExternalListResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetRoomMemberDataExternalListResponseDefaultTypeInternal() {} + union { + GetRoomMemberDataExternalListResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRoomMemberDataExternalListResponseDefaultTypeInternal _GetRoomMemberDataExternalListResponse_default_instance_; + inline constexpr CreateJoinRoomRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, @@ -36071,6 +36123,635 @@ void MatchingSearchJoinRoomInfo::InternalSwap(MatchingSearchJoinRoomInfo* PROTOB swap(_impl_.room_, other->_impl_.room_); } +// =================================================================== + +class RoomMemberDataExternal::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_._has_bits_); +}; + +RoomMemberDataExternal::RoomMemberDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberDataExternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.RoomMemberDataExternal) +} +PROTOBUF_NDEBUG_INLINE RoomMemberDataExternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::RoomMemberDataExternal& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RoomMemberDataExternal::RoomMemberDataExternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const RoomMemberDataExternal& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, RoomMemberDataExternal_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RoomMemberDataExternal* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.userinfo_ = (CheckHasBit(cached_has_bits, 0x00000001U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.userinfo_) + : nullptr; + _impl_.role_ = (CheckHasBit(cached_has_bits, 0x00000002U)) + ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.role_) + : nullptr; + _impl_.joindate_ = from._impl_.joindate_; + + // @@protoc_insertion_point(copy_constructor:np2_structs.RoomMemberDataExternal) +} +PROTOBUF_NDEBUG_INLINE RoomMemberDataExternal::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0} {} + +inline void RoomMemberDataExternal::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, userinfo_), + 0, + offsetof(Impl_, joindate_) - + offsetof(Impl_, userinfo_) + + sizeof(Impl_::joindate_)); +} +RoomMemberDataExternal::~RoomMemberDataExternal() { + // @@protoc_insertion_point(destructor:np2_structs.RoomMemberDataExternal) + SharedDtor(*this); +} +inline void RoomMemberDataExternal::SharedDtor(MessageLite& self) { + RoomMemberDataExternal& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.userinfo_; + delete this_._impl_.role_; + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL RoomMemberDataExternal::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) RoomMemberDataExternal(arena); +} +constexpr auto RoomMemberDataExternal::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RoomMemberDataExternal), + alignof(RoomMemberDataExternal)); +} +constexpr auto RoomMemberDataExternal::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<35>{ + { + &_RoomMemberDataExternal_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RoomMemberDataExternal::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RoomMemberDataExternal::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &RoomMemberDataExternal::ByteSizeLong, + &RoomMemberDataExternal::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_._cached_size_), + true, + }, + "np2_structs.RoomMemberDataExternal", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataExternal_class_data_ = + RoomMemberDataExternal::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +RoomMemberDataExternal::GetClassData() const { + return RoomMemberDataExternal_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> +RoomMemberDataExternal::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + RoomMemberDataExternal_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataExternal>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .np2_structs.UserInfo userInfo = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.userinfo_)}}, + // uint64 joinDate = 2; + {::_pbi::TcParser::FastV64S1, + {16, 2, 0, + PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.joindate_)}}, + // .np2_structs.uint8 role = 3; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, + PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.role_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .np2_structs.UserInfo userInfo = 1; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.userinfo_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 joinDate = 2; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.joindate_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, + // .np2_structs.uint8 role = 3; + {PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.role_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::UserInfo>()}, + {::_pbi::TcParser::GetTable<::np2_structs::uint8>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void RoomMemberDataExternal::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.RoomMemberDataExternal) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(_impl_.userinfo_ != nullptr); + _impl_.userinfo_->Clear(); + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(_impl_.role_ != nullptr); + _impl_.role_->Clear(); + } + } + _impl_.joindate_ = ::uint64_t{0u}; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL RoomMemberDataExternal::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const RoomMemberDataExternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL RoomMemberDataExternal::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const RoomMemberDataExternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.RoomMemberDataExternal) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .np2_structs.UserInfo userInfo = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.userinfo_, this_._impl_.userinfo_->GetCachedSize(), target, + stream); + } + + // uint64 joinDate = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_joindate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_joindate(), target); + } + } + + // .np2_structs.uint8 role = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.role_, this_._impl_.role_->GetCachedSize(), target, + stream); + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.RoomMemberDataExternal) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t RoomMemberDataExternal::ByteSizeLong(const MessageLite& base) { + const RoomMemberDataExternal& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t RoomMemberDataExternal::ByteSizeLong() const { + const RoomMemberDataExternal& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.RoomMemberDataExternal) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + // .np2_structs.UserInfo userInfo = 1; + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.userinfo_); + } + // .np2_structs.uint8 role = 3; + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.role_); + } + // uint64 joinDate = 2; + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (this_._internal_joindate() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_joindate()); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void RoomMemberDataExternal::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.RoomMemberDataExternal) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) { + if (CheckHasBit(cached_has_bits, 0x00000001U)) { + ABSL_DCHECK(from._impl_.userinfo_ != nullptr); + if (_this->_impl_.userinfo_ == nullptr) { + _this->_impl_.userinfo_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.userinfo_); + } else { + _this->_impl_.userinfo_->MergeFrom(*from._impl_.userinfo_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000002U)) { + ABSL_DCHECK(from._impl_.role_ != nullptr); + if (_this->_impl_.role_ == nullptr) { + _this->_impl_.role_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.role_); + } else { + _this->_impl_.role_->MergeFrom(*from._impl_.role_); + } + } + if (CheckHasBit(cached_has_bits, 0x00000004U)) { + if (from._internal_joindate() != 0) { + _this->_impl_.joindate_ = from._impl_.joindate_; + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void RoomMemberDataExternal::CopyFrom(const RoomMemberDataExternal& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.RoomMemberDataExternal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RoomMemberDataExternal::InternalSwap(RoomMemberDataExternal* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.joindate_) + + sizeof(RoomMemberDataExternal::_impl_.joindate_) + - PROTOBUF_FIELD_OFFSET(RoomMemberDataExternal, _impl_.userinfo_)>( + reinterpret_cast(&_impl_.userinfo_), + reinterpret_cast(&other->_impl_.userinfo_)); +} + +// =================================================================== + +class GetRoomMemberDataExternalListResponse::_Internal { + public: + using HasBits = + decltype(::std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetRoomMemberDataExternalListResponse, _impl_._has_bits_); +}; + +GetRoomMemberDataExternalListResponse::GetRoomMemberDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomMemberDataExternalListResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:np2_structs.GetRoomMemberDataExternalListResponse) +} +PROTOBUF_NDEBUG_INLINE GetRoomMemberDataExternalListResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + [[maybe_unused]] const ::np2_structs::GetRoomMemberDataExternalListResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + members_{visibility, arena, from.members_} {} + +GetRoomMemberDataExternalListResponse::GetRoomMemberDataExternalListResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, + const GetRoomMemberDataExternalListResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::MessageLite(arena, GetRoomMemberDataExternalListResponse_class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::MessageLite(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetRoomMemberDataExternalListResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:np2_structs.GetRoomMemberDataExternalListResponse) +} +PROTOBUF_NDEBUG_INLINE GetRoomMemberDataExternalListResponse::Impl_::Impl_( + [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, + [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) + : _cached_size_{0}, + members_{visibility, arena} {} + +inline void GetRoomMemberDataExternalListResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +GetRoomMemberDataExternalListResponse::~GetRoomMemberDataExternalListResponse() { + // @@protoc_insertion_point(destructor:np2_structs.GetRoomMemberDataExternalListResponse) + SharedDtor(*this); +} +inline void GetRoomMemberDataExternalListResponse::SharedDtor(MessageLite& self) { + GetRoomMemberDataExternalListResponse& this_ = static_cast(self); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + this_._internal_metadata_.Delete<::std::string>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PROTOBUF_NONNULL GetRoomMemberDataExternalListResponse::PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { + return ::new (mem) GetRoomMemberDataExternalListResponse(arena); +} +constexpr auto GetRoomMemberDataExternalListResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataExternalListResponse, _impl_.members_) + + decltype(GetRoomMemberDataExternalListResponse::_impl_.members_):: + InternalGetArenaOffset( + ::google::protobuf::MessageLite::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(GetRoomMemberDataExternalListResponse), alignof(GetRoomMemberDataExternalListResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&GetRoomMemberDataExternalListResponse::PlacementNew_, + sizeof(GetRoomMemberDataExternalListResponse), + alignof(GetRoomMemberDataExternalListResponse)); + } +} +constexpr auto GetRoomMemberDataExternalListResponse::InternalGenerateClassData_() { + return ::google::protobuf::internal::ClassDataLite<50>{ + { + &_GetRoomMemberDataExternalListResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetRoomMemberDataExternalListResponse::MergeImpl, + ::google::protobuf::MessageLite::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetRoomMemberDataExternalListResponse::SharedDtor, + ::google::protobuf::MessageLite::GetClearImpl(), &GetRoomMemberDataExternalListResponse::ByteSizeLong, + &GetRoomMemberDataExternalListResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataExternalListResponse, _impl_._cached_size_), + true, + }, + "np2_structs.GetRoomMemberDataExternalListResponse", + }; +} + +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataLite<50> GetRoomMemberDataExternalListResponse_class_data_ = + GetRoomMemberDataExternalListResponse::InternalGenerateClassData_(); + +PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL +GetRoomMemberDataExternalListResponse::GetClassData() const { + return GetRoomMemberDataExternalListResponse_class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> +GetRoomMemberDataExternalListResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataExternalListResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + GetRoomMemberDataExternalListResponse_class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallbackLite, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::np2_structs::GetRoomMemberDataExternalListResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .np2_structs.RoomMemberDataExternal members = 1; + {::_pbi::TcParser::FastMtR1, + {10, 0, 0, + PROTOBUF_FIELD_OFFSET(GetRoomMemberDataExternalListResponse, _impl_.members_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .np2_structs.RoomMemberDataExternal members = 1; + {PROTOBUF_FIELD_OFFSET(GetRoomMemberDataExternalListResponse, _impl_.members_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, + {{ + {::_pbi::TcParser::GetTable<::np2_structs::RoomMemberDataExternal>()}, + }}, + {{ + }}, +}; +PROTOBUF_NOINLINE void GetRoomMemberDataExternalListResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:np2_structs.GetRoomMemberDataExternalListResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _impl_.members_.Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::std::string>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::uint8_t* PROTOBUF_NONNULL GetRoomMemberDataExternalListResponse::_InternalSerialize( + const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { + const GetRoomMemberDataExternalListResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::uint8_t* PROTOBUF_NONNULL GetRoomMemberDataExternalListResponse::_InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + const GetRoomMemberDataExternalListResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + this_.CheckHasBitConsistency(); + } + // @@protoc_insertion_point(serialize_to_array_start:np2_structs.GetRoomMemberDataExternalListResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // repeated .np2_structs.RoomMemberDataExternal members = 1; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + for (unsigned i = 0, n = static_cast( + this_._internal_members_size()); + i < n; i++) { + const auto& repfield = this_._internal_members().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + } + + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw( + this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(), + static_cast(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:np2_structs.GetRoomMemberDataExternalListResponse) + return target; +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) +::size_t GetRoomMemberDataExternalListResponse::ByteSizeLong(const MessageLite& base) { + const GetRoomMemberDataExternalListResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE +::size_t GetRoomMemberDataExternalListResponse::ByteSizeLong() const { + const GetRoomMemberDataExternalListResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:np2_structs.GetRoomMemberDataExternalListResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .np2_structs.RoomMemberDataExternal members = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + total_size += 1UL * this_._internal_members_size(); + for (const auto& msg : this_._internal_members()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size(); + } + this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size)); + return total_size; +} + +void GetRoomMemberDataExternalListResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = + static_cast(&to_msg); + auto& from = static_cast(from_msg); + if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { + from.CheckHasBitConsistency(); + } + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:np2_structs.GetRoomMemberDataExternalListResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) { + _this->_internal_mutable_members()->InternalMergeFromWithArena( + ::google::protobuf::MessageLite::internal_visibility(), arena, + from._internal_members()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::std::string>( + from._internal_metadata_); +} + +void GetRoomMemberDataExternalListResponse::CopyFrom(const GetRoomMemberDataExternalListResponse& from) { + // @@protoc_insertion_point(class_specific_copy_from_start:np2_structs.GetRoomMemberDataExternalListResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetRoomMemberDataExternalListResponse::InternalSwap(GetRoomMemberDataExternalListResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { + using ::std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.members_.InternalSwap(&other->_impl_.members_); +} + // @@protoc_insertion_point(namespace_scope) } // namespace np2_structs namespace google { diff --git a/rpcs3/Emu/NP/generated/np2_structs.pb.h b/rpcs3/Emu/NP/generated/np2_structs.pb.h index 0e035973fd..4e435b3b07 100644 --- a/rpcs3/Emu/NP/generated/np2_structs.pb.h +++ b/rpcs3/Emu/NP/generated/np2_structs.pb.h @@ -99,6 +99,10 @@ class GetRoomListGUIRequest; struct GetRoomListGUIRequestDefaultTypeInternal; extern GetRoomListGUIRequestDefaultTypeInternal _GetRoomListGUIRequest_default_instance_; extern const ::google::protobuf::internal::ClassDataLite<34> GetRoomListGUIRequest_class_data_; +class GetRoomMemberDataExternalListResponse; +struct GetRoomMemberDataExternalListResponseDefaultTypeInternal; +extern GetRoomMemberDataExternalListResponseDefaultTypeInternal _GetRoomMemberDataExternalListResponse_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<50> GetRoomMemberDataExternalListResponse_class_data_; class GetRoomMemberDataInternalRequest; struct GetRoomMemberDataInternalRequestDefaultTypeInternal; extern GetRoomMemberDataInternalRequestDefaultTypeInternal _GetRoomMemberDataInternalRequest_default_instance_; @@ -235,6 +239,10 @@ class RoomMemberBinAttrInternal; struct RoomMemberBinAttrInternalDefaultTypeInternal; extern RoomMemberBinAttrInternalDefaultTypeInternal _RoomMemberBinAttrInternal_default_instance_; extern const ::google::protobuf::internal::ClassDataLite<38> RoomMemberBinAttrInternal_class_data_; +class RoomMemberDataExternal; +struct RoomMemberDataExternalDefaultTypeInternal; +extern RoomMemberDataExternalDefaultTypeInternal _RoomMemberDataExternal_default_instance_; +extern const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataExternal_class_data_; class RoomMemberDataInternal; struct RoomMemberDataInternalDefaultTypeInternal; extern RoomMemberDataInternalDefaultTypeInternal _RoomMemberDataInternal_default_instance_; @@ -9818,6 +9826,218 @@ class RoomMessageInfo final : public ::google::protobuf::MessageLite extern const ::google::protobuf::internal::ClassDataLite<28> RoomMessageInfo_class_data_; // ------------------------------------------------------------------- +class RoomMemberDataExternal final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.RoomMemberDataExternal) */ { + public: + inline RoomMemberDataExternal() : RoomMemberDataExternal(nullptr) {} + ~RoomMemberDataExternal() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RoomMemberDataExternal* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RoomMemberDataExternal)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RoomMemberDataExternal(::google::protobuf::internal::ConstantInitialized); + + inline RoomMemberDataExternal(const RoomMemberDataExternal& from) : RoomMemberDataExternal(nullptr, from) {} + inline RoomMemberDataExternal(RoomMemberDataExternal&& from) noexcept + : RoomMemberDataExternal(nullptr, ::std::move(from)) {} + inline RoomMemberDataExternal& operator=(const RoomMemberDataExternal& from) { + CopyFrom(from); + return *this; + } + inline RoomMemberDataExternal& operator=(RoomMemberDataExternal&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const RoomMemberDataExternal& default_instance() { + return *reinterpret_cast( + &_RoomMemberDataExternal_default_instance_); + } + static constexpr int kIndexInFileMessages = 89; + friend void swap(RoomMemberDataExternal& a, RoomMemberDataExternal& b) { a.Swap(&b); } + inline void Swap(RoomMemberDataExternal* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RoomMemberDataExternal* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RoomMemberDataExternal* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const RoomMemberDataExternal& from); + void MergeFrom(const RoomMemberDataExternal& from) { RoomMemberDataExternal::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RoomMemberDataExternal* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.RoomMemberDataExternal"; } + + explicit RoomMemberDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + RoomMemberDataExternal(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoomMemberDataExternal& from); + RoomMemberDataExternal( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoomMemberDataExternal&& from) noexcept + : RoomMemberDataExternal(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kUserInfoFieldNumber = 1, + kRoleFieldNumber = 3, + kJoinDateFieldNumber = 2, + }; + // .np2_structs.UserInfo userInfo = 1; + bool has_userinfo() const; + void clear_userinfo() ; + const ::np2_structs::UserInfo& userinfo() const; + [[nodiscard]] ::np2_structs::UserInfo* PROTOBUF_NULLABLE release_userinfo(); + ::np2_structs::UserInfo* PROTOBUF_NONNULL mutable_userinfo(); + void set_allocated_userinfo(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_userinfo(::np2_structs::UserInfo* PROTOBUF_NULLABLE value); + ::np2_structs::UserInfo* PROTOBUF_NULLABLE unsafe_arena_release_userinfo(); + + private: + const ::np2_structs::UserInfo& _internal_userinfo() const; + ::np2_structs::UserInfo* PROTOBUF_NONNULL _internal_mutable_userinfo(); + + public: + // .np2_structs.uint8 role = 3; + bool has_role() const; + void clear_role() ; + const ::np2_structs::uint8& role() const; + [[nodiscard]] ::np2_structs::uint8* PROTOBUF_NULLABLE release_role(); + ::np2_structs::uint8* PROTOBUF_NONNULL mutable_role(); + void set_allocated_role(::np2_structs::uint8* PROTOBUF_NULLABLE value); + void unsafe_arena_set_allocated_role(::np2_structs::uint8* PROTOBUF_NULLABLE value); + ::np2_structs::uint8* PROTOBUF_NULLABLE unsafe_arena_release_role(); + + private: + const ::np2_structs::uint8& _internal_role() const; + ::np2_structs::uint8* PROTOBUF_NONNULL _internal_mutable_role(); + + public: + // uint64 joinDate = 2; + void clear_joindate() ; + ::uint64_t joindate() const; + void set_joindate(::uint64_t value); + + private: + ::uint64_t _internal_joindate() const; + void _internal_set_joindate(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:np2_structs.RoomMemberDataExternal) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<2, 3, + 2, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const RoomMemberDataExternal& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::np2_structs::UserInfo* PROTOBUF_NULLABLE userinfo_; + ::np2_structs::uint8* PROTOBUF_NULLABLE role_; + ::uint64_t joindate_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<35> RoomMemberDataExternal_class_data_; +// ------------------------------------------------------------------- + class RoomGroupPasswordConfig final : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:np2_structs.RoomGroupPasswordConfig) */ { public: @@ -16603,6 +16823,191 @@ class IntSearchFilter final : public ::google::protobuf::MessageLite extern const ::google::protobuf::internal::ClassDataLite<28> IntSearchFilter_class_data_; // ------------------------------------------------------------------- +class GetRoomMemberDataExternalListResponse final : public ::google::protobuf::MessageLite +/* @@protoc_insertion_point(class_definition:np2_structs.GetRoomMemberDataExternalListResponse) */ { + public: + inline GetRoomMemberDataExternalListResponse() : GetRoomMemberDataExternalListResponse(nullptr) {} + ~GetRoomMemberDataExternalListResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetRoomMemberDataExternalListResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRoomMemberDataExternalListResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR GetRoomMemberDataExternalListResponse(::google::protobuf::internal::ConstantInitialized); + + inline GetRoomMemberDataExternalListResponse(const GetRoomMemberDataExternalListResponse& from) : GetRoomMemberDataExternalListResponse(nullptr, from) {} + inline GetRoomMemberDataExternalListResponse(GetRoomMemberDataExternalListResponse&& from) noexcept + : GetRoomMemberDataExternalListResponse(nullptr, ::std::move(from)) {} + inline GetRoomMemberDataExternalListResponse& operator=(const GetRoomMemberDataExternalListResponse& from) { + CopyFrom(from); + return *this; + } + inline GetRoomMemberDataExternalListResponse& operator=(GetRoomMemberDataExternalListResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::std::string& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString); + } + inline ::std::string* PROTOBUF_NONNULL mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::std::string>(); + } + + static const GetRoomMemberDataExternalListResponse& default_instance() { + return *reinterpret_cast( + &_GetRoomMemberDataExternalListResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 90; + friend void swap(GetRoomMemberDataExternalListResponse& a, GetRoomMemberDataExternalListResponse& b) { a.Swap(&b); } + inline void Swap(GetRoomMemberDataExternalListResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetRoomMemberDataExternalListResponse* PROTOBUF_NONNULL other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetRoomMemberDataExternalListResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { + return ::google::protobuf::MessageLite::DefaultConstruct(arena); + } + void CopyFrom(const GetRoomMemberDataExternalListResponse& from); + void MergeFrom(const GetRoomMemberDataExternalListResponse& from) { GetRoomMemberDataExternalListResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl(::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( + ::uint8_t* PROTOBUF_NONNULL target, + ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetRoomMemberDataExternalListResponse* PROTOBUF_NONNULL other); + private: + template + friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "np2_structs.GetRoomMemberDataExternalListResponse"; } + + explicit GetRoomMemberDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + GetRoomMemberDataExternalListResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GetRoomMemberDataExternalListResponse& from); + GetRoomMemberDataExternalListResponse( + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GetRoomMemberDataExternalListResponse&& from) noexcept + : GetRoomMemberDataExternalListResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; + static void* PROTOBUF_NONNULL PlacementNew_( + const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + static constexpr auto InternalNewImpl_(); + + public: + static constexpr auto InternalGenerateClassData_(); + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kMembersFieldNumber = 1, + }; + // repeated .np2_structs.RoomMemberDataExternal members = 1; + int members_size() const; + private: + int _internal_members_size() const; + + public: + void clear_members() ; + ::np2_structs::RoomMemberDataExternal* PROTOBUF_NONNULL mutable_members(int index); + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>* PROTOBUF_NONNULL mutable_members(); + + private: + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>& _internal_members() const; + ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>* PROTOBUF_NONNULL _internal_mutable_members(); + public: + const ::np2_structs::RoomMemberDataExternal& members(int index) const; + ::np2_structs::RoomMemberDataExternal* PROTOBUF_NONNULL add_members(); + const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>& members() const; + // @@protoc_insertion_point(class_scope:np2_structs.GetRoomMemberDataExternalListResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable<0, 1, + 1, 0, + 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); + inline explicit Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, + const GetRoomMemberDataExternalListResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::np2_structs::RoomMemberDataExternal > members_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_np2_5fstructs_2eproto; +}; + +extern const ::google::protobuf::internal::ClassDataLite<50> GetRoomMemberDataExternalListResponse_class_data_; +// ------------------------------------------------------------------- + class CreateJoinRoomRequest final : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:np2_structs.CreateJoinRoomRequest) */ { public: @@ -38603,6 +39008,293 @@ MatchingSearchJoinRoomInfo::_internal_mutable_attr() { return &_impl_.attr_; } +// ------------------------------------------------------------------- + +// RoomMemberDataExternal + +// .np2_structs.UserInfo userInfo = 1; +inline bool RoomMemberDataExternal::has_userinfo() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U); + PROTOBUF_ASSUME(!value || _impl_.userinfo_ != nullptr); + return value; +} +inline void RoomMemberDataExternal::clear_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.userinfo_ != nullptr) _impl_.userinfo_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000001U); +} +inline const ::np2_structs::UserInfo& RoomMemberDataExternal::_internal_userinfo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::UserInfo* p = _impl_.userinfo_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_UserInfo_default_instance_); +} +inline const ::np2_structs::UserInfo& RoomMemberDataExternal::userinfo() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataExternal.userInfo) + return _internal_userinfo(); +} +inline void RoomMemberDataExternal::unsafe_arena_set_allocated_userinfo( + ::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.userinfo_); + } + _impl_.userinfo_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataExternal.userInfo) +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomMemberDataExternal::release_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::UserInfo* released = _impl_.userinfo_; + _impl_.userinfo_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::UserInfo* PROTOBUF_NULLABLE RoomMemberDataExternal::unsafe_arena_release_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataExternal.userInfo) + + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::UserInfo* temp = _impl_.userinfo_; + _impl_.userinfo_ = nullptr; + return temp; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomMemberDataExternal::_internal_mutable_userinfo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.userinfo_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::UserInfo>(GetArena()); + _impl_.userinfo_ = reinterpret_cast<::np2_structs::UserInfo*>(p); + } + return _impl_.userinfo_; +} +inline ::np2_structs::UserInfo* PROTOBUF_NONNULL RoomMemberDataExternal::mutable_userinfo() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + ::np2_structs::UserInfo* _msg = _internal_mutable_userinfo(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataExternal.userInfo) + return _msg; +} +inline void RoomMemberDataExternal::set_allocated_userinfo(::np2_structs::UserInfo* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.userinfo_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000001U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000001U); + } + + _impl_.userinfo_ = reinterpret_cast<::np2_structs::UserInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataExternal.userInfo) +} + +// uint64 joinDate = 2; +inline void RoomMemberDataExternal::clear_joindate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joindate_ = ::uint64_t{0u}; + ClearHasBit(_impl_._has_bits_[0], + 0x00000004U); +} +inline ::uint64_t RoomMemberDataExternal::joindate() const { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataExternal.joinDate) + return _internal_joindate(); +} +inline void RoomMemberDataExternal::set_joindate(::uint64_t value) { + _internal_set_joindate(value); + SetHasBit(_impl_._has_bits_[0], 0x00000004U); + // @@protoc_insertion_point(field_set:np2_structs.RoomMemberDataExternal.joinDate) +} +inline ::uint64_t RoomMemberDataExternal::_internal_joindate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.joindate_; +} +inline void RoomMemberDataExternal::_internal_set_joindate(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.joindate_ = value; +} + +// .np2_structs.uint8 role = 3; +inline bool RoomMemberDataExternal::has_role() const { + bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U); + PROTOBUF_ASSUME(!value || _impl_.role_ != nullptr); + return value; +} +inline void RoomMemberDataExternal::clear_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.role_ != nullptr) _impl_.role_->Clear(); + ClearHasBit(_impl_._has_bits_[0], + 0x00000002U); +} +inline const ::np2_structs::uint8& RoomMemberDataExternal::_internal_role() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::np2_structs::uint8* p = _impl_.role_; + return p != nullptr ? *p : reinterpret_cast(::np2_structs::_uint8_default_instance_); +} +inline const ::np2_structs::uint8& RoomMemberDataExternal::role() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.RoomMemberDataExternal.role) + return _internal_role(); +} +inline void RoomMemberDataExternal::unsafe_arena_set_allocated_role( + ::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.role_); + } + _impl_.role_ = reinterpret_cast<::np2_structs::uint8*>(value); + if (value != nullptr) { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:np2_structs.RoomMemberDataExternal.role) +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataExternal::release_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* released = _impl_.role_; + _impl_.role_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::np2_structs::uint8* PROTOBUF_NULLABLE RoomMemberDataExternal::unsafe_arena_release_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:np2_structs.RoomMemberDataExternal.role) + + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* temp = _impl_.role_; + _impl_.role_ = nullptr; + return temp; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataExternal::_internal_mutable_role() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.role_ == nullptr) { + auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::np2_structs::uint8>(GetArena()); + _impl_.role_ = reinterpret_cast<::np2_structs::uint8*>(p); + } + return _impl_.role_; +} +inline ::np2_structs::uint8* PROTOBUF_NONNULL RoomMemberDataExternal::mutable_role() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + ::np2_structs::uint8* _msg = _internal_mutable_role(); + // @@protoc_insertion_point(field_mutable:np2_structs.RoomMemberDataExternal.role) + return _msg; +} +inline void RoomMemberDataExternal::set_allocated_role(::np2_structs::uint8* PROTOBUF_NULLABLE value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.role_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = value->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + SetHasBit(_impl_._has_bits_[0], 0x00000002U); + } else { + ClearHasBit(_impl_._has_bits_[0], 0x00000002U); + } + + _impl_.role_ = reinterpret_cast<::np2_structs::uint8*>(value); + // @@protoc_insertion_point(field_set_allocated:np2_structs.RoomMemberDataExternal.role) +} + +// ------------------------------------------------------------------- + +// GetRoomMemberDataExternalListResponse + +// repeated .np2_structs.RoomMemberDataExternal members = 1; +inline int GetRoomMemberDataExternalListResponse::_internal_members_size() const { + return _internal_members().size(); +} +inline int GetRoomMemberDataExternalListResponse::members_size() const { + return _internal_members_size(); +} +inline void GetRoomMemberDataExternalListResponse::clear_members() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.members_.Clear(); + ClearHasBitForRepeated(_impl_._has_bits_[0], + 0x00000001U); +} +inline ::np2_structs::RoomMemberDataExternal* PROTOBUF_NONNULL GetRoomMemberDataExternalListResponse::mutable_members(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:np2_structs.GetRoomMemberDataExternalListResponse.members) + return _internal_mutable_members()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>* PROTOBUF_NONNULL GetRoomMemberDataExternalListResponse::mutable_members() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_mutable_list:np2_structs.GetRoomMemberDataExternalListResponse.members) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_members(); +} +inline const ::np2_structs::RoomMemberDataExternal& GetRoomMemberDataExternalListResponse::members(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:np2_structs.GetRoomMemberDataExternalListResponse.members) + return _internal_members().Get(index); +} +inline ::np2_structs::RoomMemberDataExternal* PROTOBUF_NONNULL GetRoomMemberDataExternalListResponse::add_members() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::np2_structs::RoomMemberDataExternal* _add = + _internal_mutable_members()->InternalAddWithArena( + ::google::protobuf::MessageLite::internal_visibility(), GetArena()); + SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U); + // @@protoc_insertion_point(field_add:np2_structs.GetRoomMemberDataExternalListResponse.members) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>& GetRoomMemberDataExternalListResponse::members() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:np2_structs.GetRoomMemberDataExternalListResponse.members) + return _internal_members(); +} +inline const ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>& +GetRoomMemberDataExternalListResponse::_internal_members() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.members_; +} +inline ::google::protobuf::RepeatedPtrField<::np2_structs::RoomMemberDataExternal>* PROTOBUF_NONNULL +GetRoomMemberDataExternalListResponse::_internal_mutable_members() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.members_; +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ diff --git a/rpcs3/Emu/NP/generated/np2_structs.proto b/rpcs3/Emu/NP/generated/np2_structs.proto index 46628781fb..fcb5c7304e 100644 --- a/rpcs3/Emu/NP/generated/np2_structs.proto +++ b/rpcs3/Emu/NP/generated/np2_structs.proto @@ -606,3 +606,14 @@ message MatchingSearchJoinRoomInfo { MatchingRoomStatus room = 1; repeated MatchingAttr attr = 2; } + +message RoomMemberDataExternal { + UserInfo userInfo = 1; + uint64 joinDate = 2; + uint8 role = 3; +} + +message GetRoomMemberDataExternalListResponse +{ + repeated RoomMemberDataExternal members = 1; +} diff --git a/rpcs3/Emu/NP/np_handler.cpp b/rpcs3/Emu/NP/np_handler.cpp index bc65f545b3..c4db3350c0 100644 --- a/rpcs3/Emu/NP/np_handler.cpp +++ b/rpcs3/Emu/NP/np_handler.cpp @@ -1127,6 +1127,7 @@ namespace np case rpcn::CommandType::LeaveRoom: reply_leave_room(req_id, error, reply_data); break; case rpcn::CommandType::SearchRoom: reply_search_room(req_id, error, reply_data); break; case rpcn::CommandType::GetRoomDataExternalList: reply_get_roomdata_external_list(req_id, error, reply_data); break; + case rpcn::CommandType::GetRoomMemberDataExternalList: reply_get_room_member_data_external_list(req_id, error, reply_data); break; case rpcn::CommandType::SetRoomDataExternal: reply_set_roomdata_external(req_id, error); break; case rpcn::CommandType::GetRoomDataInternal: reply_get_roomdata_internal(req_id, error, reply_data); break; case rpcn::CommandType::SetRoomDataInternal: reply_set_roomdata_internal(req_id, error); break; diff --git a/rpcs3/Emu/NP/np_handler.h b/rpcs3/Emu/NP/np_handler.h index 51d510b854..9c02007a9c 100644 --- a/rpcs3/Emu/NP/np_handler.h +++ b/rpcs3/Emu/NP/np_handler.h @@ -177,6 +177,7 @@ namespace np u32 leave_room(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2LeaveRoomRequest* req); u32 search_room(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2SearchRoomRequest* req); u32 get_roomdata_external_list(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2GetRoomDataExternalListRequest* req); + u32 get_room_member_data_external_list(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2GetRoomMemberDataExternalListRequest* req); u32 set_roomdata_external(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2SetRoomDataExternalRequest* req); u32 get_roomdata_internal(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2GetRoomDataInternalRequest* req); u32 set_roomdata_internal(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2SetRoomDataInternalRequest* req); @@ -323,6 +324,7 @@ namespace np void reply_leave_room(u32 req_id, rpcn::ErrorType error, vec_stream& reply); void reply_search_room(u32 req_id, rpcn::ErrorType error, vec_stream& reply); void reply_get_roomdata_external_list(u32 req_id, rpcn::ErrorType error, vec_stream& reply); + void reply_get_room_member_data_external_list(u32 req_id, rpcn::ErrorType error, vec_stream& reply); void reply_set_roomdata_external(u32 req_id, rpcn::ErrorType error); void reply_get_roomdata_internal(u32 req_id, rpcn::ErrorType error, vec_stream& reply); void reply_set_roomdata_internal(u32 req_id, rpcn::ErrorType error); diff --git a/rpcs3/Emu/NP/np_requests.cpp b/rpcs3/Emu/NP/np_requests.cpp index 0ee7d1d0fc..20199889dc 100644 --- a/rpcs3/Emu/NP/np_requests.cpp +++ b/rpcs3/Emu/NP/np_requests.cpp @@ -445,6 +445,50 @@ namespace np cb_info_opt->queue_callback(req_id, event_key, 0, edata.size()); } + u32 np_handler::get_room_member_data_external_list(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2GetRoomMemberDataExternalListRequest* req) + { + const u32 req_id = generate_callback_info(ctx_id, optParam, SCE_NP_MATCHING2_REQUEST_EVENT_GetRoomDataExternalList, true); + + if (!get_rpcn()->get_room_member_data_external_list(req_id, get_match2_context(ctx_id)->communicationId, req->roomId)) + { + rpcn_log.error("Disconnecting from RPCN!"); + is_psn_active = false; + } + + return req_id; + } + + void np_handler::reply_get_room_member_data_external_list(u32 req_id, rpcn::ErrorType error, vec_stream& reply) + { + auto cb_info_opt = take_pending_request(req_id); + + if (!cb_info_opt) + return; + + ensure(error == rpcn::ErrorType::NoError, "Unexpected error in GetRoomMemberDataExternalList reply"); + + if (error == rpcn::ErrorType::RoomMissing) + { + cb_info_opt->queue_callback(req_id, 0, SCE_NP_MATCHING2_SERVER_ERROR_NO_SUCH_ROOM, 0); + return; + } + + const auto resp = reply.get_protobuf(); + ensure(!reply.is_error(), "Malformed reply to GetRoomMemberDataExternalList command"); + + const u32 event_key = get_event_key(); + auto [include_onlinename, include_avatarurl] = get_match2_context_options(cb_info_opt->ctx_id); + + auto& edata = allocate_req_result(event_key, SCE_NP_MATCHING2_EVENT_DATA_MAX_SIZE_GetRoomMemberDataExternalList, sizeof(SceNpMatching2GetRoomMemberDataExternalListResponse)); + auto* sce_get_room_member_ext_resp = reinterpret_cast(edata.data()); + GetRoomMemberDataExternalListResponse_to_SceNpMatching2GetRoomMemberDataExternalListResponse(edata, *resp, sce_get_room_member_ext_resp, include_onlinename, include_avatarurl); + np_memory.shrink_allocation(edata.addr(), edata.size()); + + extra_nps::print_SceNpMatching2GetRoomMemberDataExternalListResponse(sce_get_room_member_ext_resp); + + cb_info_opt->queue_callback(req_id, event_key, 0, edata.size()); + } + u32 np_handler::set_roomdata_external(SceNpMatching2ContextId ctx_id, vm::cptr optParam, const SceNpMatching2SetRoomDataExternalRequest* req) { const u32 req_id = generate_callback_info(ctx_id, optParam, SCE_NP_MATCHING2_REQUEST_EVENT_SetRoomDataExternal, false); diff --git a/rpcs3/Emu/NP/np_structs_extra.cpp b/rpcs3/Emu/NP/np_structs_extra.cpp index 52f394ff2e..58770c450f 100644 --- a/rpcs3/Emu/NP/np_structs_extra.cpp +++ b/rpcs3/Emu/NP/np_structs_extra.cpp @@ -195,6 +195,15 @@ namespace extra_nps } } + void print_SceNpMatching2RoomMemberDataExternal(const SceNpMatching2RoomMemberDataExternal* member) + { + sceNp2.warning("SceNpMatching2RoomMemberDataExternal:"); + sceNp2.warning("next: *0x%x", member->next); + print_SceNpUserInfo2(&member->userInfo); + sceNp2.warning("joinDate: %lld", member->joinDate.tick); + sceNp2.warning("role: %d", member->role); + } + void print_SceNpMatching2RoomMemberDataInternal(const SceNpMatching2RoomMemberDataInternal* member) { sceNp2.warning("SceNpMatching2RoomMemberDataInternal:"); @@ -397,6 +406,21 @@ namespace extra_nps } } + void print_SceNpMatching2GetRoomMemberDataExternalListResponse(const SceNpMatching2GetRoomMemberDataExternalListResponse* resp) + { + sceNp2.warning("SceNpMatching2GetRoomMemberDataExternalListResponse:"); + sceNp2.warning("roomMemberDataExternalNum: %d", resp->roomMemberDataExternalNum); + + vm::bptr cur_member = resp->roomMemberDataExternal; + + for (u32 i = 0; i < resp->roomMemberDataExternalNum && cur_member; i++) + { + sceNp2.warning("roomMemberDataExternal[%d]:", i); + print_SceNpMatching2RoomMemberDataExternal(cur_member.get_ptr()); + cur_member = cur_member->next; + } + } + void print_SceNpMatching2GetLobbyInfoListRequest(const SceNpMatching2GetLobbyInfoListRequest* resp) { sceNp2.warning("SceNpMatching2GetLobbyInfoListRequest:"); diff --git a/rpcs3/Emu/NP/np_structs_extra.h b/rpcs3/Emu/NP/np_structs_extra.h index 1c722a0cf2..45f4cffc4a 100644 --- a/rpcs3/Emu/NP/np_structs_extra.h +++ b/rpcs3/Emu/NP/np_structs_extra.h @@ -11,6 +11,7 @@ namespace extra_nps void print_SceNpMatching2RangeFilter(const SceNpMatching2RangeFilter* filt); void print_SceNpMatching2RoomDataInternal(const SceNpMatching2RoomDataInternal* room); void print_SceNpMatching2RoomDataExternal(const SceNpMatching2RoomDataExternal* room); + void print_SceNpMatching2RoomMemberDataExternal(const SceNpMatching2RoomMemberDataExternal* room); void print_SceNpMatching2RoomMemberDataInternal(const SceNpMatching2RoomMemberDataInternal* member); void print_SceNpMatching2CreateJoinRoomRequest(const SceNpMatching2CreateJoinRoomRequest* req); @@ -24,6 +25,7 @@ namespace extra_nps void print_SceNpMatching2SetRoomMemberDataInternalRequest(const SceNpMatching2SetRoomMemberDataInternalRequest* req); void print_SceNpMatching2GetRoomDataExternalListRequest(const SceNpMatching2GetRoomDataExternalListRequest* req); void print_SceNpMatching2GetRoomDataExternalListResponse(const SceNpMatching2GetRoomDataExternalListResponse* resp); + void print_SceNpMatching2GetRoomMemberDataExternalListResponse(const SceNpMatching2GetRoomMemberDataExternalListResponse* resp); void print_SceNpMatching2GetLobbyInfoListRequest(const SceNpMatching2GetLobbyInfoListRequest* resp); diff --git a/rpcs3/Emu/NP/pb_helpers.cpp b/rpcs3/Emu/NP/pb_helpers.cpp index e82fc2ec0a..41b0ca4579 100644 --- a/rpcs3/Emu/NP/pb_helpers.cpp +++ b/rpcs3/Emu/NP/pb_helpers.cpp @@ -171,6 +171,15 @@ namespace np } } + void RoomMemberDataExternal_to_SceNpMatching2RoomMemberDataExternal(event_data& edata, const np2_structs::RoomMemberDataExternal& member, SceNpMatching2RoomMemberDataExternal* member_info, bool include_onlinename, bool include_avatarurl) + { + ensure(member.has_userinfo()); + + UserInfo_to_SceNpUserInfo2(edata, member.userinfo(), &member_info->userInfo, include_onlinename, include_avatarurl); + member_info->joinDate.tick = member.joindate(); + member_info->role = member.role().value(); + } + void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const np2_structs::SearchRoomResponse& resp, SceNpMatching2SearchRoomResponse* search_resp) { search_resp->range.size = resp.rooms_size(); @@ -181,8 +190,7 @@ namespace np for (int i = 0; i < resp.rooms_size(); i++) { const auto& pb_room = resp.rooms(i); - SceNpMatching2RoomDataExternal* cur_room; - cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : search_resp->roomDataExternal); + SceNpMatching2RoomDataExternal* cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : search_resp->roomDataExternal); RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, pb_room, cur_room, true, true); prev_room = cur_room; } @@ -196,15 +204,28 @@ namespace np for (int i = 0; i < resp.rooms_size(); i++) { const auto& pb_room = resp.rooms(i); - SceNpMatching2RoomDataExternal* cur_room; - - cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : get_resp->roomDataExternal); + SceNpMatching2RoomDataExternal* cur_room = edata.allocate(sizeof(SceNpMatching2RoomDataExternal), (i > 0) ? prev_room->next : get_resp->roomDataExternal); RoomDataExternal_to_SceNpMatching2RoomDataExternal(edata, pb_room, cur_room, include_onlinename, include_avatarurl); prev_room = cur_room; } } + void GetRoomMemberDataExternalListResponse_to_SceNpMatching2GetRoomMemberDataExternalListResponse(event_data& edata, const np2_structs::GetRoomMemberDataExternalListResponse& resp, SceNpMatching2GetRoomMemberDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl) + { + get_resp->roomMemberDataExternalNum = resp.members_size(); + + SceNpMatching2RoomMemberDataExternal* prev_member = nullptr; + for (int i = 0; i < resp.members_size(); i++) + { + const auto& pb_member = resp.members(i); + SceNpMatching2RoomMemberDataExternal* cur_member = edata.allocate(sizeof(SceNpMatching2RoomMemberDataExternal), (i > 0) ? prev_member->next : get_resp->roomMemberDataExternal); + + RoomMemberDataExternal_to_SceNpMatching2RoomMemberDataExternal(edata, pb_member, cur_member, include_onlinename, include_avatarurl); + prev_member = cur_member; + } + } + u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const np2_structs::RoomDataInternal& resp, SceNpMatching2RoomDataInternal* room_info, const SceNpId& npid, bool include_onlinename, bool include_avatarurl) { u16 member_id = 0; diff --git a/rpcs3/Emu/NP/pb_helpers.h b/rpcs3/Emu/NP/pb_helpers.h index c7482d7bc4..dc869210e7 100644 --- a/rpcs3/Emu/NP/pb_helpers.h +++ b/rpcs3/Emu/NP/pb_helpers.h @@ -16,8 +16,10 @@ namespace np void UserInfo_to_SceNpUserInfo(const np2_structs::UserInfo& user, SceNpUserInfo* user_info); void UserInfo_to_SceNpUserInfo2(event_data& edata, const np2_structs::UserInfo& user, SceNpUserInfo2* user_info, bool include_onlinename, bool include_avatarurl); void RoomDataExternal_to_SceNpMatching2RoomDataExternal(event_data& edata, const np2_structs::RoomDataExternal& room, SceNpMatching2RoomDataExternal* room_info, bool include_onlinename, bool include_avatarurl); + void RoomMemberDataExternal_to_SceNpMatching2RoomMemberDataExternal(event_data& edata, const np2_structs::RoomMemberDataExternal& member, SceNpMatching2RoomMemberDataExternal* member_info, bool include_onlinename, bool include_avatarurl); void SearchRoomResponse_to_SceNpMatching2SearchRoomResponse(event_data& edata, const np2_structs::SearchRoomResponse& resp, SceNpMatching2SearchRoomResponse* search_resp); void GetRoomDataExternalListResponse_to_SceNpMatching2GetRoomDataExternalListResponse(event_data& edata, const np2_structs::GetRoomDataExternalListResponse& resp, SceNpMatching2GetRoomDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl); + void GetRoomMemberDataExternalListResponse_to_SceNpMatching2GetRoomMemberDataExternalListResponse(event_data& edata, const np2_structs::GetRoomMemberDataExternalListResponse& resp, SceNpMatching2GetRoomMemberDataExternalListResponse* get_resp, bool include_onlinename, bool include_avatarurl); u16 RoomDataInternal_to_SceNpMatching2RoomDataInternal(event_data& edata, const np2_structs::RoomDataInternal& resp, SceNpMatching2RoomDataInternal* room_resp, const SceNpId& npid, bool include_onlinename, bool include_avatarurl); void RoomMemberDataInternal_to_SceNpMatching2RoomMemberDataInternal(event_data& edata, const np2_structs::RoomMemberDataInternal& member_data, const SceNpMatching2RoomDataInternal* room_info, SceNpMatching2RoomMemberDataInternal* sce_member_data, bool include_onlinename, bool include_avatarurl); void RoomMemberUpdateInfo_to_SceNpMatching2RoomMemberUpdateInfo(event_data& edata, const np2_structs::RoomMemberUpdateInfo& resp, SceNpMatching2RoomMemberUpdateInfo* room_info, bool include_onlinename, bool include_avatarurl); diff --git a/rpcs3/Emu/NP/rpcn_client.cpp b/rpcs3/Emu/NP/rpcn_client.cpp index cce4fa397b..c1126b8698 100644 --- a/rpcs3/Emu/NP/rpcn_client.cpp +++ b/rpcs3/Emu/NP/rpcn_client.cpp @@ -117,6 +117,7 @@ void fmt_class_string::format(std::string& out, u64 arg) case rpcn::CommandType::LeaveRoom: return "LeaveRoom"; case rpcn::CommandType::SearchRoom: return "SearchRoom"; case rpcn::CommandType::GetRoomDataExternalList: return "GetRoomDataExternalList"; + case rpcn::CommandType::GetRoomMemberDataExternalList: return "GetRoomMemberDataExternalList"; case rpcn::CommandType::SetRoomDataExternal: return "SetRoomDataExternal"; case rpcn::CommandType::GetRoomDataInternal: return "GetRoomDataInternal"; case rpcn::CommandType::SetRoomDataInternal: return "SetRoomDataInternal"; @@ -1915,6 +1916,16 @@ namespace rpcn return forge_request_with_com_id(serialized, communication_id, CommandType::GetRoomDataExternalList, req_id); } + bool rpcn_client::get_room_member_data_external_list(u32 req_id, const SceNpCommunicationId& communication_id, u64 room_id) + { + std::vector data(COMMUNICATION_ID_SIZE + sizeof(u64)); + + rpcn_client::write_communication_id(communication_id, data); + write_to_ptr>(data, COMMUNICATION_ID_SIZE, room_id); + + return forge_send(CommandType::GetRoomMemberDataExternalList, req_id, data); + } + bool rpcn_client::set_roomdata_external(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetRoomDataExternalRequest* req) { np2_structs::SetRoomDataExternalRequest pb_req; diff --git a/rpcs3/Emu/NP/rpcn_client.h b/rpcs3/Emu/NP/rpcn_client.h index e3c3f47ba9..035dc9cf3c 100644 --- a/rpcs3/Emu/NP/rpcn_client.h +++ b/rpcs3/Emu/NP/rpcn_client.h @@ -329,6 +329,7 @@ namespace rpcn bool leave_room(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2LeaveRoomRequest* req); bool search_room(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SearchRoomRequest* req); bool get_roomdata_external_list(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2GetRoomDataExternalListRequest* req); + bool get_room_member_data_external_list(u32 req_id, const SceNpCommunicationId& communication_id, u64 room_id); bool set_roomdata_external(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetRoomDataExternalRequest* req); bool get_roomdata_internal(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2GetRoomDataInternalRequest* req); bool set_roomdata_internal(u32 req_id, const SceNpCommunicationId& communication_id, const SceNpMatching2SetRoomDataInternalRequest* req); diff --git a/rpcs3/Emu/NP/rpcn_types.h b/rpcs3/Emu/NP/rpcn_types.h index 15fba827d5..28500462e6 100644 --- a/rpcs3/Emu/NP/rpcn_types.h +++ b/rpcs3/Emu/NP/rpcn_types.h @@ -68,6 +68,7 @@ namespace rpcn GetRoomInfoGUI, QuickMatchGUI, SearchJoinRoomGUI, + GetRoomMemberDataExternalList, }; enum class NotificationType : u16 From 96cf5c4e63a798ca8e83fcc070cb6e15f2918b0e Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 31 Jan 2026 03:51:45 +0100 Subject: [PATCH 40/41] Fix generic_async_transaction_context thread handling --- rpcs3/Emu/NP/np_contexts.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/NP/np_contexts.cpp b/rpcs3/Emu/NP/np_contexts.cpp index 8bcfd5f01c..46d773d127 100644 --- a/rpcs3/Emu/NP/np_contexts.cpp +++ b/rpcs3/Emu/NP/np_contexts.cpp @@ -17,7 +17,12 @@ generic_async_transaction_context::generic_async_transaction_context(const SceNp generic_async_transaction_context::~generic_async_transaction_context() { if (thread.joinable()) - thread.join(); + { + if (std::this_thread::get_id() == thread.get_id()) + thread.detach(); + else + thread.join(); + } } std::optional generic_async_transaction_context::get_transaction_status() From 1c08439907753a86ee1628f07d5fcbe86bfdda2f Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 31 Jan 2026 06:26:24 +0100 Subject: [PATCH 41/41] Force disable RPCN IPv6 support for now --- rpcs3/Emu/NP/rpcn_config.h | 2 +- rpcs3/rpcs3qt/rpcn_settings_dialog.cpp | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rpcs3/Emu/NP/rpcn_config.h b/rpcs3/Emu/NP/rpcn_config.h index 0a8c7c9cc5..3ea6b707b1 100644 --- a/rpcs3/Emu/NP/rpcn_config.h +++ b/rpcs3/Emu/NP/rpcn_config.h @@ -10,7 +10,7 @@ struct cfg_rpcn : cfg::node cfg::string password{this, "Password", ""}; cfg::string token{this, "Token", ""}; cfg::string hosts{this, "Hosts", "Official RPCN Server|np.rpcs3.net"}; - cfg::_bool ipv6_support{this, "IPv6 support", true}; + cfg::_bool ipv6_support{this, "Experimental IPv6 support", false}; void load(); void save() const; diff --git a/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp b/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp index 24aa0767aa..53097f29fc 100644 --- a/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp +++ b/rpcs3/rpcs3qt/rpcn_settings_dialog.cpp @@ -185,8 +185,8 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent) QPushButton* btn_test = new QPushButton(tr("Test Account")); QLabel* label_npid = new QLabel(); - QCheckBox* checkbox_disable_ipv6 = new QCheckBox(tr("Disable IPv6")); - checkbox_disable_ipv6->setCheckState(g_cfg_rpcn.get_ipv6_support() ? Qt::Unchecked : Qt::Checked); + // QCheckBox* checkbox_disable_ipv6 = new QCheckBox(tr("Enable IPv6(Experimental)")); + // checkbox_disable_ipv6->setCheckState(g_cfg_rpcn.get_ipv6_support() ? Qt::Checked : Qt::Unchecked); const auto update_npid_label = [label_npid]() { @@ -206,7 +206,7 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent) grp_buttons->setLayout(vbox_buttons); vbox_global->addWidget(grp_buttons); - vbox_global->addWidget(checkbox_disable_ipv6); + // vbox_global->addWidget(checkbox_disable_ipv6); setLayout(vbox_global); @@ -359,11 +359,11 @@ rpcn_account_dialog::rpcn_account_dialog(QWidget* parent) QMessageBox::information(this, tr("RPCN Account Valid!"), tr("Your account is valid!"), QMessageBox::Ok); }); - connect(checkbox_disable_ipv6, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state) - { - g_cfg_rpcn.set_ipv6_support(state == Qt::Unchecked); - g_cfg_rpcn.save(); - }); + // connect(checkbox_disable_ipv6, &QCheckBox::checkStateChanged, this, [this](Qt::CheckState state) + // { + // g_cfg_rpcn.set_ipv6_support(state == Qt::Checked); + // g_cfg_rpcn.save(); + // }); } void rpcn_account_dialog::refresh_combobox()